2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for liboil 0.3.17.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591 for dir in $PATH /usr/ucb; do
593 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X/bin/ksh; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL=/bin/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 SHELL="$CONFIG_SHELL"
634 ECHO="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev/null 6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix=/usr/local
688 ac_config_libobj_dir=.
695 # Identity of this package.
696 PACKAGE_NAME='liboil'
697 PACKAGE_TARNAME='liboil'
698 PACKAGE_VERSION='0.3.17'
699 PACKAGE_STRING='liboil 0.3.17'
703 # Factoring default headers for most tests.
704 ac_includes_default="\
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
716 # ifdef HAVE_STDLIB_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
739 ac_unique_file="liboil/liboil.h"
740 ac_subst_vars='am__EXEEXT_FALSE
754 HAVE_ALTIVEC_INTRINSICS_FALSE
755 HAVE_ALTIVEC_INTRINSICS_TRUE
756 HAVE_3DNOWEXT_INTRINSICS_FALSE
757 HAVE_3DNOWEXT_INTRINSICS_TRUE
758 HAVE_3DNOW_INTRINSICS_FALSE
759 HAVE_3DNOW_INTRINSICS_TRUE
760 HAVE_SSE3_INTRINSICS_FALSE
761 HAVE_SSE3_INTRINSICS_TRUE
762 HAVE_SSE2_INTRINSICS_FALSE
763 HAVE_SSE2_INTRINSICS_TRUE
764 HAVE_SSE_INTRINSICS_FALSE
765 HAVE_SSE_INTRINSICS_TRUE
766 HAVE_MMX_INTRINSICS_FALSE
767 HAVE_MMX_INTRINSICS_TRUE
768 HAVE_ASM_BLOCKS_FALSE
773 sys_symbol_underscore
774 HAVE_GCC_ASM_POWERPC_FPU_FALSE
775 HAVE_GCC_ASM_POWERPC_FPU_TRUE
790 GTK_DOC_USE_LIBTOOL_FALSE
791 GTK_DOC_USE_LIBTOOL_TRUE
796 LIBOIL_OLD_MAJORMINOR
808 am__fastdepCCAS_FALSE
853 MAINTAINER_MODE_FALSE
863 INSTALL_STRIP_PROGRAM
914 program_transform_name
927 enable_option_checking
928 enable_maintainer_mode
933 enable_dependency_tracking
937 enable_prototype_checking
938 with_alternate_optimization
939 enable_broken_implementations
944 ac_precious_vars='build_alias
960 # Initialize some variables set by options.
962 ac_init_version=false
963 ac_unrecognized_opts=
965 # The variables have the same names as the options, with
966 # dashes changed to underlines.
974 program_transform_name=s,x,x,
982 # Installation directory options.
983 # These are left unexpanded so users can "make install exec_prefix=/foo"
984 # and all the variables that are supposed to be based on exec_prefix
985 # by default will actually change.
986 # Use braces instead of parens because sh, perl, etc. also accept them.
987 # (The list follows the same order as the GNU Coding Standards.)
988 bindir='${exec_prefix}/bin'
989 sbindir='${exec_prefix}/sbin'
990 libexecdir='${exec_prefix}/libexec'
991 datarootdir='${prefix}/share'
992 datadir='${datarootdir}'
993 sysconfdir='${prefix}/etc'
994 sharedstatedir='${prefix}/com'
995 localstatedir='${prefix}/var'
996 includedir='${prefix}/include'
997 oldincludedir='/usr/include'
998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
999 infodir='${datarootdir}/info'
1004 libdir='${exec_prefix}/lib'
1005 localedir='${datarootdir}/locale'
1006 mandir='${datarootdir}/man'
1012 # If the previous option needs an argument, assign it.
1013 if test -n "$ac_prev"; then
1014 eval $ac_prev=\$ac_option
1020 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1024 # Accept the important Cygnus configure options, so we can diagnose typos.
1026 case $ac_dashdash$ac_option in
1030 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033 bindir=$ac_optarg ;;
1035 -build | --build | --buil | --bui | --bu)
1036 ac_prev=build_alias ;;
1037 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038 build_alias=$ac_optarg ;;
1040 -cache-file | --cache-file | --cache-fil | --cache-fi \
1041 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042 ac_prev=cache_file ;;
1043 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045 cache_file=$ac_optarg ;;
1047 --config-cache | -C)
1048 cache_file=config.cache ;;
1050 -datadir | --datadir | --datadi | --datad)
1052 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053 datadir=$ac_optarg ;;
1055 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056 | --dataroo | --dataro | --datar)
1057 ac_prev=datarootdir ;;
1058 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060 datarootdir=$ac_optarg ;;
1062 -disable-* | --disable-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error "invalid feature name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_$ac_useropt"
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1076 eval enable_$ac_useropt=no ;;
1078 -docdir | --docdir | --docdi | --doc | --do)
1080 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081 docdir=$ac_optarg ;;
1083 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086 dvidir=$ac_optarg ;;
1088 -enable-* | --enable-*)
1089 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 as_fn_error "invalid feature name: $ac_useropt"
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_$ac_useropt"
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval enable_$ac_useropt=\$ac_optarg ;;
1104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106 | --exec | --exe | --ex)
1107 ac_prev=exec_prefix ;;
1108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110 | --exec=* | --exe=* | --ex=*)
1111 exec_prefix=$ac_optarg ;;
1113 -gas | --gas | --ga | --g)
1114 # Obsolete; use --with-gas.
1117 -help | --help | --hel | --he | -h)
1118 ac_init_help=long ;;
1119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120 ac_init_help=recursive ;;
1121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122 ac_init_help=short ;;
1124 -host | --host | --hos | --ho)
1125 ac_prev=host_alias ;;
1126 -host=* | --host=* | --hos=* | --ho=*)
1127 host_alias=$ac_optarg ;;
1129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 htmldir=$ac_optarg ;;
1135 -includedir | --includedir | --includedi | --included | --include \
1136 | --includ | --inclu | --incl | --inc)
1137 ac_prev=includedir ;;
1138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139 | --includ=* | --inclu=* | --incl=* | --inc=*)
1140 includedir=$ac_optarg ;;
1142 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145 infodir=$ac_optarg ;;
1147 -libdir | --libdir | --libdi | --libd)
1149 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150 libdir=$ac_optarg ;;
1152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153 | --libexe | --libex | --libe)
1154 ac_prev=libexecdir ;;
1155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156 | --libexe=* | --libex=* | --libe=*)
1157 libexecdir=$ac_optarg ;;
1159 -localedir | --localedir | --localedi | --localed | --locale)
1160 ac_prev=localedir ;;
1161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162 localedir=$ac_optarg ;;
1164 -localstatedir | --localstatedir | --localstatedi | --localstated \
1165 | --localstate | --localstat | --localsta | --localst | --locals)
1166 ac_prev=localstatedir ;;
1167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169 localstatedir=$ac_optarg ;;
1171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174 mandir=$ac_optarg ;;
1176 -nfp | --nfp | --nf)
1177 # Obsolete; use --without-fp.
1180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181 | --no-cr | --no-c | -n)
1184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190 | --oldin | --oldi | --old | --ol | --o)
1191 ac_prev=oldincludedir ;;
1192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195 oldincludedir=$ac_optarg ;;
1197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200 prefix=$ac_optarg ;;
1202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203 | --program-pre | --program-pr | --program-p)
1204 ac_prev=program_prefix ;;
1205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207 program_prefix=$ac_optarg ;;
1209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210 | --program-suf | --program-su | --program-s)
1211 ac_prev=program_suffix ;;
1212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214 program_suffix=$ac_optarg ;;
1216 -program-transform-name | --program-transform-name \
1217 | --program-transform-nam | --program-transform-na \
1218 | --program-transform-n | --program-transform- \
1219 | --program-transform | --program-transfor \
1220 | --program-transfo | --program-transf \
1221 | --program-trans | --program-tran \
1222 | --progr-tra | --program-tr | --program-t)
1223 ac_prev=program_transform_name ;;
1224 -program-transform-name=* | --program-transform-name=* \
1225 | --program-transform-nam=* | --program-transform-na=* \
1226 | --program-transform-n=* | --program-transform-=* \
1227 | --program-transform=* | --program-transfor=* \
1228 | --program-transfo=* | --program-transf=* \
1229 | --program-trans=* | --program-tran=* \
1230 | --progr-tra=* | --program-tr=* | --program-t=*)
1231 program_transform_name=$ac_optarg ;;
1233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236 pdfdir=$ac_optarg ;;
1238 -psdir | --psdir | --psdi | --psd | --ps)
1240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244 | -silent | --silent | --silen | --sile | --sil)
1247 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 sbindir=$ac_optarg ;;
1253 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255 | --sharedst | --shareds | --shared | --share | --shar \
1257 ac_prev=sharedstatedir ;;
1258 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 sharedstatedir=$ac_optarg ;;
1264 -site | --site | --sit)
1266 -site=* | --site=* | --sit=*)
1269 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272 srcdir=$ac_optarg ;;
1274 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275 | --syscon | --sysco | --sysc | --sys | --sy)
1276 ac_prev=sysconfdir ;;
1277 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279 sysconfdir=$ac_optarg ;;
1281 -target | --target | --targe | --targ | --tar | --ta | --t)
1282 ac_prev=target_alias ;;
1283 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284 target_alias=$ac_optarg ;;
1286 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289 -version | --version | --versio | --versi | --vers | -V)
1290 ac_init_version=: ;;
1293 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error "invalid package name: $ac_useropt"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1306 eval with_$ac_useropt=\$ac_optarg ;;
1308 -without-* | --without-*)
1309 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310 # Reject names that are not valid shell variable names.
1311 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312 as_fn_error "invalid package name: $ac_useropt"
1313 ac_useropt_orig=$ac_useropt
1314 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320 ac_unrecognized_sep=', ';;
1322 eval with_$ac_useropt=no ;;
1325 # Obsolete; use --with-x.
1328 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329 | --x-incl | --x-inc | --x-in | --x-i)
1330 ac_prev=x_includes ;;
1331 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333 x_includes=$ac_optarg ;;
1335 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337 ac_prev=x_libraries ;;
1338 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340 x_libraries=$ac_optarg ;;
1342 -*) as_fn_error "unrecognized option: \`$ac_option'
1343 Try \`$0 --help' for more information."
1347 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348 # Reject names that are not valid shell variable names.
1349 case $ac_envvar in #(
1350 '' | [0-9]* | *[!_$as_cr_alnum]* )
1351 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1353 eval $ac_envvar=\$ac_optarg
1354 export $ac_envvar ;;
1357 # FIXME: should be removed in autoconf 3.0.
1358 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1367 if test -n "$ac_prev"; then
1368 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369 as_fn_error "missing argument to $ac_option"
1372 if test -n "$ac_unrecognized_opts"; then
1373 case $enable_option_checking in
1375 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1376 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 # Check all directory arguments for consistency.
1381 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382 datadir sysconfdir sharedstatedir localstatedir includedir \
1383 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384 libdir localedir mandir
1386 eval ac_val=\$$ac_var
1387 # Remove trailing slashes.
1390 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391 eval $ac_var=\$ac_val;;
1393 # Be sure to have absolute directory names.
1395 [\\/$]* | ?:[\\/]* ) continue;;
1396 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1406 target=$target_alias
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410 if test "x$build_alias" = x; then
1411 cross_compiling=maybe
1412 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1413 If a cross compiler is detected then cross compile mode will be used." >&2
1414 elif test "x$build_alias" != "x$host_alias"; then
1420 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1422 test "$silent" = yes && exec 6>/dev/null
1425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di=`ls -di .` &&
1427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428 as_fn_error "working directory cannot be determined"
1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430 as_fn_error "pwd does not report name of working directory"
1433 # Find the source files, if location was not specified.
1434 if test -z "$srcdir"; then
1435 ac_srcdir_defaulted=yes
1436 # Try the directory containing this script, then the parent directory.
1437 ac_confdir=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439 X"$as_myself" : 'X\(//\)[^/]' \| \
1440 X"$as_myself" : 'X\(//\)$' \| \
1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1465 ac_srcdir_defaulted=no
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1469 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1483 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 for ac_var in $ac_precious_vars; do
1486 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1487 eval ac_env_${ac_var}_value=\$${ac_var}
1488 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1489 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1493 # Report the --help message.
1495 if test "$ac_init_help" = "long"; then
1496 # Omit some internal or obsolete options to make the list less imposing.
1497 # This message is too long to be a string in the A/UX 3.1 sh.
1499 \`configure' configures liboil 0.3.17 to adapt to many kinds of systems.
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE. See below for descriptions of some of the useful variables.
1506 Defaults for the options are specified in brackets.
1509 -h, --help display this help and exit
1510 --help=short display options specific to this package
1511 --help=recursive display the short help of all the included packages
1512 -V, --version display version information and exit
1513 -q, --quiet, --silent do not print \`checking...' messages
1514 --cache-file=FILE cache test results in FILE [disabled]
1515 -C, --config-cache alias for \`--cache-file=config.cache'
1516 -n, --no-create do not create output files
1517 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519 Installation directories:
1520 --prefix=PREFIX install architecture-independent files in PREFIX
1521 [$ac_default_prefix]
1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1530 For better control, use the options below.
1532 Fine tuning of the installation directories:
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/liboil]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1557 --program-prefix=PREFIX prepend PREFIX to installed program names
1558 --program-suffix=SUFFIX append SUFFIX to installed program names
1559 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1562 --build=BUILD configure for building on BUILD [guessed]
1563 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echo "Configuration of liboil 0.3.17:";;
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-maintainer-mode enable make rules and dependencies not useful
1578 (and sometimes confusing) to the casual installer
1579 --enable-shared[=PKGS] build shared libraries [default=yes]
1580 --enable-static[=PKGS] build static libraries [default=yes]
1581 --enable-fast-install[=PKGS]
1582 optimize for fast installation [default=yes]
1583 --disable-dependency-tracking speeds up one-time build
1584 --enable-dependency-tracking do not reject slow dependency extractors
1585 --disable-libtool-lock avoid locking (might break parallel builds)
1586 --disable-glib disable usage of glib
1587 --enable-prototype-checking
1588 compile with strict prototype checking
1589 --enable-broken-implementations
1590 compile with broken implementations
1591 --enable-gtk-doc use gtk-doc to build documentation [default=no]
1592 --enable-vfp compile with Vector Floating-point unit support
1595 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1596 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1597 --with-pic try to use only PIC/non-PIC objects [default=use
1599 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1600 --with-alternate-optimization=CFLAGS
1601 compile with alternate optimization flags
1602 --with-html-dir=PATH path to installed docs
1604 Some influential environment variables:
1605 CC C compiler command
1606 CFLAGS C compiler flags
1607 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1608 nonstandard directory <lib dir>
1609 LIBS libraries to pass to the linker, e.g. -l<library>
1610 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1611 you have headers in a nonstandard directory <include dir>
1613 CCAS assembler compiler command (defaults to CC)
1614 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1615 PKG_CONFIG path to pkg-config utility
1616 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1617 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1619 Use these variables to override the choices made by `configure' or to help
1620 it to find libraries and programs with nonstandard names/locations.
1622 Report bugs to the package provider.
1627 if test "$ac_init_help" = "recursive"; then
1628 # If there are subdirs, report their specific --help.
1629 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1630 test -d "$ac_dir" ||
1631 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1639 # A ".." for each directory in $ac_dir_suffix.
1640 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1641 case $ac_top_builddir_sub in
1642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1643 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1646 ac_abs_top_builddir=$ac_pwd
1647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1648 # for backward compatibility:
1649 ac_top_builddir=$ac_top_build_prefix
1652 .) # We are building in place.
1654 ac_top_srcdir=$ac_top_builddir_sub
1655 ac_abs_top_srcdir=$ac_pwd ;;
1656 [\\/]* | ?:[\\/]* ) # Absolute name.
1657 ac_srcdir=$srcdir$ac_dir_suffix;
1658 ac_top_srcdir=$srcdir
1659 ac_abs_top_srcdir=$srcdir ;;
1661 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1662 ac_top_srcdir=$ac_top_build_prefix$srcdir
1663 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1667 cd "$ac_dir" || { ac_status=$?; continue; }
1668 # Check for guested configure.
1669 if test -f "$ac_srcdir/configure.gnu"; then
1671 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1672 elif test -f "$ac_srcdir/configure"; then
1674 $SHELL "$ac_srcdir/configure" --help=recursive
1676 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1678 cd "$ac_pwd" || { ac_status=$?; break; }
1682 test -n "$ac_init_help" && exit $ac_status
1683 if $ac_init_version; then
1685 liboil configure 0.3.17
1686 generated by GNU Autoconf 2.64
1688 Copyright (C) 2009 Free Software Foundation, Inc.
1689 This configure script is free software; the Free Software Foundation
1690 gives unlimited permission to copy, distribute and modify it.
1695 ## ------------------------ ##
1696 ## Autoconf initialization. ##
1697 ## ------------------------ ##
1699 # ac_fn_c_try_compile LINENO
1700 # --------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_c_try_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext
1706 if { { ac_try="$ac_compile"
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 } # ac_fn_c_try_compile
1737 # ac_fn_c_try_link LINENO
1738 # -----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext conftest$ac_exeext
1744 if { { ac_try="$ac_link"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest$ac_exeext && {
1763 test "$cross_compiling" = yes ||
1764 $as_test_x conftest$ac_exeext
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.$ac_ext >&5
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1775 # interfere with the next link command; also delete a directory that is
1776 # left behind by Apple's compiler. We do this before executing the actions.
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 } # ac_fn_c_try_link
1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists and can be compiled using the include files in
1786 # INCLUDES, setting the cache variable VAR accordingly.
1787 ac_fn_c_check_header_compile ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1793 $as_echo_n "(cached) " >&6
1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1800 if ac_fn_c_try_compile "$LINENO"; then :
1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_c_check_header_compile
1814 # ac_fn_c_try_cpp LINENO
1815 # ----------------------
1816 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_cpp conftest.$ac_ext"
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } >/dev/null && {
1836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 # ac_fn_c_try_run LINENO
1852 # ----------------------
1853 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1854 # that executables *can* be run.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_link"
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_link") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1869 { { case "(($ac_try" in
1870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_try") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; }; }; then :
1881 $as_echo "$as_me: program exited with status $ac_status" >&5
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1885 ac_retval=$ac_status
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 # ac_fn_c_check_func LINENO FUNC VAR
1894 # ----------------------------------
1895 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1896 ac_fn_c_check_func ()
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1902 $as_echo_n "(cached) " >&6
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1908 #define $2 innocuous_$2
1910 /* System header to define __stub macros and hopefully few prototypes,
1911 which can conflict with char $2 (); below.
1912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1913 <limits.h> exists even on freestanding compilers. */
1916 # include <limits.h>
1918 # include <assert.h>
1923 /* Override any GCC internal prototype to avoid an error.
1924 Use char because int might match the return type of a GCC
1925 builtin and then its argument prototype would still apply. */
1930 /* The GNU C library defines this for functions which it implements
1931 to always fail with ENOSYS. Some functions are actually named
1932 something starting with __ and the normal name is an alias. */
1933 #if defined __stub_$2 || defined __stub___$2
1945 if ac_fn_c_try_link "$LINENO"; then :
1950 rm -f core conftest.err conftest.$ac_objext \
1951 conftest$ac_exeext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958 } # ac_fn_c_check_func
1960 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1961 # -------------------------------------------
1962 # Tests whether TYPE exists after having included INCLUDES, setting cache
1963 # variable VAR accordingly.
1964 ac_fn_c_check_type ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968 $as_echo_n "checking for $2... " >&6; }
1969 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1970 $as_echo_n "(cached) " >&6
1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1985 if ac_fn_c_try_compile "$LINENO"; then :
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1998 if ac_fn_c_try_compile "$LINENO"; then :
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2012 } # ac_fn_c_check_type
2014 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2015 # --------------------------------------------
2016 # Tries to find the compile-time value of EXPR in a program that includes
2017 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2019 ac_fn_c_compute_int ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if test "$cross_compiling" = yes; then
2023 # Depending upon the size, compute the lo and hi bounds.
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2030 static int test_array [1 - 2 * !(($2) >= 0)];
2037 if ac_fn_c_try_compile "$LINENO"; then :
2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2046 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2053 if ac_fn_c_try_compile "$LINENO"; then :
2054 ac_hi=$ac_mid; break
2056 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2057 if test $ac_lo -le $ac_mid; then
2061 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2072 static int test_array [1 - 2 * !(($2) < 0)];
2079 if ac_fn_c_try_compile "$LINENO"; then :
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_lo=$ac_mid; break
2098 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2099 if test $ac_mid -le $ac_hi; then
2103 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 # Binary search between lo and hi bounds.
2114 while test "x$ac_lo" != "x$ac_hi"; do
2115 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2122 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2129 if ac_fn_c_try_compile "$LINENO"; then :
2132 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2144 static long int longval () { return $2; }
2145 static unsigned long int ulongval () { return $2; }
2152 FILE *f = fopen ("conftest.val", "w");
2157 long int i = longval ();
2160 fprintf (f, "%ld", i);
2164 unsigned long int i = ulongval ();
2167 fprintf (f, "%lu", i);
2169 /* Do not output a trailing newline, as this causes \r\n confusion
2170 on some platforms. */
2171 return ferror (f) || fclose (f) != 0;
2177 if ac_fn_c_try_run "$LINENO"; then :
2178 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2183 conftest.$ac_objext conftest.beam conftest.$ac_ext
2187 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190 } # ac_fn_c_compute_int
2192 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2193 # -------------------------------------------------------
2194 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2195 # the include files in INCLUDES and setting the cache variable VAR
2197 ac_fn_c_check_header_mongrel ()
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 $as_echo_n "checking for $2... " >&6; }
2203 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2208 $as_echo "$ac_res" >&6; }
2210 # Is the header compilable?
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2212 $as_echo_n "checking $2 usability... " >&6; }
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2218 if ac_fn_c_try_compile "$LINENO"; then :
2219 ac_header_compiler=yes
2221 ac_header_compiler=no
2223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2225 $as_echo "$ac_header_compiler" >&6; }
2227 # Is the header present?
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2229 $as_echo_n "checking $2 presence... " >&6; }
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2234 if ac_fn_c_try_cpp "$LINENO"; then :
2235 ac_header_preproc=yes
2237 ac_header_preproc=no
2239 rm -f conftest.err conftest.$ac_ext
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2241 $as_echo "$ac_header_preproc" >&6; }
2243 # So? What about this header?
2244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2247 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2249 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2253 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2255 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2257 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2259 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2261 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2265 $as_echo_n "checking for $2... " >&6; }
2266 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2267 $as_echo_n "(cached) " >&6
2269 eval "$3=\$ac_header_compiler"
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2275 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2277 } # ac_fn_c_check_header_mongrel
2278 cat >config.log <<_ACEOF
2279 This file contains any messages produced by compilers while
2280 running configure, to aid debugging if configure makes a mistake.
2282 It was created by liboil $as_me 0.3.17, which was
2283 generated by GNU Autoconf 2.64. Invocation command line was
2295 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2296 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2297 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2298 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2299 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2301 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2302 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2304 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2305 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2306 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2307 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2308 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2309 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2310 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 $as_echo "PATH: $as_dir"
2335 # Keep a trace of the command line.
2336 # Strip out --no-create and --no-recursion so they do not pile up.
2337 # Strip out --silent because we don't want to record it for future runs.
2338 # Also quote any args containing shell meta-characters.
2339 # Make two passes to allow for proper duplicate-argument suppression.
2343 ac_must_keep_next=false
2349 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2351 | -silent | --silent | --silen | --sile | --sil)
2354 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2357 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2359 as_fn_append ac_configure_args1 " '$ac_arg'"
2360 if test $ac_must_keep_next = true; then
2361 ac_must_keep_next=false # Got value, back to normal.
2364 *=* | --config-cache | -C | -disable-* | --disable-* \
2365 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2366 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2367 | -with-* | --with-* | -without-* | --without-* | --x)
2368 case "$ac_configure_args0 " in
2369 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2372 -* ) ac_must_keep_next=true ;;
2375 as_fn_append ac_configure_args " '$ac_arg'"
2380 { ac_configure_args0=; unset ac_configure_args0;}
2381 { ac_configure_args1=; unset ac_configure_args1;}
2383 # When interrupted or exit'd, cleanup temporary files, and complete
2384 # config.log. We remove comments because anyway the quotes in there
2385 # would cause problems or look ugly.
2386 # WARNING: Use '\'' to represent an apostrophe within the trap.
2387 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2388 trap 'exit_status=$?
2389 # Save into config.log some information that might help in debugging.
2394 ## ---------------- ##
2395 ## Cache variables. ##
2396 ## ---------------- ##
2399 # The following way of writing the cache mishandles newlines in values,
2401 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2402 eval ac_val=\$$ac_var
2406 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2407 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2410 _ | IFS | as_nl) ;; #(
2411 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2412 *) { eval $ac_var=; unset $ac_var;} ;;
2417 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2418 *${as_nl}ac_space=\ *)
2420 "s/'\''/'\''\\\\'\'''\''/g;
2421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2432 ## ----------------- ##
2433 ## Output variables. ##
2434 ## ----------------- ##
2437 for ac_var in $ac_subst_vars
2439 eval ac_val=\$$ac_var
2441 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2443 $as_echo "$ac_var='\''$ac_val'\''"
2447 if test -n "$ac_subst_files"; then
2449 ## ------------------- ##
2450 ## File substitutions. ##
2451 ## ------------------- ##
2454 for ac_var in $ac_subst_files
2456 eval ac_val=\$$ac_var
2458 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2460 $as_echo "$ac_var='\''$ac_val'\''"
2465 if test -s confdefs.h; then
2475 test "$ac_signal" != 0 &&
2476 $as_echo "$as_me: caught signal $ac_signal"
2477 $as_echo "$as_me: exit $exit_status"
2479 rm -f core *.core core.conftest.* &&
2480 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2483 for ac_signal in 1 2 13 15; do
2484 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2488 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2489 rm -f -r conftest* confdefs.h
2491 $as_echo "/* confdefs.h */" > confdefs.h
2493 # Predefined preprocessor variables.
2495 cat >>confdefs.h <<_ACEOF
2496 #define PACKAGE_NAME "$PACKAGE_NAME"
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2507 cat >>confdefs.h <<_ACEOF
2508 #define PACKAGE_STRING "$PACKAGE_STRING"
2511 cat >>confdefs.h <<_ACEOF
2512 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2515 cat >>confdefs.h <<_ACEOF
2516 #define PACKAGE_URL "$PACKAGE_URL"
2520 # Let the site file select an alternate cache file if it wants to.
2521 # Prefer an explicitly selected file to automatically selected ones.
2524 if test -n "$CONFIG_SITE"; then
2525 ac_site_file1=$CONFIG_SITE
2526 elif test "x$prefix" != xNONE; then
2527 ac_site_file1=$prefix/share/config.site
2528 ac_site_file2=$prefix/etc/config.site
2530 ac_site_file1=$ac_default_prefix/share/config.site
2531 ac_site_file2=$ac_default_prefix/etc/config.site
2533 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2535 test "x$ac_site_file" = xNONE && continue
2536 if test -r "$ac_site_file"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2538 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2539 sed 's/^/| /' "$ac_site_file" >&5
2544 if test -r "$cache_file"; then
2545 # Some versions of bash will fail to source /dev/null (special
2546 # files actually), so we avoid doing that.
2547 if test -f "$cache_file"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2549 $as_echo "$as_me: loading cache $cache_file" >&6;}
2551 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2552 *) . "./$cache_file";;
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2557 $as_echo "$as_me: creating cache $cache_file" >&6;}
2561 # Check that the precious variables saved in the cache have kept the same
2563 ac_cache_corrupted=false
2564 for ac_var in $ac_precious_vars; do
2565 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2566 eval ac_new_set=\$ac_env_${ac_var}_set
2567 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2568 eval ac_new_val=\$ac_env_${ac_var}_value
2569 case $ac_old_set,$ac_new_set in
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2572 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2573 ac_cache_corrupted=: ;;
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2576 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2577 ac_cache_corrupted=: ;;
2580 if test "x$ac_old_val" != "x$ac_new_val"; then
2581 # differences in whitespace do not lead to failure.
2582 ac_old_val_w=`echo x $ac_old_val`
2583 ac_new_val_w=`echo x $ac_new_val`
2584 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2586 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2587 ac_cache_corrupted=:
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2590 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2591 eval $ac_var=\$ac_old_val
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2594 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2596 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2599 # Pass precious variables to config.status.
2600 if test "$ac_new_set" = set; then
2602 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2603 *) ac_arg=$ac_var=$ac_new_val ;;
2605 case " $ac_configure_args " in
2606 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2607 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2611 if $ac_cache_corrupted; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2615 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2616 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2618 ## -------------------- ##
2619 ## Main body of script. ##
2620 ## -------------------- ##
2623 ac_cpp='$CPP $CPPFLAGS'
2624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2632 $as_echo_n "checking nano version... " >&6; }
2634 NANO=$(echo 0.3.17 | sed 's/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//')
2637 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2639 $as_echo "0 (release)" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2644 $as_echo "$NANO" >&6; }
2650 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2651 for ac_t in install-sh install.sh shtool; do
2652 if test -f "$ac_dir/$ac_t"; then
2654 ac_install_sh="$ac_aux_dir/$ac_t -c"
2659 if test -z "$ac_aux_dir"; then
2660 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2663 # These three variables are undocumented and unsupported,
2664 # and are intended to be withdrawn in a future Autoconf release.
2665 # They can cause serious problems if a builder's source tree is in a directory
2666 # whose full name contains unusual characters.
2667 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2668 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2669 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2672 # Make sure we can run config.sub.
2673 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2674 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2677 $as_echo_n "checking build system type... " >&6; }
2678 if test "${ac_cv_build+set}" = set; then :
2679 $as_echo_n "(cached) " >&6
2681 ac_build_alias=$build_alias
2682 test "x$ac_build_alias" = x &&
2683 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2684 test "x$ac_build_alias" = x &&
2685 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2686 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2687 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2691 $as_echo "$ac_cv_build" >&6; }
2692 case $ac_cv_build in
2694 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2697 ac_save_IFS=$IFS; IFS='-'
2703 # Remember, the first character of IFS is used to create $*,
2704 # except with old shells:
2707 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2711 $as_echo_n "checking host system type... " >&6; }
2712 if test "${ac_cv_host+set}" = set; then :
2713 $as_echo_n "(cached) " >&6
2715 if test "x$host_alias" = x; then
2716 ac_cv_host=$ac_cv_build
2718 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2719 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2724 $as_echo "$ac_cv_host" >&6; }
2727 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2730 ac_save_IFS=$IFS; IFS='-'
2736 # Remember, the first character of IFS is used to create $*,
2737 # except with old shells:
2740 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2743 am__api_version='1.11'
2745 # Find a good install program. We prefer a C program (faster),
2746 # so one script is as good as another. But avoid the broken or
2747 # incompatible versions:
2748 # SysV /etc/install, /usr/sbin/install
2749 # SunOS /usr/etc/install
2750 # IRIX /sbin/install
2752 # AmigaOS /C/install, which installs bootblocks on floppy discs
2753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2756 # OS/2's system install, which has a completely different semantic
2757 # ./install, which can be erroneously created by make from ./install.sh.
2758 # Reject install programs that cannot install multiple files.
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2761 if test -z "$INSTALL"; then
2762 if test "${ac_cv_path_install+set}" = set; then :
2763 $as_echo_n "(cached) " >&6
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir=.
2770 # Account for people who put trailing slashes in PATH elements.
2771 case $as_dir/ in #((
2772 ./ | .// | /[cC]/* | \
2773 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2774 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2777 # OSF1 and SCO ODT 3.0 have their own names for install.
2778 # Don't use installbsd from OSF since it installs stuff as root
2780 for ac_prog in ginstall scoinst install; do
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2783 if test $ac_prog = install &&
2784 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2785 # AIX install. It has an incompatible calling convention.
2787 elif test $ac_prog = install &&
2788 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2789 # program-specific install script used by HP pwplus--don't use.
2792 rm -rf conftest.one conftest.two conftest.dir
2793 echo one > conftest.one
2794 echo two > conftest.two
2796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2797 test -s conftest.one && test -s conftest.two &&
2798 test -s conftest.dir/conftest.one &&
2799 test -s conftest.dir/conftest.two
2801 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2814 rm -rf conftest.one conftest.two conftest.dir
2817 if test "${ac_cv_path_install+set}" = set; then
2818 INSTALL=$ac_cv_path_install
2820 # As a last resort, use the slow shell script. Don't cache a
2821 # value for INSTALL within a source directory, because that will
2822 # break other packages using the cache if that directory is
2823 # removed, or if the value is a relative name.
2824 INSTALL=$ac_install_sh
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2828 $as_echo "$INSTALL" >&6; }
2830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2831 # It thinks the first close brace ends the variable substitution.
2832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2839 $as_echo_n "checking whether build environment is sane... " >&6; }
2842 echo timestamp > conftest.file
2843 # Reject unsafe characters in $srcdir or the absolute working directory
2844 # name. Accept space and tab only in the latter.
2848 *[\\\"\#\$\&\'\`$am_lf]*)
2849 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2852 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2853 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2856 # Do `set' in a subshell so we don't clobber the current shell's
2857 # arguments. Must try -L first in case configure is actually a
2858 # symlink; some systems play weird games with the mod time of symlinks
2859 # (eg FreeBSD returns the mod time of the symlink's containing
2862 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2863 if test "$*" = "X"; then
2865 set X `ls -t "$srcdir/configure" conftest.file`
2868 if test "$*" != "X $srcdir/configure conftest.file" \
2869 && test "$*" != "X conftest.file $srcdir/configure"; then
2871 # If neither matched, then we have a broken ls. This can happen
2872 # if, for instance, CONFIG_SHELL is bash and it inherits a
2873 # broken ls alias from the environment. This has actually
2874 # happened. Such a system could not be considered "sane".
2875 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2876 alias in your environment" "$LINENO" 5
2879 test "$2" = conftest.file
2885 as_fn_error "newly created file is older than distributed files!
2886 Check your system clock" "$LINENO" 5
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2890 test "$program_prefix" != NONE &&
2891 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2892 # Use a double $ so make ignores it.
2893 test "$program_suffix" != NONE &&
2894 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2895 # Double any \ or $.
2896 # By default was `s,x,x', remove it if useless.
2897 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2898 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2900 # expand $ac_aux_dir to an absolute path
2901 am_aux_dir=`cd $ac_aux_dir && pwd`
2903 if test x"${MISSING+set}" != xset; then
2906 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2908 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2911 # Use eval to expand $SHELL
2912 if eval "$MISSING --run true"; then
2913 am_missing_run="$MISSING --run "
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2917 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2920 if test x"${install_sh}" != xset; then
2923 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2925 install_sh="\${SHELL} $am_aux_dir/install-sh"
2929 # Installed binaries are usually stripped using `strip' when the user
2930 # run `make install-strip'. However `strip' might not be the right
2931 # tool to use in cross-compilation environments, therefore Automake
2932 # will honor the `STRIP' environment variable to overrule this program.
2933 if test "$cross_compiling" != no; then
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}strip; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if test "${ac_cv_prog_STRIP+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$STRIP"; then
2943 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 STRIP=$ac_cv_prog_STRIP
2963 if test -n "$STRIP"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2965 $as_echo "$STRIP" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$ac_cv_prog_STRIP"; then
2975 # Extract the first word of "strip", so it can be a program name with args.
2976 set dummy strip; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_STRIP"; then
2983 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_ac_ct_STRIP="strip"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3003 if test -n "$ac_ct_STRIP"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3005 $as_echo "$ac_ct_STRIP" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3011 if test "x$ac_ct_STRIP" = x; then
3014 case $cross_compiling:$ac_tool_warned in
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned=yes ;;
3023 STRIP="$ac_cv_prog_STRIP"
3027 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3030 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3031 if test -z "$MKDIR_P"; then
3032 if test "${ac_cv_path_mkdir+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3039 test -z "$as_dir" && as_dir=.
3040 for ac_prog in mkdir gmkdir; do
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3043 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3044 'mkdir (GNU coreutils) '* | \
3045 'mkdir (coreutils) '* | \
3046 'mkdir (fileutils) '4.1*)
3047 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3057 if test "${ac_cv_path_mkdir+set}" = set; then
3058 MKDIR_P="$ac_cv_path_mkdir -p"
3060 # As a last resort, use the slow shell script. Don't cache a
3061 # value for MKDIR_P within a source directory, because that will
3062 # break other packages using the cache if that directory is
3063 # removed, or if the value is a relative name.
3064 test -d ./--version && rmdir ./--version
3065 MKDIR_P="$ac_install_sh -d"
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3069 $as_echo "$MKDIR_P" >&6; }
3073 [\\/$]* | ?:[\\/]*) ;;
3074 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3077 for ac_prog in gawk mawk nawk awk
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if test "${ac_cv_prog_AWK+set}" = set; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$AWK"; then
3087 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_AWK="$ac_prog"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AWK"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3109 $as_echo "$AWK" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3116 test -n "$AWK" && break
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3122 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3123 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3124 $as_echo_n "(cached) " >&6
3126 cat >conftest.make <<\_ACEOF
3129 @echo '@@@%%%=$(MAKE)=@@@%%%'
3131 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3134 eval ac_cv_prog_make_${ac_make}_set=yes;;
3136 eval ac_cv_prog_make_${ac_make}_set=no;;
3140 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3142 $as_echo "yes" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147 SET_MAKE="MAKE=${MAKE-make}"
3150 rm -rf .tst 2>/dev/null
3151 mkdir .tst 2>/dev/null
3152 if test -d .tst; then
3157 rmdir .tst 2>/dev/null
3159 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3160 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3161 # is not polluted with repeated "-I."
3162 am__isrc=' -I$(srcdir)'
3163 # test to see if srcdir already configured
3164 if test -f $srcdir/config.status; then
3165 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3169 # test whether we have cygpath
3170 if test -z "$CYGPATH_W"; then
3171 if (cygpath --version) >/dev/null 2>/dev/null; then
3172 CYGPATH_W='cygpath -w'
3179 # Define the identity of the package.
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE "$PACKAGE"
3189 cat >>confdefs.h <<_ACEOF
3190 #define VERSION "$VERSION"
3193 # Some tools Automake needs.
3195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3198 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3201 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3204 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3207 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3209 # We need awk for the "check" target. The system "awk" is bad on
3211 # Always define AMTAR for backward compatibility.
3213 AMTAR=${AMTAR-"${am_missing_run}tar"}
3215 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3224 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3225 # Check whether --enable-maintainer-mode was given.
3226 if test "${enable_maintainer_mode+set}" = set; then :
3227 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3229 USE_MAINTAINER_MODE=no
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3233 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3234 if test $USE_MAINTAINER_MODE = yes; then
3235 MAINTAINER_MODE_TRUE=
3236 MAINTAINER_MODE_FALSE='#'
3238 MAINTAINER_MODE_TRUE='#'
3239 MAINTAINER_MODE_FALSE=
3242 MAINT=$MAINTAINER_MODE_TRUE
3246 #LIBOIL_MAJORMINOR=0.3
3247 #AC_SUBST(LIBOIL_MAJORMINOR)
3249 ac_config_headers="$ac_config_headers config.h"
3252 LIBOIL_LIBVERSION="3:0:3"
3254 enable_win32_dll=yes
3257 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}as; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_AS+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$AS"; then
3267 ac_cv_prog_AS="$AS" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_AS="${ac_tool_prefix}as"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 if test -n "$AS"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3289 $as_echo "$AS" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_AS"; then
3299 # Extract the first word of "as", so it can be a program name with args.
3300 set dummy as; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$ac_ct_AS"; then
3307 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_AS="as"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3327 if test -n "$ac_ct_AS"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3329 $as_echo "$ac_ct_AS" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_AS" = x; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3350 if test -n "$ac_tool_prefix"; then
3351 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3352 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$DLLTOOL"; then
3359 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 DLLTOOL=$ac_cv_prog_DLLTOOL
3379 if test -n "$DLLTOOL"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3381 $as_echo "$DLLTOOL" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3389 if test -z "$ac_cv_prog_DLLTOOL"; then
3390 ac_ct_DLLTOOL=$DLLTOOL
3391 # Extract the first word of "dlltool", so it can be a program name with args.
3392 set dummy dlltool; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$ac_ct_DLLTOOL"; then
3399 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3419 if test -n "$ac_ct_DLLTOOL"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3421 $as_echo "$ac_ct_DLLTOOL" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3427 if test "x$ac_ct_DLLTOOL" = x; then
3430 case $cross_compiling:$ac_tool_warned in
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3434 ac_tool_warned=yes ;;
3436 DLLTOOL=$ac_ct_DLLTOOL
3439 DLLTOOL="$ac_cv_prog_DLLTOOL"
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3444 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446 $as_echo_n "checking for $ac_word... " >&6; }
3447 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3448 $as_echo_n "(cached) " >&6
3450 if test -n "$OBJDUMP"; then
3451 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3460 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 OBJDUMP=$ac_cv_prog_OBJDUMP
3471 if test -n "$OBJDUMP"; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3473 $as_echo "$OBJDUMP" >&6; }
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3481 if test -z "$ac_cv_prog_OBJDUMP"; then
3482 ac_ct_OBJDUMP=$OBJDUMP
3483 # Extract the first word of "objdump", so it can be a program name with args.
3484 set dummy objdump; ac_word=$2
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3488 $as_echo_n "(cached) " >&6
3490 if test -n "$ac_ct_OBJDUMP"; then
3491 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3511 if test -n "$ac_ct_OBJDUMP"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3513 $as_echo "$ac_ct_OBJDUMP" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3519 if test "x$ac_ct_OBJDUMP" = x; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned=yes ;;
3528 OBJDUMP=$ac_ct_OBJDUMP
3531 OBJDUMP="$ac_cv_prog_OBJDUMP"
3537 test -z "$AS" && AS=as
3543 test -z "$DLLTOOL" && DLLTOOL=dlltool
3549 test -z "$OBJDUMP" && OBJDUMP=objdump
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3562 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3567 macro_version='2.2.6'
3568 macro_revision='1.3012'
3582 ltmain="$ac_aux_dir/ltmain.sh"
3584 DEPDIR="${am__leading_dot}deps"
3586 ac_config_commands="$ac_config_commands depfiles"
3589 am_make=${MAKE-make}
3590 cat > confinc << 'END'
3592 @echo this is the am__doit target
3595 # If we don't find an include directive, just comment out the code.
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3597 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3601 # First try GNU make style include.
3602 echo "include confinc" > confmf
3603 # Ignore all kinds of additional output from `make'.
3604 case `$am_make -s -f confmf 2> /dev/null` in #(
3605 *the\ am__doit\ target*)
3611 # Now try BSD make style include.
3612 if test "$am__include" = "#"; then
3613 echo '.include "confinc"' > confmf
3614 case `$am_make -s -f confmf 2> /dev/null` in #(
3615 *the\ am__doit\ target*)
3616 am__include=.include
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3625 $as_echo "$_am_result" >&6; }
3626 rm -f confinc confmf
3628 # Check whether --enable-dependency-tracking was given.
3629 if test "${enable_dependency_tracking+set}" = set; then :
3630 enableval=$enable_dependency_tracking;
3633 if test "x$enable_dependency_tracking" != xno; then
3634 am_depcomp="$ac_aux_dir/depcomp"
3637 if test "x$enable_dependency_tracking" != xno; then
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3653 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if test "${ac_cv_prog_CC+set}" = set; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC="$CC" # Let the user override the test.
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3690 if test -z "$ac_cv_prog_CC"; then
3692 # Extract the first word of "gcc", so it can be a program name with args.
3693 set dummy gcc; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$ac_ct_CC"; then
3700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709 ac_cv_prog_ac_ct_CC="gcc"
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3720 if test -n "$ac_ct_CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3722 $as_echo "$ac_ct_CC" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3728 if test "x$ac_ct_CC" = x; then
3731 case $cross_compiling:$ac_tool_warned in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735 ac_tool_warned=yes ;;
3743 if test -z "$CC"; then
3744 if test -n "$ac_tool_prefix"; then
3745 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3746 set dummy ${ac_tool_prefix}cc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if test "${ac_cv_prog_CC+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_CC="${ac_tool_prefix}cc"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3784 if test -z "$CC"; then
3785 # Extract the first word of "cc", so it can be a program name with args.
3786 set dummy cc; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if test "${ac_cv_prog_CC+set}" = set; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -n "$CC"; then
3793 ac_cv_prog_CC="$CC" # Let the user override the test.
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3804 ac_prog_rejected=yes
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 if test $ac_prog_rejected = yes; then
3816 # We found a bogon in the path, so make sure we never use it.
3817 set dummy $ac_cv_prog_CC
3819 if test $# != 0; then
3820 # We chose a different compiler from the bogus one.
3821 # However, it has the same basename, so the bogon will be chosen
3822 # first if we set CC to just the basename; use the full file name.
3824 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3830 if test -n "$CC"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3832 $as_echo "$CC" >&6; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3840 if test -z "$CC"; then
3841 if test -n "$ac_tool_prefix"; then
3842 for ac_prog in cl.exe
3844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3845 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if test "${ac_cv_prog_CC+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$CC"; then
3852 ac_cv_prog_CC="$CC" # Let the user override the test.
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3861 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 if test -n "$CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874 $as_echo "$CC" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 test -n "$CC" && break
3884 if test -z "$CC"; then
3886 for ac_prog in cl.exe
3888 # Extract the first word of "$ac_prog", so it can be a program name with args.
3889 set dummy $ac_prog; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 if test -n "$ac_ct_CC"; then
3896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 ac_cv_prog_ac_ct_CC="$ac_prog"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3916 if test -n "$ac_ct_CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3918 $as_echo "$ac_ct_CC" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3925 test -n "$ac_ct_CC" && break
3928 if test "x$ac_ct_CC" = x; then
3931 case $cross_compiling:$ac_tool_warned in
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3935 ac_tool_warned=yes ;;
3944 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3946 as_fn_error "no acceptable C compiler found in \$PATH
3947 See \`config.log' for more details." "$LINENO" 5; }
3949 # Provide some information about the compiler.
3950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3953 for ac_option in --version -v -V -qversion; do
3954 { { ac_try="$ac_compiler $ac_option >&5"
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960 $as_echo "$ac_try_echo"; } >&5
3961 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3963 if test -s conftest.err; then
3965 ... rest of stderr output deleted ...
3966 10q' conftest.err >conftest.er1
3967 cat conftest.er1 >&5
3968 rm -f conftest.er1 conftest.err
3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971 test $ac_status = 0; }
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3980 FILE *f = fopen ("conftest.out", "w");
3981 return ferror (f) || fclose (f) != 0;
3987 ac_clean_files_save=$ac_clean_files
3988 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3989 # Try to create an executable without -o first, disregard a.out.
3990 # It will help us diagnose broken compilers, and finding out an intuition
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993 $as_echo_n "checking for C compiler default output file name... " >&6; }
3994 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3996 # The possible output files:
3997 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4000 for ac_file in $ac_files
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4004 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4009 if { { ac_try="$ac_link_default"
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_link_default") 2>&5
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; then :
4020 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4021 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4022 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4023 # so that the user can short-circuit this test for compilers unknown to
4025 for ac_file in $ac_files ''
4027 test -f "$ac_file" || continue
4029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4032 # We found the default executable, but exeext='' is most
4036 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4038 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4040 # We set ac_cv_exeext here because the later test for it is not
4041 # safe: cross compilers may not add the suffix if given an `-o'
4042 # argument, so we may need to know it at that point already.
4043 # Even if this section looks crufty: it has the advantage of
4050 test "$ac_cv_exeext" = no && ac_cv_exeext=
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4056 $as_echo "$ac_file" >&6; }
4057 if test -z "$ac_file"; then :
4058 $as_echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.$ac_ext >&5
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 { as_fn_set_status 77
4064 as_fn_error "C compiler cannot create executables
4065 See \`config.log' for more details." "$LINENO" 5; }; }
4067 ac_exeext=$ac_cv_exeext
4069 # Check that the compiler produces executables we can run. If not, either
4070 # the compiler is broken, or we cross compile.
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4072 $as_echo_n "checking whether the C compiler works... " >&6; }
4073 # If not cross compiling, check that we can run a simple program.
4074 if test "$cross_compiling" != yes; then
4075 if { ac_try='./$ac_file'
4076 { { case "(($ac_try" in
4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_try") 2>&5
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; }; then
4088 if test "$cross_compiling" = maybe; then
4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error "cannot run C compiled programs.
4094 If you meant to cross compile, use \`--host'.
4095 See \`config.log' for more details." "$LINENO" 5; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4100 $as_echo "yes" >&6; }
4102 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4103 ac_clean_files=$ac_clean_files_save
4104 # Check that the compiler produces executables we can run. If not, either
4105 # the compiler is broken, or we cross compile.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4107 $as_echo_n "checking whether we are cross compiling... " >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4109 $as_echo "$cross_compiling" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4112 $as_echo_n "checking for suffix of executables... " >&6; }
4113 if { { ac_try="$ac_link"
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_link") 2>&5
4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4123 test $ac_status = 0; }; then :
4124 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4125 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4126 # work properly (i.e., refer to `conftest.exe'), while it won't with
4128 for ac_file in conftest.exe conftest conftest.*; do
4129 test -f "$ac_file" || continue
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4132 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error "cannot compute suffix of executables: cannot compile and link
4141 See \`config.log' for more details." "$LINENO" 5; }
4143 rm -f conftest$ac_cv_exeext
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4145 $as_echo "$ac_cv_exeext" >&6; }
4147 rm -f conftest.$ac_ext
4148 EXEEXT=$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4151 $as_echo_n "checking for suffix of object files... " >&6; }
4152 if test "${ac_cv_objext+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4166 rm -f conftest.o conftest.obj
4167 if { { ac_try="$ac_compile"
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_compile") 2>&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 for ac_file in conftest.o conftest.obj conftest.*; do
4179 test -f "$ac_file" || continue;
4181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4187 $as_echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.$ac_ext >&5
4190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4192 as_fn_error "cannot compute suffix of object files: cannot compile
4193 See \`config.log' for more details." "$LINENO" 5; }
4195 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4198 $as_echo "$ac_cv_objext" >&6; }
4199 OBJEXT=$ac_cv_objext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4202 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4203 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4220 if ac_fn_c_try_compile "$LINENO"; then :
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4230 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4231 if test $ac_compiler_gnu = yes; then
4236 ac_test_CFLAGS=${CFLAGS+set}
4237 ac_save_CFLAGS=$CFLAGS
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4239 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4240 if test "${ac_cv_prog_cc_g+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 ac_save_c_werror_flag=$ac_c_werror_flag
4244 ac_c_werror_flag=yes
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile "$LINENO"; then :
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4273 if ac_fn_c_try_compile "$LINENO"; then :
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_c_try_compile "$LINENO"; then :
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 ac_c_werror_flag=$ac_save_c_werror_flag
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4300 $as_echo "$ac_cv_prog_cc_g" >&6; }
4301 if test "$ac_test_CFLAGS" = set; then
4302 CFLAGS=$ac_save_CFLAGS
4303 elif test $ac_cv_prog_cc_g = yes; then
4304 if test "$GCC" = yes; then
4310 if test "$GCC" = yes; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4317 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4318 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_cv_prog_cc_c89=no
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 #include <sys/types.h>
4328 #include <sys/stat.h>
4329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4330 struct buf { int x; };
4331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4332 static char *e (p, i)
4338 static char *f (char * (*g) (char **, int), char **p, ...)
4343 s = g (p, va_arg (v,int));
4348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4349 function prototypes and stuff, but not '\xHH' hex character constants.
4350 These don't provoke an error unfortunately, instead are silently treated
4351 as 'x'. The following induces an error, until -std is added to get
4352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4353 array size at least. It's necessary to write '\x00'==0 to get something
4354 that's true only with -std. */
4355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4358 inside strings and character constants. */
4360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4362 int test (int i, double x);
4363 struct s1 {int (*f) (int a);};
4364 struct s2 {int (*f) (double a);};
4365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4379 CC="$ac_save_CC $ac_arg"
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_c89=$ac_arg
4383 rm -f core conftest.err conftest.$ac_objext
4384 test "x$ac_cv_prog_cc_c89" != "xno" && break
4386 rm -f conftest.$ac_ext
4391 case "x$ac_cv_prog_cc_c89" in
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4394 $as_echo "none needed" >&6; } ;;
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4397 $as_echo "unsupported" >&6; } ;;
4399 CC="$CC $ac_cv_prog_cc_c89"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4403 if test "x$ac_cv_prog_cc_c89" != xno; then :
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413 depcc="$CC" am_compiler_list=
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4416 $as_echo_n "checking dependency style of $depcc... " >&6; }
4417 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4421 # We make a subdir and do the tests there. Otherwise we can end up
4422 # making bogus files that we don't know about and never remove. For
4423 # instance it was reported that on HP-UX the gcc test will end up
4424 # making a dummy file named `D' -- because `-MD' means `put the output
4427 # Copy depcomp to subdir because otherwise we won't find it if we're
4428 # using a relative directory.
4429 cp "$am_depcomp" conftest.dir
4431 # We will build objects and dependencies in a subdirectory because
4432 # it helps to detect inapplicable dependency modes. For instance
4433 # both Tru64's cc and ICC support -MD to output dependencies as a
4434 # side effect of compilation, but ICC will put the dependencies in
4435 # the current directory while Tru64 will put them in the object
4439 am_cv_CC_dependencies_compiler_type=none
4440 if test "$am_compiler_list" = ""; then
4441 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4444 case " $depcc " in #(
4445 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4448 for depmode in $am_compiler_list; do
4449 # Setup a source with many dependencies, because some compilers
4450 # like to wrap large dependency lists on column 80 (with \), and
4451 # we should not choose a depcomp mode which is confused by this.
4453 # We need to recreate these files for each test, as the compiler may
4454 # overwrite some of them when testing with obscure command lines.
4455 # This happens at least with the AIX C compiler.
4457 for i in 1 2 3 4 5 6; do
4458 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4459 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4460 # Solaris 8's {/usr,}/bin/sh.
4461 touch sub/conftst$i.h
4463 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4465 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4466 # mode. It turns out that the SunPro C++ compiler does not properly
4467 # handle `-M -o', and we need to detect this. Also, some Intel
4468 # versions had trouble with output in subdirs
4469 am__obj=sub/conftest.${OBJEXT-o}
4470 am__minus_obj="-o $am__obj"
4473 # This depmode causes a compiler race in universal mode.
4474 test "$am__universal" = false || continue
4477 # after this tag, mechanisms are not by side-effect, so they'll
4478 # only be used when explicitly requested
4479 if test "x$enable_dependency_tracking" = xyes; then
4485 msvisualcpp | msvcmsys)
4486 # This compiler won't grok `-c -o', but also, the minuso test has
4487 # not run yet. These depmodes are late enough in the game, and
4488 # so weak that their functioning should not be impacted.
4489 am__obj=conftest.${OBJEXT-o}
4494 if depmode=$depmode \
4495 source=sub/conftest.c object=$am__obj \
4496 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4497 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4498 >/dev/null 2>conftest.err &&
4499 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4500 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4501 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4502 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4503 # icc doesn't choke on unknown options, it will just issue warnings
4504 # or remarks (even with -Werror). So we grep stderr for any message
4505 # that says an option was ignored or not supported.
4506 # When given -MP, icc 7.0 and 7.1 complain thusly:
4507 # icc: Command line warning: ignoring option '-M'; no argument required
4508 # The diagnosis changed in icc 8.0:
4509 # icc: Command line remark: option '-MP' not supported
4510 if (grep 'ignoring option' conftest.err ||
4511 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4512 am_cv_CC_dependencies_compiler_type=$depmode
4521 am_cv_CC_dependencies_compiler_type=none
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4526 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4527 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4530 test "x$enable_dependency_tracking" != xno \
4531 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4533 am__fastdepCC_FALSE='#'
4535 am__fastdepCC_TRUE='#'
4536 am__fastdepCC_FALSE=
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4541 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4542 if test "${ac_cv_path_SED+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4546 for ac_i in 1 2 3 4 5 6 7; do
4547 ac_script="$ac_script$as_nl$ac_script"
4549 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4550 { ac_script=; unset ac_script;}
4551 if test -z "$SED"; then
4552 ac_path_SED_found=false
4553 # Loop through the user's path and test for each of PROGNAME-LIST
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_prog in sed gsed; do
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4562 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4563 # Check for GNU ac_path_SED and select it if it is found.
4564 # Check for GNU $ac_path_SED
4565 case `"$ac_path_SED" --version 2>&1` in
4567 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4570 $as_echo_n 0123456789 >"conftest.in"
4573 cat "conftest.in" "conftest.in" >"conftest.tmp"
4574 mv "conftest.tmp" "conftest.in"
4575 cp "conftest.in" "conftest.nl"
4576 $as_echo '' >> "conftest.nl"
4577 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4578 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4579 as_fn_arith $ac_count + 1 && ac_count=$as_val
4580 if test $ac_count -gt ${ac_path_SED_max-0}; then
4581 # Best one so far, save it but keep looking for a better one
4582 ac_cv_path_SED="$ac_path_SED"
4583 ac_path_SED_max=$ac_count
4585 # 10*(2^10) chars as input seems more than enough
4586 test $ac_count -gt 10 && break
4588 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591 $ac_path_SED_found && break 3
4596 if test -z "$ac_cv_path_SED"; then
4597 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4605 $as_echo "$ac_cv_path_SED" >&6; }
4606 SED="$ac_cv_path_SED"
4609 test -z "$SED" && SED=sed
4610 Xsed="$SED -e 1s/^X//"
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4624 if test "${ac_cv_path_GREP+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -z "$GREP"; then
4628 ac_path_GREP_found=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4634 test -z "$as_dir" && as_dir=.
4635 for ac_prog in grep ggrep; do
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4638 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4639 # Check for GNU ac_path_GREP and select it if it is found.
4640 # Check for GNU $ac_path_GREP
4641 case `"$ac_path_GREP" --version 2>&1` in
4643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4646 $as_echo_n 0123456789 >"conftest.in"
4649 cat "conftest.in" "conftest.in" >"conftest.tmp"
4650 mv "conftest.tmp" "conftest.in"
4651 cp "conftest.in" "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
4653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
4656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4657 # Best one so far, save it but keep looking for a better one
4658 ac_cv_path_GREP="$ac_path_GREP"
4659 ac_path_GREP_max=$ac_count
4661 # 10*(2^10) chars as input seems more than enough
4662 test $ac_count -gt 10 && break
4664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4667 $ac_path_GREP_found && break 3
4672 if test -z "$ac_cv_path_GREP"; then
4673 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676 ac_cv_path_GREP=$GREP
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4682 GREP="$ac_cv_path_GREP"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if test "${ac_cv_path_EGREP+set}" = set; then :
4688 $as_echo_n "(cached) " >&6
4690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4691 then ac_cv_path_EGREP="$GREP -E"
4693 if test -z "$EGREP"; then
4694 ac_path_EGREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4700 test -z "$as_dir" && as_dir=.
4701 for ac_prog in egrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4704 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4706 # Check for GNU $ac_path_EGREP
4707 case `"$ac_path_EGREP" --version 2>&1` in
4709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4712 $as_echo_n 0123456789 >"conftest.in"
4715 cat "conftest.in" "conftest.in" >"conftest.tmp"
4716 mv "conftest.tmp" "conftest.in"
4717 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4723 # Best one so far, save it but keep looking for a better one
4724 ac_cv_path_EGREP="$ac_path_EGREP"
4725 ac_path_EGREP_max=$ac_count
4727 # 10*(2^10) chars as input seems more than enough
4728 test $ac_count -gt 10 && break
4730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4733 $ac_path_EGREP_found && break 3
4738 if test -z "$ac_cv_path_EGREP"; then
4739 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742 ac_cv_path_EGREP=$EGREP
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4749 EGREP="$ac_cv_path_EGREP"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4753 $as_echo_n "checking for fgrep... " >&6; }
4754 if test "${ac_cv_path_FGREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4758 then ac_cv_path_FGREP="$GREP -F"
4760 if test -z "$FGREP"; then
4761 ac_path_FGREP_found=false
4762 # Loop through the user's path and test for each of PROGNAME-LIST
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767 test -z "$as_dir" && as_dir=.
4768 for ac_prog in fgrep; do
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4771 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4772 # Check for GNU ac_path_FGREP and select it if it is found.
4773 # Check for GNU $ac_path_FGREP
4774 case `"$ac_path_FGREP" --version 2>&1` in
4776 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4779 $as_echo_n 0123456789 >"conftest.in"
4782 cat "conftest.in" "conftest.in" >"conftest.tmp"
4783 mv "conftest.tmp" "conftest.in"
4784 cp "conftest.in" "conftest.nl"
4785 $as_echo 'FGREP' >> "conftest.nl"
4786 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788 as_fn_arith $ac_count + 1 && ac_count=$as_val
4789 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4790 # Best one so far, save it but keep looking for a better one
4791 ac_cv_path_FGREP="$ac_path_FGREP"
4792 ac_path_FGREP_max=$ac_count
4794 # 10*(2^10) chars as input seems more than enough
4795 test $ac_count -gt 10 && break
4797 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 $ac_path_FGREP_found && break 3
4805 if test -z "$ac_cv_path_FGREP"; then
4806 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809 ac_cv_path_FGREP=$FGREP
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4815 $as_echo "$ac_cv_path_FGREP" >&6; }
4816 FGREP="$ac_cv_path_FGREP"
4819 test -z "$GREP" && GREP=grep
4839 # Check whether --with-gnu-ld was given.
4840 if test "${with_gnu_ld+set}" = set; then :
4841 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4847 if test "$GCC" = yes; then
4848 # Check if gcc -print-prog-name=ld gives a path.
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4850 $as_echo_n "checking for ld used by $CC... " >&6; }
4853 # gcc leaves a trailing carriage return which upsets mingw
4854 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4856 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4859 # Accept absolute paths.
4861 re_direlt='/[^/][^/]*/\.\./'
4862 # Canonicalize the pathname of ld
4863 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4864 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4865 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4867 test -z "$LD" && LD="$ac_prog"
4870 # If it fails, then pretend we aren't using GCC.
4874 # If it is relative, then search for the first ld in PATH.
4878 elif test "$with_gnu_ld" = yes; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4880 $as_echo_n "checking for GNU ld... " >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4883 $as_echo_n "checking for non-GNU ld... " >&6; }
4885 if test "${lt_cv_path_LD+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -z "$LD"; then
4889 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4890 for ac_dir in $PATH; do
4892 test -z "$ac_dir" && ac_dir=.
4893 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4894 lt_cv_path_LD="$ac_dir/$ac_prog"
4895 # Check to see if the program is GNU ld. I'd rather use --version,
4896 # but apparently some variants of GNU ld only accept -v.
4897 # Break only if it was the GNU/non-GNU ld that we prefer.
4898 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4899 *GNU* | *'with BFD'*)
4900 test "$with_gnu_ld" != no && break
4903 test "$with_gnu_ld" != yes && break
4910 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4915 if test -n "$LD"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4917 $as_echo "$LD" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4922 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4924 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4925 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4928 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4929 case `$LD -v 2>&1 </dev/null` in
4930 *GNU* | *'with BFD'*)
4931 lt_cv_prog_gnu_ld=yes
4934 lt_cv_prog_gnu_ld=no
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4939 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4940 with_gnu_ld=$lt_cv_prog_gnu_ld
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4951 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4952 if test "${lt_cv_path_NM+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4955 if test -n "$NM"; then
4956 # Let the user override the test.
4959 lt_nm_to_check="${ac_tool_prefix}nm"
4960 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4961 lt_nm_to_check="$lt_nm_to_check nm"
4963 for lt_tmp_nm in $lt_nm_to_check; do
4964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4965 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4967 test -z "$ac_dir" && ac_dir=.
4968 tmp_nm="$ac_dir/$lt_tmp_nm"
4969 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4970 # Check to see if the nm accepts a BSD-compat flag.
4971 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4972 # nm: unknown option "B" ignored
4973 # Tru64's nm complains that /dev/null is an invalid object file
4974 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4975 */dev/null* | *'Invalid file or object type'*)
4976 lt_cv_path_NM="$tmp_nm -B"
4980 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4982 lt_cv_path_NM="$tmp_nm -p"
4986 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4987 continue # so that we can try to find one that supports BSD flags
4996 : ${lt_cv_path_NM=no}
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5000 $as_echo "$lt_cv_path_NM" >&6; }
5001 if test "$lt_cv_path_NM" != "no"; then
5004 # Didn't find any BSD compatible name lister, look for dumpbin.
5005 if test -n "$ac_tool_prefix"; then
5006 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$DUMPBIN"; then
5016 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 DUMPBIN=$ac_cv_prog_DUMPBIN
5036 if test -n "$DUMPBIN"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5038 $as_echo "$DUMPBIN" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5045 test -n "$DUMPBIN" && break
5048 if test -z "$DUMPBIN"; then
5049 ac_ct_DUMPBIN=$DUMPBIN
5050 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy $ac_prog; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$ac_ct_DUMPBIN"; then
5060 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5080 if test -n "$ac_ct_DUMPBIN"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5082 $as_echo "$ac_ct_DUMPBIN" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 test -n "$ac_ct_DUMPBIN" && break
5092 if test "x$ac_ct_DUMPBIN" = x; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5101 DUMPBIN=$ac_ct_DUMPBIN
5106 if test "$DUMPBIN" != ":"; then
5110 test -z "$NM" && NM=nm
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5118 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5119 if test "${lt_cv_nm_interface+set}" = set; then :
5120 $as_echo_n "(cached) " >&6
5122 lt_cv_nm_interface="BSD nm"
5123 echo "int some_variable = 0;" > conftest.$ac_ext
5124 (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
5125 (eval "$ac_compile" 2>conftest.err)
5126 cat conftest.err >&5
5127 (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5128 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5129 cat conftest.err >&5
5130 (eval echo "\"\$as_me:5130: output\"" >&5)
5131 cat conftest.out >&5
5132 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5133 lt_cv_nm_interface="MS dumpbin"
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5138 $as_echo "$lt_cv_nm_interface" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5141 $as_echo_n "checking whether ln -s works... " >&6; }
5143 if test "$LN_S" = "ln -s"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5145 $as_echo "yes" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5148 $as_echo "no, using $LN_S" >&6; }
5151 # find the maximum length of command line arguments
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5153 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5154 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5155 $as_echo_n "(cached) " >&6
5162 # On DJGPP, this test can blow up pretty badly due to problems in libc
5163 # (any single argument exceeding 2000 bytes causes a buffer overrun
5164 # during glob expansion). Even if it were fixed, the result of this
5165 # check would be larger than it should be.
5166 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5170 # Under GNU Hurd, this test is not required because there is
5171 # no limit to the length of command line arguments.
5172 # Libtool will interpret -1 as no limit whatsoever
5173 lt_cv_sys_max_cmd_len=-1;
5176 cygwin* | mingw* | cegcc*)
5177 # On Win9x/ME, this test blows up -- it succeeds, but takes
5178 # about 5 minutes as the teststring grows exponentially.
5179 # Worse, since 9x/ME are not pre-emptively multitasking,
5180 # you end up with a "frozen" computer, even though with patience
5181 # the test eventually succeeds (with a max line length of 256k).
5182 # Instead, let's just punt: use the minimum linelength reported by
5183 # all of the supported platforms: 8192 (on NT/2K/XP).
5184 lt_cv_sys_max_cmd_len=8192;
5188 # On AmigaOS with pdksh, this test takes hours, literally.
5189 # So we just punt and use a minimum line length of 8192.
5190 lt_cv_sys_max_cmd_len=8192;
5193 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5194 # This has been around since 386BSD, at least. Likely further.
5195 if test -x /sbin/sysctl; then
5196 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5197 elif test -x /usr/sbin/sysctl; then
5198 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5200 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5202 # And add a safety zone
5203 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5204 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5208 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5209 lt_cv_sys_max_cmd_len=196608
5213 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5214 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5215 # nice to cause kernel panics so lets avoid the loop below.
5216 # First set a reasonable default.
5217 lt_cv_sys_max_cmd_len=16384
5219 if test -x /sbin/sysconfig; then
5220 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5221 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5226 lt_cv_sys_max_cmd_len=102400
5228 sysv5* | sco5v6* | sysv4.2uw2*)
5229 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5230 if test -n "$kargmax"; then
5231 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5233 lt_cv_sys_max_cmd_len=32768
5237 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5238 if test -n "$lt_cv_sys_max_cmd_len"; then
5239 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5240 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5242 # Make teststring a little bigger before we do anything with it.
5243 # a 1K string should be a reasonable start.
5244 for i in 1 2 3 4 5 6 7 8 ; do
5245 teststring=$teststring$teststring
5247 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5248 # If test is not a shell built-in, we'll probably end up computing a
5249 # maximum length that is only half of the actual maximum length, but
5251 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5252 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5253 test $i != 17 # 1/2 MB should be enough
5256 teststring=$teststring$teststring
5258 # Only check the string length outside the loop.
5259 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5261 # Add a significant safety factor because C++ compilers can tack on
5262 # massive amounts of additional arguments before passing them to the
5263 # linker. It appears as though 1/2 is a usable value.
5264 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5271 if test -n $lt_cv_sys_max_cmd_len ; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5273 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5276 $as_echo "none" >&6; }
5278 max_cmd_len=$lt_cv_sys_max_cmd_len
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5290 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5291 # Try some XSI features
5294 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5296 && eval 'test $(( 1 + 1 )) -eq 2 \
5297 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5300 $as_echo "$xsi_shell" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5304 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5306 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5308 && lt_shell_append=yes
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5310 $as_echo "$lt_shell_append" >&6; }
5313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5323 # test EBCDIC or ASCII
5324 case `echo X|tr X '\101'` in
5325 A) # ASCII based system
5326 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5327 lt_SP2NL='tr \040 \012'
5328 lt_NL2SP='tr \015\012 \040\040'
5330 *) # EBCDIC based system
5331 lt_SP2NL='tr \100 \n'
5332 lt_NL2SP='tr \r\n \100\100'
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5345 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5346 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5347 $as_echo_n "(cached) " >&6
5349 lt_cv_ld_reload_flag='-r'
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5352 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5353 reload_flag=$lt_cv_ld_reload_flag
5354 case $reload_flag in
5356 *) reload_flag=" $reload_flag" ;;
5358 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5361 if test "$GCC" = yes; then
5362 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5364 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5385 if test -n "$OBJDUMP"; then
5386 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 OBJDUMP=$ac_cv_prog_OBJDUMP
5406 if test -n "$OBJDUMP"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5408 $as_echo "$OBJDUMP" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5416 if test -z "$ac_cv_prog_OBJDUMP"; then
5417 ac_ct_OBJDUMP=$OBJDUMP
5418 # Extract the first word of "objdump", so it can be a program name with args.
5419 set dummy objdump; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$ac_ct_OBJDUMP"; then
5426 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5446 if test -n "$ac_ct_OBJDUMP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5448 $as_echo "$ac_ct_OBJDUMP" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5454 if test "x$ac_ct_OBJDUMP" = x; then
5457 case $cross_compiling:$ac_tool_warned in
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5463 OBJDUMP=$ac_ct_OBJDUMP
5466 OBJDUMP="$ac_cv_prog_OBJDUMP"
5469 test -z "$OBJDUMP" && OBJDUMP=objdump
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5477 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5478 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5479 $as_echo_n "(cached) " >&6
5481 lt_cv_file_magic_cmd='$MAGIC_CMD'
5482 lt_cv_file_magic_test_file=
5483 lt_cv_deplibs_check_method='unknown'
5484 # Need to set the preceding variable on all platforms that support
5485 # interlibrary dependencies.
5486 # 'none' -- dependencies not supported.
5487 # `unknown' -- same as none, but documents that we really don't know.
5488 # 'pass_all' -- all dependencies passed with no checks.
5489 # 'test_compile' -- check by making test program.
5490 # 'file_magic [[regex]]' -- check by looking for files in library path
5491 # which responds to the $file_magic_cmd with a given extended regex.
5492 # If you have `file' or equivalent on your system and you're not sure
5493 # whether `pass_all' will *always* work, you probably want this one.
5497 lt_cv_deplibs_check_method=pass_all
5501 lt_cv_deplibs_check_method=pass_all
5505 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5506 lt_cv_file_magic_cmd='/usr/bin/file -L'
5507 lt_cv_file_magic_test_file=/shlib/libc.so
5511 # func_win32_libid is a shell function defined in ltmain.sh
5512 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5513 lt_cv_file_magic_cmd='func_win32_libid'
5517 # Base MSYS/MinGW do not provide the 'file' command needed by
5518 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5519 # unless we find 'file', for example because we are cross-compiling.
5520 if ( file / ) >/dev/null 2>&1; then
5521 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5522 lt_cv_file_magic_cmd='func_win32_libid'
5524 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5525 lt_cv_file_magic_cmd='$OBJDUMP -f'
5530 # use the weaker test based on 'objdump'. See mingw*.
5531 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5532 lt_cv_file_magic_cmd='$OBJDUMP -f'
5535 darwin* | rhapsody*)
5536 lt_cv_deplibs_check_method=pass_all
5539 freebsd* | dragonfly*)
5540 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5543 # Not sure whether the presence of OpenBSD here was a mistake.
5544 # Let's accept both of them until this is cleared up.
5545 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5546 lt_cv_file_magic_cmd=/usr/bin/file
5547 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5551 lt_cv_deplibs_check_method=pass_all
5556 lt_cv_deplibs_check_method=pass_all
5559 hpux10.20* | hpux11*)
5560 lt_cv_file_magic_cmd=/usr/bin/file
5563 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5564 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5567 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]'
5568 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5571 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5572 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5578 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5582 irix5* | irix6* | nonstopux*)
5584 *-32|*"-32 ") libmagic=32-bit;;
5585 *-n32|*"-n32 ") libmagic=N32;;
5586 *-64|*"-64 ") libmagic=64-bit;;
5587 *) libmagic=never-match;;
5589 lt_cv_deplibs_check_method=pass_all
5592 # This must be Linux ELF.
5593 linux* | k*bsd*-gnu)
5594 lt_cv_deplibs_check_method=pass_all
5597 netbsd* | netbsdelf*-gnu)
5598 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5601 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5606 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5607 lt_cv_file_magic_cmd=/usr/bin/file
5608 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5612 lt_cv_deplibs_check_method=pass_all
5616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5617 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5619 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5623 osf3* | osf4* | osf5*)
5624 lt_cv_deplibs_check_method=pass_all
5628 lt_cv_deplibs_check_method=pass_all
5632 lt_cv_deplibs_check_method=pass_all
5635 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5636 lt_cv_deplibs_check_method=pass_all
5640 case $host_vendor in
5642 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]'
5643 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5646 lt_cv_deplibs_check_method=pass_all
5649 lt_cv_file_magic_cmd='/bin/file'
5650 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5653 lt_cv_file_magic_cmd='/bin/file'
5654 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5655 lt_cv_file_magic_test_file=/lib/libc.so
5658 lt_cv_deplibs_check_method=pass_all
5661 lt_cv_deplibs_check_method=pass_all
5667 lt_cv_deplibs_check_method=pass_all
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5673 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5674 file_magic_cmd=$lt_cv_file_magic_cmd
5675 deplibs_check_method=$lt_cv_deplibs_check_method
5676 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5689 if test -n "$ac_tool_prefix"; then
5690 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5691 set dummy ${ac_tool_prefix}ar; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if test "${ac_cv_prog_AR+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5697 if test -n "$AR"; then
5698 ac_cv_prog_AR="$AR" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5707 ac_cv_prog_AR="${ac_tool_prefix}ar"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 if test -n "$AR"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5720 $as_echo "$AR" >&6; }
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5728 if test -z "$ac_cv_prog_AR"; then
5730 # Extract the first word of "ar", so it can be a program name with args.
5731 set dummy ar; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5737 if test -n "$ac_ct_AR"; then
5738 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_ac_ct_AR="ar"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5758 if test -n "$ac_ct_AR"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5760 $as_echo "$ac_ct_AR" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5766 if test "x$ac_ct_AR" = x; then
5769 case $cross_compiling:$ac_tool_warned in
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773 ac_tool_warned=yes ;;
5781 test -z "$AR" && AR=ar
5782 test -z "$AR_FLAGS" && AR_FLAGS=cru
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5796 set dummy ${ac_tool_prefix}strip; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_STRIP+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$STRIP"; then
5803 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 STRIP=$ac_cv_prog_STRIP
5823 if test -n "$STRIP"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5825 $as_echo "$STRIP" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_STRIP"; then
5835 # Extract the first word of "strip", so it can be a program name with args.
5836 set dummy strip; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$ac_ct_STRIP"; then
5843 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_STRIP="strip"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5863 if test -n "$ac_ct_STRIP"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5865 $as_echo "$ac_ct_STRIP" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 if test "x$ac_ct_STRIP" = x; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned=yes ;;
5883 STRIP="$ac_cv_prog_STRIP"
5886 test -z "$STRIP" && STRIP=:
5893 if test -n "$ac_tool_prefix"; then
5894 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$RANLIB"; then
5902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 RANLIB=$ac_cv_prog_RANLIB
5922 if test -n "$RANLIB"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5924 $as_echo "$RANLIB" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5932 if test -z "$ac_cv_prog_RANLIB"; then
5933 ac_ct_RANLIB=$RANLIB
5934 # Extract the first word of "ranlib", so it can be a program name with args.
5935 set dummy ranlib; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$ac_ct_RANLIB"; then
5942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_RANLIB="ranlib"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5962 if test -n "$ac_ct_RANLIB"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5964 $as_echo "$ac_ct_RANLIB" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5970 if test "x$ac_ct_RANLIB" = x; then
5973 case $cross_compiling:$ac_tool_warned in
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977 ac_tool_warned=yes ;;
5979 RANLIB=$ac_ct_RANLIB
5982 RANLIB="$ac_cv_prog_RANLIB"
5985 test -z "$RANLIB" && RANLIB=:
5992 # Determine commands to create old-style static archives.
5993 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5994 old_postinstall_cmds='chmod 644 $oldlib'
5995 old_postuninstall_cmds=
5997 if test -n "$RANLIB"; then
6000 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6003 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6006 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6042 # If no C compiler was specified, use CC.
6045 # If no C compiler flags were specified, use CFLAGS.
6046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6048 # Allow CC to be a program name with arguments.
6052 # Check for command to grab the raw symbol name followed by C symbol from nm.
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6054 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6055 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6056 $as_echo_n "(cached) " >&6
6059 # These are sane defaults that work on at least a few old systems.
6060 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6062 # Character class describing NM global symbol codes.
6063 symcode='[BCDEGRST]'
6065 # Regexp to match symbols that can be accessed directly from C.
6066 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6068 # Define system-specific variables.
6073 cygwin* | mingw* | pw32* | cegcc*)
6074 symcode='[ABCDGISTW]'
6077 if test "$host_cpu" = ia64; then
6078 symcode='[ABCDEGRST]'
6082 symcode='[BCDEGRST]'
6085 symcode='[BCDEGQRST]'
6096 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6104 # If we're using GNU nm, then use its standard symbol codes.
6105 case `$NM -V 2>&1` in
6106 *GNU* | *'with BFD'*)
6107 symcode='[ABCDGIRSTW]' ;;
6110 # Transform an extracted symbol line into a proper C declaration.
6111 # Some systems (esp. on ia64) link data and code symbols differently,
6112 # so use this general approach.
6113 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6115 # Transform an extracted symbol line into symbol name and symbol address
6116 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6117 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'"
6119 # Handle CRLF in mingw tool chain
6123 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6127 # Try without a prefix underscore, then with it.
6128 for ac_symprfx in "" "_"; do
6130 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6131 symxfrm="\\1 $ac_symprfx\\2 \\2"
6133 # Write the raw and C identifiers.
6134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6135 # Fake it for dumpbin and say T for any non-static function
6136 # and D for any global variable.
6137 # Also find C++ and __fastcall symbols from MSVC++,
6138 # which start with @ or ?.
6139 lt_cv_sys_global_symbol_pipe="$AWK '"\
6140 " {last_section=section; section=\$ 3};"\
6141 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6142 " \$ 0!~/External *\|/{next};"\
6143 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6144 " {if(hide[section]) next};"\
6145 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6146 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6147 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6148 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6149 " ' prfx=^$ac_symprfx"
6151 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6154 # Check to see that the pipe works correctly.
6158 cat > conftest.$ac_ext <<_LT_EOF
6163 void nm_test_func(void);
6164 void nm_test_func(void){}
6168 int main(){nm_test_var='a';nm_test_func();return(0);}
6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172 (eval $ac_compile) 2>&5
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; }; then
6176 # Now try to grab the symbols.
6178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6179 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 test $ac_status = 0; } && test -s "$nlist"; then
6183 # Try sorting and uniquifying the output.
6184 if sort "$nlist" | uniq > "$nlist"T; then
6185 mv -f "$nlist"T "$nlist"
6190 # Make sure that we snagged all the symbols we need.
6191 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6192 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6193 cat <<_LT_EOF > conftest.$ac_ext
6199 # Now generate the symbol file.
6200 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6202 cat <<_LT_EOF >> conftest.$ac_ext
6204 /* The mapping between symbol names and symbols. */
6209 lt__PROGRAM__LTX_preloaded_symbols[] =
6211 { "@PROGRAM@", (void *) 0 },
6213 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6214 cat <<\_LT_EOF >> conftest.$ac_ext
6218 /* This works around a problem in FreeBSD linker */
6219 #ifdef FREEBSD_WORKAROUND
6220 static const void *lt_preloaded_setup() {
6221 return lt__PROGRAM__LTX_preloaded_symbols;
6229 # Now try linking the two files.
6230 mv conftest.$ac_objext conftstm.$ac_objext
6231 lt_save_LIBS="$LIBS"
6232 lt_save_CFLAGS="$CFLAGS"
6233 LIBS="conftstm.$ac_objext"
6234 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6236 (eval $ac_link) 2>&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6239 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6242 LIBS="$lt_save_LIBS"
6243 CFLAGS="$lt_save_CFLAGS"
6245 echo "cannot find nm_test_func in $nlist" >&5
6248 echo "cannot find nm_test_var in $nlist" >&5
6251 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6254 echo "$progname: failed program was:" >&5
6255 cat conftest.$ac_ext >&5
6257 rm -rf conftest* conftst*
6259 # Do not use the global_symbol_pipe unless it works.
6260 if test "$pipe_works" = yes; then
6263 lt_cv_sys_global_symbol_pipe=
6269 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6270 lt_cv_sys_global_symbol_to_cdecl=
6272 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6274 $as_echo "failed" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6277 $as_echo "ok" >&6; }
6302 # Check whether --enable-libtool-lock was given.
6303 if test "${enable_libtool_lock+set}" = set; then :
6304 enableval=$enable_libtool_lock;
6307 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6309 # Some flags need to be propagated to the compiler or linker for good
6313 # Find out which ABI we are using.
6314 echo 'int i;' > conftest.$ac_ext
6315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6316 (eval $ac_compile) 2>&5
6318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6319 test $ac_status = 0; }; then
6320 case `/usr/bin/file conftest.$ac_objext` in
6332 # Find out which ABI we are using.
6333 echo '#line 6333 "configure"' > conftest.$ac_ext
6334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6335 (eval $ac_compile) 2>&5
6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338 test $ac_status = 0; }; then
6339 if test "$lt_cv_prog_gnu_ld" = yes; then
6340 case `/usr/bin/file conftest.$ac_objext` in
6342 LD="${LD-ld} -melf32bsmip"
6345 LD="${LD-ld} -melf32bmipn32"
6348 LD="${LD-ld} -melf64bmip"
6352 case `/usr/bin/file conftest.$ac_objext` in
6368 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6369 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6370 # Find out which ABI we are using.
6371 echo 'int i;' > conftest.$ac_ext
6372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6373 (eval $ac_compile) 2>&5
6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376 test $ac_status = 0; }; then
6377 case `/usr/bin/file conftest.o` in
6380 x86_64-*kfreebsd*-gnu)
6381 LD="${LD-ld} -m elf_i386_fbsd"
6384 LD="${LD-ld} -m elf_i386"
6386 ppc64-*linux*|powerpc64-*linux*)
6387 LD="${LD-ld} -m elf32ppclinux"
6390 LD="${LD-ld} -m elf_s390"
6393 LD="${LD-ld} -m elf32_sparc"
6399 x86_64-*kfreebsd*-gnu)
6400 LD="${LD-ld} -m elf_x86_64_fbsd"
6403 LD="${LD-ld} -m elf_x86_64"
6405 ppc*-*linux*|powerpc*-*linux*)
6406 LD="${LD-ld} -m elf64ppc"
6408 s390*-*linux*|s390*-*tpf*)
6409 LD="${LD-ld} -m elf64_s390"
6412 LD="${LD-ld} -m elf64_sparc"
6422 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6423 SAVE_CFLAGS="$CFLAGS"
6424 CFLAGS="$CFLAGS -belf"
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6426 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6427 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6428 $as_echo_n "(cached) " >&6
6431 ac_cpp='$CPP $CPPFLAGS'
6432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6447 if ac_fn_c_try_link "$LINENO"; then :
6448 lt_cv_cc_needs_belf=yes
6450 lt_cv_cc_needs_belf=no
6452 rm -f core conftest.err conftest.$ac_objext \
6453 conftest$ac_exeext conftest.$ac_ext
6455 ac_cpp='$CPP $CPPFLAGS'
6456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6462 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6463 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6464 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6465 CFLAGS="$SAVE_CFLAGS"
6469 # Find out which ABI we are using.
6470 echo 'int i;' > conftest.$ac_ext
6471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6472 (eval $ac_compile) 2>&5
6474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6475 test $ac_status = 0; }; then
6476 case `/usr/bin/file conftest.o` in
6478 case $lt_cv_prog_gnu_ld in
6479 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6481 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6493 need_locks="$enable_libtool_lock"
6497 rhapsody* | darwin*)
6498 if test -n "$ac_tool_prefix"; then
6499 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6506 if test -n "$DSYMUTIL"; then
6507 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6527 if test -n "$DSYMUTIL"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6529 $as_echo "$DSYMUTIL" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6537 if test -z "$ac_cv_prog_DSYMUTIL"; then
6538 ac_ct_DSYMUTIL=$DSYMUTIL
6539 # Extract the first word of "dsymutil", so it can be a program name with args.
6540 set dummy dsymutil; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -n "$ac_ct_DSYMUTIL"; then
6547 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6567 if test -n "$ac_ct_DSYMUTIL"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6569 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6575 if test "x$ac_ct_DSYMUTIL" = x; then
6578 case $cross_compiling:$ac_tool_warned in
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582 ac_tool_warned=yes ;;
6584 DSYMUTIL=$ac_ct_DSYMUTIL
6587 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6590 if test -n "$ac_tool_prefix"; then
6591 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6592 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6596 $as_echo_n "(cached) " >&6
6598 if test -n "$NMEDIT"; then
6599 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6608 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 NMEDIT=$ac_cv_prog_NMEDIT
6619 if test -n "$NMEDIT"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6621 $as_echo "$NMEDIT" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6629 if test -z "$ac_cv_prog_NMEDIT"; then
6630 ac_ct_NMEDIT=$NMEDIT
6631 # Extract the first word of "nmedit", so it can be a program name with args.
6632 set dummy nmedit; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 $as_echo_n "checking for $ac_word... " >&6; }
6635 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6638 if test -n "$ac_ct_NMEDIT"; then
6639 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6648 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6659 if test -n "$ac_ct_NMEDIT"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6661 $as_echo "$ac_ct_NMEDIT" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 $as_echo "no" >&6; }
6667 if test "x$ac_ct_NMEDIT" = x; then
6670 case $cross_compiling:$ac_tool_warned in
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned=yes ;;
6676 NMEDIT=$ac_ct_NMEDIT
6679 NMEDIT="$ac_cv_prog_NMEDIT"
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6684 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if test "${ac_cv_prog_LIPO+set}" = set; then :
6688 $as_echo_n "(cached) " >&6
6690 if test -n "$LIPO"; then
6691 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 LIPO=$ac_cv_prog_LIPO
6711 if test -n "$LIPO"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6713 $as_echo "$LIPO" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6721 if test -z "$ac_cv_prog_LIPO"; then
6723 # Extract the first word of "lipo", so it can be a program name with args.
6724 set dummy lipo; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6728 $as_echo_n "(cached) " >&6
6730 if test -n "$ac_ct_LIPO"; then
6731 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_ac_ct_LIPO="lipo"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6751 if test -n "$ac_ct_LIPO"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6753 $as_echo "$ac_ct_LIPO" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6759 if test "x$ac_ct_LIPO" = x; then
6762 case $cross_compiling:$ac_tool_warned in
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6766 ac_tool_warned=yes ;;
6771 LIPO="$ac_cv_prog_LIPO"
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}otool; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$OTOOL"; then
6783 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 OTOOL=$ac_cv_prog_OTOOL
6803 if test -n "$OTOOL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6805 $as_echo "$OTOOL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6813 if test -z "$ac_cv_prog_OTOOL"; then
6815 # Extract the first word of "otool", so it can be a program name with args.
6816 set dummy otool; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$ac_ct_OTOOL"; then
6823 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6832 ac_cv_prog_ac_ct_OTOOL="otool"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6843 if test -n "$ac_ct_OTOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6845 $as_echo "$ac_ct_OTOOL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6851 if test "x$ac_ct_OTOOL" = x; then
6854 case $cross_compiling:$ac_tool_warned in
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6863 OTOOL="$ac_cv_prog_OTOOL"
6866 if test -n "$ac_tool_prefix"; then
6867 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$OTOOL64"; then
6875 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6884 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 OTOOL64=$ac_cv_prog_OTOOL64
6895 if test -n "$OTOOL64"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6897 $as_echo "$OTOOL64" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6905 if test -z "$ac_cv_prog_OTOOL64"; then
6906 ac_ct_OTOOL64=$OTOOL64
6907 # Extract the first word of "otool64", so it can be a program name with args.
6908 set dummy otool64; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$ac_ct_OTOOL64"; then
6915 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_ac_ct_OTOOL64="otool64"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6935 if test -n "$ac_ct_OTOOL64"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6937 $as_echo "$ac_ct_OTOOL64" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6943 if test "x$ac_ct_OTOOL64" = x; then
6946 case $cross_compiling:$ac_tool_warned in
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6952 OTOOL64=$ac_ct_OTOOL64
6955 OTOOL64="$ac_cv_prog_OTOOL64"
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6985 $as_echo_n "checking for -single_module linker flag... " >&6; }
6986 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6987 $as_echo_n "(cached) " >&6
6989 lt_cv_apple_cc_single_mod=no
6990 if test -z "${LT_MULTI_MODULE}"; then
6991 # By default we will add the -single_module flag. You can override
6992 # by either setting the environment variable LT_MULTI_MODULE
6993 # non-empty at configure time, or by adding -multi_module to the
6995 rm -rf libconftest.dylib*
6996 echo "int foo(void){return 1;}" > conftest.c
6997 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6998 -dynamiclib -Wl,-single_module conftest.c" >&5
6999 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7000 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7002 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7003 lt_cv_apple_cc_single_mod=yes
7005 cat conftest.err >&5
7007 rm -rf libconftest.dylib*
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7012 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7014 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7015 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7016 $as_echo_n "(cached) " >&6
7018 lt_cv_ld_exported_symbols_list=no
7019 save_LDFLAGS=$LDFLAGS
7020 echo "_main" > conftest.sym
7021 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7033 if ac_fn_c_try_link "$LINENO"; then :
7034 lt_cv_ld_exported_symbols_list=yes
7036 lt_cv_ld_exported_symbols_list=no
7038 rm -f core conftest.err conftest.$ac_objext \
7039 conftest$ac_exeext conftest.$ac_ext
7040 LDFLAGS="$save_LDFLAGS"
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7044 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7046 rhapsody* | darwin1.[012])
7047 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7049 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7050 darwin*) # darwin 5.x on
7051 # if running on 10.5 or later, the deployment target defaults
7052 # to the OS version, if on x86, and 10.4, the deployment
7053 # target defaults to 10.4. Don't you love it?
7054 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7055 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7056 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7058 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7060 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7064 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7065 _lt_dar_single_mod='$single_module'
7067 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7068 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7070 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7072 if test "$DSYMUTIL" != ":"; then
7073 _lt_dsymutil='~$DSYMUTIL $lib || :'
7081 ac_cpp='$CPP $CPPFLAGS'
7082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7086 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7087 # On Suns, sometimes $CPP names a directory.
7088 if test -n "$CPP" && test -d "$CPP"; then
7091 if test -z "$CPP"; then
7092 if test "${ac_cv_prog_CPP+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7095 # Double quotes because CPP needs to be expanded
7096 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7099 for ac_c_preproc_warn_flag in '' yes
7101 # Use a header file that comes with gcc, so configuring glibc
7102 # with a fresh cross-compiler works.
7103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7104 # <limits.h> exists even on freestanding compilers.
7105 # On the NeXT, cc -E runs the code through the compiler's parser,
7106 # not just through cpp. "Syntax error" is here to catch this case.
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7110 # include <limits.h>
7112 # include <assert.h>
7116 if ac_fn_c_try_cpp "$LINENO"; then :
7119 # Broken: fails on valid input.
7122 rm -f conftest.err conftest.$ac_ext
7124 # OK, works on sane cases. Now check whether nonexistent headers
7125 # can be detected and how.
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 #include <ac_nonexistent.h>
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7131 # Broken: success on invalid input.
7134 # Passes both tests.
7138 rm -f conftest.err conftest.$ac_ext
7141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7142 rm -f conftest.err conftest.$ac_ext
7143 if $ac_preproc_ok; then :
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7156 $as_echo "$CPP" >&6; }
7158 for ac_c_preproc_warn_flag in '' yes
7160 # Use a header file that comes with gcc, so configuring glibc
7161 # with a fresh cross-compiler works.
7162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7163 # <limits.h> exists even on freestanding compilers.
7164 # On the NeXT, cc -E runs the code through the compiler's parser,
7165 # not just through cpp. "Syntax error" is here to catch this case.
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7169 # include <limits.h>
7171 # include <assert.h>
7175 if ac_fn_c_try_cpp "$LINENO"; then :
7178 # Broken: fails on valid input.
7181 rm -f conftest.err conftest.$ac_ext
7183 # OK, works on sane cases. Now check whether nonexistent headers
7184 # can be detected and how.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <ac_nonexistent.h>
7189 if ac_fn_c_try_cpp "$LINENO"; then :
7190 # Broken: success on invalid input.
7193 # Passes both tests.
7197 rm -f conftest.err conftest.$ac_ext
7200 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7201 rm -f conftest.err conftest.$ac_ext
7202 if $ac_preproc_ok; then :
7205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7207 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7208 See \`config.log' for more details." "$LINENO" 5; }
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7219 $as_echo_n "checking for ANSI C header files... " >&6; }
7220 if test "${ac_cv_header_stdc+set}" = set; then :
7221 $as_echo_n "(cached) " >&6
7223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224 /* end confdefs.h. */
7238 if ac_fn_c_try_compile "$LINENO"; then :
7239 ac_cv_header_stdc=yes
7241 ac_cv_header_stdc=no
7243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245 if test $ac_cv_header_stdc = yes; then
7246 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7253 $EGREP "memchr" >/dev/null 2>&1; then :
7256 ac_cv_header_stdc=no
7262 if test $ac_cv_header_stdc = yes; then
7263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7270 $EGREP "free" >/dev/null 2>&1; then :
7273 ac_cv_header_stdc=no
7279 if test $ac_cv_header_stdc = yes; then
7280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7281 if test "$cross_compiling" = yes; then :
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7288 #if ((' ' & 0x0FF) == 0x020)
7289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7292 # define ISLOWER(c) \
7293 (('a' <= (c) && (c) <= 'i') \
7294 || ('j' <= (c) && (c) <= 'r') \
7295 || ('s' <= (c) && (c) <= 'z'))
7296 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7299 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7304 for (i = 0; i < 256; i++)
7305 if (XOR (islower (i), ISLOWER (i))
7306 || toupper (i) != TOUPPER (i))
7311 if ac_fn_c_try_run "$LINENO"; then :
7314 ac_cv_header_stdc=no
7316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7317 conftest.$ac_objext conftest.beam conftest.$ac_ext
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7323 $as_echo "$ac_cv_header_stdc" >&6; }
7324 if test $ac_cv_header_stdc = yes; then
7326 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7331 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7332 inttypes.h stdint.h unistd.h
7334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7335 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7337 eval as_val=\$$as_ac_Header
7338 if test "x$as_val" = x""yes; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 for ac_header in dlfcn.h
7350 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7352 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define HAVE_DLFCN_H 1
7371 # Check whether --enable-shared was given.
7372 if test "${enable_shared+set}" = set; then :
7373 enableval=$enable_shared; p=${PACKAGE-default}
7375 yes) enable_shared=yes ;;
7376 no) enable_shared=no ;;
7379 # Look at the argument we got. We use all the common list separators.
7380 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7381 for pkg in $enableval; do
7383 if test "X$pkg" = "X$p"; then
7402 # Check whether --enable-static was given.
7403 if test "${enable_static+set}" = set; then :
7404 enableval=$enable_static; p=${PACKAGE-default}
7406 yes) enable_static=yes ;;
7407 no) enable_static=no ;;
7410 # Look at the argument we got. We use all the common list separators.
7411 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7412 for pkg in $enableval; do
7414 if test "X$pkg" = "X$p"; then
7434 # Check whether --with-pic was given.
7435 if test "${with_pic+set}" = set; then :
7436 withval=$with_pic; pic_mode="$withval"
7442 test -z "$pic_mode" && pic_mode=default
7450 # Check whether --enable-fast-install was given.
7451 if test "${enable_fast_install+set}" = set; then :
7452 enableval=$enable_fast_install; p=${PACKAGE-default}
7454 yes) enable_fast_install=yes ;;
7455 no) enable_fast_install=no ;;
7457 enable_fast_install=no
7458 # Look at the argument we got. We use all the common list separators.
7459 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7460 for pkg in $enableval; do
7462 if test "X$pkg" = "X$p"; then
7463 enable_fast_install=yes
7470 enable_fast_install=yes
7483 # This can be used to rebuild libtool when needed
7484 LIBTOOL_DEPS="$ltmain"
7486 # Always use our own libtool.
7487 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7513 test -z "$LN_S" && LN_S="ln -s"
7528 if test -n "${ZSH_VERSION+set}" ; then
7529 setopt NO_GLOB_SUBST
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7533 $as_echo_n "checking for objdir... " >&6; }
7534 if test "${lt_cv_objdir+set}" = set; then :
7535 $as_echo_n "(cached) " >&6
7537 rm -f .libs 2>/dev/null
7538 mkdir .libs 2>/dev/null
7539 if test -d .libs; then
7542 # MS-DOS does not allow filenames that begin with a dot.
7545 rmdir .libs 2>/dev/null
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7548 $as_echo "$lt_cv_objdir" >&6; }
7549 objdir=$lt_cv_objdir
7555 cat >>confdefs.h <<_ACEOF
7556 #define LT_OBJDIR "$lt_cv_objdir/"
7577 # AIX sometimes has problems with the GCC collect2 program. For some
7578 # reason, if we set the COLLECT_NAMES environment variable, the problems
7579 # vanish in a puff of smoke.
7580 if test "X${COLLECT_NAMES+set}" != Xset; then
7582 export COLLECT_NAMES
7587 # Sed substitution that helps us do robust quoting. It backslashifies
7588 # metacharacters that are still active within double-quoted strings.
7589 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7591 # Same as above, but do not quote variable references.
7592 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7594 # Sed substitution to delay expansion of an escaped shell variable in a
7595 # double_quote_subst'ed string.
7596 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7598 # Sed substitution to delay expansion of an escaped single quote.
7599 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7601 # Sed substitution to avoid accidental globbing in evaled expressions
7602 no_glob_subst='s/\*/\\\*/g'
7606 can_build_shared=yes
7608 # All known linkers require a `.a' archive for static linking (except MSVC,
7609 # which needs '.lib').
7612 with_gnu_ld="$lt_cv_prog_gnu_ld"
7615 old_CFLAGS="$CFLAGS"
7617 # Set sane defaults for various variables
7618 test -z "$CC" && CC=cc
7619 test -z "$LTCC" && LTCC=$CC
7620 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7621 test -z "$LD" && LD=ld
7622 test -z "$ac_objext" && ac_objext=o
7624 for cc_temp in $compiler""; do
7626 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7627 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7632 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7635 # Only perform the check for file, if the check method requires it
7636 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7637 case $deplibs_check_method in
7639 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7641 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7642 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7643 $as_echo_n "(cached) " >&6
7647 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7650 lt_save_MAGIC_CMD="$MAGIC_CMD"
7651 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7652 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7653 for ac_dir in $ac_dummy; do
7655 test -z "$ac_dir" && ac_dir=.
7656 if test -f $ac_dir/${ac_tool_prefix}file; then
7657 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7658 if test -n "$file_magic_test_file"; then
7659 case $deplibs_check_method in
7661 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7662 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7663 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7664 $EGREP "$file_magic_regex" > /dev/null; then
7669 *** Warning: the command libtool uses to detect shared libraries,
7670 *** $file_magic_cmd, produces output that libtool cannot recognize.
7671 *** The result is that libtool may fail to recognize shared libraries
7672 *** as such. This will affect the creation of libtool libraries that
7673 *** depend on shared libraries, but programs linked with such libtool
7674 *** libraries will work regardless of this problem. Nevertheless, you
7675 *** may want to report the problem to your system manager and/or to
7676 *** bug-libtool@gnu.org
7686 MAGIC_CMD="$lt_save_MAGIC_CMD"
7691 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7692 if test -n "$MAGIC_CMD"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7694 $as_echo "$MAGIC_CMD" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7704 if test -z "$lt_cv_path_MAGIC_CMD"; then
7705 if test -n "$ac_tool_prefix"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7707 $as_echo_n "checking for file... " >&6; }
7708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7713 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7716 lt_save_MAGIC_CMD="$MAGIC_CMD"
7717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7718 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7719 for ac_dir in $ac_dummy; do
7721 test -z "$ac_dir" && ac_dir=.
7722 if test -f $ac_dir/file; then
7723 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7724 if test -n "$file_magic_test_file"; then
7725 case $deplibs_check_method in
7727 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7728 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7729 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7730 $EGREP "$file_magic_regex" > /dev/null; then
7735 *** Warning: the command libtool uses to detect shared libraries,
7736 *** $file_magic_cmd, produces output that libtool cannot recognize.
7737 *** The result is that libtool may fail to recognize shared libraries
7738 *** as such. This will affect the creation of libtool libraries that
7739 *** depend on shared libraries, but programs linked with such libtool
7740 *** libraries will work regardless of this problem. Nevertheless, you
7741 *** may want to report the problem to your system manager and/or to
7742 *** bug-libtool@gnu.org
7752 MAGIC_CMD="$lt_save_MAGIC_CMD"
7757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7758 if test -n "$MAGIC_CMD"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7760 $as_echo "$MAGIC_CMD" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7776 # Use C for the default configuration in the libtool script
7780 ac_cpp='$CPP $CPPFLAGS'
7781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786 # Source file extension for C test sources.
7789 # Object file extension for compiled C test sources.
7793 # Code to be used in simple compile tests
7794 lt_simple_compile_test_code="int some_variable = 0;"
7796 # Code to be used in simple link tests
7797 lt_simple_link_test_code='int main(){return(0);}'
7805 # If no C compiler was specified, use CC.
7808 # If no C compiler flags were specified, use CFLAGS.
7809 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7811 # Allow CC to be a program name with arguments.
7814 # Save the default compiler, since it gets overwritten when the other
7815 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7816 compiler_DEFAULT=$CC
7818 # save warnings/boilerplate of simple test code
7819 ac_outfile=conftest.$ac_objext
7820 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7821 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7822 _lt_compiler_boilerplate=`cat conftest.err`
7825 ac_outfile=conftest.$ac_objext
7826 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7827 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7828 _lt_linker_boilerplate=`cat conftest.err`
7833 ## There is no encapsulation within the following macros, do not change
7834 ## the running order or otherwise move them around unless you know exactly
7835 ## what you are doing...
7836 if test -n "$compiler"; then
7838 lt_prog_compiler_no_builtin_flag=
7840 if test "$GCC" = yes; then
7841 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7844 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7845 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7846 $as_echo_n "(cached) " >&6
7848 lt_cv_prog_compiler_rtti_exceptions=no
7849 ac_outfile=conftest.$ac_objext
7850 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7851 lt_compiler_flag="-fno-rtti -fno-exceptions"
7852 # Insert the option either (1) after the last *FLAGS variable, or
7853 # (2) before a word containing "conftest.", or (3) at the end.
7854 # Note that $ac_compile itself does not contain backslashes and begins
7855 # with a dollar sign (not a hyphen), so the echo should work correctly.
7856 # The option is referenced via a variable to avoid confusing sed.
7857 lt_compile=`echo "$ac_compile" | $SED \
7858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7860 -e 's:$: $lt_compiler_flag:'`
7861 (eval echo "\"\$as_me:7861: $lt_compile\"" >&5)
7862 (eval "$lt_compile" 2>conftest.err)
7864 cat conftest.err >&5
7865 echo "$as_me:7865: \$? = $ac_status" >&5
7866 if (exit $ac_status) && test -s "$ac_outfile"; then
7867 # The compiler can only warn and ignore the option if not recognized
7868 # So say no if there are warnings other than the usual output.
7869 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7870 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7871 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7872 lt_cv_prog_compiler_rtti_exceptions=yes
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7879 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7881 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7882 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7894 lt_prog_compiler_wl=
7895 lt_prog_compiler_pic=
7896 lt_prog_compiler_static=
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7899 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7901 if test "$GCC" = yes; then
7902 lt_prog_compiler_wl='-Wl,'
7903 lt_prog_compiler_static='-static'
7907 # All AIX code is PIC.
7908 if test "$host_cpu" = ia64; then
7909 # AIX 5 now supports IA64 processor
7910 lt_prog_compiler_static='-Bstatic'
7917 # see comment about AmigaOS4 .so support
7918 lt_prog_compiler_pic='-fPIC'
7921 # FIXME: we need at least 68020 code to build shared libraries, but
7922 # adding the `-m68020' flag to GCC prevents building anything better,
7924 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7929 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7930 # PIC is the default for these OSes.
7933 mingw* | cygwin* | pw32* | os2* | cegcc*)
7934 # This hack is so that the source file can tell whether it is being
7935 # built for inclusion in a dll (and should export symbols for example).
7936 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7937 # (--disable-auto-import) libraries
7938 lt_prog_compiler_pic='-DDLL_EXPORT'
7941 darwin* | rhapsody*)
7942 # PIC is the default on this platform
7943 # Common symbols not allowed in MH_DYLIB files
7944 lt_prog_compiler_pic='-fno-common'
7948 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7949 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7950 # sets the default TLS model and affects inlining.
7956 lt_prog_compiler_pic='-fPIC'
7962 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7963 # Instead, we relocate shared libraries at runtime.
7967 # Just because we use GCC doesn't mean we suddenly get shared libraries
7968 # on systems that don't support them.
7969 lt_prog_compiler_can_build_shared=no
7974 # QNX uses GNU C++, but need to define -shared option too, otherwise
7976 lt_prog_compiler_pic='-fPIC -shared'
7980 if test -d /usr/nec; then
7981 lt_prog_compiler_pic=-Kconform_pic
7986 lt_prog_compiler_pic='-fPIC'
7990 # PORTME Check for flag to pass linker flags through the system compiler.
7993 lt_prog_compiler_wl='-Wl,'
7994 if test "$host_cpu" = ia64; then
7995 # AIX 5 now supports IA64 processor
7996 lt_prog_compiler_static='-Bstatic'
7998 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8002 mingw* | cygwin* | pw32* | os2* | cegcc*)
8003 # This hack is so that the source file can tell whether it is being
8004 # built for inclusion in a dll (and should export symbols for example).
8005 lt_prog_compiler_pic='-DDLL_EXPORT'
8008 hpux9* | hpux10* | hpux11*)
8009 lt_prog_compiler_wl='-Wl,'
8010 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8017 lt_prog_compiler_pic='+Z'
8020 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8021 lt_prog_compiler_static='${wl}-a ${wl}archive'
8024 irix5* | irix6* | nonstopux*)
8025 lt_prog_compiler_wl='-Wl,'
8026 # PIC (with -KPIC) is the default.
8027 lt_prog_compiler_static='-non_shared'
8030 linux* | k*bsd*-gnu)
8031 case $cc_basename in
8032 # old Intel for x86_64 which still supported -KPIC.
8034 lt_prog_compiler_wl='-Wl,'
8035 lt_prog_compiler_pic='-KPIC'
8036 lt_prog_compiler_static='-static'
8038 # icc used to be incompatible with GCC.
8039 # ICC 10 doesn't accept -KPIC any more.
8041 lt_prog_compiler_wl='-Wl,'
8042 lt_prog_compiler_pic='-fPIC'
8043 lt_prog_compiler_static='-static'
8045 # Lahey Fortran 8.1.
8047 lt_prog_compiler_wl='-Wl,'
8048 lt_prog_compiler_pic='--shared'
8049 lt_prog_compiler_static='--static'
8051 pgcc* | pgf77* | pgf90* | pgf95*)
8052 # Portland Group compilers (*not* the Pentium gcc compiler,
8053 # which looks to be a dead project)
8054 lt_prog_compiler_wl='-Wl,'
8055 lt_prog_compiler_pic='-fpic'
8056 lt_prog_compiler_static='-Bstatic'
8059 lt_prog_compiler_wl='-Wl,'
8060 # All Alpha code is PIC.
8061 lt_prog_compiler_static='-non_shared'
8064 # IBM XL C 8.0/Fortran 10.1 on PPC
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='-qpic'
8067 lt_prog_compiler_static='-qstaticlink'
8070 case `$CC -V 2>&1 | sed 5q` in
8073 lt_prog_compiler_pic='-KPIC'
8074 lt_prog_compiler_static='-Bstatic'
8075 lt_prog_compiler_wl='-Wl,'
8078 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8079 lt_prog_compiler_pic='-KPIC'
8080 lt_prog_compiler_static='-Bstatic'
8081 lt_prog_compiler_wl=''
8089 lt_prog_compiler_pic='-KPIC'
8090 lt_prog_compiler_static='-Bstatic'
8094 # QNX uses GNU C++, but need to define -shared option too, otherwise
8096 lt_prog_compiler_pic='-fPIC -shared'
8099 osf3* | osf4* | osf5*)
8100 lt_prog_compiler_wl='-Wl,'
8101 # All OSF/1 code is PIC.
8102 lt_prog_compiler_static='-non_shared'
8106 lt_prog_compiler_static='-non_shared'
8110 lt_prog_compiler_pic='-KPIC'
8111 lt_prog_compiler_static='-Bstatic'
8112 case $cc_basename in
8114 lt_prog_compiler_wl='-Qoption ld ';;
8116 lt_prog_compiler_wl='-Wl,';;
8121 lt_prog_compiler_wl='-Qoption ld '
8122 lt_prog_compiler_pic='-PIC'
8123 lt_prog_compiler_static='-Bstatic'
8126 sysv4 | sysv4.2uw2* | sysv4.3*)
8127 lt_prog_compiler_wl='-Wl,'
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8133 if test -d /usr/nec ;then
8134 lt_prog_compiler_pic='-Kconform_pic'
8135 lt_prog_compiler_static='-Bstatic'
8139 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8140 lt_prog_compiler_wl='-Wl,'
8141 lt_prog_compiler_pic='-KPIC'
8142 lt_prog_compiler_static='-Bstatic'
8146 lt_prog_compiler_wl='-Wl,'
8147 lt_prog_compiler_can_build_shared=no
8151 lt_prog_compiler_pic='-pic'
8152 lt_prog_compiler_static='-Bstatic'
8156 lt_prog_compiler_can_build_shared=no
8162 # For platforms which do not support PIC, -DPIC is meaningless:
8164 lt_prog_compiler_pic=
8167 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8171 $as_echo "$lt_prog_compiler_pic" >&6; }
8179 # Check to make sure the PIC flag actually works.
8181 if test -n "$lt_prog_compiler_pic"; then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8183 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8184 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8185 $as_echo_n "(cached) " >&6
8187 lt_cv_prog_compiler_pic_works=no
8188 ac_outfile=conftest.$ac_objext
8189 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8190 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8191 # Insert the option either (1) after the last *FLAGS variable, or
8192 # (2) before a word containing "conftest.", or (3) at the end.
8193 # Note that $ac_compile itself does not contain backslashes and begins
8194 # with a dollar sign (not a hyphen), so the echo should work correctly.
8195 # The option is referenced via a variable to avoid confusing sed.
8196 lt_compile=`echo "$ac_compile" | $SED \
8197 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8198 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8199 -e 's:$: $lt_compiler_flag:'`
8200 (eval echo "\"\$as_me:8200: $lt_compile\"" >&5)
8201 (eval "$lt_compile" 2>conftest.err)
8203 cat conftest.err >&5
8204 echo "$as_me:8204: \$? = $ac_status" >&5
8205 if (exit $ac_status) && test -s "$ac_outfile"; then
8206 # The compiler can only warn and ignore the option if not recognized
8207 # So say no if there are warnings other than the usual output.
8208 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8209 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8210 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8211 lt_cv_prog_compiler_pic_works=yes
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8218 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8220 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8221 case $lt_prog_compiler_pic in
8223 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8226 lt_prog_compiler_pic=
8227 lt_prog_compiler_can_build_shared=no
8238 # Check to make sure the static flag actually works.
8240 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8242 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8243 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8246 lt_cv_prog_compiler_static_works=no
8247 save_LDFLAGS="$LDFLAGS"
8248 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8249 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8250 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8251 # The linker can only warn and ignore the option if not recognized
8252 # So say no if there are warnings
8253 if test -s conftest.err; then
8254 # Append any errors to the config.log.
8255 cat conftest.err 1>&5
8256 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8257 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8258 if diff conftest.exp conftest.er2 >/dev/null; then
8259 lt_cv_prog_compiler_static_works=yes
8262 lt_cv_prog_compiler_static_works=yes
8266 LDFLAGS="$save_LDFLAGS"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8270 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8272 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8275 lt_prog_compiler_static=
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8285 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8286 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8287 $as_echo_n "(cached) " >&6
8289 lt_cv_prog_compiler_c_o=no
8290 $RM -r conftest 2>/dev/null
8294 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8296 lt_compiler_flag="-o out/conftest2.$ac_objext"
8297 # Insert the option either (1) after the last *FLAGS variable, or
8298 # (2) before a word containing "conftest.", or (3) at the end.
8299 # Note that $ac_compile itself does not contain backslashes and begins
8300 # with a dollar sign (not a hyphen), so the echo should work correctly.
8301 lt_compile=`echo "$ac_compile" | $SED \
8302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8304 -e 's:$: $lt_compiler_flag:'`
8305 (eval echo "\"\$as_me:8305: $lt_compile\"" >&5)
8306 (eval "$lt_compile" 2>out/conftest.err)
8308 cat out/conftest.err >&5
8309 echo "$as_me:8309: \$? = $ac_status" >&5
8310 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8312 # The compiler can only warn and ignore the option if not recognized
8313 # So say no if there are warnings
8314 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8315 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8316 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8317 lt_cv_prog_compiler_c_o=yes
8322 # SGI C++ compiler will create directory out/ii_files/ for
8323 # template instantiation
8324 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8325 $RM out/* && rmdir out
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8332 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8340 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8341 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8342 $as_echo_n "(cached) " >&6
8344 lt_cv_prog_compiler_c_o=no
8345 $RM -r conftest 2>/dev/null
8349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8351 lt_compiler_flag="-o out/conftest2.$ac_objext"
8352 # Insert the option either (1) after the last *FLAGS variable, or
8353 # (2) before a word containing "conftest.", or (3) at the end.
8354 # Note that $ac_compile itself does not contain backslashes and begins
8355 # with a dollar sign (not a hyphen), so the echo should work correctly.
8356 lt_compile=`echo "$ac_compile" | $SED \
8357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359 -e 's:$: $lt_compiler_flag:'`
8360 (eval echo "\"\$as_me:8360: $lt_compile\"" >&5)
8361 (eval "$lt_compile" 2>out/conftest.err)
8363 cat out/conftest.err >&5
8364 echo "$as_me:8364: \$? = $ac_status" >&5
8365 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8367 # The compiler can only warn and ignore the option if not recognized
8368 # So say no if there are warnings
8369 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8370 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8371 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8372 lt_cv_prog_compiler_c_o=yes
8377 # SGI C++ compiler will create directory out/ii_files/ for
8378 # template instantiation
8379 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8380 $RM out/* && rmdir out
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8387 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8392 hard_links="nottested"
8393 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8394 # do not overwrite the value of need_locks provided by the user
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8396 $as_echo_n "checking if we can lock with hard links... " >&6; }
8399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8401 ln conftest.a conftest.b 2>&5 || hard_links=no
8402 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8404 $as_echo "$hard_links" >&6; }
8405 if test "$hard_links" = no; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8407 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8420 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8423 allow_undefined_flag=
8424 always_export_symbols=no
8426 archive_expsym_cmds=
8427 compiler_needs_object=no
8428 enable_shared_with_static_runtimes=no
8429 export_dynamic_flag_spec=
8430 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8431 hardcode_automatic=no
8433 hardcode_direct_absolute=no
8434 hardcode_libdir_flag_spec=
8435 hardcode_libdir_flag_spec_ld=
8436 hardcode_libdir_separator=
8438 hardcode_shlibpath_var=unsupported
8440 link_all_deplibs=unknown
8443 old_archive_from_new_cmds=
8444 old_archive_from_expsyms_cmds=
8445 thread_safe_flag_spec=
8446 whole_archive_flag_spec=
8447 # include_expsyms should be a list of space-separated symbols to be *always*
8448 # included in the symbol list
8450 # exclude_expsyms can be an extended regexp of symbols to exclude
8451 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8452 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8453 # as well as any symbol that contains `d'.
8454 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8455 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8456 # platforms (ab)use it in PIC code, but their linkers get confused if
8457 # the symbol is explicitly referenced. Since portable code cannot
8458 # rely on this symbol name, it's probably fine to never include it in
8459 # preloaded symbol tables.
8460 # Exclude shared library initialization/finalization symbols.
8461 extract_expsyms_cmds=
8464 cygwin* | mingw* | pw32* | cegcc*)
8465 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8466 # When not using gcc, we currently assume that we are using
8467 # Microsoft Visual C++.
8468 if test "$GCC" != yes; then
8473 # we just hope/assume this is gcc and not c89 (= MSVC++)
8479 linux* | k*bsd*-gnu)
8485 if test "$with_gnu_ld" = yes; then
8486 # If archive_cmds runs LD, not CC, wlarc should be empty
8489 # Set some defaults for GNU ld with shared library support. These
8490 # are reset later if shared libraries are not supported. Putting them
8491 # here allows them to be overridden if necessary.
8492 runpath_var=LD_RUN_PATH
8493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8494 export_dynamic_flag_spec='${wl}--export-dynamic'
8495 # ancient GNU ld didn't support --whole-archive et. al.
8496 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8497 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8499 whole_archive_flag_spec=
8501 supports_anon_versioning=no
8502 case `$LD -v 2>&1` in
8503 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8504 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8505 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8506 *\ 2.11.*) ;; # other 2.11 versions
8507 *) supports_anon_versioning=yes ;;
8510 # See if GNU ld supports shared libraries.
8513 # On AIX/PPC, the GNU linker is very broken
8514 if test "$host_cpu" != ia64; then
8518 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8519 *** to be unable to reliably create shared libraries on AIX.
8520 *** Therefore, libtool is disabling shared libraries support. If you
8521 *** really care for shared libraries, you may want to modify your PATH
8522 *** so that a non-GNU linker is found, and then restart.
8531 # see comment about AmigaOS4 .so support
8532 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8533 archive_expsym_cmds=''
8536 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)'
8537 hardcode_libdir_flag_spec='-L$libdir'
8538 hardcode_minus_L=yes
8544 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8545 allow_undefined_flag=unsupported
8546 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8547 # support --undefined. This deserves some investigation. FIXME
8548 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8554 cygwin* | mingw* | pw32* | cegcc*)
8555 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8556 # as there is no search path for DLLs.
8557 hardcode_libdir_flag_spec='-L$libdir'
8558 allow_undefined_flag=unsupported
8559 always_export_symbols=no
8560 enable_shared_with_static_runtimes=yes
8561 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8563 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8565 # If the export-symbols file already is a .def file (1st line
8566 # is EXPORTS), use it as is; otherwise, prepend...
8567 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8568 cp $export_symbols $output_objdir/$soname.def;
8570 echo EXPORTS > $output_objdir/$soname.def;
8571 cat $export_symbols >> $output_objdir/$soname.def;
8573 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581 hardcode_shlibpath_var=no
8582 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8583 export_dynamic_flag_spec='${wl}-E'
8584 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8585 # Instead, shared libraries are loaded at an image base (0x10000000 by
8586 # default) and relocated if they conflict, which is a slow very memory
8587 # consuming and fragmenting process. To avoid this, we pick a random,
8588 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8589 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8590 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8591 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'
8594 gnu* | linux* | tpf* | k*bsd*-gnu)
8596 if test "$host_os" = linux-dietlibc; then
8597 case $cc_basename in
8598 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8601 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8602 && test "$tmp_diet" = no
8605 tmp_sharedflag='-shared'
8606 case $cc_basename,$host_cpu in
8607 pgcc*) # Portland Group C compiler
8608 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'
8609 tmp_addflag=' $pic_flag'
8611 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8612 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'
8613 tmp_addflag=' $pic_flag -Mnomain' ;;
8614 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8615 tmp_addflag=' -i_dynamic' ;;
8616 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8617 tmp_addflag=' -i_dynamic -nofor_main' ;;
8618 ifc* | ifort*) # Intel Fortran compiler
8619 tmp_addflag=' -nofor_main' ;;
8620 lf95*) # Lahey Fortran 8.1
8621 whole_archive_flag_spec=
8622 tmp_sharedflag='--shared' ;;
8623 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8624 tmp_sharedflag='-qmkshrobj'
8627 case `$CC -V 2>&1 | sed 5q` in
8628 *Sun\ C*) # Sun C 5.9
8629 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'
8630 compiler_needs_object=yes
8631 tmp_sharedflag='-G' ;;
8632 *Sun\ F*) # Sun Fortran 8.3
8633 tmp_sharedflag='-G' ;;
8635 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8637 if test "x$supports_anon_versioning" = xyes; then
8638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8640 echo "local: *; };" >> $output_objdir/$libname.ver~
8641 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8644 case $cc_basename in
8646 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8647 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8648 hardcode_libdir_flag_spec=
8649 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8650 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8651 if test "x$supports_anon_versioning" = xyes; then
8652 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8653 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8654 echo "local: *; };" >> $output_objdir/$libname.ver~
8655 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8664 netbsd* | netbsdelf*-gnu)
8665 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8666 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8670 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8675 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8679 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8680 *** create shared libraries on Solaris systems. Therefore, libtool
8681 *** is disabling shared libraries support. We urge you to upgrade GNU
8682 *** binutils to release 2.9.1 or newer. Another option is to modify
8683 *** your PATH or compiler configuration so that the native linker is
8684 *** used, and then restart.
8687 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8689 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8696 case `$LD -v 2>&1` in
8697 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8701 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8702 *** reliably create shared libraries on SCO systems. Therefore, libtool
8703 *** is disabling shared libraries support. We urge you to upgrade GNU
8704 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8705 *** your PATH or compiler configuration so that the native linker is
8706 *** used, and then restart.
8711 # For security reasons, it is highly recommended that you always
8712 # use absolute paths for naming shared libraries, and exclude the
8713 # DT_RUNPATH tag from executables and libraries. But doing so
8714 # requires that you compile everything twice, which is a pain.
8715 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8718 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8727 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8730 hardcode_shlibpath_var=no
8734 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8736 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8743 if test "$ld_shlibs" = no; then
8745 hardcode_libdir_flag_spec=
8746 export_dynamic_flag_spec=
8747 whole_archive_flag_spec=
8750 # PORTME fill in a description of your system's linker (not GNU ld)
8753 allow_undefined_flag=unsupported
8754 always_export_symbols=yes
8755 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'
8756 # Note: this linker hardcodes the directories in LIBPATH if there
8757 # are no directories specified by -L.
8758 hardcode_minus_L=yes
8759 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8760 # Neither direct hardcoding nor static linking is supported with a
8762 hardcode_direct=unsupported
8767 if test "$host_cpu" = ia64; then
8768 # On IA64, the linker does run time linking by default, so we don't
8769 # have to do anything special.
8770 aix_use_runtimelinking=no
8771 exp_sym_flag='-Bexport'
8774 # If we're using GNU nm, then we don't want the "-C" option.
8775 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8776 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8777 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'
8779 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'
8781 aix_use_runtimelinking=no
8783 # Test if we are trying to use run time linking or normal
8784 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8785 # need to do runtime linking.
8786 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8787 for ld_flag in $LDFLAGS; do
8788 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8789 aix_use_runtimelinking=yes
8796 exp_sym_flag='-bexport'
8797 no_entry_flag='-bnoentry'
8800 # When large executables or shared objects are built, AIX ld can
8801 # have problems creating the table of contents. If linking a library
8802 # or program results in "error TOC overflow" add -mminimal-toc to
8803 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8804 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8808 hardcode_direct_absolute=yes
8809 hardcode_libdir_separator=':'
8810 link_all_deplibs=yes
8811 file_list_spec='${wl}-f,'
8813 if test "$GCC" = yes; then
8814 case $host_os in aix4.[012]|aix4.[012].*)
8815 # We only want to do this on AIX 4.2 and lower, the check
8816 # below for broken collect2 doesn't work under 4.3+
8817 collect2name=`${CC} -print-prog-name=collect2`
8818 if test -f "$collect2name" &&
8819 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8821 # We have reworked collect2
8824 # We have old collect2
8825 hardcode_direct=unsupported
8826 # It fails to find uninstalled libraries when the uninstalled
8827 # path is not listed in the libpath. Setting hardcode_minus_L
8828 # to unsupported forces relinking
8829 hardcode_minus_L=yes
8830 hardcode_libdir_flag_spec='-L$libdir'
8831 hardcode_libdir_separator=
8835 shared_flag='-shared'
8836 if test "$aix_use_runtimelinking" = yes; then
8837 shared_flag="$shared_flag "'${wl}-G'
8842 if test "$host_cpu" = ia64; then
8843 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8844 # chokes on -Wl,-G. The following line is correct:
8847 if test "$aix_use_runtimelinking" = yes; then
8848 shared_flag='${wl}-G'
8850 shared_flag='${wl}-bM:SRE'
8855 export_dynamic_flag_spec='${wl}-bexpall'
8856 # It seems that -bexpall does not export symbols beginning with
8857 # underscore (_), so it is better to generate a list of symbols to export.
8858 always_export_symbols=yes
8859 if test "$aix_use_runtimelinking" = yes; then
8860 # Warning - without using the other runtime loading flags (-brtl),
8861 # -berok will link without error, but may produce a broken library.
8862 allow_undefined_flag='-berok'
8863 # Determine the default libpath from the value encoded in an
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8876 if ac_fn_c_try_link "$LINENO"; then :
8878 lt_aix_libpath_sed='
8879 /Import File Strings/,/^$/ {
8885 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8886 # Check for a 64-bit object if we didn't find anything.
8887 if test -z "$aix_libpath"; then
8888 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8891 rm -f core conftest.err conftest.$ac_objext \
8892 conftest$ac_exeext conftest.$ac_ext
8893 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8895 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8896 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"
8898 if test "$host_cpu" = ia64; then
8899 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8900 allow_undefined_flag="-z nodefs"
8901 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"
8903 # Determine the default libpath from the value encoded in an
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8916 if ac_fn_c_try_link "$LINENO"; then :
8918 lt_aix_libpath_sed='
8919 /Import File Strings/,/^$/ {
8925 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8926 # Check for a 64-bit object if we didn't find anything.
8927 if test -z "$aix_libpath"; then
8928 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931 rm -f core conftest.err conftest.$ac_objext \
8932 conftest$ac_exeext conftest.$ac_ext
8933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8935 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8936 # Warning - without using the other run time loading flags,
8937 # -berok will link without error, but may produce a broken library.
8938 no_undefined_flag=' ${wl}-bernotok'
8939 allow_undefined_flag=' ${wl}-berok'
8940 # Exported symbols can be pulled into shared objects from archives
8941 whole_archive_flag_spec='$convenience'
8942 archive_cmds_need_lc=yes
8943 # This is similar to how AIX traditionally builds its shared libraries.
8944 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'
8952 # see comment about AmigaOS4 .so support
8953 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 archive_expsym_cmds=''
8957 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)'
8958 hardcode_libdir_flag_spec='-L$libdir'
8959 hardcode_minus_L=yes
8965 export_dynamic_flag_spec=-rdynamic
8968 cygwin* | mingw* | pw32* | cegcc*)
8969 # When not using gcc, we currently assume that we are using
8970 # Microsoft Visual C++.
8971 # hardcode_libdir_flag_spec is actually meaningless, as there is
8972 # no search path for DLLs.
8973 hardcode_libdir_flag_spec=' '
8974 allow_undefined_flag=unsupported
8975 # Tell ltmain to make .lib files, not .a files.
8977 # Tell ltmain to make .dll files, not .so files.
8979 # FIXME: Setting linknames here is a bad hack.
8980 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8981 # The linker will automatically build a .lib file if we build a DLL.
8982 old_archive_from_new_cmds='true'
8983 # FIXME: Should let the user specify the lib program.
8984 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8985 fix_srcfile_path='`cygpath -w "$srcfile"`'
8986 enable_shared_with_static_runtimes=yes
8989 darwin* | rhapsody*)
8992 archive_cmds_need_lc=no
8994 hardcode_automatic=yes
8995 hardcode_shlibpath_var=unsupported
8996 whole_archive_flag_spec=''
8997 link_all_deplibs=yes
8998 allow_undefined_flag="$_lt_dar_allow_undefined"
8999 case $cc_basename in
9000 ifort*) _lt_dar_can_shared=yes ;;
9001 *) _lt_dar_can_shared=$GCC ;;
9003 if test "$_lt_dar_can_shared" = "yes"; then
9004 output_verbose_link_cmd=echo
9005 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9006 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9007 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}"
9008 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}"
9017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_libdir_flag_spec='-L$libdir'
9019 hardcode_shlibpath_var=no
9026 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9027 # support. Future versions do this automatically, but an explicit c++rt0.o
9028 # does not break anything, and helps significantly (at the cost of a little
9031 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9032 hardcode_libdir_flag_spec='-R$libdir'
9034 hardcode_shlibpath_var=no
9037 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9039 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9041 hardcode_minus_L=yes
9042 hardcode_shlibpath_var=no
9045 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9046 freebsd* | dragonfly*)
9047 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9048 hardcode_libdir_flag_spec='-R$libdir'
9050 hardcode_shlibpath_var=no
9054 if test "$GCC" = yes; then
9055 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'
9057 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'
9059 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9060 hardcode_libdir_separator=:
9063 # hardcode_minus_L: Not really in the search PATH,
9064 # but as the default location of the library.
9065 hardcode_minus_L=yes
9066 export_dynamic_flag_spec='${wl}-E'
9070 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9071 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9073 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9075 if test "$with_gnu_ld" = no; then
9076 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9077 hardcode_libdir_flag_spec_ld='+b $libdir'
9078 hardcode_libdir_separator=:
9080 hardcode_direct_absolute=yes
9081 export_dynamic_flag_spec='${wl}-E'
9082 # hardcode_minus_L: Not really in the search PATH,
9083 # but as the default location of the library.
9084 hardcode_minus_L=yes
9089 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9092 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9095 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9104 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9107 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9110 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9114 if test "$with_gnu_ld" = no; then
9115 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9116 hardcode_libdir_separator=:
9121 hardcode_shlibpath_var=no
9125 hardcode_direct_absolute=yes
9126 export_dynamic_flag_spec='${wl}-E'
9128 # hardcode_minus_L: Not really in the search PATH,
9129 # but as the default location of the library.
9130 hardcode_minus_L=yes
9136 irix5* | irix6* | nonstopux*)
9137 if test "$GCC" = yes; then
9138 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'
9139 # Try to use the -exported_symbol ld option, if it does not
9140 # work, assume that -exports_file does not work either and
9141 # implicitly export all symbols.
9142 save_LDFLAGS="$LDFLAGS"
9143 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 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'
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 LDFLAGS="$save_LDFLAGS"
9156 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'
9157 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'
9159 archive_cmds_need_lc='no'
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 hardcode_libdir_separator=:
9163 link_all_deplibs=yes
9166 netbsd* | netbsdelf*-gnu)
9167 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9168 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9170 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9172 hardcode_libdir_flag_spec='-R$libdir'
9174 hardcode_shlibpath_var=no
9178 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9180 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181 hardcode_libdir_separator=:
9182 hardcode_shlibpath_var=no
9189 if test -f /usr/libexec/ld.so; then
9191 hardcode_shlibpath_var=no
9192 hardcode_direct_absolute=yes
9193 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9194 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9196 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9197 export_dynamic_flag_spec='${wl}-E'
9200 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9201 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9202 hardcode_libdir_flag_spec='-R$libdir'
9205 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9216 hardcode_libdir_flag_spec='-L$libdir'
9217 hardcode_minus_L=yes
9218 allow_undefined_flag=unsupported
9219 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'
9220 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9224 if test "$GCC" = yes; then
9225 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9226 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'
9228 allow_undefined_flag=' -expect_unresolved \*'
9229 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'
9231 archive_cmds_need_lc='no'
9232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9233 hardcode_libdir_separator=:
9236 osf4* | osf5*) # as osf3* with the addition of -msym flag
9237 if test "$GCC" = yes; then
9238 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9239 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'
9240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 allow_undefined_flag=' -expect_unresolved \*'
9243 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'
9244 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~
9245 $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'
9247 # Both c and cxx compiler support -rpath directly
9248 hardcode_libdir_flag_spec='-rpath $libdir'
9250 archive_cmds_need_lc='no'
9251 hardcode_libdir_separator=:
9255 no_undefined_flag=' -z defs'
9256 if test "$GCC" = yes; then
9258 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9259 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9260 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9262 case `$CC -V 2>&1` in
9265 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9266 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9267 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9271 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9272 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9273 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9277 hardcode_libdir_flag_spec='-R$libdir'
9278 hardcode_shlibpath_var=no
9280 solaris2.[0-5] | solaris2.[0-5].*) ;;
9282 # The compiler driver will combine and reorder linker options,
9283 # but understands `-z linker_flag'. GCC discards it without `$wl',
9284 # but is careful enough not to reorder.
9285 # Supported since Solaris 2.6 (maybe 2.5.1?)
9286 if test "$GCC" = yes; then
9287 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9289 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9293 link_all_deplibs=yes
9297 if test "x$host_vendor" = xsequent; then
9298 # Use $CC to link under sequent, because it throws in some extra .o
9299 # files that make .init and .fini sections work.
9300 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9302 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9304 hardcode_libdir_flag_spec='-L$libdir'
9306 hardcode_minus_L=yes
9307 hardcode_shlibpath_var=no
9311 case $host_vendor in
9313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_direct=yes # is this really true???
9317 ## LD is ld it makes a PLAMLIB
9318 ## CC just makes a GrossModule.
9319 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9320 reload_cmds='$CC -r -o $output$reload_objs'
9324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9325 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9328 runpath_var='LD_RUN_PATH'
9329 hardcode_shlibpath_var=no
9333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9334 hardcode_shlibpath_var=no
9335 export_dynamic_flag_spec='-Bexport'
9339 if test -d /usr/nec; then
9340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_shlibpath_var=no
9342 runpath_var=LD_RUN_PATH
9343 hardcode_runpath_var=yes
9348 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9349 no_undefined_flag='${wl}-z,text'
9350 archive_cmds_need_lc=no
9351 hardcode_shlibpath_var=no
9352 runpath_var='LD_RUN_PATH'
9354 if test "$GCC" = yes; then
9355 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9358 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9363 sysv5* | sco3.2v5* | sco5v6*)
9364 # Note: We can NOT use -z defs as we might desire, because we do not
9365 # link with -lc, and that would cause any symbols used from libc to
9366 # always be unresolved, which means just about no library would
9367 # ever link correctly. If we're not using GNU ld we use -z text
9368 # though, which does catch some bad symbols but isn't as heavy-handed
9370 no_undefined_flag='${wl}-z,text'
9371 allow_undefined_flag='${wl}-z,nodefs'
9372 archive_cmds_need_lc=no
9373 hardcode_shlibpath_var=no
9374 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9375 hardcode_libdir_separator=':'
9376 link_all_deplibs=yes
9377 export_dynamic_flag_spec='${wl}-Bexport'
9378 runpath_var='LD_RUN_PATH'
9380 if test "$GCC" = yes; then
9381 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_libdir_flag_spec='-L$libdir'
9392 hardcode_shlibpath_var=no
9400 if test x$host_vendor = xsni; then
9402 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9403 export_dynamic_flag_spec='${wl}-Blargedynsym'
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9410 $as_echo "$ld_shlibs" >&6; }
9411 test "$ld_shlibs" = no && can_build_shared=no
9413 with_gnu_ld=$with_gnu_ld
9430 # Do we need to explicitly link libc?
9432 case "x$archive_cmds_need_lc" in
9434 # Assume -lc should be added
9435 archive_cmds_need_lc=yes
9437 if test "$enable_shared" = yes && test "$GCC" = yes; then
9438 case $archive_cmds in
9440 # FIXME: we may have to deal with multi-command sequences.
9443 # Test whether the compiler implicitly links with -lc since on some
9444 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9445 # to ld, don't add -lc before -lgcc.
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9447 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9449 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9452 (eval $ac_compile) 2>&5
9454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9455 test $ac_status = 0; } 2>conftest.err; then
9458 libobjs=conftest.$ac_objext
9460 wl=$lt_prog_compiler_wl
9461 pic_flag=$lt_prog_compiler_pic
9467 lt_save_allow_undefined_flag=$allow_undefined_flag
9468 allow_undefined_flag=
9469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9470 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9473 test $ac_status = 0; }
9475 archive_cmds_need_lc=no
9477 archive_cmds_need_lc=yes
9479 allow_undefined_flag=$lt_save_allow_undefined_flag
9481 cat conftest.err 1>&5
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9485 $as_echo "$archive_cmds_need_lc" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9649 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9651 if test "$GCC" = yes; then
9653 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9654 *) lt_awk_arg="/^libraries:/" ;;
9656 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9657 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9658 # if the path contains ";" then we assume it to be the separator
9659 # otherwise default to the standard path separator (i.e. ":") - it is
9660 # assumed that no part of a normal pathname contains ";" but that should
9661 # okay in the real world where ";" in dirpaths is itself problematic.
9662 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9664 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9666 # Ok, now we have the path, separated by spaces, we can step through it
9667 # and add multilib dir if necessary.
9668 lt_tmp_lt_search_path_spec=
9669 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9670 for lt_sys_path in $lt_search_path_spec; do
9671 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9672 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9674 test -d "$lt_sys_path" && \
9675 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9678 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9679 BEGIN {RS=" "; FS="/|\n";} {
9682 for (lt_i = NF; lt_i > 0; lt_i--) {
9683 if ($lt_i != "" && $lt_i != ".") {
9684 if ($lt_i == "..") {
9687 if (lt_count == 0) {
9688 lt_foo="/" $lt_i lt_foo;
9695 if (lt_foo != "") { lt_freq[lt_foo]++; }
9696 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9698 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9700 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9703 libname_spec='lib$name'
9711 shlibpath_overrides_runpath=unknown
9713 dynamic_linker="$host_os ld.so"
9714 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9715 need_lib_prefix=unknown
9716 hardcode_into_libs=no
9718 # when you set need_version to no, make sure it does not cause -set_version
9719 # flags to be left without arguments
9720 need_version=unknown
9725 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9726 shlibpath_var=LIBPATH
9728 # AIX 3 has no versioning support, so we append a major version to the name.
9729 soname_spec='${libname}${release}${shared_ext}$major'
9736 hardcode_into_libs=yes
9737 if test "$host_cpu" = ia64; then
9738 # AIX 5 supports IA64
9739 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9740 shlibpath_var=LD_LIBRARY_PATH
9742 # With GCC up to 2.95.x, collect2 would create an import file
9743 # for dependence libraries. The import file would start with
9744 # the line `#! .'. This would cause the generated library to
9745 # depend on `.', always an invalid library. This was fixed in
9746 # development snapshots of GCC prior to 3.0.
9748 aix4 | aix4.[01] | aix4.[01].*)
9749 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9751 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9758 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9759 # soname into executable. Probably we can add versioning support to
9760 # collect2, so additional links can be useful in future.
9761 if test "$aix_use_runtimelinking" = yes; then
9762 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9763 # instead of lib<name>.a to let people know that these are not
9764 # typical AIX shared libraries.
9765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9767 # We preserve .a as extension for shared libraries through AIX4.2
9768 # and later when we are not doing run time linking.
9769 library_names_spec='${libname}${release}.a $libname.a'
9770 soname_spec='${libname}${release}${shared_ext}$major'
9772 shlibpath_var=LIBPATH
9779 # Since July 2007 AmigaOS4 officially supports .so libraries.
9780 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784 library_names_spec='$libname.ixlibrary $libname.a'
9785 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9786 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'
9792 library_names_spec='${libname}${shared_ext}'
9793 dynamic_linker="$host_os ld.so"
9794 shlibpath_var=LIBRARY_PATH
9800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 soname_spec='${libname}${release}${shared_ext}$major'
9802 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9803 shlibpath_var=LD_LIBRARY_PATH
9804 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9805 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9806 # the default ld.so.conf also contains /usr/contrib/lib and
9807 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9808 # libtool to hard-code these into programs
9811 cygwin* | mingw* | pw32* | cegcc*)
9812 version_type=windows
9817 case $GCC,$host_os in
9818 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9819 library_names_spec='$libname.dll.a'
9820 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9821 postinstall_cmds='base_file=`basename \${file}`~
9822 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9823 dldir=$destdir/`dirname \$dlpath`~
9824 test -d \$dldir || mkdir -p \$dldir~
9825 $install_prog $dir/$dlname \$dldir/$dlname~
9826 chmod a+x \$dldir/$dlname~
9827 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9828 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9830 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9831 dlpath=$dir/\$dldll~
9833 shlibpath_overrides_runpath=yes
9837 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9838 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9839 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9842 # MinGW DLLs use traditional 'lib' prefix
9843 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9844 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9845 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9846 # It is most probably a Windows format PATH printed by
9847 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9848 # path with ; separators, and with drive letters. We can handle the
9849 # drive letters (cygwin fileutils understands them), so leave them,
9850 # especially as we might pass files found there to a mingw objdump,
9851 # which wouldn't understand a cygwinified path. Ahh.
9852 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9854 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9858 # pw32 DLLs use 'pw' prefix rather than 'lib'
9859 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9865 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9868 dynamic_linker='Win32 ld.exe'
9869 # FIXME: first we should search . and the directory the executable is in
9873 darwin* | rhapsody*)
9874 dynamic_linker="$host_os dyld"
9878 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9879 soname_spec='${libname}${release}${major}$shared_ext'
9880 shlibpath_overrides_runpath=yes
9881 shlibpath_var=DYLD_LIBRARY_PATH
9882 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9884 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9885 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9893 soname_spec='${libname}${release}${shared_ext}$major'
9894 shlibpath_var=LD_LIBRARY_PATH
9901 freebsd* | dragonfly*)
9902 # DragonFly does not have aout. When/if they implement a new
9903 # versioning mechanism, adjust this.
9904 if test -x /usr/bin/objformat; then
9905 objformat=`/usr/bin/objformat`
9908 freebsd[123]*) objformat=aout ;;
9912 version_type=freebsd-$objformat
9913 case $version_type in
9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9924 shlibpath_var=LD_LIBRARY_PATH
9927 shlibpath_overrides_runpath=yes
9929 freebsd3.[01]* | freebsdelf3.[01]*)
9930 shlibpath_overrides_runpath=yes
9931 hardcode_into_libs=yes
9933 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9934 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9935 shlibpath_overrides_runpath=no
9936 hardcode_into_libs=yes
9938 *) # from 4.6 on, and DragonFly
9939 shlibpath_overrides_runpath=yes
9940 hardcode_into_libs=yes
9949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9950 soname_spec='${libname}${release}${shared_ext}$major'
9951 shlibpath_var=LD_LIBRARY_PATH
9952 hardcode_into_libs=yes
9955 hpux9* | hpux10* | hpux11*)
9956 # Give a soname corresponding to the major version so that dld.sl refuses to
9957 # link against other versions.
9964 hardcode_into_libs=yes
9965 dynamic_linker="$host_os dld.so"
9966 shlibpath_var=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969 soname_spec='${libname}${release}${shared_ext}$major'
9970 if test "X$HPUX_IA64_MODE" = X32; then
9971 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9973 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9975 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9979 hardcode_into_libs=yes
9980 dynamic_linker="$host_os dld.sl"
9981 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9982 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 soname_spec='${libname}${release}${shared_ext}$major'
9985 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9986 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9990 dynamic_linker="$host_os dld.sl"
9991 shlibpath_var=SHLIB_PATH
9992 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9994 soname_spec='${libname}${release}${shared_ext}$major'
9997 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9998 postinstall_cmds='chmod 555 $lib'
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10006 soname_spec='${libname}${release}${shared_ext}$major'
10007 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10008 shlibpath_var=LD_LIBRARY_PATH
10009 shlibpath_overrides_runpath=no
10010 hardcode_into_libs=yes
10013 irix5* | irix6* | nonstopux*)
10015 nonstopux*) version_type=nonstopux ;;
10017 if test "$lt_cv_prog_gnu_ld" = yes; then
10025 soname_spec='${libname}${release}${shared_ext}$major'
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10028 irix5* | nonstopux*)
10029 libsuff= shlibsuff=
10032 case $LD in # libtool.m4 will add one of these switches to LD
10033 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10034 libsuff= shlibsuff= libmagic=32-bit;;
10035 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10036 libsuff=32 shlibsuff=N32 libmagic=N32;;
10037 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10038 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10039 *) libsuff= shlibsuff= libmagic=never-match;;
10043 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10044 shlibpath_overrides_runpath=no
10045 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10046 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10047 hardcode_into_libs=yes
10050 # No shared lib support for Linux oldld, aout, or coff.
10051 linux*oldld* | linux*aout* | linux*coff*)
10055 # This must be Linux ELF.
10056 linux* | k*bsd*-gnu)
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10063 shlibpath_var=LD_LIBRARY_PATH
10064 shlibpath_overrides_runpath=no
10065 # Some binutils ld are patched to set DT_RUNPATH
10066 save_LDFLAGS=$LDFLAGS
10067 save_libdir=$libdir
10068 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10069 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10083 shlibpath_overrides_runpath=yes
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 LDFLAGS=$save_LDFLAGS
10089 libdir=$save_libdir
10091 # This implies no fast_install, which is unacceptable.
10092 # Some rework will be needed to allow for fast_install
10093 # before this can be enabled.
10094 hardcode_into_libs=yes
10096 # Append ld.so.conf contents to the search path
10097 if test -f /etc/ld.so.conf; then
10098 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' ' '`
10099 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10102 # We used to test for /lib/ld.so.1 and disable shared libraries on
10103 # powerpc, because MkLinux only supported shared libraries with the
10104 # GNU dynamic linker. Since this was broken with cross compilers,
10105 # most powerpc-linux boxes support dynamic linking these days and
10106 # people can always --disable-shared, the test was removed, and we
10107 # assume the GNU/Linux dynamic linker is in use.
10108 dynamic_linker='GNU/Linux ld.so'
10115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10116 soname_spec='${libname}${release}${shared_ext}$major'
10117 shlibpath_var=LD_LIBRARY_PATH
10118 shlibpath_overrides_runpath=no
10119 hardcode_into_libs=yes
10120 dynamic_linker='NetBSD ld.elf_so'
10127 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10129 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10130 dynamic_linker='NetBSD (a.out) ld.so'
10132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10133 soname_spec='${libname}${release}${shared_ext}$major'
10134 dynamic_linker='NetBSD ld.elf_so'
10136 shlibpath_var=LD_LIBRARY_PATH
10137 shlibpath_overrides_runpath=yes
10138 hardcode_into_libs=yes
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144 shlibpath_var=LD_LIBRARY_PATH
10145 shlibpath_overrides_runpath=yes
10152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 soname_spec='${libname}${release}${shared_ext}$major'
10154 shlibpath_var=LD_LIBRARY_PATH
10155 shlibpath_overrides_runpath=no
10156 hardcode_into_libs=yes
10157 dynamic_linker='ldqnx.so'
10162 sys_lib_dlsearch_path_spec="/usr/lib"
10164 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10166 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10167 *) need_version=no ;;
10169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10170 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10171 shlibpath_var=LD_LIBRARY_PATH
10172 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10174 openbsd2.[89] | openbsd2.[89].*)
10175 shlibpath_overrides_runpath=no
10178 shlibpath_overrides_runpath=yes
10182 shlibpath_overrides_runpath=yes
10187 libname_spec='$name'
10190 library_names_spec='$libname${shared_ext} $libname.a'
10191 dynamic_linker='OS/2 ld.exe'
10192 shlibpath_var=LIBPATH
10195 osf3* | osf4* | osf5*)
10199 soname_spec='${libname}${release}${shared_ext}$major'
10200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10201 shlibpath_var=LD_LIBRARY_PATH
10202 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10203 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 soname_spec='${libname}${release}${shared_ext}$major'
10216 shlibpath_var=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath=yes
10218 hardcode_into_libs=yes
10219 # ldd complains unless libraries are executable
10220 postinstall_cmds='chmod +x $lib'
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10226 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10227 shlibpath_var=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath=yes
10229 if test "$with_gnu_ld" = yes; then
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238 soname_spec='${libname}${release}${shared_ext}$major'
10239 shlibpath_var=LD_LIBRARY_PATH
10240 case $host_vendor in
10242 shlibpath_overrides_runpath=no
10244 runpath_var=LD_RUN_PATH
10252 shlibpath_overrides_runpath=no
10253 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10259 if test -d /usr/nec ;then
10261 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10262 soname_spec='$libname${shared_ext}.$major'
10263 shlibpath_var=LD_LIBRARY_PATH
10267 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10268 version_type=freebsd-elf
10271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10272 soname_spec='${libname}${release}${shared_ext}$major'
10273 shlibpath_var=LD_LIBRARY_PATH
10274 shlibpath_overrides_runpath=yes
10275 hardcode_into_libs=yes
10276 if test "$with_gnu_ld" = yes; then
10277 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10279 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10282 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10286 sys_lib_dlsearch_path_spec='/usr/lib'
10290 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10295 shlibpath_var=LD_LIBRARY_PATH
10296 shlibpath_overrides_runpath=no
10297 hardcode_into_libs=yes
10302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303 soname_spec='${libname}${release}${shared_ext}$major'
10304 shlibpath_var=LD_LIBRARY_PATH
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10312 $as_echo "$dynamic_linker" >&6; }
10313 test "$dynamic_linker" = no && can_build_shared=no
10315 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10316 if test "$GCC" = yes; then
10317 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10320 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10321 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10323 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10324 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10414 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10416 if test -n "$hardcode_libdir_flag_spec" ||
10417 test -n "$runpath_var" ||
10418 test "X$hardcode_automatic" = "Xyes" ; then
10420 # We can hardcode non-existent directories.
10421 if test "$hardcode_direct" != no &&
10422 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10423 # have to relink, otherwise we might link with an installed library
10424 # when we should be linking with a yet-to-be-installed one
10425 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10426 test "$hardcode_minus_L" != no; then
10427 # Linking always hardcodes the temporary library directory.
10428 hardcode_action=relink
10430 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10431 hardcode_action=immediate
10434 # We cannot hardcode anything, or else we can only hardcode existing
10436 hardcode_action=unsupported
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10439 $as_echo "$hardcode_action" >&6; }
10441 if test "$hardcode_action" = relink ||
10442 test "$inherit_rpath" = yes; then
10443 # Fast installation is not supported
10444 enable_fast_install=no
10445 elif test "$shlibpath_overrides_runpath" = yes ||
10446 test "$enable_shared" = no; then
10447 # Fast installation is not necessary
10448 enable_fast_install=needless
10456 if test "x$enable_dlopen" != xyes; then
10457 enable_dlopen=unknown
10458 enable_dlopen_self=unknown
10459 enable_dlopen_self_static=unknown
10466 lt_cv_dlopen="load_add_on"
10468 lt_cv_dlopen_self=yes
10471 mingw* | pw32* | cegcc*)
10472 lt_cv_dlopen="LoadLibrary"
10477 lt_cv_dlopen="dlopen"
10482 # if libdl is installed we need to link against it
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10484 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10485 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10486 $as_echo_n "(cached) " >&6
10488 ac_check_lib_save_LIBS=$LIBS
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10493 /* Override any GCC internal prototype to avoid an error.
10494 Use char because int might match the return type of a GCC
10495 builtin and then its argument prototype would still apply. */
10508 if ac_fn_c_try_link "$LINENO"; then :
10509 ac_cv_lib_dl_dlopen=yes
10511 ac_cv_lib_dl_dlopen=no
10513 rm -f core conftest.err conftest.$ac_objext \
10514 conftest$ac_exeext conftest.$ac_ext
10515 LIBS=$ac_check_lib_save_LIBS
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10518 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10519 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10520 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10523 lt_cv_dlopen="dyld"
10525 lt_cv_dlopen_self=yes
10532 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10533 if test "x$ac_cv_func_shl_load" = x""yes; then :
10534 lt_cv_dlopen="shl_load"
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10537 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10538 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10539 $as_echo_n "(cached) " >&6
10541 ac_check_lib_save_LIBS=$LIBS
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10556 return shl_load ();
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 ac_cv_lib_dld_shl_load=yes
10564 ac_cv_lib_dld_shl_load=no
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LIBS=$ac_check_lib_save_LIBS
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10571 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10572 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10573 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10575 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10576 if test "x$ac_cv_func_dlopen" = x""yes; then :
10577 lt_cv_dlopen="dlopen"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10580 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10581 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10582 $as_echo_n "(cached) " >&6
10584 ac_check_lib_save_LIBS=$LIBS
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 ac_cv_lib_dl_dlopen=yes
10607 ac_cv_lib_dl_dlopen=no
10609 rm -f core conftest.err conftest.$ac_objext \
10610 conftest$ac_exeext conftest.$ac_ext
10611 LIBS=$ac_check_lib_save_LIBS
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10614 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10615 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10616 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10619 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10620 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10621 $as_echo_n "(cached) " >&6
10623 ac_check_lib_save_LIBS=$LIBS
10624 LIBS="-lsvld $LIBS"
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10628 /* Override any GCC internal prototype to avoid an error.
10629 Use char because int might match the return type of a GCC
10630 builtin and then its argument prototype would still apply. */
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 ac_cv_lib_svld_dlopen=yes
10646 ac_cv_lib_svld_dlopen=no
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_lib_save_LIBS
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10653 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10654 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10655 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10658 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10659 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS=$LIBS
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10677 return dld_link ();
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 ac_cv_lib_dld_dld_link=yes
10685 ac_cv_lib_dld_dld_link=no
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10692 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10693 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10694 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10715 if test "x$lt_cv_dlopen" != xno; then
10721 case $lt_cv_dlopen in
10723 save_CPPFLAGS="$CPPFLAGS"
10724 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10726 save_LDFLAGS="$LDFLAGS"
10727 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10730 LIBS="$lt_cv_dlopen_libs $LIBS"
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10733 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10734 if test "${lt_cv_dlopen_self+set}" = set; then :
10735 $as_echo_n "(cached) " >&6
10737 if test "$cross_compiling" = yes; then :
10738 lt_cv_dlopen_self=cross
10740 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10741 lt_status=$lt_dlunknown
10742 cat > conftest.$ac_ext <<_LT_EOF
10743 #line 10743 "configure"
10744 #include "confdefs.h"
10753 # define LT_DLGLOBAL RTLD_GLOBAL
10756 # define LT_DLGLOBAL DL_GLOBAL
10758 # define LT_DLGLOBAL 0
10762 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10763 find out it does not work in some platform. */
10764 #ifndef LT_DLLAZY_OR_NOW
10766 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10769 # define LT_DLLAZY_OR_NOW DL_LAZY
10772 # define LT_DLLAZY_OR_NOW RTLD_NOW
10775 # define LT_DLLAZY_OR_NOW DL_NOW
10777 # define LT_DLLAZY_OR_NOW 0
10784 void fnord() { int i=42;}
10787 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10788 int status = $lt_dlunknown;
10792 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10793 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10794 /* dlclose (self); */
10802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10803 (eval $ac_link) 2>&5
10805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10806 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10807 (./conftest; exit; ) >&5 2>/dev/null
10809 case x$lt_status in
10810 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10811 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10812 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10815 # compilation failed
10816 lt_cv_dlopen_self=no
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10824 $as_echo "$lt_cv_dlopen_self" >&6; }
10826 if test "x$lt_cv_dlopen_self" = xyes; then
10827 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10829 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10830 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10831 $as_echo_n "(cached) " >&6
10833 if test "$cross_compiling" = yes; then :
10834 lt_cv_dlopen_self_static=cross
10836 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10837 lt_status=$lt_dlunknown
10838 cat > conftest.$ac_ext <<_LT_EOF
10839 #line 10839 "configure"
10840 #include "confdefs.h"
10849 # define LT_DLGLOBAL RTLD_GLOBAL
10852 # define LT_DLGLOBAL DL_GLOBAL
10854 # define LT_DLGLOBAL 0
10858 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10859 find out it does not work in some platform. */
10860 #ifndef LT_DLLAZY_OR_NOW
10862 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10865 # define LT_DLLAZY_OR_NOW DL_LAZY
10868 # define LT_DLLAZY_OR_NOW RTLD_NOW
10871 # define LT_DLLAZY_OR_NOW DL_NOW
10873 # define LT_DLLAZY_OR_NOW 0
10880 void fnord() { int i=42;}
10883 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10884 int status = $lt_dlunknown;
10888 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10889 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10890 /* dlclose (self); */
10898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10899 (eval $ac_link) 2>&5
10901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10902 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10903 (./conftest; exit; ) >&5 2>/dev/null
10905 case x$lt_status in
10906 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10907 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10908 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10911 # compilation failed
10912 lt_cv_dlopen_self_static=no
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10920 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10923 CPPFLAGS="$save_CPPFLAGS"
10924 LDFLAGS="$save_LDFLAGS"
10929 case $lt_cv_dlopen_self in
10930 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10931 *) enable_dlopen_self=unknown ;;
10934 case $lt_cv_dlopen_self_static in
10935 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10936 *) enable_dlopen_self_static=unknown ;;
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10959 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10960 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10961 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10962 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10964 $as_echo "yes" >&6; }
10966 # FIXME - insert some real tests, host_os isn't really good enough
10969 if test -n "$STRIP" ; then
10970 striplib="$STRIP -x"
10971 old_striplib="$STRIP -S"
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10973 $as_echo "yes" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10976 $as_echo "no" >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10981 $as_echo "no" >&6; }
10997 # Report which library types will actually be built
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10999 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11001 $as_echo "$can_build_shared" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11004 $as_echo_n "checking whether to build shared libraries... " >&6; }
11005 test "$can_build_shared" = "no" && enable_shared=no
11007 # On AIX, shared libraries and static libraries use the same namespace, and
11008 # are all built from PIC.
11011 test "$enable_shared" = yes && enable_static=no
11012 if test -n "$RANLIB"; then
11013 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11014 postinstall_cmds='$RANLIB $lib'
11019 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11020 test "$enable_shared" = yes && enable_static=no
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11025 $as_echo "$enable_shared" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11028 $as_echo_n "checking whether to build static libraries... " >&6; }
11029 # Make sure either enable_shared or enable_static is yes.
11030 test "$enable_shared" = yes || enable_static=yes
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11032 $as_echo "$enable_static" >&6; }
11039 ac_cpp='$CPP $CPPFLAGS'
11040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11058 ac_config_commands="$ac_config_commands libtool"
11063 # Only expand once:
11066 # By default we simply use the C compiler to build assembly code.
11068 test "${CCAS+set}" = set || CCAS=$CC
11069 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11073 depcc="$CCAS" am_compiler_list=
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11076 $as_echo_n "checking dependency style of $depcc... " >&6; }
11077 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
11078 $as_echo_n "(cached) " >&6
11080 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11081 # We make a subdir and do the tests there. Otherwise we can end up
11082 # making bogus files that we don't know about and never remove. For
11083 # instance it was reported that on HP-UX the gcc test will end up
11084 # making a dummy file named `D' -- because `-MD' means `put the output
11087 # Copy depcomp to subdir because otherwise we won't find it if we're
11088 # using a relative directory.
11089 cp "$am_depcomp" conftest.dir
11091 # We will build objects and dependencies in a subdirectory because
11092 # it helps to detect inapplicable dependency modes. For instance
11093 # both Tru64's cc and ICC support -MD to output dependencies as a
11094 # side effect of compilation, but ICC will put the dependencies in
11095 # the current directory while Tru64 will put them in the object
11099 am_cv_CCAS_dependencies_compiler_type=none
11100 if test "$am_compiler_list" = ""; then
11101 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11103 am__universal=false
11106 for depmode in $am_compiler_list; do
11107 # Setup a source with many dependencies, because some compilers
11108 # like to wrap large dependency lists on column 80 (with \), and
11109 # we should not choose a depcomp mode which is confused by this.
11111 # We need to recreate these files for each test, as the compiler may
11112 # overwrite some of them when testing with obscure command lines.
11113 # This happens at least with the AIX C compiler.
11115 for i in 1 2 3 4 5 6; do
11116 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11117 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11118 # Solaris 8's {/usr,}/bin/sh.
11119 touch sub/conftst$i.h
11121 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11123 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11124 # mode. It turns out that the SunPro C++ compiler does not properly
11125 # handle `-M -o', and we need to detect this. Also, some Intel
11126 # versions had trouble with output in subdirs
11127 am__obj=sub/conftest.${OBJEXT-o}
11128 am__minus_obj="-o $am__obj"
11131 # This depmode causes a compiler race in universal mode.
11132 test "$am__universal" = false || continue
11135 # after this tag, mechanisms are not by side-effect, so they'll
11136 # only be used when explicitly requested
11137 if test "x$enable_dependency_tracking" = xyes; then
11143 msvisualcpp | msvcmsys)
11144 # This compiler won't grok `-c -o', but also, the minuso test has
11145 # not run yet. These depmodes are late enough in the game, and
11146 # so weak that their functioning should not be impacted.
11147 am__obj=conftest.${OBJEXT-o}
11152 if depmode=$depmode \
11153 source=sub/conftest.c object=$am__obj \
11154 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11155 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11156 >/dev/null 2>conftest.err &&
11157 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11158 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11159 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11160 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11161 # icc doesn't choke on unknown options, it will just issue warnings
11162 # or remarks (even with -Werror). So we grep stderr for any message
11163 # that says an option was ignored or not supported.
11164 # When given -MP, icc 7.0 and 7.1 complain thusly:
11165 # icc: Command line warning: ignoring option '-M'; no argument required
11166 # The diagnosis changed in icc 8.0:
11167 # icc: Command line remark: option '-MP' not supported
11168 if (grep 'ignoring option' conftest.err ||
11169 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11170 am_cv_CCAS_dependencies_compiler_type=$depmode
11177 rm -rf conftest.dir
11179 am_cv_CCAS_dependencies_compiler_type=none
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11184 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11185 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11188 test "x$enable_dependency_tracking" != xno \
11189 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11190 am__fastdepCCAS_TRUE=
11191 am__fastdepCCAS_FALSE='#'
11193 am__fastdepCCAS_TRUE='#'
11194 am__fastdepCCAS_FALSE=
11204 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11205 if test -n "$ac_tool_prefix"; then
11206 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11207 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11209 $as_echo_n "checking for $ac_word... " >&6; }
11210 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11211 $as_echo_n "(cached) " >&6
11213 case $PKG_CONFIG in
11215 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11225 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11236 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11237 if test -n "$PKG_CONFIG"; then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11239 $as_echo "$PKG_CONFIG" >&6; }
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11242 $as_echo "no" >&6; }
11247 if test -z "$ac_cv_path_PKG_CONFIG"; then
11248 ac_pt_PKG_CONFIG=$PKG_CONFIG
11249 # Extract the first word of "pkg-config", so it can be a program name with args.
11250 set dummy pkg-config; ac_word=$2
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11252 $as_echo_n "checking for $ac_word... " >&6; }
11253 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11254 $as_echo_n "(cached) " >&6
11256 case $ac_pt_PKG_CONFIG in
11258 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11262 for as_dir in $PATH
11265 test -z "$as_dir" && as_dir=.
11266 for ac_exec_ext in '' $ac_executable_extensions; do
11267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11268 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11279 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11280 if test -n "$ac_pt_PKG_CONFIG"; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11282 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 $as_echo "no" >&6; }
11288 if test "x$ac_pt_PKG_CONFIG" = x; then
11291 case $cross_compiling:$ac_tool_warned in
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11295 ac_tool_warned=yes ;;
11297 PKG_CONFIG=$ac_pt_PKG_CONFIG
11300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11304 if test -n "$PKG_CONFIG"; then
11305 _pkg_min_version=0.9.0
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11307 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11310 $as_echo "yes" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11313 $as_echo "no" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11321 $as_echo_n "checking for GLIB... " >&6; }
11323 if test -n "$PKG_CONFIG"; then
11324 if test -n "$GLIB_CFLAGS"; then
11325 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11327 if test -n "$PKG_CONFIG" && \
11328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11329 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11332 test $ac_status = 0; }; then
11333 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
11341 if test -n "$PKG_CONFIG"; then
11342 if test -n "$GLIB_LIBS"; then
11343 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11345 if test -n "$PKG_CONFIG" && \
11346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11347 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11350 test $ac_status = 0; }; then
11351 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
11360 if test $pkg_failed = yes; then
11361 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
11362 # Put the nasty error message in config.log where it belongs
11363 echo "$GLIB_PKG_ERRORS" 1>&5
11366 elif test $pkg_failed = untried; then
11369 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11370 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11377 # Check whether --enable-glib was given.
11378 if test "${enable_glib+set}" = set; then :
11379 enableval=$enable_glib; case "${enableval}" in
11380 yes) HAVE_GLIB=yes ;;
11381 no) HAVE_GLIB=no ;;
11382 *) as_fn_error "bad value ${enableval} for --disable-glib" "$LINENO" 5 ;;
11386 if test "x$HAVE_GLIB" = "xyes"; then
11388 HAVE_GLIB_FALSE='#'
11395 # Check whether --enable-prototype-checking was given.
11396 if test "${enable_prototype_checking+set}" = set; then :
11397 enableval=$enable_prototype_checking; enable_proto_check=$enableval
11399 enable_proto_check=no
11402 if test "x$enable_proto_check" = xyes ; then
11404 $as_echo "#define LIBOIL_STRICT_PROTOTYPES 1" >>confdefs.h
11409 # Check whether --with-alternate-optimization was given.
11410 if test "${with_alternate_optimization+set}" = set; then :
11411 withval=$with_alternate_optimization; enable_alt_opt=yes; LIBOIL_OPT_CFLAGS=$withval
11416 if test "x$enable_alt_opt" = xyes ; then
11417 LIBOIL_OPT_CFLAGS="$LIBOIL_OPT_CFLAGS -D'OIL_OPT_MANGLE(a)=a\#\#_alt' -D'OIL_OPT_SUFFIX=\"_alt\"'"
11419 if test "x$enable_alt_opt" = xyes; then
11421 USE_ALT_OPT_FALSE='#'
11423 USE_ALT_OPT_TRUE='#'
11429 # Check whether --enable-broken-implementations was given.
11430 if test "${enable_broken_implementations+set}" = set; then :
11431 enableval=$enable_broken_implementations; enable_broken_implementations=$enableval
11433 enable_broken_implementations=no
11436 if test "x$enable_broken_implementations" = xyes ; then
11438 $as_echo "#define ENABLE_BROKEN_IMPLS 1" >>confdefs.h
11442 #AC_ARG_ENABLE(new-abi,
11443 # AC_HELP_STRING([--enable-new-abi],[enable experimental 0.4 ABI]),
11444 # enable_new_abi=$enableval,enable_new_abi=no)
11445 if test "x$enable_new_abi" = xyes ; then
11447 $as_echo "#define ENABLE_NEW_ABI 1" >>confdefs.h
11450 if test "x$enable_new_abi" = xyes; then
11452 USE_NEW_ABI_FALSE='#'
11454 USE_NEW_ABI_TRUE='#'
11458 if test "x$enable_new_abi" = xyes ; then
11459 LIBOIL_MAJORMINOR=0.4
11460 LIBOIL_OLD_MAJORMINOR=0.3
11462 LIBOIL_MAJORMINOR=0.3
11463 LIBOIL_OLD_MAJORMINOR=0.2
11468 ##################################################
11469 # Check for gtk-doc.
11470 ##################################################
11472 if test "x$cross_compiling" = "xyes" ; then
11477 # Check whether --with-html-dir was given.
11478 if test "${with_html_dir+set}" = set; then :
11479 withval=$with_html_dir;
11481 with_html_dir='${datadir}/gtk-doc/html'
11484 HTML_DIR="$with_html_dir"
11487 # Check whether --enable-gtk-doc was given.
11488 if test "${enable_gtk_doc+set}" = set; then :
11489 enableval=$enable_gtk_doc;
11495 if test x$enable_gtk_doc = xyes; then
11496 if test -n "$PKG_CONFIG" && \
11497 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
11498 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
11500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 test $ac_status = 0; }; then
11504 as_fn_error "You need to have gtk-doc >= 1.0 installed to build gtk-doc" "$LINENO" 5
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11509 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11511 $as_echo "$enable_gtk_doc" >&6; }
11513 for ac_prog in gtkdoc-check
11515 # Extract the first word of "$ac_prog", so it can be a program name with args.
11516 set dummy $ac_prog; ac_word=$2
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11518 $as_echo_n "checking for $ac_word... " >&6; }
11519 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
11520 $as_echo_n "(cached) " >&6
11522 case $GTKDOC_CHECK in
11524 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11528 for as_dir in $PATH
11531 test -z "$as_dir" && as_dir=.
11532 for ac_exec_ext in '' $ac_executable_extensions; do
11533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11534 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11546 if test -n "$GTKDOC_CHECK"; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11548 $as_echo "$GTKDOC_CHECK" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11551 $as_echo "no" >&6; }
11555 test -n "$GTKDOC_CHECK" && break
11559 if test x$enable_gtk_doc = xyes; then
11560 ENABLE_GTK_DOC_TRUE=
11561 ENABLE_GTK_DOC_FALSE='#'
11563 ENABLE_GTK_DOC_TRUE='#'
11564 ENABLE_GTK_DOC_FALSE=
11567 if test -n "$LIBTOOL"; then
11568 GTK_DOC_USE_LIBTOOL_TRUE=
11569 GTK_DOC_USE_LIBTOOL_FALSE='#'
11571 GTK_DOC_USE_LIBTOOL_TRUE='#'
11572 GTK_DOC_USE_LIBTOOL_FALSE=
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-style inline assembly" >&5
11580 $as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11592 #ifdef __GNUC_MINOR__
11593 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
11594 #error GCC before 3.4 has critical bugs compiling inline assembly
11602 if ac_fn_c_try_compile "$LINENO"; then :
11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11609 if test "X$flag_ok" = Xyes ; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
11617 $as_echo "$flag_ok" >&6; }
11619 if test x$HAVE_GCC_ASM = xyes ; then
11621 $as_echo "#define HAVE_GCC_ASM 1" >>confdefs.h
11624 if test "x$HAVE_GCC_ASM" = "xyes"; then
11626 HAVE_GCC_ASM_FALSE='#'
11628 HAVE_GCC_ASM_TRUE='#'
11629 HAVE_GCC_ASM_FALSE=
11634 case "x${host_cpu}" in
11638 $as_echo "#define HAVE_I386 1" >>confdefs.h
11644 $as_echo "#define HAVE_AMD64 1" >>confdefs.h
11647 xpowerpc|xppc|xpowerpc64|xppc64)
11650 $as_echo "#define HAVE_POWERPC 1" >>confdefs.h
11656 $as_echo "#define HAVE_ARM 1" >>confdefs.h
11661 if test "x$HAVE_I386" = "xyes"; then
11663 HAVE_I386_FALSE='#'
11669 if test "x$HAVE_AMD64" = "xyes"; then
11671 HAVE_AMD64_FALSE='#'
11673 HAVE_AMD64_TRUE='#'
11677 if test "x$HAVE_POWERPC" = "xyes"; then
11679 HAVE_POWERPC_FALSE='#'
11681 HAVE_POWERPC_TRUE='#'
11682 HAVE_POWERPC_FALSE=
11685 if test "x$HAVE_ARM" = "xyes"; then
11694 case "${host_os}" in
11698 $as_echo "#define HAVE_OS_WIN32 1" >>confdefs.h
11704 $as_echo "#define HAVE_OS_LINUX 1" >>confdefs.h
11709 if test "$HAVE_WIN32" = "yes"; then
11710 HAVE_OS_WIN32_TRUE=
11711 HAVE_OS_WIN32_FALSE='#'
11713 HAVE_OS_WIN32_TRUE='#'
11714 HAVE_OS_WIN32_FALSE=
11717 if test "$HAVE_LINUX" = "yes"; then
11718 HAVE_OS_LINUX_TRUE=
11719 HAVE_OS_LINUX_FALSE='#'
11721 HAVE_OS_LINUX_TRUE='#'
11722 HAVE_OS_LINUX_FALSE=
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports FPU instructions on PowerPC" >&5
11730 $as_echo_n "checking if compiler supports FPU instructions on PowerPC... " >&6; }
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11738 double x = 0; __asm__ ("fadd 0,0,0"::"f" (x):"32")
11743 if ac_fn_c_try_compile "$LINENO"; then :
11748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11750 if test "X$flag_ok" = Xyes ; then
11751 HAVE_GCC_ASM_POWERPC_FPU=yes
11754 HAVE_GCC_ASM_POWERPC_FPU=no
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
11758 $as_echo "$flag_ok" >&6; }
11760 if test x$HAVE_GCC_ASM_POWERPC_FPU = xyes ; then
11762 $as_echo "#define HAVE_GCC_ASM_POWERPC_FPU 1" >>confdefs.h
11765 if test "x$HAVE_GCC_ASM_POWERPC" = "xyes"; then
11766 HAVE_GCC_ASM_POWERPC_FPU_TRUE=
11767 HAVE_GCC_ASM_POWERPC_FPU_FALSE='#'
11769 HAVE_GCC_ASM_POWERPC_FPU_TRUE='#'
11770 HAVE_GCC_ASM_POWERPC_FPU_FALSE=
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11775 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11776 if test "${ac_cv_c_bigendian+set}" = set; then :
11777 $as_echo_n "(cached) " >&6
11779 ac_cv_c_bigendian=unknown
11780 # See if we're dealing with a universal compiler.
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11783 #ifndef __APPLE_CC__
11784 not a universal capable compiler
11789 if ac_fn_c_try_compile "$LINENO"; then :
11791 # Check for potential -arch flags. It is not universal unless
11792 # there are at least two -arch flags with different values.
11795 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11796 if test -n "$ac_prev"; then
11798 i?86 | x86_64 | ppc | ppc64)
11799 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11802 ac_cv_c_bigendian=universal
11808 elif test "x$ac_word" = "x-arch"; then
11813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11814 if test $ac_cv_c_bigendian = unknown; then
11815 # See if sys/param.h defines the BYTE_ORDER macro.
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11818 #include <sys/types.h>
11819 #include <sys/param.h>
11824 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11825 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11827 bogus endian macros
11834 if ac_fn_c_try_compile "$LINENO"; then :
11835 # It does; now see whether it defined to BIG_ENDIAN or not.
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11838 #include <sys/types.h>
11839 #include <sys/param.h>
11844 #if BYTE_ORDER != BIG_ENDIAN
11852 if ac_fn_c_try_compile "$LINENO"; then :
11853 ac_cv_c_bigendian=yes
11855 ac_cv_c_bigendian=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 if test $ac_cv_c_bigendian = unknown; then
11862 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11865 #include <limits.h>
11870 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11871 bogus endian macros
11878 if ac_fn_c_try_compile "$LINENO"; then :
11879 # It does; now see whether it defined to _BIG_ENDIAN or not.
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11882 #include <limits.h>
11887 #ifndef _BIG_ENDIAN
11895 if ac_fn_c_try_compile "$LINENO"; then :
11896 ac_cv_c_bigendian=yes
11898 ac_cv_c_bigendian=no
11900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11904 if test $ac_cv_c_bigendian = unknown; then
11905 # Compile a test program.
11906 if test "$cross_compiling" = yes; then :
11907 # Try to guess by grepping values from an object file.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 short int ascii_mm[] =
11911 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11912 short int ascii_ii[] =
11913 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11914 int use_ascii (int i) {
11915 return ascii_mm[i] + ascii_ii[i];
11917 short int ebcdic_ii[] =
11918 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11919 short int ebcdic_mm[] =
11920 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11921 int use_ebcdic (int i) {
11922 return ebcdic_mm[i] + ebcdic_ii[i];
11929 return use_ascii (foo) == use_ebcdic (foo);
11934 if ac_fn_c_try_compile "$LINENO"; then :
11935 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11936 ac_cv_c_bigendian=yes
11938 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11939 if test "$ac_cv_c_bigendian" = unknown; then
11940 ac_cv_c_bigendian=no
11942 # finding both strings is unlikely to happen, but who knows?
11943 ac_cv_c_bigendian=unknown
11947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 $ac_includes_default
11956 /* Are we little or big endian? From Harbison&Steele. */
11960 char c[sizeof (long int)];
11963 return u.c[sizeof (long int) - 1] == 1;
11969 if ac_fn_c_try_run "$LINENO"; then :
11970 ac_cv_c_bigendian=no
11972 ac_cv_c_bigendian=yes
11974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11975 conftest.$ac_objext conftest.beam conftest.$ac_ext
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11981 $as_echo "$ac_cv_c_bigendian" >&6; }
11982 case $ac_cv_c_bigendian in #(
11984 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11990 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11994 as_fn_error "unknown endianness
11995 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if unaligned memory access works correctly" >&5
12000 $as_echo_n "checking if unaligned memory access works correctly... " >&6; }
12001 if test x"$as_cv_unaligned_access" = x ; then
12003 alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
12004 $as_echo_n "(blacklisted) " >&6
12005 as_cv_unaligned_access=no
12007 i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
12008 $as_echo_n "(whitelisted) " >&6
12009 as_cv_unaligned_access=yes
12013 $as_echo_n "(cached) " >&6
12015 if test x"$as_cv_unaligned_access" = x ; then
12016 if test "$cross_compiling" = yes; then :
12017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12019 as_fn_error "cannot run test program while cross compiling
12020 See \`config.log' for more details." "$LINENO" 5; }
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 int main(int argc, char **argv)
12027 char array[] = "ABCDEFGH";
12028 unsigned int iarray[2];
12029 memcpy(iarray,array,8);
12030 #define GET(x) (*(unsigned int *)((char *)iarray + (x)))
12031 if(GET(0) != 0x41424344 && GET(0) != 0x44434241) return 1;
12032 if(GET(1) != 0x42434445 && GET(1) != 0x45444342) return 1;
12033 if(GET(2) != 0x43444546 && GET(2) != 0x46454443) return 1;
12034 if(GET(3) != 0x44454647 && GET(3) != 0x47464544) return 1;
12039 if ac_fn_c_try_run "$LINENO"; then :
12040 as_cv_unaligned_access="yes"
12042 as_cv_unaligned_access="no"
12044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12045 conftest.$ac_objext conftest.beam conftest.$ac_ext
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $as_cv_unaligned_access" >&5
12050 $as_echo "$as_cv_unaligned_access" >&6; }
12051 if test "$as_cv_unaligned_access" = "yes"; then
12053 cat >>confdefs.h <<_ACEOF
12054 #define HAVE_UNALIGNED_ACCESS 1
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12061 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12062 if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12063 $as_echo_n "(cached) " >&6
12065 lt_cv_sys_symbol_underscore=no
12066 cat > conftest.$ac_ext <<_LT_EOF
12067 void nm_test_func(){}
12068 int main(){nm_test_func;return 0;}
12070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12071 (eval $ac_compile) 2>&5
12073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12074 test $ac_status = 0; }; then
12075 # Now try to grab the symbols.
12076 ac_nlist=conftest.nm
12077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12078 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12081 test $ac_status = 0; } && test -s "$ac_nlist"; then
12082 # See whether the symbols have a leading underscore.
12083 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12084 lt_cv_sys_symbol_underscore=yes
12086 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12089 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12093 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12096 echo "configure: failed program was:" >&5
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12103 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12104 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12107 if test x${lt_cv_sys_symbol_underscore} = xyes ; then
12109 $as_echo "#define HAVE_SYMBOL_UNDERSCORE 1" >>confdefs.h
12113 # ------ AX CREATE STDINT H -------------------------------------
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
12115 $as_echo_n "checking for stdint types... " >&6; }
12116 ac_stdint_h=`echo liboil/liboil-stdint.h`
12117 # try to shortcircuit - if the default include path of the compiler
12118 # can find a "stdint.h" header then we assume that all compilers can.
12119 if test "${ac_cv_header_stdint_t+set}" = set; then :
12120 $as_echo_n "(cached) " >&6
12123 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
12124 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
12125 old_CFLAGS="$CFLAGS" ; CFLAGS=""
12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12128 #include <stdint.h>
12132 int_least32_t v = 0;
12137 if ac_fn_c_try_compile "$LINENO"; then :
12138 ac_cv_stdint_result="(assuming C99 compatible system)"
12139 ac_cv_header_stdint_t="stdint.h";
12141 ac_cv_header_stdint_t=""
12143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12144 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 #include <stdint.h>
12152 int_least32_t v = 0;
12157 if ac_fn_c_try_compile "$LINENO"; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
12159 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
12161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163 CXXFLAGS="$old_CXXFLAGS"
12164 CPPFLAGS="$old_CPPFLAGS"
12165 CFLAGS="$old_CFLAGS"
12169 v="... $ac_cv_header_stdint_h"
12170 if test "$ac_stdint_h" = "stdint.h" ; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
12172 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
12173 elif test "$ac_stdint_h" = "inttypes.h" ; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
12175 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
12176 elif test "_$ac_cv_header_stdint_t" = "_" ; then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
12178 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
12180 ac_cv_header_stdint="$ac_cv_header_stdint_t"
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
12182 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
12185 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
12188 inttype_headers=`echo | sed -e 's/,/ /g'`
12190 ac_cv_stdint_result="(no helpful system typedefs seen)"
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12193 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12194 if test "${ac_cv_header_stdint_x+set}" = set; then :
12195 $as_echo_n "(cached) " >&6
12198 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12200 $as_echo "(..)" >&6; }
12201 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
12203 unset ac_cv_type_uintptr_t
12204 unset ac_cv_type_uint64_t
12205 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
12207 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12208 ac_cv_header_stdint_x=$i
12213 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12215 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12221 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12225 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
12229 $as_echo "$ac_cv_header_stdint_x" >&6; }
12232 if test "_$ac_cv_header_stdint_x" = "_" ; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12235 $as_echo_n "checking for stdint uint32_t... " >&6; }
12236 if test "${ac_cv_header_stdint_o+set}" = set; then :
12237 $as_echo_n "(cached) " >&6
12240 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12242 $as_echo "(..)" >&6; }
12243 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
12245 unset ac_cv_type_uint32_t
12246 unset ac_cv_type_uint64_t
12247 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
12249 if test "x$ac_cv_type_uint32_t" = x""yes; then :
12250 ac_cv_header_stdint_o=$i
12255 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12257 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12263 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12268 $as_echo_n "checking for stdint uint32_t... " >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
12272 $as_echo "$ac_cv_header_stdint_o" >&6; }
12276 if test "_$ac_cv_header_stdint_x" = "_" ; then
12277 if test "_$ac_cv_header_stdint_o" = "_" ; then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12280 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12281 if test "${ac_cv_header_stdint_u+set}" = set; then :
12282 $as_echo_n "(cached) " >&6
12285 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12287 $as_echo "(..)" >&6; }
12288 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
12289 unset ac_cv_type_u_int32_t
12290 unset ac_cv_type_u_int64_t
12291 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
12293 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
12294 ac_cv_header_stdint_u=$i
12299 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
12301 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
12307 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12312 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
12316 $as_echo "$ac_cv_header_stdint_u" >&6; }
12320 if test "_$ac_cv_header_stdint_x" = "_" ; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
12322 $as_echo_n "checking for stdint datatype model... " >&6; }
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12324 $as_echo "(..)" >&6; }
12326 # The cast to long int works around a bug in the HP C Compiler
12327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12329 # This bug is HP SR number 8606223364.
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12331 $as_echo_n "checking size of char... " >&6; }
12332 if test "${ac_cv_sizeof_char+set}" = set; then :
12333 $as_echo_n "(cached) " >&6
12335 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12338 if test "$ac_cv_type_char" = yes; then
12339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12341 { as_fn_set_status 77
12342 as_fn_error "cannot compute sizeof (char)
12343 See \`config.log' for more details." "$LINENO" 5; }; }
12345 ac_cv_sizeof_char=0
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12351 $as_echo "$ac_cv_sizeof_char" >&6; }
12355 cat >>confdefs.h <<_ACEOF
12356 #define SIZEOF_CHAR $ac_cv_sizeof_char
12360 # The cast to long int works around a bug in the HP C Compiler
12361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12363 # This bug is HP SR number 8606223364.
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12365 $as_echo_n "checking size of short... " >&6; }
12366 if test "${ac_cv_sizeof_short+set}" = set; then :
12367 $as_echo_n "(cached) " >&6
12369 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12372 if test "$ac_cv_type_short" = yes; then
12373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12375 { as_fn_set_status 77
12376 as_fn_error "cannot compute sizeof (short)
12377 See \`config.log' for more details." "$LINENO" 5; }; }
12379 ac_cv_sizeof_short=0
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12385 $as_echo "$ac_cv_sizeof_short" >&6; }
12389 cat >>confdefs.h <<_ACEOF
12390 #define SIZEOF_SHORT $ac_cv_sizeof_short
12394 # The cast to long int works around a bug in the HP C Compiler
12395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12397 # This bug is HP SR number 8606223364.
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12399 $as_echo_n "checking size of int... " >&6; }
12400 if test "${ac_cv_sizeof_int+set}" = set; then :
12401 $as_echo_n "(cached) " >&6
12403 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12406 if test "$ac_cv_type_int" = yes; then
12407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12409 { as_fn_set_status 77
12410 as_fn_error "cannot compute sizeof (int)
12411 See \`config.log' for more details." "$LINENO" 5; }; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12419 $as_echo "$ac_cv_sizeof_int" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SIZEOF_INT $ac_cv_sizeof_int
12428 # The cast to long int works around a bug in the HP C Compiler
12429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12431 # This bug is HP SR number 8606223364.
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12433 $as_echo_n "checking size of long... " >&6; }
12434 if test "${ac_cv_sizeof_long+set}" = set; then :
12435 $as_echo_n "(cached) " >&6
12437 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12440 if test "$ac_cv_type_long" = yes; then
12441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12443 { as_fn_set_status 77
12444 as_fn_error "cannot compute sizeof (long)
12445 See \`config.log' for more details." "$LINENO" 5; }; }
12447 ac_cv_sizeof_long=0
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12453 $as_echo "$ac_cv_sizeof_long" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SIZEOF_LONG $ac_cv_sizeof_long
12462 # The cast to long int works around a bug in the HP C Compiler
12463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12465 # This bug is HP SR number 8606223364.
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
12467 $as_echo_n "checking size of void*... " >&6; }
12468 if test "${ac_cv_sizeof_voidp+set}" = set; then :
12469 $as_echo_n "(cached) " >&6
12471 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
12474 if test "$ac_cv_type_voidp" = yes; then
12475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12477 { as_fn_set_status 77
12478 as_fn_error "cannot compute sizeof (void*)
12479 See \`config.log' for more details." "$LINENO" 5; }; }
12481 ac_cv_sizeof_voidp=0
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
12487 $as_echo "$ac_cv_sizeof_voidp" >&6; }
12491 cat >>confdefs.h <<_ACEOF
12492 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
12496 ac_cv_char_data_model=""
12497 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
12498 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
12499 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
12500 ac_cv_long_data_model=""
12501 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
12502 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
12503 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
12505 $as_echo_n "checking data model... " >&6; }
12506 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
12507 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
12508 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
12509 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
12510 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
12511 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
12512 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
12513 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
12514 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
12515 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
12516 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
12517 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
12518 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
12519 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
12520 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
12521 222/*|333/*|444/*|666/*|888/*) :
12522 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
12523 *) ac_cv_data_model="none" ; n="very unusual model" ;;
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
12526 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
12530 if test "_$ac_cv_header_stdint_x" != "_" ; then
12531 ac_cv_header_stdint="$ac_cv_header_stdint_x"
12532 elif test "_$ac_cv_header_stdint_o" != "_" ; then
12533 ac_cv_header_stdint="$ac_cv_header_stdint_o"
12534 elif test "_$ac_cv_header_stdint_u" != "_" ; then
12535 ac_cv_header_stdint="$ac_cv_header_stdint_u"
12537 ac_cv_header_stdint="stddef.h"
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
12541 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
12543 $as_echo "($ac_cv_header_stdint)" >&6; }
12544 unset ac_cv_type_int_least32_t
12545 unset ac_cv_type_int_fast32_t
12546 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
12548 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
12552 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
12554 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
12558 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
12560 if test "x$ac_cv_type_intmax_t" = x""yes; then :
12565 fi # shortcircut to system "stdint.h"
12566 # ------------------ PREPARE VARIABLES ------------------------------
12567 if test "$GCC" = "yes" ; then
12568 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
12570 ac_cv_stdint_message="using $CC"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
12574 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
12576 # ----------------- DONE inttypes.h checks START header -------------
12577 ac_config_commands="$ac_config_commands $ac_stdint_h"
12581 for ac_header in stdlib.h unistd.h
12583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12584 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12585 eval as_val=\$$as_ac_Header
12586 if test "x$as_val" = x""yes; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12595 for ac_func in getpagesize
12597 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12598 if test "x$ac_cv_func_getpagesize" = x""yes; then :
12599 cat >>confdefs.h <<_ACEOF
12600 #define HAVE_GETPAGESIZE 1
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12607 $as_echo_n "checking for working mmap... " >&6; }
12608 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12609 $as_echo_n "(cached) " >&6
12611 if test "$cross_compiling" = yes; then :
12612 ac_cv_func_mmap_fixed_mapped=no
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12616 $ac_includes_default
12617 /* malloc might have been renamed as rpl_malloc. */
12620 /* Thanks to Mike Haertel and Jim Avera for this test.
12621 Here is a matrix of mmap possibilities:
12622 mmap private not fixed
12623 mmap private fixed at somewhere currently unmapped
12624 mmap private fixed at somewhere already mapped
12625 mmap shared not fixed
12626 mmap shared fixed at somewhere currently unmapped
12627 mmap shared fixed at somewhere already mapped
12628 For private mappings, we should verify that changes cannot be read()
12629 back from the file, nor mmap's back from the file at a different
12630 address. (There have been systems where private was not correctly
12631 implemented like the infamous i386 svr4.0, and systems where the
12632 VM page cache was not coherent with the file system buffer cache
12633 like early versions of FreeBSD and possibly contemporary NetBSD.)
12634 For shared mappings, we should conversely verify that changes get
12635 propagated back to all the places they're supposed to be.
12637 Grep wants private fixed already mapped.
12638 The main things grep needs to know about mmap are:
12639 * does it exist and is it safe to write into the mmap'd area
12640 * how to use it (BSD variants) */
12643 #include <sys/mman.h>
12645 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12649 /* This mess was copied from the GNU getpagesize.h. */
12650 #ifndef HAVE_GETPAGESIZE
12651 /* Assume that all systems that can run configure have sys/param.h. */
12652 # ifndef HAVE_SYS_PARAM_H
12653 # define HAVE_SYS_PARAM_H 1
12656 # ifdef _SC_PAGESIZE
12657 # define getpagesize() sysconf(_SC_PAGESIZE)
12658 # else /* no _SC_PAGESIZE */
12659 # ifdef HAVE_SYS_PARAM_H
12660 # include <sys/param.h>
12661 # ifdef EXEC_PAGESIZE
12662 # define getpagesize() EXEC_PAGESIZE
12663 # else /* no EXEC_PAGESIZE */
12665 # define getpagesize() NBPG * CLSIZE
12668 # endif /* no CLSIZE */
12669 # else /* no NBPG */
12671 # define getpagesize() NBPC
12672 # else /* no NBPC */
12674 # define getpagesize() PAGESIZE
12675 # endif /* PAGESIZE */
12676 # endif /* no NBPC */
12677 # endif /* no NBPG */
12678 # endif /* no EXEC_PAGESIZE */
12679 # else /* no HAVE_SYS_PARAM_H */
12680 # define getpagesize() 8192 /* punt totally */
12681 # endif /* no HAVE_SYS_PARAM_H */
12682 # endif /* no _SC_PAGESIZE */
12684 #endif /* no HAVE_GETPAGESIZE */
12689 char *data, *data2, *data3;
12693 pagesize = getpagesize ();
12695 /* First, make a file with some known garbage in it. */
12696 data = (char *) malloc (pagesize);
12699 for (i = 0; i < pagesize; ++i)
12700 *(data + i) = rand ();
12702 fd = creat ("conftest.mmap", 0600);
12705 if (write (fd, data, pagesize) != pagesize)
12709 /* Next, try to mmap the file at a fixed address which already has
12710 something else allocated at it. If we can, also make sure that
12711 we see the same garbage. */
12712 fd = open ("conftest.mmap", O_RDWR);
12715 data2 = (char *) malloc (2 * pagesize);
12718 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
12719 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12720 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12722 for (i = 0; i < pagesize; ++i)
12723 if (*(data + i) != *(data2 + i))
12726 /* Finally, make sure that changes to the mapped area do not
12727 percolate back to the file as seen by read(). (This is a bug on
12728 some variants of i386 svr4.0.) */
12729 for (i = 0; i < pagesize; ++i)
12730 *(data2 + i) = *(data2 + i) + 1;
12731 data3 = (char *) malloc (pagesize);
12734 if (read (fd, data3, pagesize) != pagesize)
12736 for (i = 0; i < pagesize; ++i)
12737 if (*(data + i) != *(data3 + i))
12743 if ac_fn_c_try_run "$LINENO"; then :
12744 ac_cv_func_mmap_fixed_mapped=yes
12746 ac_cv_func_mmap_fixed_mapped=no
12748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12749 conftest.$ac_objext conftest.beam conftest.$ac_ext
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12754 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12755 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12757 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12760 rm -f conftest.mmap
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
12763 $as_echo_n "checking for rint in -lm... " >&6; }
12764 if test "${ac_cv_lib_m_rint+set}" = set; then :
12765 $as_echo_n "(cached) " >&6
12767 ac_check_lib_save_LIBS=$LIBS
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12787 if ac_fn_c_try_link "$LINENO"; then :
12788 ac_cv_lib_m_rint=yes
12790 ac_cv_lib_m_rint=no
12792 rm -f core conftest.err conftest.$ac_objext \
12793 conftest$ac_exeext conftest.$ac_ext
12794 LIBS=$ac_check_lib_save_LIBS
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
12797 $as_echo "$ac_cv_lib_m_rint" >&6; }
12798 if test "x$ac_cv_lib_m_rint" = x""yes; then :
12800 $as_echo "#define HAVE_RINT 1" >>confdefs.h
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rintf in -lm" >&5
12805 $as_echo_n "checking for rintf in -lm... " >&6; }
12806 if test "${ac_cv_lib_m_rintf+set}" = set; then :
12807 $as_echo_n "(cached) " >&6
12809 ac_check_lib_save_LIBS=$LIBS
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_m_rintf=yes
12832 ac_cv_lib_m_rintf=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rintf" >&5
12839 $as_echo "$ac_cv_lib_m_rintf" >&6; }
12840 if test "x$ac_cv_lib_m_rintf" = x""yes; then :
12842 $as_echo "#define HAVE_RINTF 1" >>confdefs.h
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint in -lm" >&5
12847 $as_echo_n "checking for lrint in -lm... " >&6; }
12848 if test "${ac_cv_lib_m_lrint+set}" = set; then :
12849 $as_echo_n "(cached) " >&6
12851 ac_check_lib_save_LIBS=$LIBS
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 ac_cv_lib_m_lrint=yes
12874 ac_cv_lib_m_lrint=no
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lrint" >&5
12881 $as_echo "$ac_cv_lib_m_lrint" >&6; }
12882 if test "x$ac_cv_lib_m_lrint" = x""yes; then :
12884 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf in -lm" >&5
12889 $as_echo_n "checking for lrintf in -lm... " >&6; }
12890 if test "${ac_cv_lib_m_lrintf+set}" = set; then :
12891 $as_echo_n "(cached) " >&6
12893 ac_check_lib_save_LIBS=$LIBS
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_m_lrintf=yes
12916 ac_cv_lib_m_lrintf=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lrintf" >&5
12923 $as_echo "$ac_cv_lib_m_lrintf" >&6; }
12924 if test "x$ac_cv_lib_m_lrintf" = x""yes; then :
12926 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos in -lm" >&5
12931 $as_echo_n "checking for sincos in -lm... " >&6; }
12932 if test "${ac_cv_lib_m_sincos+set}" = set; then :
12933 $as_echo_n "(cached) " >&6
12935 ac_check_lib_save_LIBS=$LIBS
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_m_sincos=yes
12958 ac_cv_lib_m_sincos=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincos" >&5
12965 $as_echo "$ac_cv_lib_m_sincos" >&6; }
12966 if test "x$ac_cv_lib_m_sincos" = x""yes; then :
12968 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
12973 ac_fn_c_check_header_mongrel "$LINENO" "ieee754.h" "ac_cv_header_ieee754_h" "$ac_includes_default"
12974 if test "x$ac_cv_header_ieee754_h" = x""yes; then :
12976 $as_echo "#define HAVE_IEEE754_H 1" >>confdefs.h
12982 for ac_header in inttypes.h
12984 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12985 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define HAVE_INTTYPES_H 1
12994 for ac_header in sys/time.h
12996 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12997 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
12998 cat >>confdefs.h <<_ACEOF
12999 #define HAVE_SYS_TIME_H 1
13006 for ac_header in unistd.h
13008 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13009 if test "x$ac_cv_header_unistd_h" = x""yes; then :
13010 cat >>confdefs.h <<_ACEOF
13011 #define HAVE_UNISTD_H 1
13019 for ac_func in gettimeofday
13021 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13022 if test "x$ac_cv_func_gettimeofday" = x""yes; then :
13023 cat >>confdefs.h <<_ACEOF
13024 #define HAVE_GETTIMEOFDAY 1
13030 for ac_func in sigaction
13032 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
13033 if test "x$ac_cv_func_sigaction" = x""yes; then :
13034 cat >>confdefs.h <<_ACEOF
13035 #define HAVE_SIGACTION 1
13041 for ac_func in sigsetjmp
13043 ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
13044 if test "x$ac_cv_func_sigsetjmp" = x""yes; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define HAVE_SIGSETJMP 1
13055 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
13056 # These system don't have libm, or don't need it
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13060 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13061 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
13062 $as_echo_n "(cached) " >&6
13064 ac_check_lib_save_LIBS=$LIBS
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13075 char _mwvalidcheckl ();
13079 return _mwvalidcheckl ();
13084 if ac_fn_c_try_link "$LINENO"; then :
13085 ac_cv_lib_mw__mwvalidcheckl=yes
13087 ac_cv_lib_mw__mwvalidcheckl=no
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13094 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13095 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13100 $as_echo_n "checking for cos in -lm... " >&6; }
13101 if test "${ac_cv_lib_m_cos+set}" = set; then :
13102 $as_echo_n "(cached) " >&6
13104 ac_check_lib_save_LIBS=$LIBS
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_m_cos=yes
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13134 $as_echo "$ac_cv_lib_m_cos" >&6; }
13135 if test "x$ac_cv_lib_m_cos" = x""yes; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13142 $as_echo_n "checking for cos in -lm... " >&6; }
13143 if test "${ac_cv_lib_m_cos+set}" = set; then :
13144 $as_echo_n "(cached) " >&6
13146 ac_check_lib_save_LIBS=$LIBS
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_m_cos=yes
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13176 $as_echo "$ac_cv_lib_m_cos" >&6; }
13177 if test "x$ac_cv_lib_m_cos" = x""yes; then :
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13188 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13189 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
13190 $as_echo_n "(cached) " >&6
13192 ac_check_lib_save_LIBS=$LIBS
13194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13203 char clock_gettime ();
13207 return clock_gettime ();
13212 if ac_fn_c_try_link "$LINENO"; then :
13213 ac_cv_lib_rt_clock_gettime=yes
13215 ac_cv_lib_rt_clock_gettime=no
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13222 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13223 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
13225 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clocks" >&5
13234 $as_echo_n "checking for monotonic clocks... " >&6; }
13235 if test "${oil_cv_monotonic_clock+set}" = set; then :
13236 $as_echo_n "(cached) " >&6
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13242 #include <unistd.h>
13244 #if !(defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 && defined(CLOCK_MONOTONIC))
13245 #error No monotonic clock
13251 if ac_fn_c_try_compile "$LINENO"; then :
13252 oil_cv_monotonic_clock=yes
13254 oil_cv_monotonic_clock=no
13256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $oil_cv_monotonic_clock" >&5
13259 $as_echo "$oil_cv_monotonic_clock" >&6; }
13260 if test "$oil_cv_monotonic_clock" = "yes"; then
13262 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
13268 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
13270 save_CFLAGS="$CFLAGS"
13271 CFLAGS="$CFLAGS -Wall"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13284 if ac_fn_c_try_compile "$LINENO"; then :
13289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13290 CFLAGS="$save_CFLAGS"
13292 if test "X$flag_ok" = Xyes ; then
13293 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Wall"
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13300 $as_echo "$flag_ok" >&6; }
13302 if test "x$LIBOIL_CVS" = "xyes"
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
13306 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
13308 save_CFLAGS="$CFLAGS"
13309 CFLAGS="$CFLAGS -Werror"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13322 if ac_fn_c_try_compile "$LINENO"; then :
13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13328 CFLAGS="$save_CFLAGS"
13330 if test "X$flag_ok" = Xyes ; then
13331 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Werror"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13338 $as_echo "$flag_ok" >&6; }
13341 if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-Wa,-maltivec\"" >&5
13344 $as_echo_n "checking to see if compiler understands \"-Wa,-maltivec\"... " >&6; }
13346 save_CFLAGS="$CFLAGS"
13347 CFLAGS="$CFLAGS "-Wa,-maltivec""
13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13360 if ac_fn_c_try_compile "$LINENO"; then :
13365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13366 CFLAGS="$save_CFLAGS"
13368 if test "X$flag_ok" = Xyes ; then
13369 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Wa,-maltivec"
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13376 $as_echo "$flag_ok" >&6; }
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-Wa,-mregnames\"" >&5
13380 $as_echo_n "checking to see if compiler understands \"-Wa,-mregnames\"... " >&6; }
13382 save_CFLAGS="$CFLAGS"
13383 CFLAGS="$CFLAGS "-Wa,-mregnames""
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13396 if ac_fn_c_try_compile "$LINENO"; then :
13401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402 CFLAGS="$save_CFLAGS"
13404 if test "X$flag_ok" = Xyes ; then
13405 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -Wa,-mregnames"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13412 $as_echo "$flag_ok" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-force_cpusubtype_ALL\"" >&5
13416 $as_echo_n "checking to see if compiler understands \"-force_cpusubtype_ALL\"... " >&6; }
13418 save_CFLAGS="$CFLAGS"
13419 CFLAGS="$CFLAGS "-force_cpusubtype_ALL""
13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13432 if ac_fn_c_try_compile "$LINENO"; then :
13437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13438 CFLAGS="$save_CFLAGS"
13440 if test "X$flag_ok" = Xyes ; then
13441 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -force_cpusubtype_ALL"
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13448 $as_echo "$flag_ok" >&6; }
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fno-tree-vectorize\"" >&5
13452 $as_echo_n "checking to see if compiler understands \"-fno-tree-vectorize\"... " >&6; }
13454 save_CFLAGS="$CFLAGS"
13455 CFLAGS="$CFLAGS "-fno-tree-vectorize""
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13468 if ac_fn_c_try_compile "$LINENO"; then :
13473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13474 CFLAGS="$save_CFLAGS"
13476 if test "X$flag_ok" = Xyes ; then
13477 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -fno-tree-vectorize"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13484 $as_echo "$flag_ok" >&6; }
13488 # Check whether --enable-vfp was given.
13489 if test "${enable_vfp+set}" = set; then :
13490 enableval=$enable_vfp; enable_vfp=$enableval
13495 if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-Wa,-mfpu=vfp\"" >&5
13498 $as_echo_n "checking to see if compiler understands \"-Wa,-mfpu=vfp\"... " >&6; }
13500 save_CFLAGS="$CFLAGS"
13501 CFLAGS="$CFLAGS "-Wa,-mfpu=vfp""
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13514 if ac_fn_c_try_compile "$LINENO"; then :
13519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13520 CFLAGS="$save_CFLAGS"
13522 if test "X$flag_ok" = Xyes ; then
13523 VFP_CFLAGS="$VFP_CFLAGS -mfpu=vfp"
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13530 $as_echo "$flag_ok" >&6; }
13532 #AS_COMPILER_FLAG(["-Wa,-mfloat-abi=softfp"],
13533 # [VFP_CFLAGS="$VFP_CFLAGS -mfloat-abi=softfp"],
13538 #AS_COMPILER_FLAG(["-fasm-blocks"], HAVE_ASM_BLOCKS=yes, HAVE_ASM_BLOCKS=no)
13540 if test "x$HAVE_ASM_BLOCKS" = "xyes"
13542 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -fasm-blocks"
13544 if test "x$HAVE_ASM_BLOCKS" = "xyes"; then
13545 HAVE_ASM_BLOCKS_TRUE=
13546 HAVE_ASM_BLOCKS_FALSE='#'
13548 HAVE_ASM_BLOCKS_TRUE='#'
13549 HAVE_ASM_BLOCKS_FALSE=
13553 #if test "x$HAVE_I386" = "xyes"
13555 # # I'd write a test for this, but as of 4.1.2, gcc is still broken
13556 # AC_DEFINE(USE_SSE_WRAPPER, 1, [Defined if SSE functions need stack alignment wrappers])
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports MMX intrinsics" >&5
13561 $as_echo_n "checking if compiler supports MMX intrinsics... " >&6; }
13563 save_CFLAGS="$CFLAGS"
13564 CFLAGS="$CFLAGS -mmmx"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <mmintrin.h>
13576 if ac_fn_c_try_compile "$LINENO"; then :
13581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13582 CFLAGS="$save_CFLAGS"
13585 if test "X$flag_ok" = Xyes ; then
13586 HAVE_MMX_INTRINSICS=yes
13589 HAVE_MMX_INTRINSICS=no
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13593 $as_echo "$flag_ok" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports SSE intrinsics" >&5
13597 $as_echo_n "checking if compiler supports SSE intrinsics... " >&6; }
13599 save_CFLAGS="$CFLAGS"
13600 CFLAGS="$CFLAGS -msse"
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <xmmintrin.h>
13608 #ifdef __GNUC_MINOR__
13609 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 4002
13610 #error GCC before 4.2 has critical bugs compiling SSE intrinsics
13613 __m128 a; a = _mm_or_ps(a,a)
13618 if ac_fn_c_try_compile "$LINENO"; then :
13623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13624 CFLAGS="$save_CFLAGS"
13627 if test "X$flag_ok" = Xyes ; then
13628 HAVE_SSE_INTRINSICS=yes
13631 HAVE_SSE_INTRINSICS=no
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13635 $as_echo "$flag_ok" >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports SSE2 intrinsics" >&5
13639 $as_echo_n "checking if compiler supports SSE2 intrinsics... " >&6; }
13641 save_CFLAGS="$CFLAGS"
13642 CFLAGS="$CFLAGS -msse2"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <emmintrin.h>
13650 #ifdef __GNUC_MINOR__
13651 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 4002
13652 #error GCC before 4.2 has critical bugs compiling SSE2 intrinsics
13655 __m128i a; a = _mm_setzero_si128(); a = _mm_srli_epi16(a,8)
13660 if ac_fn_c_try_compile "$LINENO"; then :
13665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 CFLAGS="$save_CFLAGS"
13668 SSE2_CFLAGS="-msse2"
13669 if test "X$flag_ok" = Xyes ; then
13670 HAVE_SSE2_INTRINSICS=yes
13673 HAVE_SSE2_INTRINSICS=no
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13677 $as_echo "$flag_ok" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports SSE3 intrinsics" >&5
13681 $as_echo_n "checking if compiler supports SSE3 intrinsics... " >&6; }
13683 save_CFLAGS="$CFLAGS"
13684 CFLAGS="$CFLAGS -msse3"
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 #include <pmmintrin.h>
13692 #ifdef __GNUC_MINOR__
13693 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 4002
13694 #error GCC before 4.2 has critical bugs compiling SSE2 intrinsics
13697 __m128 a; a = _mm_addsub_ps(a,a)
13702 if ac_fn_c_try_compile "$LINENO"; then :
13707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13708 CFLAGS="$save_CFLAGS"
13710 SSE3_CFLAGS="-msse3"
13711 if test "X$flag_ok" = Xyes ; then
13712 HAVE_SSE3_INTRINSICS=yes
13715 HAVE_SSE3_INTRINSICS=no
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13719 $as_echo "$flag_ok" >&6; }
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports 3DNOW intrinsics" >&5
13723 $as_echo_n "checking if compiler supports 3DNOW intrinsics... " >&6; }
13725 save_CFLAGS="$CFLAGS"
13726 CFLAGS="$CFLAGS -m3dnow"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13729 #include <mm3dnow.h>
13738 if ac_fn_c_try_compile "$LINENO"; then :
13743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744 CFLAGS="$save_CFLAGS"
13746 _3DNOW_CFLAGS="-m3dnow"
13747 if test "X$flag_ok" = Xyes ; then
13748 HAVE_3DNOW_INTRINSICS=yes
13751 HAVE_3DNOW_INTRINSICS=no
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13755 $as_echo "$flag_ok" >&6; }
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports 3DNOWEXT intrinsics" >&5
13759 $as_echo_n "checking if compiler supports 3DNOWEXT intrinsics... " >&6; }
13761 save_CFLAGS="$CFLAGS"
13762 CFLAGS="$CFLAGS -m3dnow -march=athlon"
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13765 #include <mm3dnow.h>
13769 __m64 a;a=_m_pf2iw(a)
13774 if ac_fn_c_try_compile "$LINENO"; then :
13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13780 CFLAGS="$save_CFLAGS"
13782 _3DNOWEXT_CFLAGS="-m3dnow -march=athlon"
13783 if test "X$flag_ok" = Xyes ; then
13784 HAVE_3DNOWEXT_INTRINSICS=yes
13787 HAVE_3DNOWEXT_INTRINSICS=no
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13791 $as_echo "$flag_ok" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports ALTIVEC intrinsics" >&5
13795 $as_echo_n "checking if compiler supports ALTIVEC intrinsics... " >&6; }
13797 save_CFLAGS="$CFLAGS"
13798 CFLAGS="$CFLAGS -maltivec"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 #include <altivec.h>
13805 __vector a; a = vec_or(a,a)
13810 if ac_fn_c_try_compile "$LINENO"; then :
13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13816 CFLAGS="$save_CFLAGS"
13818 ALTIVEC_CFLAGS="-maltivec"
13819 if test "X$flag_ok" = Xyes ; then
13820 HAVE_ALTIVEC_INTRINSICS=yes
13823 HAVE_ALTIVEC_INTRINSICS=no
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13827 $as_echo "$flag_ok" >&6; }
13830 if test "x$HAVE_MMX_INTRINSICS" = "xyes"; then
13831 HAVE_MMX_INTRINSICS_TRUE=
13832 HAVE_MMX_INTRINSICS_FALSE='#'
13834 HAVE_MMX_INTRINSICS_TRUE='#'
13835 HAVE_MMX_INTRINSICS_FALSE=
13838 if test "x$HAVE_SSE_INTRINSICS" = "xyes"; then
13839 HAVE_SSE_INTRINSICS_TRUE=
13840 HAVE_SSE_INTRINSICS_FALSE='#'
13842 HAVE_SSE_INTRINSICS_TRUE='#'
13843 HAVE_SSE_INTRINSICS_FALSE=
13846 if test "x$HAVE_SSE2_INTRINSICS" = "xyes"; then
13847 HAVE_SSE2_INTRINSICS_TRUE=
13848 HAVE_SSE2_INTRINSICS_FALSE='#'
13850 HAVE_SSE2_INTRINSICS_TRUE='#'
13851 HAVE_SSE2_INTRINSICS_FALSE=
13854 if test "x$HAVE_SSE3_INTRINSICS" = "xyes"; then
13855 HAVE_SSE3_INTRINSICS_TRUE=
13856 HAVE_SSE3_INTRINSICS_FALSE='#'
13858 HAVE_SSE3_INTRINSICS_TRUE='#'
13859 HAVE_SSE3_INTRINSICS_FALSE=
13862 if test "x$HAVE_3DNOW_INTRINSICS" = "xyes"; then
13863 HAVE_3DNOW_INTRINSICS_TRUE=
13864 HAVE_3DNOW_INTRINSICS_FALSE='#'
13866 HAVE_3DNOW_INTRINSICS_TRUE='#'
13867 HAVE_3DNOW_INTRINSICS_FALSE=
13870 if test "x$HAVE_3DNOWEXT_INTRINSICS" = "xyes"; then
13871 HAVE_3DNOWEXT_INTRINSICS_TRUE=
13872 HAVE_3DNOWEXT_INTRINSICS_FALSE='#'
13874 HAVE_3DNOWEXT_INTRINSICS_TRUE='#'
13875 HAVE_3DNOWEXT_INTRINSICS_FALSE=
13878 if test "x$HAVE_ALTIVEC_INTRINSICS" = "xyes"; then
13879 HAVE_ALTIVEC_INTRINSICS_TRUE=
13880 HAVE_ALTIVEC_INTRINSICS_FALSE='#'
13882 HAVE_ALTIVEC_INTRINSICS_TRUE='#'
13883 HAVE_ALTIVEC_INTRINSICS_FALSE=
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction" >&5
13897 $as_echo_n "checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction... " >&6; }
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13909 #ifdef __GNUC_MINOR__
13910 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
13911 #error GCC before 3.4 has critical bugs compiling inline assembly
13914 __asm__ ("pmaddubsw %%mm0, %%mm0"::)
13919 if ac_fn_c_try_compile "$LINENO"; then :
13924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13926 if test "X$flag_ok" = Xyes ; then
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13934 $as_echo "$flag_ok" >&6; }
13936 if test "x$HAVE_SSSE3_ASM" = xyes ; then
13938 $as_echo "#define HAVE_SSSE3_ASM 1" >>confdefs.h
13943 $as_echo "#define OIL_EXPORTS 1" >>confdefs.h
13946 LIBOIL_CFLAGS="$LIBOIL_CFLAGS -D_BSD_SOURCE -D_GNU_SOURCE -I\$(top_srcdir) -DOIL_ENABLE_UNSTABLE_API"
13949 LIBOIL_LIBS="\$(top_builddir)/liboil/liboil-$LIBOIL_MAJORMINOR.la $LIBM $LIBRT"
13952 pkgconfigdir="\$(libdir)/pkgconfig"
13955 ac_config_files="$ac_config_files Makefile doc/Makefile liboil/Makefile liboil/amd64/Makefile liboil/3dnow/Makefile liboil/c/Makefile liboil/colorspace/Makefile liboil/conv/Makefile liboil/copy/Makefile liboil/dct/Makefile liboil/deprecated/Makefile liboil/fb/Makefile liboil/i386/Makefile liboil/i386_amd64/Makefile liboil/jpeg/Makefile liboil/math/Makefile liboil/md5/Makefile liboil/mmx/Makefile liboil/motovec/Makefile liboil/powerpc/Makefile liboil/powerpc_asm_blocks/Makefile liboil/ref/Makefile liboil/simdpack/Makefile liboil/sse/Makefile liboil/utf8/Makefile liboil/arm/Makefile testsuite/Makefile testsuite/instruction/Makefile examples/Makefile examples/audioresample/Makefile examples/huffman/Makefile examples/jpeg/Makefile examples/md5/Makefile examples/taylor/Makefile examples/uberopt/Makefile examples/videoscale/Makefile examples/work/Makefile liboil-uninstalled.pc liboil.pc"
13957 cat >confcache <<\_ACEOF
13958 # This file is a shell script that caches the results of configure
13959 # tests run on this system so they can be shared between configure
13960 # scripts and configure runs, see configure's option --config-cache.
13961 # It is not useful on other systems. If it contains results you don't
13962 # want to keep, you may remove or edit it.
13964 # config.status only pays attention to the cache file if you give it
13965 # the --recheck option to rerun configure.
13967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13969 # following values.
13973 # The following way of writing the cache mishandles newlines in values,
13974 # but we know of no workaround that is simple, portable, and efficient.
13975 # So, we kill variables containing newlines.
13976 # Ultrix sh set writes to stderr and can't be redirected directly,
13977 # and sets the high bit in the cache file unless we assign to the vars.
13979 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13980 eval ac_val=\$$ac_var
13984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13988 _ | IFS | as_nl) ;; #(
13989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13990 *) { eval $ac_var=; unset $ac_var;} ;;
13996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13997 *${as_nl}ac_space=\ *)
13998 # `set' does not quote correctly, so add quotes: double-quote
13999 # substitution turns \\\\ into \\, and sed turns \\ into \.
14002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14005 # `set' quotes correctly as required by POSIX, so do not add quotes.
14006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14020 if test -w "$cache_file"; then
14021 test "x$cache_file" != "x/dev/null" &&
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14023 $as_echo "$as_me: updating cache $cache_file" >&6;}
14024 cat confcache >$cache_file
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14027 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14032 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14033 # Let make expand exec_prefix.
14034 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14036 DEFS=-DHAVE_CONFIG_H
14040 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14041 # 1. Remove the extension, and $U if already installed.
14042 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14043 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14044 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14045 # will be set to the directory where LIBOBJS objects are built.
14046 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14047 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14049 LIBOBJS=$ac_libobjs
14051 LTLIBOBJS=$ac_ltlibobjs
14054 if test -n "$EXEEXT"; then
14056 am__EXEEXT_FALSE='#'
14058 am__EXEEXT_TRUE='#'
14062 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14063 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14066 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14067 as_fn_error "conditional \"AMDEP\" was never defined.
14068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14070 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14071 as_fn_error "conditional \"am__fastdepCC\" was never defined.
14072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14074 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14075 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
14076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14078 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
14079 as_fn_error "conditional \"HAVE_GLIB\" was never defined.
14080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14082 if test -z "${USE_ALT_OPT_TRUE}" && test -z "${USE_ALT_OPT_FALSE}"; then
14083 as_fn_error "conditional \"USE_ALT_OPT\" was never defined.
14084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14086 if test -z "${USE_NEW_ABI_TRUE}" && test -z "${USE_NEW_ABI_FALSE}"; then
14087 as_fn_error "conditional \"USE_NEW_ABI\" was never defined.
14088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14090 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14091 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
14092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14094 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14095 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14098 if test -z "${HAVE_GCC_ASM_TRUE}" && test -z "${HAVE_GCC_ASM_FALSE}"; then
14099 as_fn_error "conditional \"HAVE_GCC_ASM\" was never defined.
14100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14102 if test -z "${HAVE_I386_TRUE}" && test -z "${HAVE_I386_FALSE}"; then
14103 as_fn_error "conditional \"HAVE_I386\" was never defined.
14104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14106 if test -z "${HAVE_AMD64_TRUE}" && test -z "${HAVE_AMD64_FALSE}"; then
14107 as_fn_error "conditional \"HAVE_AMD64\" was never defined.
14108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14110 if test -z "${HAVE_POWERPC_TRUE}" && test -z "${HAVE_POWERPC_FALSE}"; then
14111 as_fn_error "conditional \"HAVE_POWERPC\" was never defined.
14112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14114 if test -z "${HAVE_ARM_TRUE}" && test -z "${HAVE_ARM_FALSE}"; then
14115 as_fn_error "conditional \"HAVE_ARM\" was never defined.
14116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14118 if test -z "${HAVE_OS_WIN32_TRUE}" && test -z "${HAVE_OS_WIN32_FALSE}"; then
14119 as_fn_error "conditional \"HAVE_OS_WIN32\" was never defined.
14120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14122 if test -z "${HAVE_OS_LINUX_TRUE}" && test -z "${HAVE_OS_LINUX_FALSE}"; then
14123 as_fn_error "conditional \"HAVE_OS_LINUX\" was never defined.
14124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14126 if test -z "${HAVE_GCC_ASM_POWERPC_FPU_TRUE}" && test -z "${HAVE_GCC_ASM_POWERPC_FPU_FALSE}"; then
14127 as_fn_error "conditional \"HAVE_GCC_ASM_POWERPC_FPU\" was never defined.
14128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14131 if test -z "${HAVE_ASM_BLOCKS_TRUE}" && test -z "${HAVE_ASM_BLOCKS_FALSE}"; then
14132 as_fn_error "conditional \"HAVE_ASM_BLOCKS\" was never defined.
14133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14135 if test -z "${HAVE_MMX_INTRINSICS_TRUE}" && test -z "${HAVE_MMX_INTRINSICS_FALSE}"; then
14136 as_fn_error "conditional \"HAVE_MMX_INTRINSICS\" was never defined.
14137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14139 if test -z "${HAVE_SSE_INTRINSICS_TRUE}" && test -z "${HAVE_SSE_INTRINSICS_FALSE}"; then
14140 as_fn_error "conditional \"HAVE_SSE_INTRINSICS\" was never defined.
14141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14143 if test -z "${HAVE_SSE2_INTRINSICS_TRUE}" && test -z "${HAVE_SSE2_INTRINSICS_FALSE}"; then
14144 as_fn_error "conditional \"HAVE_SSE2_INTRINSICS\" was never defined.
14145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14147 if test -z "${HAVE_SSE3_INTRINSICS_TRUE}" && test -z "${HAVE_SSE3_INTRINSICS_FALSE}"; then
14148 as_fn_error "conditional \"HAVE_SSE3_INTRINSICS\" was never defined.
14149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14151 if test -z "${HAVE_3DNOW_INTRINSICS_TRUE}" && test -z "${HAVE_3DNOW_INTRINSICS_FALSE}"; then
14152 as_fn_error "conditional \"HAVE_3DNOW_INTRINSICS\" was never defined.
14153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14155 if test -z "${HAVE_3DNOWEXT_INTRINSICS_TRUE}" && test -z "${HAVE_3DNOWEXT_INTRINSICS_FALSE}"; then
14156 as_fn_error "conditional \"HAVE_3DNOWEXT_INTRINSICS\" was never defined.
14157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14159 if test -z "${HAVE_ALTIVEC_INTRINSICS_TRUE}" && test -z "${HAVE_ALTIVEC_INTRINSICS_FALSE}"; then
14160 as_fn_error "conditional \"HAVE_ALTIVEC_INTRINSICS\" was never defined.
14161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14164 : ${CONFIG_STATUS=./config.status}
14166 ac_clean_files_save=$ac_clean_files
14167 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14169 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14171 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14173 # Generated by $as_me.
14174 # Run this file to recreate the current configuration.
14175 # Compiler output produced by configure, useful for debugging
14176 # configure, is in config.log if it exists.
14179 ac_cs_recheck=false
14182 SHELL=\${CONFIG_SHELL-$SHELL}
14185 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14186 ## -------------------- ##
14187 ## M4sh Initialization. ##
14188 ## -------------------- ##
14190 # Be more Bourne compatible
14191 DUALCASE=1; export DUALCASE # for MKS sh
14192 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14195 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14196 # is contrary to our usage. Disable this feature.
14197 alias -g '${1+"$@"}'='"$@"'
14198 setopt NO_GLOB_SUBST
14200 case `(set -o) 2>/dev/null` in #(
14212 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14213 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14214 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14216 # Prefer a ksh shell builtin over an external printf program on Solaris,
14217 # but without wasting forks for bash or zsh.
14218 if test -z "$BASH_VERSION$ZSH_VERSION" \
14219 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14220 as_echo='print -r --'
14221 as_echo_n='print -rn --'
14222 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14223 as_echo='printf %s\n'
14224 as_echo_n='printf %s'
14226 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14227 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14228 as_echo_n='/usr/ucb/echo -n'
14230 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14231 as_echo_n_body='eval
14235 expr "X$arg" : "X\\(.*\\)$as_nl";
14236 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14238 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14240 export as_echo_n_body
14241 as_echo_n='sh -c $as_echo_n_body as_echo'
14243 export as_echo_body
14244 as_echo='sh -c $as_echo_body as_echo'
14247 # The user is always right.
14248 if test "${PATH_SEPARATOR+set}" != set; then
14250 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14251 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14258 # We need space, tab and new line, in precisely that order. Quoting is
14259 # there to prevent editors from complaining about space-tab.
14260 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14261 # splitting by setting IFS to empty value.)
14264 # Find who we are. Look in the path if we contain no directory separator.
14266 *[\\/]* ) as_myself=$0 ;;
14267 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14268 for as_dir in $PATH
14271 test -z "$as_dir" && as_dir=.
14272 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14278 # We did not find ourselves, most probably we were run as `sh COMMAND'
14279 # in which case we are not to be found in the path.
14280 if test "x$as_myself" = x; then
14283 if test ! -f "$as_myself"; then
14284 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14288 # Unset variables that we do not need and which cause bugs (e.g. in
14289 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14290 # suppresses any "Segmentation fault" message there. '((' could
14291 # trigger a bug in pdksh 5.2.14.
14292 for as_var in BASH_ENV ENV MAIL MAILPATH
14293 do eval test x\${$as_var+set} = xset \
14294 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14307 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14310 # as_fn_error ERROR [LINENO LOG_FD]
14311 # ---------------------------------
14312 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14313 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14314 # script with status $?, using 1 if that was 0.
14317 as_status=$?; test $as_status -eq 0 && as_status=1
14319 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14320 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14322 $as_echo "$as_me: error: $1" >&2
14323 as_fn_exit $as_status
14327 # as_fn_set_status STATUS
14328 # -----------------------
14329 # Set $? to STATUS, without forking.
14330 as_fn_set_status ()
14333 } # as_fn_set_status
14335 # as_fn_exit STATUS
14336 # -----------------
14337 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14341 as_fn_set_status $1
14347 # Portably unset VAR.
14350 { eval $1=; unset $1;}
14352 as_unset=as_fn_unset
14353 # as_fn_append VAR VALUE
14354 # ----------------------
14355 # Append the text in VALUE to the end of the definition contained in VAR. Take
14356 # advantage of any shell optimizations that allow amortized linear growth over
14357 # repeated appends, instead of the typical quadratic growth present in naive
14359 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14360 eval 'as_fn_append ()
14371 # as_fn_arith ARG...
14372 # ------------------
14373 # Perform arithmetic evaluation on the ARGs, and store the result in the
14374 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14375 # must be portable across $(()) and expr.
14376 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14377 eval 'as_fn_arith ()
14384 as_val=`expr "$@" || test $? -eq 1`
14389 if expr a : '\(a\)' >/dev/null 2>&1 &&
14390 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14396 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14397 as_basename=basename
14402 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14408 as_me=`$as_basename -- "$0" ||
14409 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14410 X"$0" : 'X\(//\)$' \| \
14411 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14413 sed '/^.*\/\([^/][^/]*\)\/*$/{
14427 # Avoid depending upon Character Ranges.
14428 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14429 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14430 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14431 as_cr_digits='0123456789'
14432 as_cr_alnum=$as_cr_Letters$as_cr_digits
14434 ECHO_C= ECHO_N= ECHO_T=
14435 case `echo -n x` in #(((((
14437 case `echo 'xy\c'` in
14438 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14440 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14447 rm -f conf$$ conf$$.exe conf$$.file
14448 if test -d conf$$.dir; then
14449 rm -f conf$$.dir/conf$$.file
14452 mkdir conf$$.dir 2>/dev/null
14454 if (echo >conf$$.file) 2>/dev/null; then
14455 if ln -s conf$$.file conf$$ 2>/dev/null; then
14457 # ... but there are two gotchas:
14458 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14459 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14460 # In both cases, we have to default to `cp -p'.
14461 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14463 elif ln conf$$.file conf$$ 2>/dev/null; then
14471 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14472 rmdir conf$$.dir 2>/dev/null
14477 # Create "$as_dir" as a directory, including parents if necessary.
14482 -*) as_dir=./$as_dir;;
14484 test -d "$as_dir" || eval $as_mkdir_p || {
14488 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14489 *) as_qdir=$as_dir;;
14491 as_dirs="'$as_qdir' $as_dirs"
14492 as_dir=`$as_dirname -- "$as_dir" ||
14493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14494 X"$as_dir" : 'X\(//\)[^/]' \| \
14495 X"$as_dir" : 'X\(//\)$' \| \
14496 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14497 $as_echo X"$as_dir" |
14498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14502 /^X\(\/\/\)[^/].*/{
14515 test -d "$as_dir" && break
14517 test -z "$as_dirs" || eval "mkdir $as_dirs"
14518 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14522 if mkdir -p . 2>/dev/null; then
14523 as_mkdir_p='mkdir -p "$as_dir"'
14525 test -d ./-p && rmdir ./-p
14529 if test -x / >/dev/null 2>&1; then
14530 as_test_x='test -x'
14532 if ls -dL / >/dev/null 2>&1; then
14539 if test -d "$1"; then
14545 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14546 ???[sx]*):;;*)false;;esac;fi
14550 as_executable_p=$as_test_x
14552 # Sed expression to map a string onto a valid CPP name.
14553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14555 # Sed expression to map a string onto a valid variable name.
14556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14560 ## ----------------------------------- ##
14561 ## Main body of $CONFIG_STATUS script. ##
14562 ## ----------------------------------- ##
14564 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14567 # Save the log message, to keep $0 and so on meaningful, and to
14568 # report actual input values of CONFIG_FILES etc. instead of their
14569 # values after options handling.
14571 This file was extended by liboil $as_me 0.3.17, which was
14572 generated by GNU Autoconf 2.64. Invocation command line was
14574 CONFIG_FILES = $CONFIG_FILES
14575 CONFIG_HEADERS = $CONFIG_HEADERS
14576 CONFIG_LINKS = $CONFIG_LINKS
14577 CONFIG_COMMANDS = $CONFIG_COMMANDS
14580 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14585 case $ac_config_files in *"
14586 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14589 case $ac_config_headers in *"
14590 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14595 # Files that config.status was made for.
14596 config_files="$ac_config_files"
14597 config_headers="$ac_config_headers"
14598 config_commands="$ac_config_commands"
14602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14604 \`$as_me' instantiates files and other configuration actions
14605 from templates according to the current configuration. Unless the files
14606 and actions are specified as TAGs, all are instantiated by default.
14608 Usage: $0 [OPTION]... [TAG]...
14610 -h, --help print this help, then exit
14611 -V, --version print version number and configuration settings, then exit
14612 -q, --quiet, --silent
14613 do not print progress messages
14614 -d, --debug don't remove temporary files
14615 --recheck update $as_me by reconfiguring in the same conditions
14616 --file=FILE[:TEMPLATE]
14617 instantiate the configuration file FILE
14618 --header=FILE[:TEMPLATE]
14619 instantiate the configuration header FILE
14621 Configuration files:
14624 Configuration headers:
14627 Configuration commands:
14630 Report bugs to the package provider."
14633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14635 liboil config.status 0.3.17
14636 configured by $0, generated by GNU Autoconf 2.64,
14637 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14639 Copyright (C) 2009 Free Software Foundation, Inc.
14640 This config.status script is free software; the Free Software Foundation
14641 gives unlimited permission to copy, distribute and modify it."
14648 test -n "\$AWK" || AWK=awk
14651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14652 # The default lists apply if the user does not specify any file.
14658 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14659 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14670 # Handling of the options.
14671 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14673 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14674 $as_echo "$ac_cs_version"; exit ;;
14675 --debug | --debu | --deb | --de | --d | -d )
14677 --file | --fil | --fi | --f )
14680 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14682 as_fn_append CONFIG_FILES " '$ac_optarg'"
14683 ac_need_defaults=false;;
14684 --header | --heade | --head | --hea )
14687 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14689 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14690 ac_need_defaults=false;;
14692 # Conflict between --help and --header
14693 as_fn_error "ambiguous option: \`$1'
14694 Try \`$0 --help' for more information.";;
14695 --help | --hel | -h )
14696 $as_echo "$ac_cs_usage"; exit ;;
14697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14701 # This is an error.
14702 -*) as_fn_error "unrecognized option: \`$1'
14703 Try \`$0 --help' for more information." ;;
14705 *) as_fn_append ac_config_targets " $1"
14706 ac_need_defaults=false ;;
14712 ac_configure_extra_args=
14714 if $ac_cs_silent; then
14716 ac_configure_extra_args="$ac_configure_extra_args --silent"
14720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14721 if \$ac_cs_recheck; then
14722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14725 CONFIG_SHELL='$SHELL'
14726 export CONFIG_SHELL
14731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14736 ## Running $as_me. ##
14742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14749 # The HP-UX ksh and POSIX shell print the target directory to stdout
14750 # if CDPATH is set.
14751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14753 sed_quote_subst='$sed_quote_subst'
14754 double_quote_subst='$double_quote_subst'
14755 delay_variable_subst='$delay_variable_subst'
14756 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14757 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14758 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14759 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14760 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14761 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14762 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14763 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14764 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14765 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14766 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14767 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14768 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14769 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14770 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14771 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14772 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14773 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14774 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14775 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14776 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14777 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14778 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14779 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14780 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14781 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14782 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14783 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14784 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14785 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14786 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14787 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14788 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14789 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14790 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14791 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14792 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14793 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14794 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14795 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14796 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14797 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14798 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14799 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14800 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14801 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14802 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"`'
14803 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"`'
14804 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14805 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14806 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14807 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14808 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14809 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14810 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14811 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14812 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14813 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14814 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14815 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14816 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14817 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14818 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14819 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14820 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14821 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14822 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14823 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14824 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14825 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14826 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14827 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14828 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14829 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14830 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14831 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14832 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14833 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14834 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14835 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14836 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14837 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14838 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14839 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14840 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14841 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14842 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14843 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14844 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14845 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14846 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14847 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14848 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14849 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14850 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14851 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14852 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14853 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14854 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14855 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14856 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14857 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14858 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14859 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14860 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14861 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14862 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14863 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14864 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14865 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14866 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14867 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14868 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14869 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14870 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14871 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14872 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14873 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14874 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14875 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14878 LTCFLAGS='$LTCFLAGS'
14879 compiler='$compiler_DEFAULT'
14881 # Quote evaled strings.
14892 deplibs_check_method \
14901 lt_cv_sys_global_symbol_pipe \
14902 lt_cv_sys_global_symbol_to_cdecl \
14903 lt_cv_sys_global_symbol_to_c_name_address \
14904 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14907 lt_prog_compiler_no_builtin_flag \
14908 lt_prog_compiler_wl \
14909 lt_prog_compiler_pic \
14910 lt_prog_compiler_static \
14911 lt_cv_prog_compiler_c_o \
14919 export_dynamic_flag_spec \
14920 whole_archive_flag_spec \
14921 compiler_needs_object \
14923 allow_undefined_flag \
14924 no_undefined_flag \
14925 hardcode_libdir_flag_spec \
14926 hardcode_libdir_flag_spec_ld \
14927 hardcode_libdir_separator \
14932 variables_saved_for_relink \
14934 library_names_spec \
14939 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14940 *[\\\\\\\`\\"\\\$]*)
14941 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14944 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14949 # Double-quote double-evaled strings.
14950 for var in reload_cmds \
14951 old_postinstall_cmds \
14952 old_postuninstall_cmds \
14954 extract_expsyms_cmds \
14955 old_archive_from_new_cmds \
14956 old_archive_from_expsyms_cmds \
14958 archive_expsym_cmds \
14960 module_expsym_cmds \
14961 export_symbols_cmds \
14964 postuninstall_cmds \
14966 sys_lib_search_path_spec \
14967 sys_lib_dlsearch_path_spec; do
14968 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14969 *[\\\\\\\`\\"\\\$]*)
14970 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14973 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14978 # Fix-up fallback echo if it was mangled by the above quoting rules.
14980 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14984 ac_aux_dir='$ac_aux_dir'
14985 xsi_shell='$xsi_shell'
14986 lt_shell_append='$lt_shell_append'
14988 # See if we are running on zsh, and set the options which allow our
14989 # commands through without removal of \ escapes INIT.
14990 if test -n "\${ZSH_VERSION+set}" ; then
14991 setopt NO_GLOB_SUBST
14997 TIMESTAMP='$TIMESTAMP'
15003 # variables for create stdint.h replacement
15006 ac_stdint_h="$ac_stdint_h"
15007 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
15008 ac_cv_stdint_message="$ac_cv_stdint_message"
15009 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
15010 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
15011 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
15012 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
15013 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15014 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15015 ac_cv_char_data_model="$ac_cv_char_data_model"
15016 ac_cv_long_data_model="$ac_cv_long_data_model"
15017 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15018 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15019 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
15024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15026 # Handling of arguments.
15027 for ac_config_target in $ac_config_targets
15029 case $ac_config_target in
15030 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15031 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15032 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15033 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
15034 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15035 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15036 "liboil/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/Makefile" ;;
15037 "liboil/amd64/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/amd64/Makefile" ;;
15038 "liboil/3dnow/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/3dnow/Makefile" ;;
15039 "liboil/c/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/c/Makefile" ;;
15040 "liboil/colorspace/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/colorspace/Makefile" ;;
15041 "liboil/conv/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/conv/Makefile" ;;
15042 "liboil/copy/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/copy/Makefile" ;;
15043 "liboil/dct/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/dct/Makefile" ;;
15044 "liboil/deprecated/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/deprecated/Makefile" ;;
15045 "liboil/fb/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/fb/Makefile" ;;
15046 "liboil/i386/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/i386/Makefile" ;;
15047 "liboil/i386_amd64/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/i386_amd64/Makefile" ;;
15048 "liboil/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/jpeg/Makefile" ;;
15049 "liboil/math/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/math/Makefile" ;;
15050 "liboil/md5/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/md5/Makefile" ;;
15051 "liboil/mmx/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/mmx/Makefile" ;;
15052 "liboil/motovec/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/motovec/Makefile" ;;
15053 "liboil/powerpc/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/powerpc/Makefile" ;;
15054 "liboil/powerpc_asm_blocks/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/powerpc_asm_blocks/Makefile" ;;
15055 "liboil/ref/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/ref/Makefile" ;;
15056 "liboil/simdpack/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/simdpack/Makefile" ;;
15057 "liboil/sse/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/sse/Makefile" ;;
15058 "liboil/utf8/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/utf8/Makefile" ;;
15059 "liboil/arm/Makefile") CONFIG_FILES="$CONFIG_FILES liboil/arm/Makefile" ;;
15060 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
15061 "testsuite/instruction/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/instruction/Makefile" ;;
15062 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
15063 "examples/audioresample/Makefile") CONFIG_FILES="$CONFIG_FILES examples/audioresample/Makefile" ;;
15064 "examples/huffman/Makefile") CONFIG_FILES="$CONFIG_FILES examples/huffman/Makefile" ;;
15065 "examples/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES examples/jpeg/Makefile" ;;
15066 "examples/md5/Makefile") CONFIG_FILES="$CONFIG_FILES examples/md5/Makefile" ;;
15067 "examples/taylor/Makefile") CONFIG_FILES="$CONFIG_FILES examples/taylor/Makefile" ;;
15068 "examples/uberopt/Makefile") CONFIG_FILES="$CONFIG_FILES examples/uberopt/Makefile" ;;
15069 "examples/videoscale/Makefile") CONFIG_FILES="$CONFIG_FILES examples/videoscale/Makefile" ;;
15070 "examples/work/Makefile") CONFIG_FILES="$CONFIG_FILES examples/work/Makefile" ;;
15071 "liboil-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES liboil-uninstalled.pc" ;;
15072 "liboil.pc") CONFIG_FILES="$CONFIG_FILES liboil.pc" ;;
15074 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15079 # If the user did not use the arguments to specify the items to instantiate,
15080 # then the envvar interface is used. Set only those that are not.
15081 # We use the long form for the default assignment because of an extremely
15082 # bizarre bug on SunOS 4.1.3.
15083 if $ac_need_defaults; then
15084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15089 # Have a temporary directory for convenience. Make it in the build tree
15090 # simply because there is no reason against having it here, and in addition,
15091 # creating and moving files from /tmp can sometimes cause problems.
15092 # Hook for its removal unless debugging.
15093 # Note that there is a small window in which the directory will not be cleaned:
15094 # after its creation but before its name has been assigned to `$tmp'.
15098 trap 'exit_status=$?
15099 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15101 trap 'as_fn_exit 1' 1 2 13 15
15103 # Create a (secure) tmp directory for tmp files.
15106 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15107 test -n "$tmp" && test -d "$tmp"
15110 tmp=./conf$$-$RANDOM
15111 (umask 077 && mkdir "$tmp")
15112 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15114 # Set up the scripts for CONFIG_FILES section.
15115 # No need to generate them if there are no CONFIG_FILES.
15116 # This happens for instance with `./config.status config.h'.
15117 if test -n "$CONFIG_FILES"; then
15120 ac_cr=`echo X | tr X '\015'`
15121 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15122 # But we know of no other shell where ac_cr would be empty at this
15123 # point, so we can use a bashism as a fallback.
15124 if test "x$ac_cr" = x; then
15125 eval ac_cr=\$\'\\r\'
15127 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15128 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15131 ac_cs_awk_cr=$ac_cr
15134 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15139 echo "cat >conf$$subs.awk <<_ACEOF" &&
15140 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15142 } >conf$$subs.sh ||
15143 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15144 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15146 for ac_last_try in false false false false false :; do
15147 . ./conf$$subs.sh ||
15148 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15150 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15151 if test $ac_delim_n = $ac_delim_num; then
15153 elif $ac_last_try; then
15154 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15159 rm -f conf$$subs.sh
15161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15162 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15166 s/^/S["/; s/!.*/"]=/
15176 s/\(.\{148\}\).*/\1/
15178 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15190 s/\(.\{148\}\).*/\1/
15192 s/["\\]/\\&/g; s/^/"/; s/$/"/
15196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15201 ' <conf$$subs.awk | sed '
15206 ' >>$CONFIG_STATUS || ac_write_fail=1
15207 rm -f conf$$subs.awk
15208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15210 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15211 for (key in S) S_is_set[key] = 1
15217 nfields = split(line, field, "@")
15219 len = length(field[1])
15220 for (i = 2; i < nfields; i++) {
15222 keylen = length(key)
15223 if (S_is_set[key]) {
15225 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15226 len += length(value) + length(field[++i])
15237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15238 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15239 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15242 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15243 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15246 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15247 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15248 # trailing colons and then remove the whole line if VPATH becomes empty
15249 # (actually we leave an empty line to preserve line numbers).
15250 if test "x$srcdir" = x.; then
15251 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15252 s/:*\$(srcdir):*/:/
15253 s/:*\${srcdir}:*/:/
15255 s/^\([^=]*=[ ]*\):*/\1/
15261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15262 fi # test -n "$CONFIG_FILES"
15264 # Set up the scripts for CONFIG_HEADERS section.
15265 # No need to generate them if there are no CONFIG_HEADERS.
15266 # This happens for instance with `./config.status Makefile'.
15267 if test -n "$CONFIG_HEADERS"; then
15268 cat >"$tmp/defines.awk" <<\_ACAWK ||
15272 # Transform confdefs.h into an awk script `defines.awk', embedded as
15273 # here-document in config.status, that substitutes the proper values into
15274 # config.h.in to produce config.h.
15276 # Create a delimiter string that does not exist in confdefs.h, to ease
15277 # handling of long lines.
15279 for ac_last_try in false false :; do
15280 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15281 if test -z "$ac_t"; then
15283 elif $ac_last_try; then
15284 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15286 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15290 # For the awk script, D is an array of macro values keyed by name,
15291 # likewise P contains macro parameters if any. Preserve backslash
15292 # newline sequences.
15294 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15296 s/.\{148\}/&'"$ac_delim"'/g
15299 s/^[ ]*#[ ]*define[ ][ ]*/ /
15306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15313 D["\1"]=" \3\\\\\\n"\\/p
15315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15320 s/.\{148\}/&'"$ac_delim"'/g
15325 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15328 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15330 ' <confdefs.h | sed '
15331 s/'"$ac_delim"'/"\\\
15332 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15335 for (key in D) D_is_set[key] = 1
15338 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15340 split(line, arg, " ")
15341 if (arg[1] == "#") {
15345 defundef = substr(arg[1], 2)
15348 split(mac1, mac2, "(") #)
15350 prefix = substr(line, 1, index(line, defundef) - 1)
15351 if (D_is_set[macro]) {
15352 # Preserve the white space surrounding the "#".
15353 print prefix "define", macro P[macro] D[macro]
15356 # Replace #undef with comments. This is necessary, for example,
15357 # in the case of _POSIX_SOURCE, which is predefined and required
15358 # on some systems where configure will not decide to define it.
15359 if (defundef == "undef") {
15360 print "/*", prefix defundef, macro, "*/"
15368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15369 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15370 fi # test -n "$CONFIG_HEADERS"
15373 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15378 :[FHLC]) ac_mode=$ac_tag; continue;;
15380 case $ac_mode$ac_tag in
15382 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15383 :[FH]-) ac_tag=-:-;;
15384 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15401 -) ac_f="$tmp/stdin";;
15402 *) # Look for the file first in the build tree, then in the source tree
15403 # (if the path is not absolute). The absolute path cannot be DOS-style,
15404 # because $ac_f cannot contain `:'.
15408 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15410 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15412 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15413 as_fn_append ac_file_inputs " '$ac_f'"
15416 # Let's still pretend it is `configure' which instantiates (i.e., don't
15417 # use $as_me), people would be surprised to read:
15418 # /* config.h. Generated by config.status. */
15419 configure_input='Generated from '`
15420 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15422 if test x"$ac_file" != x-; then
15423 configure_input="$ac_file. $configure_input"
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15425 $as_echo "$as_me: creating $ac_file" >&6;}
15427 # Neutralize special characters interpreted by sed in replacement strings.
15428 case $configure_input in #(
15429 *\&* | *\|* | *\\* )
15430 ac_sed_conf_input=`$as_echo "$configure_input" |
15431 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15432 *) ac_sed_conf_input=$configure_input;;
15436 *:-:* | *:-) cat >"$tmp/stdin" \
15437 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15442 ac_dir=`$as_dirname -- "$ac_file" ||
15443 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15444 X"$ac_file" : 'X\(//\)[^/]' \| \
15445 X"$ac_file" : 'X\(//\)$' \| \
15446 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15447 $as_echo X"$ac_file" |
15448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15452 /^X\(\/\/\)[^/].*/{
15465 as_dir="$ac_dir"; as_fn_mkdir_p
15469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15472 # A ".." for each directory in $ac_dir_suffix.
15473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15474 case $ac_top_builddir_sub in
15475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15479 ac_abs_top_builddir=$ac_pwd
15480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15481 # for backward compatibility:
15482 ac_top_builddir=$ac_top_build_prefix
15485 .) # We are building in place.
15487 ac_top_srcdir=$ac_top_builddir_sub
15488 ac_abs_top_srcdir=$ac_pwd ;;
15489 [\\/]* | ?:[\\/]* ) # Absolute name.
15490 ac_srcdir=$srcdir$ac_dir_suffix;
15491 ac_top_srcdir=$srcdir
15492 ac_abs_top_srcdir=$srcdir ;;
15493 *) # Relative name.
15494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15495 ac_top_srcdir=$ac_top_build_prefix$srcdir
15496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15508 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15509 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15511 ac_MKDIR_P=$MKDIR_P
15513 [\\/$]* | ?:[\\/]* ) ;;
15514 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15519 # If the template does not know about datarootdir, expand it.
15520 # FIXME: This hack should be removed a few years after 2.60.
15521 ac_datarootdir_hack=; ac_datarootdir_seen=
15532 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15533 *datarootdir*) ac_datarootdir_seen=yes;;
15534 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15536 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15539 ac_datarootdir_hack='
15540 s&@datadir@&$datadir&g
15541 s&@docdir@&$docdir&g
15542 s&@infodir@&$infodir&g
15543 s&@localedir@&$localedir&g
15544 s&@mandir@&$mandir&g
15545 s&\\\${datarootdir}&$datarootdir&g' ;;
15549 # Neutralize VPATH when `$srcdir' = `.'.
15550 # Shell code in configure.ac might set extrasub.
15551 # FIXME: do we really want to maintain this feature?
15552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15553 ac_sed_extra="$ac_vpsub
15556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15559 s|@configure_input@|$ac_sed_conf_input|;t t
15560 s&@top_builddir@&$ac_top_builddir_sub&;t t
15561 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15562 s&@srcdir@&$ac_srcdir&;t t
15563 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15564 s&@top_srcdir@&$ac_top_srcdir&;t t
15565 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15566 s&@builddir@&$ac_builddir&;t t
15567 s&@abs_builddir@&$ac_abs_builddir&;t t
15568 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15569 s&@INSTALL@&$ac_INSTALL&;t t
15570 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15571 $ac_datarootdir_hack
15573 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15574 || as_fn_error "could not create $ac_file" "$LINENO" 5
15576 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15577 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15578 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15580 which seems to be undefined. Please make sure it is defined." >&5
15581 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15582 which seems to be undefined. Please make sure it is defined." >&2;}
15586 -) cat "$tmp/out" && rm -f "$tmp/out";;
15587 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15589 || as_fn_error "could not create $ac_file" "$LINENO" 5
15595 if test x"$ac_file" != x-; then
15597 $as_echo "/* $configure_input */" \
15598 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15599 } >"$tmp/config.h" \
15600 || as_fn_error "could not create $ac_file" "$LINENO" 5
15601 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15603 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15606 mv "$tmp/config.h" "$ac_file" \
15607 || as_fn_error "could not create $ac_file" "$LINENO" 5
15610 $as_echo "/* $configure_input */" \
15611 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15612 || as_fn_error "could not create -" "$LINENO" 5
15614 # Compute "$ac_file"'s index in $config_headers.
15617 for _am_header in $config_headers :; do
15618 case $_am_header in
15619 $_am_arg | $_am_arg:* )
15622 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15625 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15626 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15627 X"$_am_arg" : 'X\(//\)[^/]' \| \
15628 X"$_am_arg" : 'X\(//\)$' \| \
15629 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15630 $as_echo X"$_am_arg" |
15631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15635 /^X\(\/\/\)[^/].*/{
15647 s/.*/./; q'`/stamp-h$_am_stamp_count
15650 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15651 $as_echo "$as_me: executing $ac_file commands" >&6;}
15656 case $ac_file$ac_mode in
15657 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15658 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15659 # are listed without --file. Let's play safe and only enable the eval
15660 # if we detect the quoting.
15661 case $CONFIG_FILES in
15662 *\'*) eval set x "$CONFIG_FILES" ;;
15663 *) set x $CONFIG_FILES ;;
15668 # Strip MF so we end up with the name of the file.
15669 mf=`echo "$mf" | sed -e 's/:.*$//'`
15670 # Check whether this is an Automake generated Makefile or not.
15671 # We used to match only the files named `Makefile.in', but
15672 # some people rename them; so instead we look at the file content.
15673 # Grep'ing the first line is not enough: some people post-process
15674 # each Makefile.in and add a new line on top of each file to say so.
15675 # Grep'ing the whole file is not good either: AIX grep has a line
15676 # limit of 2048, but all sed's we know have understand at least 4000.
15677 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15678 dirpart=`$as_dirname -- "$mf" ||
15679 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15680 X"$mf" : 'X\(//\)[^/]' \| \
15681 X"$mf" : 'X\(//\)$' \| \
15682 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15688 /^X\(\/\/\)[^/].*/{
15704 # Extract the definition of DEPDIR, am__include, and am__quote
15705 # from the Makefile without running `make'.
15706 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15707 test -z "$DEPDIR" && continue
15708 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15709 test -z "am__include" && continue
15710 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15711 # When using ansi2knr, U may be empty or an underscore; expand it
15712 U=`sed -n 's/^U = //p' < "$mf"`
15713 # Find all dependency output files, they are included files with
15714 # $(DEPDIR) in their names. We invoke sed twice because it is the
15715 # simplest approach to changing $(DEPDIR) to its actual value in the
15717 for file in `sed -n "
15718 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15719 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15720 # Make sure the directory exists.
15721 test -f "$dirpart/$file" && continue
15722 fdir=`$as_dirname -- "$file" ||
15723 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15724 X"$file" : 'X\(//\)[^/]' \| \
15725 X"$file" : 'X\(//\)$' \| \
15726 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15727 $as_echo X"$file" |
15728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15732 /^X\(\/\/\)[^/].*/{
15745 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15746 # echo "creating $dirpart/$file"
15747 echo '# dummy' > "$dirpart/$file"
15754 # See if we are running on zsh, and set the options which allow our
15755 # commands through without removal of \ escapes.
15756 if test -n "${ZSH_VERSION+set}" ; then
15757 setopt NO_GLOB_SUBST
15760 cfgfile="${ofile}T"
15761 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15764 cat <<_LT_EOF >> "$cfgfile"
15767 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15768 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15769 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15770 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15772 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15773 # 2006, 2007, 2008 Free Software Foundation, Inc.
15774 # Written by Gordon Matzigkeit, 1996
15776 # This file is part of GNU Libtool.
15778 # GNU Libtool is free software; you can redistribute it and/or
15779 # modify it under the terms of the GNU General Public License as
15780 # published by the Free Software Foundation; either version 2 of
15781 # the License, or (at your option) any later version.
15783 # As a special exception to the GNU General Public License,
15784 # if you distribute this file as part of a program or library that
15785 # is built using GNU Libtool, you may include this file under the
15786 # same distribution terms that you use for the rest of that program.
15788 # GNU Libtool is distributed in the hope that it will be useful,
15789 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15790 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15791 # GNU General Public License for more details.
15793 # You should have received a copy of the GNU General Public License
15794 # along with GNU Libtool; see the file COPYING. If not, a copy
15795 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15796 # obtained by writing to the Free Software Foundation, Inc.,
15797 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15800 # The names of the tagged configurations supported by this script.
15803 # ### BEGIN LIBTOOL CONFIG
15805 # Assembler program.
15808 # DLL creation program.
15811 # Object dumper program.
15814 # Which release of libtool.m4 was used?
15815 macro_version=$macro_version
15816 macro_revision=$macro_revision
15818 # Whether or not to build shared libraries.
15819 build_libtool_libs=$enable_shared
15821 # Whether or not to build static libraries.
15822 build_old_libs=$enable_static
15824 # What type of objects to build.
15827 # Whether or not to optimize for fast installation.
15828 fast_install=$enable_fast_install
15831 host_alias=$host_alias
15835 # The build system.
15836 build_alias=$build_alias
15840 # A sed program that does not truncate output.
15843 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15844 Xsed="\$SED -e 1s/^X//"
15846 # A grep program that handles long lines.
15852 # A literal string matcher.
15855 # A BSD- or MS-compatible name lister.
15858 # Whether we need soft or hard links.
15861 # What is the maximum length of a command?
15862 max_cmd_len=$max_cmd_len
15864 # Object file suffix (normally "o").
15867 # Executable file suffix (normally "").
15870 # whether the shell understands "unset".
15873 # turn spaces into newlines.
15876 # turn newlines into spaces.
15879 # How to create reloadable object files.
15880 reload_flag=$lt_reload_flag
15881 reload_cmds=$lt_reload_cmds
15883 # Method to check whether dependent libraries are shared objects.
15884 deplibs_check_method=$lt_deplibs_check_method
15886 # Command to use when deplibs_check_method == "file_magic".
15887 file_magic_cmd=$lt_file_magic_cmd
15891 AR_FLAGS=$lt_AR_FLAGS
15893 # A symbol stripping program.
15896 # Commands used to install an old-style archive.
15898 old_postinstall_cmds=$lt_old_postinstall_cmds
15899 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15904 # LTCC compiler flags.
15905 LTCFLAGS=$lt_CFLAGS
15907 # Take the output of nm and produce a listing of raw symbols and C names.
15908 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15910 # Transform the output of nm in a proper C declaration.
15911 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15913 # Transform the output of nm in a C name address pair.
15914 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15916 # Transform the output of nm in a C name address pair when lib prefix is needed.
15917 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15919 # The name of the directory that contains temporary libtool files.
15922 # Shell to use when invoking shell scripts.
15925 # An echo program that does not interpret backslashes.
15928 # Used to examine libraries when file_magic_cmd begins with "file".
15929 MAGIC_CMD=$MAGIC_CMD
15931 # Must we lock files when doing compilation?
15932 need_locks=$lt_need_locks
15934 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15935 DSYMUTIL=$lt_DSYMUTIL
15937 # Tool to change global to local symbols on Mac OS X.
15940 # Tool to manipulate fat objects and archives on Mac OS X.
15943 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15946 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15947 OTOOL64=$lt_OTOOL64
15949 # Old archive suffix (normally "a").
15952 # Shared library suffix (normally ".so").
15953 shrext_cmds=$lt_shrext_cmds
15955 # The commands to extract the exported symbol list from a shared archive.
15956 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15958 # Variables whose values should be saved in libtool wrapper scripts and
15959 # restored at link time.
15960 variables_saved_for_relink=$lt_variables_saved_for_relink
15962 # Do we need the "lib" prefix for modules?
15963 need_lib_prefix=$need_lib_prefix
15965 # Do we need a version for libraries?
15966 need_version=$need_version
15968 # Library versioning type.
15969 version_type=$version_type
15971 # Shared library runtime path variable.
15972 runpath_var=$runpath_var
15974 # Shared library path variable.
15975 shlibpath_var=$shlibpath_var
15977 # Is shlibpath searched before the hard-coded library search path?
15978 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15980 # Format of library name prefix.
15981 libname_spec=$lt_libname_spec
15983 # List of archive names. First name is the real one, the rest are links.
15984 # The last name is the one that the linker finds with -lNAME
15985 library_names_spec=$lt_library_names_spec
15987 # The coded name of the library, if different from the real name.
15988 soname_spec=$lt_soname_spec
15990 # Command to use after installation of a shared archive.
15991 postinstall_cmds=$lt_postinstall_cmds
15993 # Command to use after uninstallation of a shared archive.
15994 postuninstall_cmds=$lt_postuninstall_cmds
15996 # Commands used to finish a libtool library installation in a directory.
15997 finish_cmds=$lt_finish_cmds
15999 # As "finish_cmds", except a single script fragment to be evaled but
16001 finish_eval=$lt_finish_eval
16003 # Whether we should hardcode library paths into libraries.
16004 hardcode_into_libs=$hardcode_into_libs
16006 # Compile-time system search path for libraries.
16007 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16009 # Run-time system search path for libraries.
16010 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16012 # Whether dlopen is supported.
16013 dlopen_support=$enable_dlopen
16015 # Whether dlopen of programs is supported.
16016 dlopen_self=$enable_dlopen_self
16018 # Whether dlopen of statically linked programs is supported.
16019 dlopen_self_static=$enable_dlopen_self_static
16021 # Commands to strip libraries.
16022 old_striplib=$lt_old_striplib
16023 striplib=$lt_striplib
16026 # The linker used to build libraries.
16029 # Commands used to build an old-style archive.
16030 old_archive_cmds=$lt_old_archive_cmds
16032 # A language specific compiler.
16035 # Is the compiler the GNU compiler?
16038 # Compiler flag to turn off builtin functions.
16039 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16041 # How to pass a linker flag through the compiler.
16042 wl=$lt_lt_prog_compiler_wl
16044 # Additional compiler flags for building library objects.
16045 pic_flag=$lt_lt_prog_compiler_pic
16047 # Compiler flag to prevent dynamic linking.
16048 link_static_flag=$lt_lt_prog_compiler_static
16050 # Does compiler simultaneously support -c and -o options?
16051 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16053 # Whether or not to add -lc for building shared libraries.
16054 build_libtool_need_lc=$archive_cmds_need_lc
16056 # Whether or not to disallow shared libs when runtime libs are static.
16057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16059 # Compiler flag to allow reflexive dlopens.
16060 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16062 # Compiler flag to generate shared objects directly from archives.
16063 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16065 # Whether the compiler copes with passing no objects directly.
16066 compiler_needs_object=$lt_compiler_needs_object
16068 # Create an old-style archive from a shared archive.
16069 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16071 # Create a temporary old-style archive to link instead of a shared archive.
16072 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16074 # Commands used to build a shared archive.
16075 archive_cmds=$lt_archive_cmds
16076 archive_expsym_cmds=$lt_archive_expsym_cmds
16078 # Commands used to build a loadable module if different from building
16079 # a shared archive.
16080 module_cmds=$lt_module_cmds
16081 module_expsym_cmds=$lt_module_expsym_cmds
16083 # Whether we are building with GNU ld or not.
16084 with_gnu_ld=$lt_with_gnu_ld
16086 # Flag that allows shared libraries with undefined symbols to be built.
16087 allow_undefined_flag=$lt_allow_undefined_flag
16089 # Flag that enforces no undefined symbols.
16090 no_undefined_flag=$lt_no_undefined_flag
16092 # Flag to hardcode \$libdir into a binary during linking.
16093 # This must work even if \$libdir does not exist
16094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16096 # If ld is used when linking, flag to hardcode \$libdir into a binary
16097 # during linking. This must work even if \$libdir does not exist.
16098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16100 # Whether we need a single "-rpath" flag with a separated argument.
16101 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16104 # DIR into the resulting binary.
16105 hardcode_direct=$hardcode_direct
16107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16108 # DIR into the resulting binary and the resulting library dependency is
16109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16110 # library is relocated.
16111 hardcode_direct_absolute=$hardcode_direct_absolute
16113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16114 # into the resulting binary.
16115 hardcode_minus_L=$hardcode_minus_L
16117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16118 # into the resulting binary.
16119 hardcode_shlibpath_var=$hardcode_shlibpath_var
16121 # Set to "yes" if building a shared library automatically hardcodes DIR
16122 # into the library and all subsequent libraries and executables linked
16124 hardcode_automatic=$hardcode_automatic
16126 # Set to yes if linker adds runtime paths of dependent libraries
16127 # to runtime path list.
16128 inherit_rpath=$inherit_rpath
16130 # Whether libtool must link a program against all its dependency libraries.
16131 link_all_deplibs=$link_all_deplibs
16133 # Fix the shell variable \$srcfile for the compiler.
16134 fix_srcfile_path=$lt_fix_srcfile_path
16136 # Set to "yes" if exported symbols are required.
16137 always_export_symbols=$always_export_symbols
16139 # The commands to list exported symbols.
16140 export_symbols_cmds=$lt_export_symbols_cmds
16142 # Symbols that should not be listed in the preloaded symbols.
16143 exclude_expsyms=$lt_exclude_expsyms
16145 # Symbols that must always be exported.
16146 include_expsyms=$lt_include_expsyms
16148 # Commands necessary for linking programs (against libraries) with templates.
16149 prelink_cmds=$lt_prelink_cmds
16151 # Specify filename containing input files.
16152 file_list_spec=$lt_file_list_spec
16154 # How to hardcode a shared library path into an executable.
16155 hardcode_action=$hardcode_action
16157 # ### END LIBTOOL CONFIG
16163 cat <<\_LT_EOF >> "$cfgfile"
16164 # AIX sometimes has problems with the GCC collect2 program. For some
16165 # reason, if we set the COLLECT_NAMES environment variable, the problems
16166 # vanish in a puff of smoke.
16167 if test "X${COLLECT_NAMES+set}" != Xset; then
16169 export COLLECT_NAMES
16176 ltmain="$ac_aux_dir/ltmain.sh"
16179 # We use sed instead of cat because bash on DJGPP gets confused if
16180 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16181 # text mode, it properly converts lines to CR/LF. This bash problem
16182 # is reportedly fixed, but why not run on old versions too?
16183 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16184 || (rm -f "$cfgfile"; exit 1)
16188 cat << \_LT_EOF >> "$cfgfile"
16190 # func_dirname file append nondir_replacement
16191 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16192 # otherwise set result to NONDIR_REPLACEMENT.
16196 */*) func_dirname_result="${1%/*}${2}" ;;
16197 * ) func_dirname_result="${3}" ;;
16201 # func_basename file
16204 func_basename_result="${1##*/}"
16207 # func_dirname_and_basename file append nondir_replacement
16208 # perform func_basename and func_dirname in a single function
16210 # dirname: Compute the dirname of FILE. If nonempty,
16211 # add APPEND to the result, otherwise set result
16212 # to NONDIR_REPLACEMENT.
16213 # value returned in "$func_dirname_result"
16214 # basename: Compute filename of FILE.
16215 # value retuned in "$func_basename_result"
16216 # Implementation must be kept synchronized with func_dirname
16217 # and func_basename. For efficiency, we do not delegate to
16218 # those functions but instead duplicate the functionality here.
16219 func_dirname_and_basename ()
16222 */*) func_dirname_result="${1%/*}${2}" ;;
16223 * ) func_dirname_result="${3}" ;;
16225 func_basename_result="${1##*/}"
16228 # func_stripname prefix suffix name
16229 # strip PREFIX and SUFFIX off of NAME.
16230 # PREFIX and SUFFIX must not contain globbing or regex special
16231 # characters, hashes, percent signs, but SUFFIX may contain a leading
16232 # dot (in which case that matches only a dot).
16235 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16236 # positional parameters, so assign one to ordinary parameter first.
16237 func_stripname_result=${3}
16238 func_stripname_result=${func_stripname_result#"${1}"}
16239 func_stripname_result=${func_stripname_result%"${2}"}
16245 func_opt_split_opt=${1%%=*}
16246 func_opt_split_arg=${1#*=}
16253 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16254 *) func_lo2o_result=${1} ;;
16258 # func_xform libobj-or-source
16261 func_xform_result=${1%.*}.lo
16264 # func_arith arithmetic-term...
16267 func_arith_result=$(( $* ))
16271 # STRING may not start with a hyphen.
16274 func_len_result=${#1}
16279 *) # Bourne compatible functions.
16280 cat << \_LT_EOF >> "$cfgfile"
16282 # func_dirname file append nondir_replacement
16283 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16284 # otherwise set result to NONDIR_REPLACEMENT.
16287 # Extract subdirectory from the argument.
16288 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16289 if test "X$func_dirname_result" = "X${1}"; then
16290 func_dirname_result="${3}"
16292 func_dirname_result="$func_dirname_result${2}"
16296 # func_basename file
16299 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16303 # func_stripname prefix suffix name
16304 # strip PREFIX and SUFFIX off of NAME.
16305 # PREFIX and SUFFIX must not contain globbing or regex special
16306 # characters, hashes, percent signs, but SUFFIX may contain a leading
16307 # dot (in which case that matches only a dot).
16308 # func_strip_suffix prefix name
16312 .*) func_stripname_result=`$ECHO "X${3}" \
16313 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16314 *) func_stripname_result=`$ECHO "X${3}" \
16315 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16320 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16321 my_sed_long_arg='1s/^-[^=]*=//'
16326 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16327 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16333 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16336 # func_xform libobj-or-source
16339 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16342 # func_arith arithmetic-term...
16345 func_arith_result=`expr "$@"`
16349 # STRING may not start with a hyphen.
16352 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16358 case $lt_shell_append in
16360 cat << \_LT_EOF >> "$cfgfile"
16362 # func_append var value
16363 # Append VALUE to the end of shell variable VAR.
16371 cat << \_LT_EOF >> "$cfgfile"
16373 # func_append var value
16374 # Append VALUE to the end of shell variable VAR.
16385 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16386 || (rm -f "$cfgfile"; exit 1)
16388 mv -f "$cfgfile" "$ofile" ||
16389 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
16395 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
16396 ac_stdint=$tmp/_stdint.h
16398 echo "#ifndef" $_ac_stdint_h >$ac_stdint
16399 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
16400 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
16401 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
16402 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
16403 if test "_$ac_cv_header_stdint_t" != "_" ; then
16404 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
16405 echo "#include <stdint.h>" >>$ac_stdint
16406 echo "#endif" >>$ac_stdint
16407 echo "#endif" >>$ac_stdint
16410 cat >>$ac_stdint <<STDINT_EOF
16412 /* ................... shortcircuit part ........................... */
16414 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
16415 #include <stdint.h>
16417 #include <stddef.h>
16419 /* .................... configured part ............................ */
16423 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
16424 if test "_$ac_cv_header_stdint_x" != "_" ; then
16425 ac_header="$ac_cv_header_stdint_x"
16426 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
16428 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
16431 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
16432 if test "_$ac_cv_header_stdint_o" != "_" ; then
16433 ac_header="$ac_cv_header_stdint_o"
16434 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
16436 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
16439 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
16440 if test "_$ac_cv_header_stdint_u" != "_" ; then
16441 ac_header="$ac_cv_header_stdint_u"
16442 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
16444 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
16447 echo "" >>$ac_stdint
16449 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
16450 echo "#include <$ac_header>" >>$ac_stdint
16451 echo "" >>$ac_stdint
16454 echo "/* which 64bit typedef has been found */" >>$ac_stdint
16455 if test "$ac_cv_type_uint64_t" = "yes" ; then
16456 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
16458 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
16460 if test "$ac_cv_type_u_int64_t" = "yes" ; then
16461 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
16463 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
16465 echo "" >>$ac_stdint
16467 echo "/* which type model has been detected */" >>$ac_stdint
16468 if test "_$ac_cv_char_data_model" != "_" ; then
16469 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
16470 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
16472 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
16473 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
16475 echo "" >>$ac_stdint
16477 echo "/* whether int_least types were detected */" >>$ac_stdint
16478 if test "$ac_cv_type_int_least32_t" = "yes"; then
16479 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
16481 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
16483 echo "/* whether int_fast types were detected */" >>$ac_stdint
16484 if test "$ac_cv_type_int_fast32_t" = "yes"; then
16485 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
16487 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
16489 echo "/* whether intmax_t type was detected */" >>$ac_stdint
16490 if test "$ac_cv_type_intmax_t" = "yes"; then
16491 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
16493 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
16495 echo "" >>$ac_stdint
16497 cat >>$ac_stdint <<STDINT_EOF
16498 /* .................... detections part ............................ */
16500 /* whether we need to define bitspecific types from compiler base types */
16501 #ifndef _STDINT_HEADER_INTPTR
16502 #ifndef _STDINT_HEADER_UINT32
16503 #ifndef _STDINT_HEADER_U_INT32
16504 #define _STDINT_NEED_INT_MODEL_T
16506 #define _STDINT_HAVE_U_INT_TYPES
16511 #ifdef _STDINT_HAVE_U_INT_TYPES
16512 #undef _STDINT_NEED_INT_MODEL_T
16515 #ifdef _STDINT_CHAR_MODEL
16516 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
16517 #ifndef _STDINT_BYTE_MODEL
16518 #define _STDINT_BYTE_MODEL 12
16523 #ifndef _STDINT_HAVE_INT_LEAST32_T
16524 #define _STDINT_NEED_INT_LEAST_T
16527 #ifndef _STDINT_HAVE_INT_FAST32_T
16528 #define _STDINT_NEED_INT_FAST_T
16531 #ifndef _STDINT_HEADER_INTPTR
16532 #define _STDINT_NEED_INTPTR_T
16533 #ifndef _STDINT_HAVE_INTMAX_T
16534 #define _STDINT_NEED_INTMAX_T
16539 /* .................... definition part ............................ */
16541 /* some system headers have good uint64_t */
16542 #ifndef _HAVE_UINT64_T
16543 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
16544 #define _HAVE_UINT64_T
16545 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
16546 #define _HAVE_UINT64_T
16547 typedef u_int64_t uint64_t;
16551 #ifndef _HAVE_UINT64_T
16552 /* .. here are some common heuristics using compiler runtime specifics */
16553 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
16554 #define _HAVE_UINT64_T
16555 #define _HAVE_LONGLONG_UINT64_T
16556 typedef long long int64_t;
16557 typedef unsigned long long uint64_t;
16559 #elif !defined __STRICT_ANSI__
16560 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
16561 #define _HAVE_UINT64_T
16562 typedef __int64 int64_t;
16563 typedef unsigned __int64 uint64_t;
16565 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
16566 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
16567 #if !defined _NO_LONGLONG
16568 #define _HAVE_UINT64_T
16569 #define _HAVE_LONGLONG_UINT64_T
16570 typedef long long int64_t;
16571 typedef unsigned long long uint64_t;
16574 #elif defined __alpha || (defined __mips && defined _ABIN32)
16575 #if !defined _NO_LONGLONG
16576 typedef long int64_t;
16577 typedef unsigned long uint64_t;
16579 /* compiler/cpu type to define int64_t */
16584 #if defined _STDINT_HAVE_U_INT_TYPES
16585 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
16586 typedef u_int8_t uint8_t;
16587 typedef u_int16_t uint16_t;
16588 typedef u_int32_t uint32_t;
16590 /* glibc compatibility */
16591 #ifndef __int8_t_defined
16592 #define __int8_t_defined
16596 #ifdef _STDINT_NEED_INT_MODEL_T
16597 /* we must guess all the basic types. Apart from byte-adressable system, */
16598 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
16599 /* (btw, those nibble-addressable systems are way off, or so we assume) */
16602 #if defined _STDINT_BYTE_MODEL
16603 #if _STDINT_LONG_MODEL+0 == 242
16604 /* 2:4:2 = IP16 = a normal 16-bit system */
16605 typedef unsigned char uint8_t;
16606 typedef unsigned short uint16_t;
16607 typedef unsigned long uint32_t;
16608 #ifndef __int8_t_defined
16609 #define __int8_t_defined
16610 typedef char int8_t;
16611 typedef short int16_t;
16612 typedef long int32_t;
16614 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
16615 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
16616 /* 4:4:4 = ILP32 = a normal 32-bit system */
16617 typedef unsigned char uint8_t;
16618 typedef unsigned short uint16_t;
16619 typedef unsigned int uint32_t;
16620 #ifndef __int8_t_defined
16621 #define __int8_t_defined
16622 typedef char int8_t;
16623 typedef short int16_t;
16624 typedef int int32_t;
16626 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
16627 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
16628 /* 4:8:8 = LP64 = a normal 64-bit system */
16629 typedef unsigned char uint8_t;
16630 typedef unsigned short uint16_t;
16631 typedef unsigned int uint32_t;
16632 #ifndef __int8_t_defined
16633 #define __int8_t_defined
16634 typedef char int8_t;
16635 typedef short int16_t;
16636 typedef int int32_t;
16638 /* this system has a "long" of 64bit */
16639 #ifndef _HAVE_UINT64_T
16640 #define _HAVE_UINT64_T
16641 typedef unsigned long uint64_t;
16642 typedef long int64_t;
16644 #elif _STDINT_LONG_MODEL+0 == 448
16645 /* LLP64 a 64-bit system derived from a 32-bit system */
16646 typedef unsigned char uint8_t;
16647 typedef unsigned short uint16_t;
16648 typedef unsigned int uint32_t;
16649 #ifndef __int8_t_defined
16650 #define __int8_t_defined
16651 typedef char int8_t;
16652 typedef short int16_t;
16653 typedef int int32_t;
16655 /* assuming the system has a "long long" */
16656 #ifndef _HAVE_UINT64_T
16657 #define _HAVE_UINT64_T
16658 #define _HAVE_LONGLONG_UINT64_T
16659 typedef unsigned long long uint64_t;
16660 typedef long long int64_t;
16663 #define _STDINT_NO_INT32_T
16666 #define _STDINT_NO_INT8_T
16667 #define _STDINT_NO_INT32_T
16672 * quote from SunOS-5.8 sys/inttypes.h:
16673 * Use at your own risk. As of February 1996, the committee is squarely
16674 * behind the fixed sized types; the "least" and "fast" types are still being
16675 * discussed. The probability that the "fast" types may be removed before
16676 * the standard is finalized is high enough that they are not currently
16680 #if defined _STDINT_NEED_INT_LEAST_T
16681 typedef int8_t int_least8_t;
16682 typedef int16_t int_least16_t;
16683 typedef int32_t int_least32_t;
16684 #ifdef _HAVE_UINT64_T
16685 typedef int64_t int_least64_t;
16688 typedef uint8_t uint_least8_t;
16689 typedef uint16_t uint_least16_t;
16690 typedef uint32_t uint_least32_t;
16691 #ifdef _HAVE_UINT64_T
16692 typedef uint64_t uint_least64_t;
16697 #if defined _STDINT_NEED_INT_FAST_T
16698 typedef int8_t int_fast8_t;
16699 typedef int int_fast16_t;
16700 typedef int32_t int_fast32_t;
16701 #ifdef _HAVE_UINT64_T
16702 typedef int64_t int_fast64_t;
16705 typedef uint8_t uint_fast8_t;
16706 typedef unsigned uint_fast16_t;
16707 typedef uint32_t uint_fast32_t;
16708 #ifdef _HAVE_UINT64_T
16709 typedef uint64_t uint_fast64_t;
16714 #ifdef _STDINT_NEED_INTMAX_T
16715 #ifdef _HAVE_UINT64_T
16716 typedef int64_t intmax_t;
16717 typedef uint64_t uintmax_t;
16719 typedef long intmax_t;
16720 typedef unsigned long uintmax_t;
16724 #ifdef _STDINT_NEED_INTPTR_T
16725 #ifndef __intptr_t_defined
16726 #define __intptr_t_defined
16727 /* we encourage using "long" to store pointer values, never use "int" ! */
16728 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
16729 typedef unsigned int uintptr_t;
16730 typedef int intptr_t;
16731 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
16732 typedef unsigned long uintptr_t;
16733 typedef long intptr_t;
16734 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
16735 typedef uint64_t uintptr_t;
16736 typedef int64_t intptr_t;
16737 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
16738 typedef unsigned long uintptr_t;
16739 typedef long intptr_t;
16744 /* The ISO C99 standard specifies that in C++ implementations these
16745 should only be defined if explicitly requested. */
16746 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
16750 # define INT8_C(c) c
16751 # define INT16_C(c) c
16752 # define INT32_C(c) c
16753 # ifdef _HAVE_LONGLONG_UINT64_T
16754 # define INT64_C(c) c ## L
16756 # define INT64_C(c) c ## LL
16760 # define UINT8_C(c) c ## U
16761 # define UINT16_C(c) c ## U
16762 # define UINT32_C(c) c ## U
16763 # ifdef _HAVE_LONGLONG_UINT64_T
16764 # define UINT64_C(c) c ## UL
16766 # define UINT64_C(c) c ## ULL
16769 /* Maximal type. */
16770 # ifdef _HAVE_LONGLONG_UINT64_T
16771 # define INTMAX_C(c) c ## L
16772 # define UINTMAX_C(c) c ## UL
16774 # define INTMAX_C(c) c ## LL
16775 # define UINTMAX_C(c) c ## ULL
16778 /* literalnumbers */
16782 /* These limits are merily those of a two complement byte-oriented system */
16784 /* Minimum of signed integral types. */
16785 # define INT8_MIN (-128)
16786 # define INT16_MIN (-32767-1)
16787 # define INT32_MIN (-2147483647-1)
16788 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
16789 /* Maximum of signed integral types. */
16790 # define INT8_MAX (127)
16791 # define INT16_MAX (32767)
16792 # define INT32_MAX (2147483647)
16793 # define INT64_MAX (__INT64_C(9223372036854775807))
16795 /* Maximum of unsigned integral types. */
16796 # define UINT8_MAX (255)
16797 # define UINT16_MAX (65535)
16798 # define UINT32_MAX (4294967295U)
16799 # define UINT64_MAX (__UINT64_C(18446744073709551615))
16801 /* Minimum of signed integral types having a minimum size. */
16802 # define INT_LEAST8_MIN INT8_MIN
16803 # define INT_LEAST16_MIN INT16_MIN
16804 # define INT_LEAST32_MIN INT32_MIN
16805 # define INT_LEAST64_MIN INT64_MIN
16806 /* Maximum of signed integral types having a minimum size. */
16807 # define INT_LEAST8_MAX INT8_MAX
16808 # define INT_LEAST16_MAX INT16_MAX
16809 # define INT_LEAST32_MAX INT32_MAX
16810 # define INT_LEAST64_MAX INT64_MAX
16812 /* Maximum of unsigned integral types having a minimum size. */
16813 # define UINT_LEAST8_MAX UINT8_MAX
16814 # define UINT_LEAST16_MAX UINT16_MAX
16815 # define UINT_LEAST32_MAX UINT32_MAX
16816 # define UINT_LEAST64_MAX UINT64_MAX
16825 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
16827 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
16829 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
16830 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16831 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
16832 X"$ac_stdint_h" : 'X\(//\)$' \| \
16833 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
16834 $as_echo X"$ac_stdint_h" |
16835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16839 /^X\(\/\/\)[^/].*/{
16852 as_dir="$ac_dir"; as_fn_mkdir_p
16854 mv $ac_stdint $ac_stdint_h
16864 ac_clean_files=$ac_clean_files_save
16866 test $ac_write_fail = 0 ||
16867 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16870 # configure is writing to config.log, and then calls config.status.
16871 # config.status does its own redirection, appending to config.log.
16872 # Unfortunately, on DOS this fails, as config.log is still kept open
16873 # by configure, so config.status won't be able to write to it; its
16874 # output is simply discarded. So we exec the FD to /dev/null,
16875 # effectively closing config.log, so it can be properly (re)opened and
16876 # appended to by config.status. When coming back to configure, we
16877 # need to make the FD available again.
16878 if test "$no_create" != yes; then
16880 ac_config_status_args=
16881 test "$silent" = yes &&
16882 ac_config_status_args="$ac_config_status_args --quiet"
16884 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16886 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16887 # would make configure fail if this is the last instruction.
16888 $ac_cs_success || as_fn_exit $?
16890 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16892 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}