2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gdk-pixbuf 2.26.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='gdk-pixbuf'
573 PACKAGE_TARNAME='gdk-pixbuf'
574 PACKAGE_VERSION='2.26.1'
575 PACKAGE_STRING='gdk-pixbuf 2.26.1'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf'
579 ac_unique_file="gdk-pixbuf/gdk-pixbuf.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
617 ac_subst_vars='am__EXEEXT_FALSE
621 GDK_PIXBUF_LINK_FLAGS
628 GTK_DOC_USE_REBASE_FALSE
629 GTK_DOC_USE_REBASE_TRUE
630 GTK_DOC_USE_LIBTOOL_FALSE
631 GTK_DOC_USE_LIBTOOL_TRUE
632 GTK_DOC_BUILD_PDF_FALSE
633 GTK_DOC_BUILD_PDF_TRUE
634 GTK_DOC_BUILD_HTML_FALSE
635 GTK_DOC_BUILD_HTML_TRUE
644 HAVE_INTROSPECTION_FALSE
645 HAVE_INTROSPECTION_TRUE
646 INTROSPECTION_MAKEFILE
649 INTROSPECTION_TYPELIBDIR
651 INTROSPECTION_GENERATE
652 INTROSPECTION_COMPILER
653 INTROSPECTION_SCANNER
654 GDK_PIXBUF_XLIB_DEP_LIBS
655 GDK_PIXBUF_XLIB_DEP_CFLAGS
658 GDK_PIXBUF_DEP_CFLAGS
660 GDK_PIXBUF_EXTRA_CFLAGS
661 GDK_PIXBUF_EXTRA_LIBS
663 PNG_DEP_CFLAGS_PACKAGES
664 GTK_UPDATE_ICON_CACHE
666 CROSS_COMPILING_FALSE
682 INCLUDE_GDIPLUS_FALSE
718 INCLUDED_LOADER_DEFINE
720 BUILD_DYNAMIC_MODULES_FALSE
721 BUILD_DYNAMIC_MODULES_TRUE
726 BUILD_GDIPLUS_LOADERS_FALSE
727 BUILD_GDIPLUS_LOADERS_TRUE
728 GLIB_COMPILE_RESOURCES
743 XGETTEXT_EXTRA_OPTIONS
751 GETTEXT_MACRO_VERSION
755 DISABLE_EXPLICIT_DEPS_FALSE
756 DISABLE_EXPLICIT_DEPS_TRUE
757 LIBTOOL_EXPORT_OPTIONS
758 BASE_DEPENDENCIES_LIBS
759 BASE_DEPENDENCIES_CFLAGS
760 MS_LIB_AVAILABLE_FALSE
761 MS_LIB_AVAILABLE_TRUE
772 am__fastdepCCAS_FALSE
800 EXE_MANIFEST_ARCHITECTURE
832 GDK_PIXBUF_BINARY_VERSION
833 GDK_PIXBUF_API_VERSION
843 MAINTAINER_MODE_FALSE
853 INSTALL_STRIP_PROGRAM
895 program_transform_name
908 enable_option_checking
909 enable_maintainer_mode
911 enable_dependency_tracking
934 with_included_loaders
944 ac_precious_vars='build_alias
958 BASE_DEPENDENCIES_CFLAGS
959 BASE_DEPENDENCIES_LIBS
960 GDK_PIXBUF_XLIB_DEP_CFLAGS
961 GDK_PIXBUF_XLIB_DEP_LIBS
966 # Initialize some variables set by options.
968 ac_init_version=false
969 ac_unrecognized_opts=
971 # The variables have the same names as the options, with
972 # dashes changed to underlines.
980 program_transform_name=s,x,x,
988 # Installation directory options.
989 # These are left unexpanded so users can "make install exec_prefix=/foo"
990 # and all the variables that are supposed to be based on exec_prefix
991 # by default will actually change.
992 # Use braces instead of parens because sh, perl, etc. also accept them.
993 # (The list follows the same order as the GNU Coding Standards.)
994 bindir='${exec_prefix}/bin'
995 sbindir='${exec_prefix}/sbin'
996 libexecdir='${exec_prefix}/libexec'
997 datarootdir='${prefix}/share'
998 datadir='${datarootdir}'
999 sysconfdir='${prefix}/etc'
1000 sharedstatedir='${prefix}/com'
1001 localstatedir='${prefix}/var'
1002 includedir='${prefix}/include'
1003 oldincludedir='/usr/include'
1004 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1005 infodir='${datarootdir}/info'
1010 libdir='${exec_prefix}/lib'
1011 localedir='${datarootdir}/locale'
1012 mandir='${datarootdir}/man'
1018 # If the previous option needs an argument, assign it.
1019 if test -n "$ac_prev"; then
1020 eval $ac_prev=\$ac_option
1026 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1031 # Accept the important Cygnus configure options, so we can diagnose typos.
1033 case $ac_dashdash$ac_option in
1037 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040 bindir=$ac_optarg ;;
1042 -build | --build | --buil | --bui | --bu)
1043 ac_prev=build_alias ;;
1044 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045 build_alias=$ac_optarg ;;
1047 -cache-file | --cache-file | --cache-fil | --cache-fi \
1048 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049 ac_prev=cache_file ;;
1050 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052 cache_file=$ac_optarg ;;
1054 --config-cache | -C)
1055 cache_file=config.cache ;;
1057 -datadir | --datadir | --datadi | --datad)
1059 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060 datadir=$ac_optarg ;;
1062 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063 | --dataroo | --dataro | --datar)
1064 ac_prev=datarootdir ;;
1065 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067 datarootdir=$ac_optarg ;;
1069 -disable-* | --disable-*)
1070 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 as_fn_error $? "invalid feature name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1078 "enable_$ac_useropt"
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1083 eval enable_$ac_useropt=no ;;
1085 -docdir | --docdir | --docdi | --doc | --do)
1087 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1088 docdir=$ac_optarg ;;
1090 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1092 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1093 dvidir=$ac_optarg ;;
1095 -enable-* | --enable-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid feature name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_$ac_useropt"
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval enable_$ac_useropt=\$ac_optarg ;;
1111 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1112 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1113 | --exec | --exe | --ex)
1114 ac_prev=exec_prefix ;;
1115 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1116 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1117 | --exec=* | --exe=* | --ex=*)
1118 exec_prefix=$ac_optarg ;;
1120 -gas | --gas | --ga | --g)
1121 # Obsolete; use --with-gas.
1124 -help | --help | --hel | --he | -h)
1125 ac_init_help=long ;;
1126 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1127 ac_init_help=recursive ;;
1128 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1129 ac_init_help=short ;;
1131 -host | --host | --hos | --ho)
1132 ac_prev=host_alias ;;
1133 -host=* | --host=* | --hos=* | --ho=*)
1134 host_alias=$ac_optarg ;;
1136 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1138 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 htmldir=$ac_optarg ;;
1142 -includedir | --includedir | --includedi | --included | --include \
1143 | --includ | --inclu | --incl | --inc)
1144 ac_prev=includedir ;;
1145 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1146 | --includ=* | --inclu=* | --incl=* | --inc=*)
1147 includedir=$ac_optarg ;;
1149 -infodir | --infodir | --infodi | --infod | --info | --inf)
1151 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1152 infodir=$ac_optarg ;;
1154 -libdir | --libdir | --libdi | --libd)
1156 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1157 libdir=$ac_optarg ;;
1159 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1160 | --libexe | --libex | --libe)
1161 ac_prev=libexecdir ;;
1162 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1163 | --libexe=* | --libex=* | --libe=*)
1164 libexecdir=$ac_optarg ;;
1166 -localedir | --localedir | --localedi | --localed | --locale)
1167 ac_prev=localedir ;;
1168 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1169 localedir=$ac_optarg ;;
1171 -localstatedir | --localstatedir | --localstatedi | --localstated \
1172 | --localstate | --localstat | --localsta | --localst | --locals)
1173 ac_prev=localstatedir ;;
1174 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1175 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1176 localstatedir=$ac_optarg ;;
1178 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1180 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1181 mandir=$ac_optarg ;;
1183 -nfp | --nfp | --nf)
1184 # Obsolete; use --without-fp.
1187 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1188 | --no-cr | --no-c | -n)
1191 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1192 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1195 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1196 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1197 | --oldin | --oldi | --old | --ol | --o)
1198 ac_prev=oldincludedir ;;
1199 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1200 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1201 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1202 oldincludedir=$ac_optarg ;;
1204 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1206 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1207 prefix=$ac_optarg ;;
1209 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1210 | --program-pre | --program-pr | --program-p)
1211 ac_prev=program_prefix ;;
1212 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1213 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1214 program_prefix=$ac_optarg ;;
1216 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1217 | --program-suf | --program-su | --program-s)
1218 ac_prev=program_suffix ;;
1219 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1220 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1221 program_suffix=$ac_optarg ;;
1223 -program-transform-name | --program-transform-name \
1224 | --program-transform-nam | --program-transform-na \
1225 | --program-transform-n | --program-transform- \
1226 | --program-transform | --program-transfor \
1227 | --program-transfo | --program-transf \
1228 | --program-trans | --program-tran \
1229 | --progr-tra | --program-tr | --program-t)
1230 ac_prev=program_transform_name ;;
1231 -program-transform-name=* | --program-transform-name=* \
1232 | --program-transform-nam=* | --program-transform-na=* \
1233 | --program-transform-n=* | --program-transform-=* \
1234 | --program-transform=* | --program-transfor=* \
1235 | --program-transfo=* | --program-transf=* \
1236 | --program-trans=* | --program-tran=* \
1237 | --progr-tra=* | --program-tr=* | --program-t=*)
1238 program_transform_name=$ac_optarg ;;
1240 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1242 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1243 pdfdir=$ac_optarg ;;
1245 -psdir | --psdir | --psdi | --psd | --ps)
1247 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251 | -silent | --silent | --silen | --sile | --sil)
1254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1258 sbindir=$ac_optarg ;;
1260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1262 | --sharedst | --shareds | --shared | --share | --shar \
1264 ac_prev=sharedstatedir ;;
1265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1269 sharedstatedir=$ac_optarg ;;
1271 -site | --site | --sit)
1273 -site=* | --site=* | --sit=*)
1276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1279 srcdir=$ac_optarg ;;
1281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1282 | --syscon | --sysco | --sysc | --sys | --sy)
1283 ac_prev=sysconfdir ;;
1284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1286 sysconfdir=$ac_optarg ;;
1288 -target | --target | --targe | --targ | --tar | --ta | --t)
1289 ac_prev=target_alias ;;
1290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1291 target_alias=$ac_optarg ;;
1293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1296 -version | --version | --versio | --versi | --vers | -V)
1297 ac_init_version=: ;;
1300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303 as_fn_error $? "invalid package name: $ac_useropt"
1304 ac_useropt_orig=$ac_useropt
1305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311 ac_unrecognized_sep=', ';;
1313 eval with_$ac_useropt=\$ac_optarg ;;
1315 -without-* | --without-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1329 eval with_$ac_useropt=no ;;
1332 # Obsolete; use --with-x.
1335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336 | --x-incl | --x-inc | --x-in | --x-i)
1337 ac_prev=x_includes ;;
1338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340 x_includes=$ac_optarg ;;
1342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344 ac_prev=x_libraries ;;
1345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347 x_libraries=$ac_optarg ;;
1349 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information"
1354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355 # Reject names that are not valid shell variable names.
1356 case $ac_envvar in #(
1357 '' | [0-9]* | *[!_$as_cr_alnum]* )
1358 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1360 eval $ac_envvar=\$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1374 if test -n "$ac_prev"; then
1375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376 as_fn_error $? "missing argument to $ac_option"
1379 if test -n "$ac_unrecognized_opts"; then
1380 case $enable_option_checking in
1382 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1387 # Check all directory arguments for consistency.
1388 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389 datadir sysconfdir sharedstatedir localstatedir includedir \
1390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391 libdir localedir mandir
1393 eval ac_val=\$$ac_var
1394 # Remove trailing slashes.
1397 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398 eval $ac_var=\$ac_val;;
1400 # Be sure to have absolute directory names.
1402 [\\/$]* | ?:[\\/]* ) continue;;
1403 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1405 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1413 target=$target_alias
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x; then
1417 if test "x$build_alias" = x; then
1418 cross_compiling=maybe
1419 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1420 If a cross compiler is detected then cross compile mode will be used" >&2
1421 elif test "x$build_alias" != "x$host_alias"; then
1427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1429 test "$silent" = yes && exec 6>/dev/null
1432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433 ac_ls_di=`ls -di .` &&
1434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435 as_fn_error $? "working directory cannot be determined"
1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1437 as_fn_error $? "pwd does not report name of working directory"
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442 ac_srcdir_defaulted=yes
1443 # Try the directory containing this script, then the parent directory.
1444 ac_confdir=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446 X"$as_myself" : 'X\(//\)[^/]' \| \
1447 X"$as_myself" : 'X\(//\)$' \| \
1448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1472 ac_srcdir_defaulted=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1478 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1480 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1492 for ac_var in $ac_precious_vars; do
1493 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1494 eval ac_env_${ac_var}_value=\$${ac_var}
1495 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1496 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 # Report the --help message.
1502 if test "$ac_init_help" = "long"; then
1503 # Omit some internal or obsolete options to make the list less imposing.
1504 # This message is too long to be a string in the A/UX 3.1 sh.
1506 \`configure' configures gdk-pixbuf 2.26.1 to adapt to many kinds of systems.
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE. See below for descriptions of some of the useful variables.
1513 Defaults for the options are specified in brackets.
1516 -h, --help display this help and exit
1517 --help=short display options specific to this package
1518 --help=recursive display the short help of all the included packages
1519 -V, --version display version information and exit
1520 -q, --quiet, --silent do not print \`checking ...' messages
1521 --cache-file=FILE cache test results in FILE [disabled]
1522 -C, --config-cache alias for \`--cache-file=config.cache'
1523 -n, --no-create do not create output files
1524 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1526 Installation directories:
1527 --prefix=PREFIX install architecture-independent files in PREFIX
1528 [$ac_default_prefix]
1529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1537 For better control, use the options below.
1539 Fine tuning of the installation directories:
1540 --bindir=DIR user executables [EPREFIX/bin]
1541 --sbindir=DIR system admin executables [EPREFIX/sbin]
1542 --libexecdir=DIR program executables [EPREFIX/libexec]
1543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1545 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1546 --libdir=DIR object code libraries [EPREFIX/lib]
1547 --includedir=DIR C header files [PREFIX/include]
1548 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1551 --infodir=DIR info documentation [DATAROOTDIR/info]
1552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1553 --mandir=DIR man documentation [DATAROOTDIR/man]
1554 --docdir=DIR documentation root [DATAROOTDIR/doc/gdk-pixbuf]
1555 --htmldir=DIR html documentation [DOCDIR]
1556 --dvidir=DIR dvi documentation [DOCDIR]
1557 --pdfdir=DIR pdf documentation [DOCDIR]
1558 --psdir=DIR ps documentation [DOCDIR]
1564 --program-prefix=PREFIX prepend PREFIX to installed program names
1565 --program-suffix=SUFFIX append SUFFIX to installed program names
1566 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1569 --build=BUILD configure for building on BUILD [guessed]
1570 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 if test -n "$ac_init_help"; then
1575 case $ac_init_help in
1576 short | recursive ) echo "Configuration of gdk-pixbuf 2.26.1:";;
1581 --disable-option-checking ignore unrecognized --enable/--with options
1582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1584 --disable-maintainer-mode disable make rules and dependencies not useful
1585 (and sometimes confusing) to the casual installer
1586 --enable-silent-rules less verbose build output (undo: `make V=1')
1587 --disable-silent-rules verbose build output (undo: `make V=0')
1588 --disable-dependency-tracking speeds up one-time build
1589 --enable-dependency-tracking do not reject slow dependency extractors
1590 --enable-static[=PKGS] build static libraries [default=no]
1591 --enable-shared[=PKGS] build shared libraries [default=yes]
1592 --enable-fast-install[=PKGS]
1593 optimize for fast installation [default=yes]
1594 --disable-libtool-lock avoid locking (might break parallel builds)
1595 --disable-largefile omit support for large files
1596 --enable-debug=[no/minimum/yes]
1597 turn on debugging [default=minimum]
1598 --disable-rebuilds disable all source autogeneration rules
1599 --enable-explicit-deps=[yes/no/auto]
1600 use explicit dependencies in .pc files
1602 --disable-nls do not use Native Language Support
1603 --disable-rpath do not hardcode runtime library paths
1604 --disable-glibtest do not try to compile and run a test GLIB program
1605 --disable-modules disable dynamic module loading
1606 --enable-introspection=[no/auto/yes]
1607 Enable introspection for this build
1608 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1609 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1610 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1611 --enable-man regenerate man pages from Docbook [default=no]
1612 --disable-Bsymbolic avoid linking with -Bsymbolic
1615 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1616 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1617 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1619 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1620 --with-sysroot=DIR Search for dependent libraries within DIR
1621 (or the compiler's sysroot if not specified).
1622 --with-gnu-ld assume the C compiler uses GNU ld default=no
1623 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1624 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1625 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1626 --without-libintl-prefix don't search for libintl in includedir and libdir
1627 --without-libpng disable PNG loader for gdk-pixbuf
1628 --without-libjpeg disable JPEG loader for gdk-pixbuf
1629 --without-libtiff disable TIFF loader for gdk-pixbuf
1630 --with-libjasper enable JPEG2000 loader for gdk-pixbuf
1631 --without-gdiplus disable GDI+ loaders for gdk-pixbuf on Windows
1632 --with-included-loaders=LOADER1,LOADER2,...
1633 build the specified loaders into gdk-pixbuf
1634 --with-x11 build X11 support
1635 --with-html-dir=PATH path to installed docs
1637 Some influential environment variables:
1638 CC C compiler command
1639 CFLAGS C compiler flags
1640 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1641 nonstandard directory <lib dir>
1642 LIBS libraries to pass to the linker, e.g. -l<library>
1643 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1644 you have headers in a nonstandard directory <include dir>
1645 PKG_CONFIG path to pkg-config utility
1647 directories to add to pkg-config's search path
1649 path overriding pkg-config's built-in search path
1651 CCAS assembler compiler command (defaults to CC)
1652 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1653 BASE_DEPENDENCIES_CFLAGS
1654 C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1655 BASE_DEPENDENCIES_LIBS
1656 linker flags for BASE_DEPENDENCIES, overriding pkg-config
1657 GDK_PIXBUF_XLIB_DEP_CFLAGS
1658 C compiler flags for GDK_PIXBUF_XLIB_DEP, overriding pkg-config
1659 GDK_PIXBUF_XLIB_DEP_LIBS
1660 linker flags for GDK_PIXBUF_XLIB_DEP, overriding pkg-config
1662 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1664 linker flags for GTKDOC_DEPS, overriding pkg-config
1666 Use these variables to override the choices made by `configure' or to help
1667 it to find libraries and programs with nonstandard names/locations.
1669 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>.
1674 if test "$ac_init_help" = "recursive"; then
1675 # If there are subdirs, report their specific --help.
1676 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1677 test -d "$ac_dir" ||
1678 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1683 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1685 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1686 # A ".." for each directory in $ac_dir_suffix.
1687 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1688 case $ac_top_builddir_sub in
1689 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1693 ac_abs_top_builddir=$ac_pwd
1694 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1695 # for backward compatibility:
1696 ac_top_builddir=$ac_top_build_prefix
1699 .) # We are building in place.
1701 ac_top_srcdir=$ac_top_builddir_sub
1702 ac_abs_top_srcdir=$ac_pwd ;;
1703 [\\/]* | ?:[\\/]* ) # Absolute name.
1704 ac_srcdir=$srcdir$ac_dir_suffix;
1705 ac_top_srcdir=$srcdir
1706 ac_abs_top_srcdir=$srcdir ;;
1708 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1709 ac_top_srcdir=$ac_top_build_prefix$srcdir
1710 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1712 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1714 cd "$ac_dir" || { ac_status=$?; continue; }
1715 # Check for guested configure.
1716 if test -f "$ac_srcdir/configure.gnu"; then
1718 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1719 elif test -f "$ac_srcdir/configure"; then
1721 $SHELL "$ac_srcdir/configure" --help=recursive
1723 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1725 cd "$ac_pwd" || { ac_status=$?; break; }
1729 test -n "$ac_init_help" && exit $ac_status
1730 if $ac_init_version; then
1732 gdk-pixbuf configure 2.26.1
1733 generated by GNU Autoconf 2.68
1735 Copyright (C) 2010 Free Software Foundation, Inc.
1736 This configure script is free software; the Free Software Foundation
1737 gives unlimited permission to copy, distribute and modify it.
1742 ## ------------------------ ##
1743 ## Autoconf initialization. ##
1744 ## ------------------------ ##
1746 # ac_fn_c_try_compile LINENO
1747 # --------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_c_try_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 rm -f conftest.$ac_objext
1753 if { { ac_try="$ac_compile"
1755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_c_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_c_try_compile
1784 # ac_fn_c_try_link LINENO
1785 # -----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext conftest$ac_exeext
1791 if { { ac_try="$ac_link"
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>conftest.err
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest$ac_exeext && {
1810 test "$cross_compiling" = yes ||
1811 $as_test_x conftest$ac_exeext
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1822 # interfere with the next link command; also delete a directory that is
1823 # left behind by Apple's compiler. We do this before executing the actions.
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status $ac_retval
1828 } # ac_fn_c_try_link
1830 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1831 # -------------------------------------------------------
1832 # Tests whether HEADER exists and can be compiled using the include files in
1833 # INCLUDES, setting the cache variable VAR accordingly.
1834 ac_fn_c_check_header_compile ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \${$3+:} false; then :
1840 $as_echo_n "(cached) " >&6
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1847 if ac_fn_c_try_compile "$LINENO"; then :
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_header_compile
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_cpp conftest.$ac_ext"
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } > conftest.i && {
1883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1898 # ac_fn_c_try_run LINENO
1899 # ----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1901 # that executables *can* be run.
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 if { { ac_try="$ac_link"
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>&5
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1916 { { case "(($ac_try" in
1917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1918 *) ac_try_echo=$ac_try;;
1920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922 (eval "$ac_try") 2>&5
1924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925 test $ac_status = 0; }; }; then :
1928 $as_echo "$as_me: program exited with status $ac_status" >&5
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 ac_retval=$ac_status
1934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 as_fn_set_status $ac_retval
1940 # ac_fn_c_check_func LINENO FUNC VAR
1941 # ----------------------------------
1942 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1943 ac_fn_c_check_func ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949 $as_echo_n "(cached) " >&6
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1953 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1955 #define $2 innocuous_$2
1957 /* System header to define __stub macros and hopefully few prototypes,
1958 which can conflict with char $2 (); below.
1959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1960 <limits.h> exists even on freestanding compilers. */
1963 # include <limits.h>
1965 # include <assert.h>
1970 /* Override any GCC internal prototype to avoid an error.
1971 Use char because int might match the return type of a GCC
1972 builtin and then its argument prototype would still apply. */
1977 /* The GNU C library defines this for functions which it implements
1978 to always fail with ENOSYS. Some functions are actually named
1979 something starting with __ and the normal name is an alias. */
1980 #if defined __stub_$2 || defined __stub___$2
1992 if ac_fn_c_try_link "$LINENO"; then :
1997 rm -f core conftest.err conftest.$ac_objext \
1998 conftest$ac_exeext conftest.$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 } # ac_fn_c_check_func
2007 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2008 # -------------------------------------------------------
2009 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2010 # the include files in INCLUDES and setting the cache variable VAR
2012 ac_fn_c_check_header_mongrel ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 if eval \${$3+:} false; then :
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if eval \${$3+:} false; then :
2019 $as_echo_n "(cached) " >&6
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 # Is the header compilable?
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2027 $as_echo_n "checking $2 usability... " >&6; }
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034 ac_header_compiler=yes
2036 ac_header_compiler=no
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2040 $as_echo "$ac_header_compiler" >&6; }
2042 # Is the header present?
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2044 $as_echo_n "checking $2 presence... " >&6; }
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2049 if ac_fn_c_try_cpp "$LINENO"; then :
2050 ac_header_preproc=yes
2052 ac_header_preproc=no
2054 rm -f conftest.err conftest.i conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2056 $as_echo "$ac_header_preproc" >&6; }
2058 # So? What about this header?
2059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2062 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2068 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2070 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2072 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2074 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2077 ( $as_echo "## ------------------------------------------------------------------------- ##
2078 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf ##
2079 ## ------------------------------------------------------------------------- ##"
2080 ) | sed "s/^/$as_me: WARNING: /" >&2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \${$3+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 eval "$3=\$ac_header_compiler"
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096 } # ac_fn_c_check_header_mongrel
2097 cat >config.log <<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2101 It was created by gdk-pixbuf $as_me 2.26.1, which was
2102 generated by GNU Autoconf 2.68. Invocation command line was
2114 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2115 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2116 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2117 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2118 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2120 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2121 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2123 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2124 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2125 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2126 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2127 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2128 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2129 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 $as_echo "PATH: $as_dir"
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_must_keep_next=false
2168 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2170 | -silent | --silent | --silen | --sile | --sil)
2173 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2178 as_fn_append ac_configure_args1 " '$ac_arg'"
2179 if test $ac_must_keep_next = true; then
2180 ac_must_keep_next=false # Got value, back to normal.
2183 *=* | --config-cache | -C | -disable-* | --disable-* \
2184 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2185 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2186 | -with-* | --with-* | -without-* | --without-* | --x)
2187 case "$ac_configure_args0 " in
2188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 -* ) ac_must_keep_next=true ;;
2194 as_fn_append ac_configure_args " '$ac_arg'"
2199 { ac_configure_args0=; unset ac_configure_args0;}
2200 { ac_configure_args1=; unset ac_configure_args1;}
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log. We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208 # Save into config.log some information that might help in debugging.
2212 $as_echo "## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##"
2216 # The following way of writing the cache mishandles newlines in values,
2218 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2219 eval ac_val=\$$ac_var
2223 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2227 _ | IFS | as_nl) ;; #(
2228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2229 *) { eval $ac_var=; unset $ac_var;} ;;
2234 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2237 "s/'\''/'\''\\\\'\'''\''/g;
2238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2248 $as_echo "## ----------------- ##
2249 ## Output variables. ##
2250 ## ----------------- ##"
2252 for ac_var in $ac_subst_vars
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -n "$ac_subst_files"; then
2263 $as_echo "## ------------------- ##
2264 ## File substitutions. ##
2265 ## ------------------- ##"
2267 for ac_var in $ac_subst_files
2269 eval ac_val=\$$ac_var
2271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 $as_echo "$ac_var='\''$ac_val'\''"
2278 if test -s confdefs.h; then
2279 $as_echo "## ----------- ##
2286 test "$ac_signal" != 0 &&
2287 $as_echo "$as_me: caught signal $ac_signal"
2288 $as_echo "$as_me: exit $exit_status"
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2302 $as_echo "/* confdefs.h */" > confdefs.h
2304 # Predefined preprocessor variables.
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_STRING "$PACKAGE_STRING"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_URL "$PACKAGE_URL"
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer an explicitly selected file to automatically selected ones.
2335 if test -n "$CONFIG_SITE"; then
2336 # We do not want a PATH search for config.site.
2337 case $CONFIG_SITE in #((
2338 -*) ac_site_file1=./$CONFIG_SITE;;
2339 */*) ac_site_file1=$CONFIG_SITE;;
2340 *) ac_site_file1=./$CONFIG_SITE;;
2342 elif test "x$prefix" != xNONE; then
2343 ac_site_file1=$prefix/share/config.site
2344 ac_site_file2=$prefix/etc/config.site
2346 ac_site_file1=$ac_default_prefix/share/config.site
2347 ac_site_file2=$ac_default_prefix/etc/config.site
2349 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2351 test "x$ac_site_file" = xNONE && continue
2352 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2354 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2355 sed 's/^/| /' "$ac_site_file" >&5
2357 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error $? "failed to load site script $ac_site_file
2360 See \`config.log' for more details" "$LINENO" 5; }
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special files
2366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372 *) . "./$cache_file";;
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2381 gt_needs="$gt_needs "
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 # differences in whitespace do not lead to failure.
2403 ac_old_val_w=`echo x $ac_old_val`
2404 ac_new_val_w=`echo x $ac_new_val`
2405 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 ac_cache_corrupted=:
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412 eval $ac_var=\$ac_old_val
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2415 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424 *) ac_arg=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 ac_config_headers="$ac_config_headers config.h"
2456 # Save this value here, since automake will set cflags later
2457 cflags_set=${CFLAGS+set}
2459 am__api_version='1.11'
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2465 ac_install_sh="$ac_aux_dir/install-sh -c"
2467 elif test -f "$ac_dir/install.sh"; then
2469 ac_install_sh="$ac_aux_dir/install.sh -c"
2471 elif test -f "$ac_dir/shtool"; then
2473 ac_install_sh="$ac_aux_dir/shtool install -c"
2477 if test -z "$ac_aux_dir"; then
2478 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481 # These three variables are undocumented and unsupported,
2482 # and are intended to be withdrawn in a future Autoconf release.
2483 # They can cause serious problems if a builder's source tree is in a directory
2484 # whose full name contains unusual characters.
2485 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2486 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2487 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490 # Find a good install program. We prefer a C program (faster),
2491 # so one script is as good as another. But avoid the broken or
2492 # incompatible versions:
2493 # SysV /etc/install, /usr/sbin/install
2494 # SunOS /usr/etc/install
2495 # IRIX /sbin/install
2497 # AmigaOS /C/install, which installs bootblocks on floppy discs
2498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2501 # OS/2's system install, which has a completely different semantic
2502 # ./install, which can be erroneously created by make from ./install.sh.
2503 # Reject install programs that cannot install multiple files.
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2505 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2506 if test -z "$INSTALL"; then
2507 if ${ac_cv_path_install+:} false; then :
2508 $as_echo_n "(cached) " >&6
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 # Account for people who put trailing slashes in PATH elements.
2516 case $as_dir/ in #((
2517 ./ | .// | /[cC]/* | \
2518 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2519 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2522 # OSF1 and SCO ODT 3.0 have their own names for install.
2523 # Don't use installbsd from OSF since it installs stuff as root
2525 for ac_prog in ginstall scoinst install; do
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2528 if test $ac_prog = install &&
2529 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530 # AIX install. It has an incompatible calling convention.
2532 elif test $ac_prog = install &&
2533 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2534 # program-specific install script used by HP pwplus--don't use.
2537 rm -rf conftest.one conftest.two conftest.dir
2538 echo one > conftest.one
2539 echo two > conftest.two
2541 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2542 test -s conftest.one && test -s conftest.two &&
2543 test -s conftest.dir/conftest.one &&
2544 test -s conftest.dir/conftest.two
2546 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2559 rm -rf conftest.one conftest.two conftest.dir
2562 if test "${ac_cv_path_install+set}" = set; then
2563 INSTALL=$ac_cv_path_install
2565 # As a last resort, use the slow shell script. Don't cache a
2566 # value for INSTALL within a source directory, because that will
2567 # break other packages using the cache if that directory is
2568 # removed, or if the value is a relative name.
2569 INSTALL=$ac_install_sh
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2573 $as_echo "$INSTALL" >&6; }
2575 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2576 # It thinks the first close brace ends the variable substitution.
2577 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2579 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2581 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2584 $as_echo_n "checking whether build environment is sane... " >&6; }
2587 echo timestamp > conftest.file
2588 # Reject unsafe characters in $srcdir or the absolute working directory
2589 # name. Accept space and tab only in the latter.
2593 *[\\\"\#\$\&\'\`$am_lf]*)
2594 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2597 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2598 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2601 # Do `set' in a subshell so we don't clobber the current shell's
2602 # arguments. Must try -L first in case configure is actually a
2603 # symlink; some systems play weird games with the mod time of symlinks
2604 # (eg FreeBSD returns the mod time of the symlink's containing
2607 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2608 if test "$*" = "X"; then
2610 set X `ls -t "$srcdir/configure" conftest.file`
2613 if test "$*" != "X $srcdir/configure conftest.file" \
2614 && test "$*" != "X conftest.file $srcdir/configure"; then
2616 # If neither matched, then we have a broken ls. This can happen
2617 # if, for instance, CONFIG_SHELL is bash and it inherits a
2618 # broken ls alias from the environment. This has actually
2619 # happened. Such a system could not be considered "sane".
2620 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2621 alias in your environment" "$LINENO" 5
2624 test "$2" = conftest.file
2630 as_fn_error $? "newly created file is older than distributed files!
2631 Check your system clock" "$LINENO" 5
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634 $as_echo "yes" >&6; }
2635 test "$program_prefix" != NONE &&
2636 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2637 # Use a double $ so make ignores it.
2638 test "$program_suffix" != NONE &&
2639 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2640 # Double any \ or $.
2641 # By default was `s,x,x', remove it if useless.
2642 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2643 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2645 # expand $ac_aux_dir to an absolute path
2646 am_aux_dir=`cd $ac_aux_dir && pwd`
2648 if test x"${MISSING+set}" != xset; then
2651 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2653 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2656 # Use eval to expand $SHELL
2657 if eval "$MISSING --run true"; then
2658 am_missing_run="$MISSING --run "
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2662 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2665 if test x"${install_sh}" != xset; then
2668 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2670 install_sh="\${SHELL} $am_aux_dir/install-sh"
2674 # Installed binaries are usually stripped using `strip' when the user
2675 # run `make install-strip'. However `strip' might not be the right
2676 # tool to use in cross-compilation environments, therefore Automake
2677 # will honor the `STRIP' environment variable to overrule this program.
2678 if test "$cross_compiling" != no; then
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}strip; ac_word=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if ${ac_cv_prog_STRIP+:} false; then :
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$STRIP"; then
2688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 STRIP=$ac_cv_prog_STRIP
2708 if test -n "$STRIP"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2710 $as_echo "$STRIP" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2718 if test -z "$ac_cv_prog_STRIP"; then
2720 # Extract the first word of "strip", so it can be a program name with args.
2721 set dummy strip; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$ac_ct_STRIP"; then
2728 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_STRIP="strip"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2748 if test -n "$ac_ct_STRIP"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2750 $as_echo "$ac_ct_STRIP" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2756 if test "x$ac_ct_STRIP" = x; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2763 ac_tool_warned=yes ;;
2768 STRIP="$ac_cv_prog_STRIP"
2772 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2775 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2776 if test -z "$MKDIR_P"; then
2777 if ${ac_cv_path_mkdir+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2784 test -z "$as_dir" && as_dir=.
2785 for ac_prog in mkdir gmkdir; do
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2788 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2789 'mkdir (GNU coreutils) '* | \
2790 'mkdir (coreutils) '* | \
2791 'mkdir (fileutils) '4.1*)
2792 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2802 test -d ./--version && rmdir ./--version
2803 if test "${ac_cv_path_mkdir+set}" = set; then
2804 MKDIR_P="$ac_cv_path_mkdir -p"
2806 # As a last resort, use the slow shell script. Don't cache a
2807 # value for MKDIR_P within a source directory, because that will
2808 # break other packages using the cache if that directory is
2809 # removed, or if the value is a relative name.
2810 MKDIR_P="$ac_install_sh -d"
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2814 $as_echo "$MKDIR_P" >&6; }
2818 [\\/$]* | ?:[\\/]*) ;;
2819 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2822 for ac_prog in gawk mawk nawk awk
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_AWK+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$AWK"; then
2832 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_AWK="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$AWK"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2854 $as_echo "$AWK" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$AWK" && break
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2867 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 cat >conftest.make <<\_ACEOF
2874 @echo '@@@%%%=$(MAKE)=@@@%%%'
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2879 eval ac_cv_prog_make_${ac_make}_set=yes;;
2881 eval ac_cv_prog_make_${ac_make}_set=no;;
2885 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE="MAKE=${MAKE-make}"
2895 rm -rf .tst 2>/dev/null
2896 mkdir .tst 2>/dev/null
2897 if test -d .tst; then
2902 rmdir .tst 2>/dev/null
2904 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2905 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2906 # is not polluted with repeated "-I."
2907 am__isrc=' -I$(srcdir)'
2908 # test to see if srcdir already configured
2909 if test -f $srcdir/config.status; then
2910 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2914 # test whether we have cygpath
2915 if test -z "$CYGPATH_W"; then
2916 if (cygpath --version) >/dev/null 2>/dev/null; then
2917 CYGPATH_W='cygpath -w'
2924 # Define the identity of the package.
2925 PACKAGE='gdk-pixbuf'
2929 # Some tools Automake needs.
2931 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2934 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2937 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2940 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2943 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2945 # We need awk for the "check" target. The system "awk" is bad on
2947 # Always define AMTAR for backward compatibility. Yes, it's still used
2948 # in the wild :-( We should find a proper way to deprecate it ...
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2953 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2954 # Loop over all known methods to create a tar archive until one works.
2955 _am_tools='gnutar plaintar pax cpio none'
2956 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2957 # Do not fold the above two line into one, because Tru64 sh and
2958 # Solaris sh will not grok spaces in the rhs of `-'.
2959 for _am_tool in $_am_tools
2963 for _am_tar in tar gnutar gtar;
2965 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2966 ($_am_tar --version) >&5 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } && break
2971 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2972 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2973 am__untar="$_am_tar -xf -"
2976 # Must skip GNU tar: if it does not support --format= it doesn't create
2977 # ustar tarball either.
2978 (tar --version) >/dev/null 2>&1 && continue
2979 am__tar='tar chf - "$$tardir"'
2980 am__tar_='tar chf - "$tardir"'
2981 am__untar='tar xf -'
2984 am__tar='pax -L -x ustar -w "$$tardir"'
2985 am__tar_='pax -L -x ustar -w "$tardir"'
2989 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2990 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2991 am__untar='cpio -i -H ustar -d'
3000 # If the value was cached, stop now. We just wanted to have am__tar
3001 # and am__untar set.
3002 test -n "${am_cv_prog_tar_ustar}" && break
3004 # tar/untar a dummy directory, and stop if the command works
3007 echo GrepMe > conftest.dir/file
3008 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3009 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }
3014 if test -s conftest.tar; then
3015 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3016 ($am__untar <conftest.tar) >&5 2>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }
3020 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3025 if ${am_cv_prog_tar_ustar+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 am_cv_prog_tar_ustar=$_am_tool
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3032 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3040 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3041 # Check whether --enable-maintainer-mode was given.
3042 if test "${enable_maintainer_mode+set}" = set; then :
3043 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3045 USE_MAINTAINER_MODE=yes
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3049 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3050 if test $USE_MAINTAINER_MODE = yes; then
3051 MAINTAINER_MODE_TRUE=
3052 MAINTAINER_MODE_FALSE='#'
3054 MAINTAINER_MODE_TRUE='#'
3055 MAINTAINER_MODE_FALSE=
3058 MAINT=$MAINTAINER_MODE_TRUE
3062 # Support silent build rules. Disable
3063 # by either passing --disable-silent-rules to configure or passing V=0
3065 # Check whether --enable-silent-rules was given.
3066 if test "${enable_silent_rules+set}" = set; then :
3067 enableval=$enable_silent_rules;
3070 case $enable_silent_rules in
3071 yes) AM_DEFAULT_VERBOSITY=0;;
3072 no) AM_DEFAULT_VERBOSITY=1;;
3073 *) AM_DEFAULT_VERBOSITY=0;;
3075 am_make=${MAKE-make}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3077 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3078 if ${am_cv_make_support_nested_variables+:} false; then :
3079 $as_echo_n "(cached) " >&6
3081 if $as_echo 'TRUE=$(BAR$(V))
3087 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3088 am_cv_make_support_nested_variables=yes
3090 am_cv_make_support_nested_variables=no
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3094 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3095 if test $am_cv_make_support_nested_variables = yes; then
3097 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3099 AM_V=$AM_DEFAULT_VERBOSITY
3100 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3106 # For each of the libraries we build, we define the following
3107 # substituted variables:
3109 # foo_PACKAGES: pkg-config packages this library requires
3110 # foo_EXTRA_LIBS: Libraries this module requires not pulled in by pkg-config
3111 # foo_EXTRA_CFLAGS: cflags this module requires not pulled in by pkg-config
3112 # foo_DEP_LIBS: All libraries this module requires
3113 # foo_DEP_CFLAGS: All cflags this module requires
3118 GDK_PIXBUF_VERSION=2.26.1
3119 GDK_PIXBUF_API_VERSION=2.0
3120 GDK_PIXBUF_BINARY_VERSION=2.10.0
3128 # libtool versioning
3129 #LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
3130 #LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
3131 #LT_REVISION=$GTK_INTERFACE_AGE
3132 #LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
3133 #LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3138 LT_VERSION_INFO="2600:1:2600"
3139 LT_CURRENT_MINUS_AGE=0
3143 # Checks for programs.
3145 ac_cpp='$CPP $CPPFLAGS'
3146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3149 if test -n "$ac_tool_prefix"; then
3150 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3151 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC="$CC" # Let the user override the test.
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test -n "$CC"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3188 if test -z "$ac_cv_prog_CC"; then
3190 # Extract the first word of "gcc", so it can be a program name with args.
3191 set dummy gcc; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$ac_ct_CC"; then
3198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207 ac_cv_prog_ac_ct_CC="gcc"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3226 if test "x$ac_ct_CC" = x; then
3229 case $cross_compiling:$ac_tool_warned in
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3233 ac_tool_warned=yes ;;
3241 if test -z "$CC"; then
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}cc; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_CC+:} false; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$CC"; then
3251 ac_cv_prog_CC="$CC" # Let the user override the test.
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260 ac_cv_prog_CC="${ac_tool_prefix}cc"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3282 if test -z "$CC"; then
3283 # Extract the first word of "cc", so it can be a program name with args.
3284 set dummy cc; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_CC+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$CC"; then
3291 ac_cv_prog_CC="$CC" # Let the user override the test.
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3302 ac_prog_rejected=yes
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test $ac_prog_rejected = yes; then
3314 # We found a bogon in the path, so make sure we never use it.
3315 set dummy $ac_cv_prog_CC
3317 if test $# != 0; then
3318 # We chose a different compiler from the bogus one.
3319 # However, it has the same basename, so the bogon will be chosen
3320 # first if we set CC to just the basename; use the full file name.
3322 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3328 if test -n "$CC"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3330 $as_echo "$CC" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3338 if test -z "$CC"; then
3339 if test -n "$ac_tool_prefix"; then
3340 for ac_prog in cl.exe
3342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if ${ac_cv_prog_CC+:} false; then :
3347 $as_echo_n "(cached) " >&6
3349 if test -n "$CC"; then
3350 ac_cv_prog_CC="$CC" # Let the user override the test.
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir=.
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3359 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 if test -n "$CC"; then
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3379 test -n "$CC" && break
3382 if test -z "$CC"; then
3384 for ac_prog in cl.exe
3386 # Extract the first word of "$ac_prog", so it can be a program name with args.
3387 set dummy $ac_prog; ac_word=$2
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 $as_echo_n "checking for $ac_word... " >&6; }
3390 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 if test -n "$ac_ct_CC"; then
3394 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir=.
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403 ac_cv_prog_ac_ct_CC="$ac_prog"
3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3414 if test -n "$ac_ct_CC"; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3416 $as_echo "$ac_ct_CC" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3423 test -n "$ac_ct_CC" && break
3426 if test "x$ac_ct_CC" = x; then
3429 case $cross_compiling:$ac_tool_warned in
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3433 ac_tool_warned=yes ;;
3442 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $? "no acceptable C compiler found in \$PATH
3445 See \`config.log' for more details" "$LINENO" 5; }
3447 # Provide some information about the compiler.
3448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3451 for ac_option in --version -v -V -qversion; do
3452 { { ac_try="$ac_compiler $ac_option >&5"
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3461 if test -s conftest.err; then
3463 ... rest of stderr output deleted ...
3464 10q' conftest.err >conftest.er1
3465 cat conftest.er1 >&5
3467 rm -f conftest.er1 conftest.err
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 ac_clean_files_save=$ac_clean_files
3484 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3485 # Try to create an executable without -o first, disregard a.out.
3486 # It will help us diagnose broken compilers, and finding out an intuition
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3489 $as_echo_n "checking whether the C compiler works... " >&6; }
3490 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3492 # The possible output files:
3493 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3496 for ac_file in $ac_files
3499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3500 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3505 if { { ac_try="$ac_link_default"
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_link_default") 2>&5
3514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515 test $ac_status = 0; }; then :
3516 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3517 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3518 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3519 # so that the user can short-circuit this test for compilers unknown to
3521 for ac_file in $ac_files ''
3523 test -f "$ac_file" || continue
3525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3528 # We found the default executable, but exeext='' is most
3532 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3534 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3536 # We set ac_cv_exeext here because the later test for it is not
3537 # safe: cross compilers may not add the suffix if given an `-o'
3538 # argument, so we may need to know it at that point already.
3539 # Even if this section looks crufty: it has the advantage of
3546 test "$ac_cv_exeext" = no && ac_cv_exeext=
3551 if test -z "$ac_file"; then :
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3554 $as_echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 as_fn_error 77 "C compiler cannot create executables
3560 See \`config.log' for more details" "$LINENO" 5; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3566 $as_echo_n "checking for C compiler default output file name... " >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3568 $as_echo "$ac_file" >&6; }
3569 ac_exeext=$ac_cv_exeext
3571 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3572 ac_clean_files=$ac_clean_files_save
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3574 $as_echo_n "checking for suffix of executables... " >&6; }
3575 if { { ac_try="$ac_link"
3577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581 $as_echo "$ac_try_echo"; } >&5
3582 (eval "$ac_link") 2>&5
3584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585 test $ac_status = 0; }; then :
3586 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3587 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3588 # work properly (i.e., refer to `conftest.exe'), while it won't with
3590 for ac_file in conftest.exe conftest conftest.*; do
3591 test -f "$ac_file" || continue
3593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3594 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3603 See \`config.log' for more details" "$LINENO" 5; }
3605 rm -f conftest conftest$ac_cv_exeext
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3607 $as_echo "$ac_cv_exeext" >&6; }
3609 rm -f conftest.$ac_ext
3610 EXEEXT=$ac_cv_exeext
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3618 FILE *f = fopen ("conftest.out", "w");
3619 return ferror (f) || fclose (f) != 0;
3625 ac_clean_files="$ac_clean_files conftest.out"
3626 # Check that the compiler produces executables we can run. If not, either
3627 # the compiler is broken, or we cross compile.
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3629 $as_echo_n "checking whether we are cross compiling... " >&6; }
3630 if test "$cross_compiling" != yes; then
3631 { { ac_try="$ac_link"
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637 $as_echo "$ac_try_echo"; } >&5
3638 (eval "$ac_link") 2>&5
3640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641 test $ac_status = 0; }
3642 if { ac_try='./conftest$ac_cv_exeext'
3643 { { case "(($ac_try" in
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649 (eval "$ac_try") 2>&5
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }; }; then
3655 if test "$cross_compiling" = maybe; then
3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error $? "cannot run C compiled programs.
3661 If you meant to cross compile, use \`--host'.
3662 See \`config.log' for more details" "$LINENO" 5; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3667 $as_echo "$cross_compiling" >&6; }
3669 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3670 ac_clean_files=$ac_clean_files_save
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3672 $as_echo_n "checking for suffix of object files... " >&6; }
3673 if ${ac_cv_objext+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 rm -f conftest.o conftest.obj
3688 if { { ac_try="$ac_compile"
3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691 *) ac_try_echo=$ac_try;;
3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3694 $as_echo "$ac_try_echo"; } >&5
3695 (eval "$ac_compile") 2>&5
3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698 test $ac_status = 0; }; then :
3699 for ac_file in conftest.o conftest.obj conftest.*; do
3700 test -f "$ac_file" || continue;
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3703 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3708 $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error $? "cannot compute suffix of object files: cannot compile
3714 See \`config.log' for more details" "$LINENO" 5; }
3716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3719 $as_echo "$ac_cv_objext" >&6; }
3720 OBJEXT=$ac_cv_objext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3724 if ${ac_cv_c_compiler_gnu+:} false; then :
3725 $as_echo_n "(cached) " >&6
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3752 if test $ac_compiler_gnu = yes; then
3757 ac_test_CFLAGS=${CFLAGS+set}
3758 ac_save_CFLAGS=$CFLAGS
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3761 if ${ac_cv_prog_cc_g+:} false; then :
3762 $as_echo_n "(cached) " >&6
3764 ac_save_c_werror_flag=$ac_c_werror_flag
3765 ac_c_werror_flag=yes
3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3769 /* end confdefs.h. */
3779 if ac_fn_c_try_compile "$LINENO"; then :
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3797 ac_c_werror_flag=$ac_save_c_werror_flag
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_c_try_compile "$LINENO"; then :
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 ac_c_werror_flag=$ac_save_c_werror_flag
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3821 $as_echo "$ac_cv_prog_cc_g" >&6; }
3822 if test "$ac_test_CFLAGS" = set; then
3823 CFLAGS=$ac_save_CFLAGS
3824 elif test $ac_cv_prog_cc_g = yes; then
3825 if test "$GCC" = yes; then
3831 if test "$GCC" = yes; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3839 if ${ac_cv_prog_cc_c89+:} false; then :
3840 $as_echo_n "(cached) " >&6
3842 ac_cv_prog_cc_c89=no
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3848 #include <sys/types.h>
3849 #include <sys/stat.h>
3850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3851 struct buf { int x; };
3852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3853 static char *e (p, i)
3859 static char *f (char * (*g) (char **, int), char **p, ...)
3864 s = g (p, va_arg (v,int));
3869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3870 function prototypes and stuff, but not '\xHH' hex character constants.
3871 These don't provoke an error unfortunately, instead are silently treated
3872 as 'x'. The following induces an error, until -std is added to get
3873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3874 array size at least. It's necessary to write '\x00'==0 to get something
3875 that's true only with -std. */
3876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3879 inside strings and character constants. */
3881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3883 int test (int i, double x);
3884 struct s1 {int (*f) (int a);};
3885 struct s2 {int (*f) (double a);};
3886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3900 CC="$ac_save_CC $ac_arg"
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 ac_cv_prog_cc_c89=$ac_arg
3904 rm -f core conftest.err conftest.$ac_objext
3905 test "x$ac_cv_prog_cc_c89" != "xno" && break
3907 rm -f conftest.$ac_ext
3912 case "x$ac_cv_prog_cc_c89" in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3915 $as_echo "none needed" >&6; } ;;
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3918 $as_echo "unsupported" >&6; } ;;
3920 CC="$CC $ac_cv_prog_cc_c89"
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3924 if test "x$ac_cv_prog_cc_c89" != xno; then :
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 DEPDIR="${am__leading_dot}deps"
3935 ac_config_commands="$ac_config_commands depfiles"
3938 am_make=${MAKE-make}
3939 cat > confinc << 'END'
3941 @echo this is the am__doit target
3944 # If we don't find an include directive, just comment out the code.
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3946 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3950 # First try GNU make style include.
3951 echo "include confinc" > confmf
3952 # Ignore all kinds of additional output from `make'.
3953 case `$am_make -s -f confmf 2> /dev/null` in #(
3954 *the\ am__doit\ target*)
3960 # Now try BSD make style include.
3961 if test "$am__include" = "#"; then
3962 echo '.include "confinc"' > confmf
3963 case `$am_make -s -f confmf 2> /dev/null` in #(
3964 *the\ am__doit\ target*)
3965 am__include=.include
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3974 $as_echo "$_am_result" >&6; }
3975 rm -f confinc confmf
3977 # Check whether --enable-dependency-tracking was given.
3978 if test "${enable_dependency_tracking+set}" = set; then :
3979 enableval=$enable_dependency_tracking;
3982 if test "x$enable_dependency_tracking" != xno; then
3983 am_depcomp="$ac_aux_dir/depcomp"
3987 if test "x$enable_dependency_tracking" != xno; then
3997 depcc="$CC" am_compiler_list=
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4000 $as_echo_n "checking dependency style of $depcc... " >&6; }
4001 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4005 # We make a subdir and do the tests there. Otherwise we can end up
4006 # making bogus files that we don't know about and never remove. For
4007 # instance it was reported that on HP-UX the gcc test will end up
4008 # making a dummy file named `D' -- because `-MD' means `put the output
4012 # Copy depcomp to subdir because otherwise we won't find it if we're
4013 # using a relative directory.
4014 cp "$am_depcomp" conftest.dir
4016 # We will build objects and dependencies in a subdirectory because
4017 # it helps to detect inapplicable dependency modes. For instance
4018 # both Tru64's cc and ICC support -MD to output dependencies as a
4019 # side effect of compilation, but ICC will put the dependencies in
4020 # the current directory while Tru64 will put them in the object
4024 am_cv_CC_dependencies_compiler_type=none
4025 if test "$am_compiler_list" = ""; then
4026 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4029 case " $depcc " in #(
4030 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4033 for depmode in $am_compiler_list; do
4034 # Setup a source with many dependencies, because some compilers
4035 # like to wrap large dependency lists on column 80 (with \), and
4036 # we should not choose a depcomp mode which is confused by this.
4038 # We need to recreate these files for each test, as the compiler may
4039 # overwrite some of them when testing with obscure command lines.
4040 # This happens at least with the AIX C compiler.
4042 for i in 1 2 3 4 5 6; do
4043 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4044 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4045 # Solaris 8's {/usr,}/bin/sh.
4046 touch sub/conftst$i.h
4048 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4050 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4051 # mode. It turns out that the SunPro C++ compiler does not properly
4052 # handle `-M -o', and we need to detect this. Also, some Intel
4053 # versions had trouble with output in subdirs
4054 am__obj=sub/conftest.${OBJEXT-o}
4055 am__minus_obj="-o $am__obj"
4058 # This depmode causes a compiler race in universal mode.
4059 test "$am__universal" = false || continue
4062 # after this tag, mechanisms are not by side-effect, so they'll
4063 # only be used when explicitly requested
4064 if test "x$enable_dependency_tracking" = xyes; then
4070 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4071 # This compiler won't grok `-c -o', but also, the minuso test has
4072 # not run yet. These depmodes are late enough in the game, and
4073 # so weak that their functioning should not be impacted.
4074 am__obj=conftest.${OBJEXT-o}
4079 if depmode=$depmode \
4080 source=sub/conftest.c object=$am__obj \
4081 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4082 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4083 >/dev/null 2>conftest.err &&
4084 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4085 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4086 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4087 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4088 # icc doesn't choke on unknown options, it will just issue warnings
4089 # or remarks (even with -Werror). So we grep stderr for any message
4090 # that says an option was ignored or not supported.
4091 # When given -MP, icc 7.0 and 7.1 complain thusly:
4092 # icc: Command line warning: ignoring option '-M'; no argument required
4093 # The diagnosis changed in icc 8.0:
4094 # icc: Command line remark: option '-MP' not supported
4095 if (grep 'ignoring option' conftest.err ||
4096 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4097 am_cv_CC_dependencies_compiler_type=$depmode
4106 am_cv_CC_dependencies_compiler_type=none
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4111 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4112 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4115 test "x$enable_dependency_tracking" != xno \
4116 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4118 am__fastdepCC_FALSE='#'
4120 am__fastdepCC_TRUE='#'
4121 am__fastdepCC_FALSE=
4125 if test "x$CC" != xcc; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4127 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4130 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4132 set dummy $CC; ac_cc=`$as_echo "$2" |
4133 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4134 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4135 $as_echo_n "(cached) " >&6
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4148 # Make sure it works both with $CC and with simple cc.
4149 # We do the test twice because some compilers refuse to overwrite an
4150 # existing .o file with -o, though they will create one.
4151 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4153 if { { case "(($ac_try" in
4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158 $as_echo "$ac_try_echo"; } >&5
4159 (eval "$ac_try") 2>&5
4161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162 test $ac_status = 0; } &&
4163 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_try") 2>&5
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; };
4174 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4175 if test "x$CC" != xcc; then
4176 # Test first that cc exists at all.
4177 if { ac_try='cc -c conftest.$ac_ext >&5'
4178 { { case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_try") 2>&5
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; }; then
4188 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4190 if { { case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_try") 2>&5
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199 test $ac_status = 0; } &&
4200 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_try") 2>&5
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; };
4214 # cc exists but doesn't like -o.
4215 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4220 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4222 rm -f core conftest*
4225 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4232 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4236 case $ac_cv_prog_cc_stdc in #(
4238 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4241 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4242 if ${ac_cv_prog_cc_c99+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 ac_cv_prog_cc_c99=no
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4250 #include <stdbool.h>
4255 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4256 #define debug(...) fprintf (stderr, __VA_ARGS__)
4257 #define showlist(...) puts (#__VA_ARGS__)
4258 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4260 test_varargs_macros (void)
4265 debug ("X = %d\n", x);
4266 showlist (The first, second, and third items.);
4267 report (x>y, "x is %d but y is %d", x, y);
4270 // Check long long types.
4271 #define BIG64 18446744073709551615ull
4272 #define BIG32 4294967295ul
4273 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4275 your preprocessor is broken;
4279 your preprocessor is broken;
4281 static long long int bignum = -9223372036854775807LL;
4282 static unsigned long long int ubignum = BIG64;
4284 struct incomplete_array
4292 const wchar_t *name;
4296 typedef const char *ccp;
4299 test_restrict (ccp restrict text)
4301 // See if C++-style comments work.
4302 // Iterate through items via the restricted pointer.
4303 // Also check for declarations in for loops.
4304 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4309 // Check varargs and va_copy.
4311 test_varargs (const char *format, ...)
4314 va_start (args, format);
4316 va_copy (args_copy, args);
4327 str = va_arg (args_copy, const char *);
4330 number = va_arg (args_copy, int);
4333 fnumber = va_arg (args_copy, double);
4348 _Bool success = false;
4351 if (test_restrict ("String literal") == 0)
4353 char *restrict newvar = "Another string";
4356 test_varargs ("s, d' f .", "string", 65, 34.234);
4357 test_varargs_macros ();
4359 // Check flexible array members.
4360 struct incomplete_array *ia =
4361 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4363 for (int i = 0; i < ia->datasize; ++i)
4364 ia->data[i] = i * 1.234;
4366 // Check named initializers.
4367 struct named_init ni = {
4369 .name = L"Test wide string",
4370 .average = 543.34343,
4375 int dynamic_array[ni.number];
4376 dynamic_array[ni.number - 1] = 543;
4378 // work around unused variable warnings
4379 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4380 || dynamic_array[ni.number - 1] != 543);
4386 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c99=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c99" != "xno" && break
4395 rm -f conftest.$ac_ext
4400 case "x$ac_cv_prog_cc_c99" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c99"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4410 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4412 if test "x$ac_cv_prog_cc_c99" != xno; then :
4413 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4417 if ${ac_cv_prog_cc_c89+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 ac_cv_prog_cc_c89=no
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4426 #include <sys/types.h>
4427 #include <sys/stat.h>
4428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4429 struct buf { int x; };
4430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4431 static char *e (p, i)
4437 static char *f (char * (*g) (char **, int), char **p, ...)
4442 s = g (p, va_arg (v,int));
4447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4448 function prototypes and stuff, but not '\xHH' hex character constants.
4449 These don't provoke an error unfortunately, instead are silently treated
4450 as 'x'. The following induces an error, until -std is added to get
4451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4452 array size at least. It's necessary to write '\x00'==0 to get something
4453 that's true only with -std. */
4454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4457 inside strings and character constants. */
4459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4461 int test (int i, double x);
4462 struct s1 {int (*f) (int a);};
4463 struct s2 {int (*f) (double a);};
4464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4478 CC="$ac_save_CC $ac_arg"
4479 if ac_fn_c_try_compile "$LINENO"; then :
4480 ac_cv_prog_cc_c89=$ac_arg
4482 rm -f core conftest.err conftest.$ac_objext
4483 test "x$ac_cv_prog_cc_c89" != "xno" && break
4485 rm -f conftest.$ac_ext
4490 case "x$ac_cv_prog_cc_c89" in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4493 $as_echo "none needed" >&6; } ;;
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4496 $as_echo "unsupported" >&6; } ;;
4498 CC="$CC $ac_cv_prog_cc_c89"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4502 if test "x$ac_cv_prog_cc_c89" != xno; then :
4503 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4505 ac_cv_prog_cc_stdc=no
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4512 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4513 if ${ac_cv_prog_cc_stdc+:} false; then :
4514 $as_echo_n "(cached) " >&6
4517 case $ac_cv_prog_cc_stdc in #(
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4520 $as_echo "unsupported" >&6; } ;; #(
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4523 $as_echo "none needed" >&6; } ;; #(
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4526 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4531 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4533 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4534 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4535 $as_echo_n "(cached) " >&6
4537 cat >conftest.make <<\_ACEOF
4540 @echo '@@@%%%=$(MAKE)=@@@%%%'
4542 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4545 eval ac_cv_prog_make_${ac_make}_set=yes;;
4547 eval ac_cv_prog_make_${ac_make}_set=no;;
4551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4558 SET_MAKE="MAKE=${MAKE-make}"
4567 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4568 if test -n "$ac_tool_prefix"; then
4569 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4570 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4574 $as_echo_n "(cached) " >&6
4578 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4600 if test -n "$PKG_CONFIG"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4602 $as_echo "$PKG_CONFIG" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4610 if test -z "$ac_cv_path_PKG_CONFIG"; then
4611 ac_pt_PKG_CONFIG=$PKG_CONFIG
4612 # Extract the first word of "pkg-config", so it can be a program name with args.
4613 set dummy pkg-config; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4617 $as_echo_n "(cached) " >&6
4619 case $ac_pt_PKG_CONFIG in
4621 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4643 if test -n "$ac_pt_PKG_CONFIG"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4645 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4651 if test "x$ac_pt_PKG_CONFIG" = x; then
4654 case $cross_compiling:$ac_tool_warned in
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4658 ac_tool_warned=yes ;;
4660 PKG_CONFIG=$ac_pt_PKG_CONFIG
4663 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4667 if test -n "$PKG_CONFIG"; then
4668 _pkg_min_version=0.9.0
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4670 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4673 $as_echo "yes" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4681 # Make sure we can run config.sub.
4682 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4683 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4686 $as_echo_n "checking build system type... " >&6; }
4687 if ${ac_cv_build+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 ac_build_alias=$build_alias
4691 test "x$ac_build_alias" = x &&
4692 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4693 test "x$ac_build_alias" = x &&
4694 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4696 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4700 $as_echo "$ac_cv_build" >&6; }
4701 case $ac_cv_build in
4703 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4706 ac_save_IFS=$IFS; IFS='-'
4712 # Remember, the first character of IFS is used to create $*,
4713 # except with old shells:
4716 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4720 $as_echo_n "checking host system type... " >&6; }
4721 if ${ac_cv_host+:} false; then :
4722 $as_echo_n "(cached) " >&6
4724 if test "x$host_alias" = x; then
4725 ac_cv_host=$ac_cv_build
4727 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4728 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4733 $as_echo "$ac_cv_host" >&6; }
4736 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4739 ac_save_IFS=$IFS; IFS='-'
4745 # Remember, the first character of IFS is used to create $*,
4746 # except with old shells:
4749 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
4755 $as_echo_n "checking for native Win32... " >&6; }
4756 LIB_EXE_MACHINE_FLAG=X86
4757 EXE_MANIFEST_ARCHITECTURE=X86
4765 LIB_EXE_MACHINE_FLAG=X64
4766 EXE_MANIFEST_ARCHITECTURE=AMD64
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
4775 $as_echo "$os_win32" >&6; }
4786 if test "$os_win32" = "yes"; then
4787 if test x$enable_static = xyes -o x$enable_static = x; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
4789 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
4792 if test x$enable_shared = xno; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
4794 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4803 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4808 macro_version='2.4.2'
4809 macro_revision='1.3337'
4823 ltmain="$ac_aux_dir/ltmain.sh"
4825 # Backslashify metacharacters that are still active within
4826 # double-quoted strings.
4827 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4829 # Same as above, but do not quote variable references.
4830 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4832 # Sed substitution to delay expansion of an escaped shell variable in a
4833 # double_quote_subst'ed string.
4834 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4836 # Sed substitution to delay expansion of an escaped single quote.
4837 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4839 # Sed substitution to avoid accidental globbing in evaled expressions
4840 no_glob_subst='s/\*/\\\*/g'
4842 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4843 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4844 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4847 $as_echo_n "checking how to print strings... " >&6; }
4848 # Test print first, because it will be a builtin if present.
4849 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4850 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4852 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4855 # Use this function as a fallback that always works.
4856 func_fallback_echo ()
4858 eval 'cat <<_LTECHO_EOF
4862 ECHO='func_fallback_echo'
4865 # func_echo_all arg...
4866 # Invoke $ECHO with all args, space-separated.
4873 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4874 $as_echo "printf" >&6; } ;;
4875 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4876 $as_echo "print -r" >&6; } ;;
4877 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4878 $as_echo "cat" >&6; } ;;
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4895 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4896 if ${ac_cv_path_SED+:} false; then :
4897 $as_echo_n "(cached) " >&6
4899 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4900 for ac_i in 1 2 3 4 5 6 7; do
4901 ac_script="$ac_script$as_nl$ac_script"
4903 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4904 { ac_script=; unset ac_script;}
4905 if test -z "$SED"; then
4906 ac_path_SED_found=false
4907 # Loop through the user's path and test for each of PROGNAME-LIST
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir=.
4913 for ac_prog in sed gsed; do
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4916 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4917 # Check for GNU ac_path_SED and select it if it is found.
4918 # Check for GNU $ac_path_SED
4919 case `"$ac_path_SED" --version 2>&1` in
4921 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4924 $as_echo_n 0123456789 >"conftest.in"
4927 cat "conftest.in" "conftest.in" >"conftest.tmp"
4928 mv "conftest.tmp" "conftest.in"
4929 cp "conftest.in" "conftest.nl"
4930 $as_echo '' >> "conftest.nl"
4931 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4932 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4933 as_fn_arith $ac_count + 1 && ac_count=$as_val
4934 if test $ac_count -gt ${ac_path_SED_max-0}; then
4935 # Best one so far, save it but keep looking for a better one
4936 ac_cv_path_SED="$ac_path_SED"
4937 ac_path_SED_max=$ac_count
4939 # 10*(2^10) chars as input seems more than enough
4940 test $ac_count -gt 10 && break
4942 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4945 $ac_path_SED_found && break 3
4950 if test -z "$ac_cv_path_SED"; then
4951 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4959 $as_echo "$ac_cv_path_SED" >&6; }
4960 SED="$ac_cv_path_SED"
4963 test -z "$SED" && SED=sed
4964 Xsed="$SED -e 1s/^X//"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4977 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4978 if ${ac_cv_path_GREP+:} false; then :
4979 $as_echo_n "(cached) " >&6
4981 if test -z "$GREP"; then
4982 ac_path_GREP_found=false
4983 # Loop through the user's path and test for each of PROGNAME-LIST
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4988 test -z "$as_dir" && as_dir=.
4989 for ac_prog in grep ggrep; do
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4992 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4993 # Check for GNU ac_path_GREP and select it if it is found.
4994 # Check for GNU $ac_path_GREP
4995 case `"$ac_path_GREP" --version 2>&1` in
4997 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5000 $as_echo_n 0123456789 >"conftest.in"
5003 cat "conftest.in" "conftest.in" >"conftest.tmp"
5004 mv "conftest.tmp" "conftest.in"
5005 cp "conftest.in" "conftest.nl"
5006 $as_echo 'GREP' >> "conftest.nl"
5007 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5009 as_fn_arith $ac_count + 1 && ac_count=$as_val
5010 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5011 # Best one so far, save it but keep looking for a better one
5012 ac_cv_path_GREP="$ac_path_GREP"
5013 ac_path_GREP_max=$ac_count
5015 # 10*(2^10) chars as input seems more than enough
5016 test $ac_count -gt 10 && break
5018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5021 $ac_path_GREP_found && break 3
5026 if test -z "$ac_cv_path_GREP"; then
5027 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5030 ac_cv_path_GREP=$GREP
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5035 $as_echo "$ac_cv_path_GREP" >&6; }
5036 GREP="$ac_cv_path_GREP"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5040 $as_echo_n "checking for egrep... " >&6; }
5041 if ${ac_cv_path_EGREP+:} false; then :
5042 $as_echo_n "(cached) " >&6
5044 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5045 then ac_cv_path_EGREP="$GREP -E"
5047 if test -z "$EGREP"; then
5048 ac_path_EGREP_found=false
5049 # Loop through the user's path and test for each of PROGNAME-LIST
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5054 test -z "$as_dir" && as_dir=.
5055 for ac_prog in egrep; do
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5059 # Check for GNU ac_path_EGREP and select it if it is found.
5060 # Check for GNU $ac_path_EGREP
5061 case `"$ac_path_EGREP" --version 2>&1` in
5063 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5066 $as_echo_n 0123456789 >"conftest.in"
5069 cat "conftest.in" "conftest.in" >"conftest.tmp"
5070 mv "conftest.tmp" "conftest.in"
5071 cp "conftest.in" "conftest.nl"
5072 $as_echo 'EGREP' >> "conftest.nl"
5073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5075 as_fn_arith $ac_count + 1 && ac_count=$as_val
5076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5077 # Best one so far, save it but keep looking for a better one
5078 ac_cv_path_EGREP="$ac_path_EGREP"
5079 ac_path_EGREP_max=$ac_count
5081 # 10*(2^10) chars as input seems more than enough
5082 test $ac_count -gt 10 && break
5084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5087 $ac_path_EGREP_found && break 3
5092 if test -z "$ac_cv_path_EGREP"; then
5093 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5096 ac_cv_path_EGREP=$EGREP
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5102 $as_echo "$ac_cv_path_EGREP" >&6; }
5103 EGREP="$ac_cv_path_EGREP"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5107 $as_echo_n "checking for fgrep... " >&6; }
5108 if ${ac_cv_path_FGREP+:} false; then :
5109 $as_echo_n "(cached) " >&6
5111 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5112 then ac_cv_path_FGREP="$GREP -F"
5114 if test -z "$FGREP"; then
5115 ac_path_FGREP_found=false
5116 # Loop through the user's path and test for each of PROGNAME-LIST
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5121 test -z "$as_dir" && as_dir=.
5122 for ac_prog in fgrep; do
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5125 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5126 # Check for GNU ac_path_FGREP and select it if it is found.
5127 # Check for GNU $ac_path_FGREP
5128 case `"$ac_path_FGREP" --version 2>&1` in
5130 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5133 $as_echo_n 0123456789 >"conftest.in"
5136 cat "conftest.in" "conftest.in" >"conftest.tmp"
5137 mv "conftest.tmp" "conftest.in"
5138 cp "conftest.in" "conftest.nl"
5139 $as_echo 'FGREP' >> "conftest.nl"
5140 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5141 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5142 as_fn_arith $ac_count + 1 && ac_count=$as_val
5143 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5144 # Best one so far, save it but keep looking for a better one
5145 ac_cv_path_FGREP="$ac_path_FGREP"
5146 ac_path_FGREP_max=$ac_count
5148 # 10*(2^10) chars as input seems more than enough
5149 test $ac_count -gt 10 && break
5151 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5154 $ac_path_FGREP_found && break 3
5159 if test -z "$ac_cv_path_FGREP"; then
5160 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5163 ac_cv_path_FGREP=$FGREP
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5169 $as_echo "$ac_cv_path_FGREP" >&6; }
5170 FGREP="$ac_cv_path_FGREP"
5173 test -z "$GREP" && GREP=grep
5193 # Check whether --with-gnu-ld was given.
5194 if test "${with_gnu_ld+set}" = set; then :
5195 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5201 if test "$GCC" = yes; then
5202 # Check if gcc -print-prog-name=ld gives a path.
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5204 $as_echo_n "checking for ld used by $CC... " >&6; }
5207 # gcc leaves a trailing carriage return which upsets mingw
5208 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5210 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5213 # Accept absolute paths.
5215 re_direlt='/[^/][^/]*/\.\./'
5216 # Canonicalize the pathname of ld
5217 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5218 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5219 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5221 test -z "$LD" && LD="$ac_prog"
5224 # If it fails, then pretend we aren't using GCC.
5228 # If it is relative, then search for the first ld in PATH.
5232 elif test "$with_gnu_ld" = yes; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5234 $as_echo_n "checking for GNU ld... " >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5237 $as_echo_n "checking for non-GNU ld... " >&6; }
5239 if ${lt_cv_path_LD+:} false; then :
5240 $as_echo_n "(cached) " >&6
5242 if test -z "$LD"; then
5243 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5244 for ac_dir in $PATH; do
5246 test -z "$ac_dir" && ac_dir=.
5247 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5248 lt_cv_path_LD="$ac_dir/$ac_prog"
5249 # Check to see if the program is GNU ld. I'd rather use --version,
5250 # but apparently some variants of GNU ld only accept -v.
5251 # Break only if it was the GNU/non-GNU ld that we prefer.
5252 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5253 *GNU* | *'with BFD'*)
5254 test "$with_gnu_ld" != no && break
5257 test "$with_gnu_ld" != yes && break
5264 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5269 if test -n "$LD"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5271 $as_echo "$LD" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5276 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5278 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5279 if ${lt_cv_prog_gnu_ld+:} false; then :
5280 $as_echo_n "(cached) " >&6
5282 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5283 case `$LD -v 2>&1 </dev/null` in
5284 *GNU* | *'with BFD'*)
5285 lt_cv_prog_gnu_ld=yes
5288 lt_cv_prog_gnu_ld=no
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5293 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5294 with_gnu_ld=$lt_cv_prog_gnu_ld
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5305 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5306 if ${lt_cv_path_NM+:} false; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$NM"; then
5310 # Let the user override the test.
5313 lt_nm_to_check="${ac_tool_prefix}nm"
5314 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5315 lt_nm_to_check="$lt_nm_to_check nm"
5317 for lt_tmp_nm in $lt_nm_to_check; do
5318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5319 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5321 test -z "$ac_dir" && ac_dir=.
5322 tmp_nm="$ac_dir/$lt_tmp_nm"
5323 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5324 # Check to see if the nm accepts a BSD-compat flag.
5325 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5326 # nm: unknown option "B" ignored
5327 # Tru64's nm complains that /dev/null is an invalid object file
5328 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5329 */dev/null* | *'Invalid file or object type'*)
5330 lt_cv_path_NM="$tmp_nm -B"
5334 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5336 lt_cv_path_NM="$tmp_nm -p"
5340 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5341 continue # so that we can try to find one that supports BSD flags
5350 : ${lt_cv_path_NM=no}
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5354 $as_echo "$lt_cv_path_NM" >&6; }
5355 if test "$lt_cv_path_NM" != "no"; then
5358 # Didn't find any BSD compatible name lister, look for dumpbin.
5359 if test -n "$DUMPBIN"; then :
5360 # Let the user override the test.
5362 if test -n "$ac_tool_prefix"; then
5363 for ac_prog in dumpbin "link -dump"
5365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_DUMPBIN+:} false; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$DUMPBIN"; then
5373 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 DUMPBIN=$ac_cv_prog_DUMPBIN
5393 if test -n "$DUMPBIN"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5395 $as_echo "$DUMPBIN" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 test -n "$DUMPBIN" && break
5405 if test -z "$DUMPBIN"; then
5406 ac_ct_DUMPBIN=$DUMPBIN
5407 for ac_prog in dumpbin "link -dump"
5409 # Extract the first word of "$ac_prog", so it can be a program name with args.
5410 set dummy $ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$ac_ct_DUMPBIN"; then
5417 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5426 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5437 if test -n "$ac_ct_DUMPBIN"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5439 $as_echo "$ac_ct_DUMPBIN" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$ac_ct_DUMPBIN" && break
5449 if test "x$ac_ct_DUMPBIN" = x; then
5452 case $cross_compiling:$ac_tool_warned in
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5458 DUMPBIN=$ac_ct_DUMPBIN
5462 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5464 DUMPBIN="$DUMPBIN -symbols"
5472 if test "$DUMPBIN" != ":"; then
5476 test -z "$NM" && NM=nm
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5484 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5485 if ${lt_cv_nm_interface+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 lt_cv_nm_interface="BSD nm"
5489 echo "int some_variable = 0;" > conftest.$ac_ext
5490 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5491 (eval "$ac_compile" 2>conftest.err)
5492 cat conftest.err >&5
5493 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5494 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5495 cat conftest.err >&5
5496 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5497 cat conftest.out >&5
5498 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5499 lt_cv_nm_interface="MS dumpbin"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5504 $as_echo "$lt_cv_nm_interface" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5507 $as_echo_n "checking whether ln -s works... " >&6; }
5509 if test "$LN_S" = "ln -s"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5511 $as_echo "yes" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5514 $as_echo "no, using $LN_S" >&6; }
5517 # find the maximum length of command line arguments
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5519 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5520 if ${lt_cv_sys_max_cmd_len+:} false; then :
5521 $as_echo_n "(cached) " >&6
5528 # On DJGPP, this test can blow up pretty badly due to problems in libc
5529 # (any single argument exceeding 2000 bytes causes a buffer overrun
5530 # during glob expansion). Even if it were fixed, the result of this
5531 # check would be larger than it should be.
5532 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5536 # Under GNU Hurd, this test is not required because there is
5537 # no limit to the length of command line arguments.
5538 # Libtool will interpret -1 as no limit whatsoever
5539 lt_cv_sys_max_cmd_len=-1;
5542 cygwin* | mingw* | cegcc*)
5543 # On Win9x/ME, this test blows up -- it succeeds, but takes
5544 # about 5 minutes as the teststring grows exponentially.
5545 # Worse, since 9x/ME are not pre-emptively multitasking,
5546 # you end up with a "frozen" computer, even though with patience
5547 # the test eventually succeeds (with a max line length of 256k).
5548 # Instead, let's just punt: use the minimum linelength reported by
5549 # all of the supported platforms: 8192 (on NT/2K/XP).
5550 lt_cv_sys_max_cmd_len=8192;
5554 # On MiNT this can take a long time and run out of memory.
5555 lt_cv_sys_max_cmd_len=8192;
5559 # On AmigaOS with pdksh, this test takes hours, literally.
5560 # So we just punt and use a minimum line length of 8192.
5561 lt_cv_sys_max_cmd_len=8192;
5564 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5565 # This has been around since 386BSD, at least. Likely further.
5566 if test -x /sbin/sysctl; then
5567 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5568 elif test -x /usr/sbin/sysctl; then
5569 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5571 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5573 # And add a safety zone
5574 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5575 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5579 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5580 lt_cv_sys_max_cmd_len=196608
5584 # The test takes a long time on OS/2.
5585 lt_cv_sys_max_cmd_len=8192
5589 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5590 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5591 # nice to cause kernel panics so lets avoid the loop below.
5592 # First set a reasonable default.
5593 lt_cv_sys_max_cmd_len=16384
5595 if test -x /sbin/sysconfig; then
5596 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5597 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5602 lt_cv_sys_max_cmd_len=102400
5604 sysv5* | sco5v6* | sysv4.2uw2*)
5605 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5606 if test -n "$kargmax"; then
5607 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5609 lt_cv_sys_max_cmd_len=32768
5613 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5614 if test -n "$lt_cv_sys_max_cmd_len"; then
5615 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5616 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5618 # Make teststring a little bigger before we do anything with it.
5619 # a 1K string should be a reasonable start.
5620 for i in 1 2 3 4 5 6 7 8 ; do
5621 teststring=$teststring$teststring
5623 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5624 # If test is not a shell built-in, we'll probably end up computing a
5625 # maximum length that is only half of the actual maximum length, but
5627 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5628 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5629 test $i != 17 # 1/2 MB should be enough
5632 teststring=$teststring$teststring
5634 # Only check the string length outside the loop.
5635 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5637 # Add a significant safety factor because C++ compilers can tack on
5638 # massive amounts of additional arguments before passing them to the
5639 # linker. It appears as though 1/2 is a usable value.
5640 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5647 if test -n $lt_cv_sys_max_cmd_len ; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5649 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5652 $as_echo "none" >&6; }
5654 max_cmd_len=$lt_cv_sys_max_cmd_len
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5666 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5667 # Try some XSI features
5670 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5672 && eval 'test $(( 1 + 1 )) -eq 2 \
5673 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5676 $as_echo "$xsi_shell" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5680 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5682 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5684 && lt_shell_append=yes
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5686 $as_echo "$lt_shell_append" >&6; }
5689 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5699 # test EBCDIC or ASCII
5700 case `echo X|tr X '\101'` in
5701 A) # ASCII based system
5702 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5703 lt_SP2NL='tr \040 \012'
5704 lt_NL2SP='tr \015\012 \040\040'
5706 *) # EBCDIC based system
5707 lt_SP2NL='tr \100 \n'
5708 lt_NL2SP='tr \r\n \100\100'
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5721 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5722 if ${lt_cv_to_host_file_cmd+:} false; then :
5723 $as_echo_n "(cached) " >&6
5728 *-*-mingw* ) # actually msys
5729 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5732 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5734 * ) # otherwise, assume *nix
5735 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5741 *-*-mingw* ) # actually msys
5742 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5745 lt_cv_to_host_file_cmd=func_convert_file_noop
5747 * ) # otherwise, assume *nix
5748 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5752 * ) # unhandled hosts (and "normal" native builds)
5753 lt_cv_to_host_file_cmd=func_convert_file_noop
5759 to_host_file_cmd=$lt_cv_to_host_file_cmd
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5761 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5768 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5769 if ${lt_cv_to_tool_file_cmd+:} false; then :
5770 $as_echo_n "(cached) " >&6
5772 #assume ordinary cross tools, or native build.
5773 lt_cv_to_tool_file_cmd=func_convert_file_noop
5777 *-*-mingw* ) # actually msys
5778 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5786 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5788 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5795 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5796 if ${lt_cv_ld_reload_flag+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 lt_cv_ld_reload_flag='-r'
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5806 *) reload_flag=" $reload_flag" ;;
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5810 cygwin* | mingw* | pw32* | cegcc*)
5811 if test "$GCC" != yes; then
5816 if test "$GCC" = yes; then
5817 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5819 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_OBJDUMP+:} false; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$OBJDUMP"; then
5841 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 OBJDUMP=$ac_cv_prog_OBJDUMP
5861 if test -n "$OBJDUMP"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5863 $as_echo "$OBJDUMP" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5871 if test -z "$ac_cv_prog_OBJDUMP"; then
5872 ac_ct_OBJDUMP=$OBJDUMP
5873 # Extract the first word of "objdump", so it can be a program name with args.
5874 set dummy objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$ac_ct_OBJDUMP"; then
5881 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5901 if test -n "$ac_ct_OBJDUMP"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5903 $as_echo "$ac_ct_OBJDUMP" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5909 if test "x$ac_ct_OBJDUMP" = x; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5918 OBJDUMP=$ac_ct_OBJDUMP
5921 OBJDUMP="$ac_cv_prog_OBJDUMP"
5924 test -z "$OBJDUMP" && OBJDUMP=objdump
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5932 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5933 if ${lt_cv_deplibs_check_method+:} false; then :
5934 $as_echo_n "(cached) " >&6
5936 lt_cv_file_magic_cmd='$MAGIC_CMD'
5937 lt_cv_file_magic_test_file=
5938 lt_cv_deplibs_check_method='unknown'
5939 # Need to set the preceding variable on all platforms that support
5940 # interlibrary dependencies.
5941 # 'none' -- dependencies not supported.
5942 # `unknown' -- same as none, but documents that we really don't know.
5943 # 'pass_all' -- all dependencies passed with no checks.
5944 # 'test_compile' -- check by making test program.
5945 # 'file_magic [[regex]]' -- check by looking for files in library path
5946 # which responds to the $file_magic_cmd with a given extended regex.
5947 # If you have `file' or equivalent on your system and you're not sure
5948 # whether `pass_all' will *always* work, you probably want this one.
5952 lt_cv_deplibs_check_method=pass_all
5956 lt_cv_deplibs_check_method=pass_all
5960 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5961 lt_cv_file_magic_cmd='/usr/bin/file -L'
5962 lt_cv_file_magic_test_file=/shlib/libc.so
5966 # func_win32_libid is a shell function defined in ltmain.sh
5967 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5968 lt_cv_file_magic_cmd='func_win32_libid'
5972 # Base MSYS/MinGW do not provide the 'file' command needed by
5973 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5974 # unless we find 'file', for example because we are cross-compiling.
5975 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5976 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5977 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5978 lt_cv_file_magic_cmd='func_win32_libid'
5980 # Keep this pattern in sync with the one in func_win32_libid.
5981 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5982 lt_cv_file_magic_cmd='$OBJDUMP -f'
5987 # use the weaker test based on 'objdump'. See mingw*.
5988 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5989 lt_cv_file_magic_cmd='$OBJDUMP -f'
5992 darwin* | rhapsody*)
5993 lt_cv_deplibs_check_method=pass_all
5996 freebsd* | dragonfly*)
5997 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6000 # Not sure whether the presence of OpenBSD here was a mistake.
6001 # Let's accept both of them until this is cleared up.
6002 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6003 lt_cv_file_magic_cmd=/usr/bin/file
6004 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6008 lt_cv_deplibs_check_method=pass_all
6013 lt_cv_deplibs_check_method=pass_all
6017 lt_cv_deplibs_check_method=pass_all
6020 hpux10.20* | hpux11*)
6021 lt_cv_file_magic_cmd=/usr/bin/file
6024 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6025 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6029 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6032 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6033 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6039 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6040 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6043 irix5* | irix6* | nonstopux*)
6045 *-32|*"-32 ") libmagic=32-bit;;
6046 *-n32|*"-n32 ") libmagic=N32;;
6047 *-64|*"-64 ") libmagic=64-bit;;
6048 *) libmagic=never-match;;
6050 lt_cv_deplibs_check_method=pass_all
6053 # This must be glibc/ELF.
6054 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6055 lt_cv_deplibs_check_method=pass_all
6059 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6067 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6068 lt_cv_file_magic_cmd=/usr/bin/file
6069 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6073 lt_cv_deplibs_check_method=pass_all
6077 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6078 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6084 osf3* | osf4* | osf5*)
6085 lt_cv_deplibs_check_method=pass_all
6089 lt_cv_deplibs_check_method=pass_all
6093 lt_cv_deplibs_check_method=pass_all
6096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6097 lt_cv_deplibs_check_method=pass_all
6101 case $host_vendor in
6103 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]'
6104 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6107 lt_cv_deplibs_check_method=pass_all
6110 lt_cv_file_magic_cmd='/bin/file'
6111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6114 lt_cv_file_magic_cmd='/bin/file'
6115 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6116 lt_cv_file_magic_test_file=/lib/libc.so
6119 lt_cv_deplibs_check_method=pass_all
6122 lt_cv_deplibs_check_method=pass_all
6128 lt_cv_deplibs_check_method=pass_all
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6134 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6138 if test "$build" = "$host"; then
6141 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6144 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6150 file_magic_cmd=$lt_cv_file_magic_cmd
6151 deplibs_check_method=$lt_cv_deplibs_check_method
6152 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6175 if test -n "$ac_tool_prefix"; then
6176 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6177 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_prog_DLLTOOL+:} false; then :
6181 $as_echo_n "(cached) " >&6
6183 if test -n "$DLLTOOL"; then
6184 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 DLLTOOL=$ac_cv_prog_DLLTOOL
6204 if test -n "$DLLTOOL"; then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6206 $as_echo "$DLLTOOL" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 $as_echo "no" >&6; }
6214 if test -z "$ac_cv_prog_DLLTOOL"; then
6215 ac_ct_DLLTOOL=$DLLTOOL
6216 # Extract the first word of "dlltool", so it can be a program name with args.
6217 set dummy dlltool; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$ac_ct_DLLTOOL"; then
6224 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6233 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6244 if test -n "$ac_ct_DLLTOOL"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6246 $as_echo "$ac_ct_DLLTOOL" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6252 if test "x$ac_ct_DLLTOOL" = x; then
6255 case $cross_compiling:$ac_tool_warned in
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6259 ac_tool_warned=yes ;;
6261 DLLTOOL=$ac_ct_DLLTOOL
6264 DLLTOOL="$ac_cv_prog_DLLTOOL"
6267 test -z "$DLLTOOL" && DLLTOOL=dlltool
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6276 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6277 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6278 $as_echo_n "(cached) " >&6
6280 lt_cv_sharedlib_from_linklib_cmd='unknown'
6283 cygwin* | mingw* | pw32* | cegcc*)
6284 # two different shell functions defined in ltmain.sh
6285 # decide which to use based on capabilities of $DLLTOOL
6286 case `$DLLTOOL --help 2>&1` in
6287 *--identify-strict*)
6288 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6291 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6296 # fallback: assume linklib IS sharedlib
6297 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6303 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6304 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6305 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6314 if test -n "$ac_tool_prefix"; then
6317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if ${ac_cv_prog_AR+:} false; then :
6322 $as_echo_n "(cached) " >&6
6324 if test -n "$AR"; then
6325 ac_cv_prog_AR="$AR" # Let the user override the test.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 if test -n "$AR"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6347 $as_echo "$AR" >&6; }
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6354 test -n "$AR" && break
6357 if test -z "$AR"; then
6361 # Extract the first word of "$ac_prog", so it can be a program name with args.
6362 set dummy $ac_prog; ac_word=$2
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364 $as_echo_n "checking for $ac_word... " >&6; }
6365 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6366 $as_echo_n "(cached) " >&6
6368 if test -n "$ac_ct_AR"; then
6369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 test -z "$as_dir" && as_dir=.
6376 for ac_exec_ext in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378 ac_cv_prog_ac_ct_AR="$ac_prog"
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6389 if test -n "$ac_ct_AR"; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6391 $as_echo "$ac_ct_AR" >&6; }
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6398 test -n "$ac_ct_AR" && break
6401 if test "x$ac_ct_AR" = x; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6408 ac_tool_warned=yes ;;
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6428 $as_echo_n "checking for archiver @FILE support... " >&6; }
6429 if ${lt_cv_ar_at_file+:} false; then :
6430 $as_echo_n "(cached) " >&6
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 echo conftest.$ac_objext > conftest.lst
6446 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6447 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6448 (eval $lt_ar_try) 2>&5
6450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6451 test $ac_status = 0; }
6452 if test "$ac_status" -eq 0; then
6453 # Ensure the archiver fails upon bogus file names.
6454 rm -f conftest.$ac_objext libconftest.a
6455 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6456 (eval $lt_ar_try) 2>&5
6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459 test $ac_status = 0; }
6460 if test "$ac_status" -ne 0; then
6464 rm -f conftest.* libconftest.a
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6471 $as_echo "$lt_cv_ar_at_file" >&6; }
6473 if test "x$lt_cv_ar_at_file" = xno; then
6476 archiver_list_spec=$lt_cv_ar_at_file
6485 if test -n "$ac_tool_prefix"; then
6486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}strip; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_STRIP+:} false; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -n "$STRIP"; then
6494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 STRIP=$ac_cv_prog_STRIP
6514 if test -n "$STRIP"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6516 $as_echo "$STRIP" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6524 if test -z "$ac_cv_prog_STRIP"; then
6526 # Extract the first word of "strip", so it can be a program name with args.
6527 set dummy strip; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6531 $as_echo_n "(cached) " >&6
6533 if test -n "$ac_ct_STRIP"; then
6534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_ac_ct_STRIP="strip"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6554 if test -n "$ac_ct_STRIP"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6556 $as_echo "$ac_ct_STRIP" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6562 if test "x$ac_ct_STRIP" = x; then
6565 case $cross_compiling:$ac_tool_warned in
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6569 ac_tool_warned=yes ;;
6574 STRIP="$ac_cv_prog_STRIP"
6577 test -z "$STRIP" && STRIP=:
6584 if test -n "$ac_tool_prefix"; then
6585 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_RANLIB+:} false; then :
6590 $as_echo_n "(cached) " >&6
6592 if test -n "$RANLIB"; then
6593 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 RANLIB=$ac_cv_prog_RANLIB
6613 if test -n "$RANLIB"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6615 $as_echo "$RANLIB" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6623 if test -z "$ac_cv_prog_RANLIB"; then
6624 ac_ct_RANLIB=$RANLIB
6625 # Extract the first word of "ranlib", so it can be a program name with args.
6626 set dummy ranlib; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$ac_ct_RANLIB"; then
6633 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_ac_ct_RANLIB="ranlib"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6653 if test -n "$ac_ct_RANLIB"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6655 $as_echo "$ac_ct_RANLIB" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6661 if test "x$ac_ct_RANLIB" = x; then
6664 case $cross_compiling:$ac_tool_warned in
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6668 ac_tool_warned=yes ;;
6670 RANLIB=$ac_ct_RANLIB
6673 RANLIB="$ac_cv_prog_RANLIB"
6676 test -z "$RANLIB" && RANLIB=:
6683 # Determine commands to create old-style static archives.
6684 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6685 old_postinstall_cmds='chmod 644 $oldlib'
6686 old_postuninstall_cmds=
6688 if test -n "$RANLIB"; then
6691 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6694 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6697 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6702 lock_old_archive_extraction=yes ;;
6704 lock_old_archive_extraction=no ;;
6745 # If no C compiler was specified, use CC.
6748 # If no C compiler flags were specified, use CFLAGS.
6749 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6751 # Allow CC to be a program name with arguments.
6755 # Check for command to grab the raw symbol name followed by C symbol from nm.
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6757 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6758 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6759 $as_echo_n "(cached) " >&6
6762 # These are sane defaults that work on at least a few old systems.
6763 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6765 # Character class describing NM global symbol codes.
6766 symcode='[BCDEGRST]'
6768 # Regexp to match symbols that can be accessed directly from C.
6769 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6771 # Define system-specific variables.
6776 cygwin* | mingw* | pw32* | cegcc*)
6777 symcode='[ABCDGISTW]'
6780 if test "$host_cpu" = ia64; then
6781 symcode='[ABCDEGRST]'
6785 symcode='[BCDEGRST]'
6788 symcode='[BCDEGQRST]'
6799 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6807 # If we're using GNU nm, then use its standard symbol codes.
6808 case `$NM -V 2>&1` in
6809 *GNU* | *'with BFD'*)
6810 symcode='[ABCDGIRSTW]' ;;
6813 # Transform an extracted symbol line into a proper C declaration.
6814 # Some systems (esp. on ia64) link data and code symbols differently,
6815 # so use this general approach.
6816 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6818 # Transform an extracted symbol line into symbol name and symbol address
6819 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6820 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'"
6822 # Handle CRLF in mingw tool chain
6826 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6830 # Try without a prefix underscore, then with it.
6831 for ac_symprfx in "" "_"; do
6833 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6834 symxfrm="\\1 $ac_symprfx\\2 \\2"
6836 # Write the raw and C identifiers.
6837 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6838 # Fake it for dumpbin and say T for any non-static function
6839 # and D for any global variable.
6840 # Also find C++ and __fastcall symbols from MSVC++,
6841 # which start with @ or ?.
6842 lt_cv_sys_global_symbol_pipe="$AWK '"\
6843 " {last_section=section; section=\$ 3};"\
6844 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6845 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6846 " \$ 0!~/External *\|/{next};"\
6847 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6848 " {if(hide[section]) next};"\
6849 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6850 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6851 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6852 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6853 " ' prfx=^$ac_symprfx"
6855 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6857 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6859 # Check to see that the pipe works correctly.
6863 cat > conftest.$ac_ext <<_LT_EOF
6868 void nm_test_func(void);
6869 void nm_test_func(void){}
6873 int main(){nm_test_var='a';nm_test_func();return(0);}
6876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877 (eval $ac_compile) 2>&5
6879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880 test $ac_status = 0; }; then
6881 # Now try to grab the symbols.
6883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6884 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6887 test $ac_status = 0; } && test -s "$nlist"; then
6888 # Try sorting and uniquifying the output.
6889 if sort "$nlist" | uniq > "$nlist"T; then
6890 mv -f "$nlist"T "$nlist"
6895 # Make sure that we snagged all the symbols we need.
6896 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6897 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6898 cat <<_LT_EOF > conftest.$ac_ext
6899 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6900 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6901 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6902 relocations are performed -- see ld's documentation on pseudo-relocs. */
6903 # define LT_DLSYM_CONST
6904 #elif defined(__osf__)
6905 /* This system does not cope well with relocations in const data. */
6906 # define LT_DLSYM_CONST
6908 # define LT_DLSYM_CONST const
6916 # Now generate the symbol file.
6917 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6919 cat <<_LT_EOF >> conftest.$ac_ext
6921 /* The mapping between symbol names and symbols. */
6922 LT_DLSYM_CONST struct {
6926 lt__PROGRAM__LTX_preloaded_symbols[] =
6928 { "@PROGRAM@", (void *) 0 },
6930 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6931 cat <<\_LT_EOF >> conftest.$ac_ext
6935 /* This works around a problem in FreeBSD linker */
6936 #ifdef FREEBSD_WORKAROUND
6937 static const void *lt_preloaded_setup() {
6938 return lt__PROGRAM__LTX_preloaded_symbols;
6946 # Now try linking the two files.
6947 mv conftest.$ac_objext conftstm.$ac_objext
6948 lt_globsym_save_LIBS=$LIBS
6949 lt_globsym_save_CFLAGS=$CFLAGS
6950 LIBS="conftstm.$ac_objext"
6951 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6953 (eval $ac_link) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6959 LIBS=$lt_globsym_save_LIBS
6960 CFLAGS=$lt_globsym_save_CFLAGS
6962 echo "cannot find nm_test_func in $nlist" >&5
6965 echo "cannot find nm_test_var in $nlist" >&5
6968 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6971 echo "$progname: failed program was:" >&5
6972 cat conftest.$ac_ext >&5
6974 rm -rf conftest* conftst*
6976 # Do not use the global_symbol_pipe unless it works.
6977 if test "$pipe_works" = yes; then
6980 lt_cv_sys_global_symbol_pipe=
6986 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6987 lt_cv_sys_global_symbol_to_cdecl=
6989 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6991 $as_echo "failed" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6994 $as_echo "ok" >&6; }
6997 # Response file support.
6998 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6999 nm_file_list_spec='@'
7000 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7001 nm_file_list_spec='@'
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7031 $as_echo_n "checking for sysroot... " >&6; }
7033 # Check whether --with-sysroot was given.
7034 if test "${with_sysroot+set}" = set; then :
7035 withval=$with_sysroot;
7042 case ${with_sysroot} in #(
7044 if test "$GCC" = yes; then
7045 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7049 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7055 $as_echo "${with_sysroot}" >&6; }
7056 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7061 $as_echo "${lt_sysroot:-no}" >&6; }
7067 # Check whether --enable-libtool-lock was given.
7068 if test "${enable_libtool_lock+set}" = set; then :
7069 enableval=$enable_libtool_lock;
7072 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7074 # Some flags need to be propagated to the compiler or linker for good
7078 # Find out which ABI we are using.
7079 echo 'int i;' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 case `/usr/bin/file conftest.$ac_objext` in
7097 # Find out which ABI we are using.
7098 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7100 (eval $ac_compile) 2>&5
7102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7103 test $ac_status = 0; }; then
7104 if test "$lt_cv_prog_gnu_ld" = yes; then
7105 case `/usr/bin/file conftest.$ac_objext` in
7107 LD="${LD-ld} -melf32bsmip"
7110 LD="${LD-ld} -melf32bmipn32"
7113 LD="${LD-ld} -melf64bmip"
7117 case `/usr/bin/file conftest.$ac_objext` in
7133 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7134 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7135 # Find out which ABI we are using.
7136 echo 'int i;' > conftest.$ac_ext
7137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7138 (eval $ac_compile) 2>&5
7140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7141 test $ac_status = 0; }; then
7142 case `/usr/bin/file conftest.o` in
7145 x86_64-*kfreebsd*-gnu)
7146 LD="${LD-ld} -m elf_i386_fbsd"
7149 LD="${LD-ld} -m elf_i386"
7151 ppc64-*linux*|powerpc64-*linux*)
7152 LD="${LD-ld} -m elf32ppclinux"
7155 LD="${LD-ld} -m elf_s390"
7158 LD="${LD-ld} -m elf32_sparc"
7164 x86_64-*kfreebsd*-gnu)
7165 LD="${LD-ld} -m elf_x86_64_fbsd"
7168 LD="${LD-ld} -m elf_x86_64"
7170 ppc*-*linux*|powerpc*-*linux*)
7171 LD="${LD-ld} -m elf64ppc"
7173 s390*-*linux*|s390*-*tpf*)
7174 LD="${LD-ld} -m elf64_s390"
7177 LD="${LD-ld} -m elf64_sparc"
7187 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7188 SAVE_CFLAGS="$CFLAGS"
7189 CFLAGS="$CFLAGS -belf"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7191 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7192 if ${lt_cv_cc_needs_belf+:} false; then :
7193 $as_echo_n "(cached) " >&6
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7212 if ac_fn_c_try_link "$LINENO"; then :
7213 lt_cv_cc_needs_belf=yes
7215 lt_cv_cc_needs_belf=no
7217 rm -f core conftest.err conftest.$ac_objext \
7218 conftest$ac_exeext conftest.$ac_ext
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7227 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7228 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7229 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7230 CFLAGS="$SAVE_CFLAGS"
7234 # Find out which ABI we are using.
7235 echo 'int i;' > conftest.$ac_ext
7236 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7237 (eval $ac_compile) 2>&5
7239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7240 test $ac_status = 0; }; then
7241 case `/usr/bin/file conftest.o` in
7243 case $lt_cv_prog_gnu_ld in
7247 LD="${LD-ld} -m elf_x86_64"
7250 LD="${LD-ld} -m elf64_sparc"
7253 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7254 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7259 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7271 need_locks="$enable_libtool_lock"
7273 if test -n "$ac_tool_prefix"; then
7274 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7275 set dummy ${ac_tool_prefix}mt; ac_word=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7279 $as_echo_n "(cached) " >&6
7281 if test -n "$MANIFEST_TOOL"; then
7282 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288 test -z "$as_dir" && as_dir=.
7289 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7302 if test -n "$MANIFEST_TOOL"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7304 $as_echo "$MANIFEST_TOOL" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7312 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7313 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7314 # Extract the first word of "mt", so it can be a program name with args.
7315 set dummy mt; ac_word=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7319 $as_echo_n "(cached) " >&6
7321 if test -n "$ac_ct_MANIFEST_TOOL"; then
7322 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir=.
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7331 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7342 if test -n "$ac_ct_MANIFEST_TOOL"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7344 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7350 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7353 case $cross_compiling:$ac_tool_warned in
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7357 ac_tool_warned=yes ;;
7359 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7362 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7365 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7367 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7368 if ${lt_cv_path_mainfest_tool+:} false; then :
7369 $as_echo_n "(cached) " >&6
7371 lt_cv_path_mainfest_tool=no
7372 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7373 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7374 cat conftest.err >&5
7375 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7376 lt_cv_path_mainfest_tool=yes
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7381 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7382 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7392 rhapsody* | darwin*)
7393 if test -n "$ac_tool_prefix"; then
7394 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7395 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7399 $as_echo_n "(cached) " >&6
7401 if test -n "$DSYMUTIL"; then
7402 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7422 if test -n "$DSYMUTIL"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7424 $as_echo "$DSYMUTIL" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7432 if test -z "$ac_cv_prog_DSYMUTIL"; then
7433 ac_ct_DSYMUTIL=$DSYMUTIL
7434 # Extract the first word of "dsymutil", so it can be a program name with args.
7435 set dummy dsymutil; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7439 $as_echo_n "(cached) " >&6
7441 if test -n "$ac_ct_DSYMUTIL"; then
7442 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7462 if test -n "$ac_ct_DSYMUTIL"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7464 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7470 if test "x$ac_ct_DSYMUTIL" = x; then
7473 case $cross_compiling:$ac_tool_warned in
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7477 ac_tool_warned=yes ;;
7479 DSYMUTIL=$ac_ct_DSYMUTIL
7482 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_NMEDIT+:} false; then :
7491 $as_echo_n "(cached) " >&6
7493 if test -n "$NMEDIT"; then
7494 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 NMEDIT=$ac_cv_prog_NMEDIT
7514 if test -n "$NMEDIT"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7516 $as_echo "$NMEDIT" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_NMEDIT"; then
7525 ac_ct_NMEDIT=$NMEDIT
7526 # Extract the first word of "nmedit", so it can be a program name with args.
7527 set dummy nmedit; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7531 $as_echo_n "(cached) " >&6
7533 if test -n "$ac_ct_NMEDIT"; then
7534 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7554 if test -n "$ac_ct_NMEDIT"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7556 $as_echo "$ac_ct_NMEDIT" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_NMEDIT" = x; then
7565 case $cross_compiling:$ac_tool_warned in
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7571 NMEDIT=$ac_ct_NMEDIT
7574 NMEDIT="$ac_cv_prog_NMEDIT"
7577 if test -n "$ac_tool_prefix"; then
7578 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7579 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_LIPO+:} false; then :
7583 $as_echo_n "(cached) " >&6
7585 if test -n "$LIPO"; then
7586 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 LIPO=$ac_cv_prog_LIPO
7606 if test -n "$LIPO"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7608 $as_echo "$LIPO" >&6; }
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7616 if test -z "$ac_cv_prog_LIPO"; then
7618 # Extract the first word of "lipo", so it can be a program name with args.
7619 set dummy lipo; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -n "$ac_ct_LIPO"; then
7626 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_ac_ct_LIPO="lipo"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7646 if test -n "$ac_ct_LIPO"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7648 $as_echo "$ac_ct_LIPO" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7654 if test "x$ac_ct_LIPO" = x; then
7657 case $cross_compiling:$ac_tool_warned in
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7661 ac_tool_warned=yes ;;
7666 LIPO="$ac_cv_prog_LIPO"
7669 if test -n "$ac_tool_prefix"; then
7670 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7671 set dummy ${ac_tool_prefix}otool; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if ${ac_cv_prog_OTOOL+:} false; then :
7675 $as_echo_n "(cached) " >&6
7677 if test -n "$OTOOL"; then
7678 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7697 OTOOL=$ac_cv_prog_OTOOL
7698 if test -n "$OTOOL"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7700 $as_echo "$OTOOL" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7708 if test -z "$ac_cv_prog_OTOOL"; then
7710 # Extract the first word of "otool", so it can be a program name with args.
7711 set dummy otool; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7715 $as_echo_n "(cached) " >&6
7717 if test -n "$ac_ct_OTOOL"; then
7718 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_ac_ct_OTOOL="otool"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7738 if test -n "$ac_ct_OTOOL"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7740 $as_echo "$ac_ct_OTOOL" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7746 if test "x$ac_ct_OTOOL" = x; then
7749 case $cross_compiling:$ac_tool_warned in
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7753 ac_tool_warned=yes ;;
7758 OTOOL="$ac_cv_prog_OTOOL"
7761 if test -n "$ac_tool_prefix"; then
7762 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7763 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765 $as_echo_n "checking for $ac_word... " >&6; }
7766 if ${ac_cv_prog_OTOOL64+:} false; then :
7767 $as_echo_n "(cached) " >&6
7769 if test -n "$OTOOL64"; then
7770 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7779 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789 OTOOL64=$ac_cv_prog_OTOOL64
7790 if test -n "$OTOOL64"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7792 $as_echo "$OTOOL64" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795 $as_echo "no" >&6; }
7800 if test -z "$ac_cv_prog_OTOOL64"; then
7801 ac_ct_OTOOL64=$OTOOL64
7802 # Extract the first word of "otool64", so it can be a program name with args.
7803 set dummy otool64; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7807 $as_echo_n "(cached) " >&6
7809 if test -n "$ac_ct_OTOOL64"; then
7810 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_ac_ct_OTOOL64="otool64"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7830 if test -n "$ac_ct_OTOOL64"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7832 $as_echo "$ac_ct_OTOOL64" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7838 if test "x$ac_ct_OTOOL64" = x; then
7841 case $cross_compiling:$ac_tool_warned in
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7845 ac_tool_warned=yes ;;
7847 OTOOL64=$ac_ct_OTOOL64
7850 OTOOL64="$ac_cv_prog_OTOOL64"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7880 $as_echo_n "checking for -single_module linker flag... " >&6; }
7881 if ${lt_cv_apple_cc_single_mod+:} false; then :
7882 $as_echo_n "(cached) " >&6
7884 lt_cv_apple_cc_single_mod=no
7885 if test -z "${LT_MULTI_MODULE}"; then
7886 # By default we will add the -single_module flag. You can override
7887 # by either setting the environment variable LT_MULTI_MODULE
7888 # non-empty at configure time, or by adding -multi_module to the
7890 rm -rf libconftest.dylib*
7891 echo "int foo(void){return 1;}" > conftest.c
7892 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7893 -dynamiclib -Wl,-single_module conftest.c" >&5
7894 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7895 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7897 # If there is a non-empty error log, and "single_module"
7898 # appears in it, assume the flag caused a linker warning
7899 if test -s conftest.err && $GREP single_module conftest.err; then
7900 cat conftest.err >&5
7901 # Otherwise, if the output was created with a 0 exit code from
7902 # the compiler, it worked.
7903 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7904 lt_cv_apple_cc_single_mod=yes
7906 cat conftest.err >&5
7908 rm -rf libconftest.dylib*
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7913 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7916 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7917 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7918 $as_echo_n "(cached) " >&6
7920 lt_cv_ld_exported_symbols_list=no
7921 save_LDFLAGS=$LDFLAGS
7922 echo "_main" > conftest.sym
7923 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7935 if ac_fn_c_try_link "$LINENO"; then :
7936 lt_cv_ld_exported_symbols_list=yes
7938 lt_cv_ld_exported_symbols_list=no
7940 rm -f core conftest.err conftest.$ac_objext \
7941 conftest$ac_exeext conftest.$ac_ext
7942 LDFLAGS="$save_LDFLAGS"
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7946 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7949 $as_echo_n "checking for -force_load linker flag... " >&6; }
7950 if ${lt_cv_ld_force_load+:} false; then :
7951 $as_echo_n "(cached) " >&6
7953 lt_cv_ld_force_load=no
7954 cat > conftest.c << _LT_EOF
7955 int forced_loaded() { return 2;}
7957 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7958 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7959 echo "$AR cru libconftest.a conftest.o" >&5
7960 $AR cru libconftest.a conftest.o 2>&5
7961 echo "$RANLIB libconftest.a" >&5
7962 $RANLIB libconftest.a 2>&5
7963 cat > conftest.c << _LT_EOF
7964 int main() { return 0;}
7966 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7967 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7969 if test -s conftest.err && $GREP force_load conftest.err; then
7970 cat conftest.err >&5
7971 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7972 lt_cv_ld_force_load=yes
7974 cat conftest.err >&5
7976 rm -f conftest.err libconftest.a conftest conftest.c
7977 rm -rf conftest.dSYM
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7981 $as_echo "$lt_cv_ld_force_load" >&6; }
7983 rhapsody* | darwin1.[012])
7984 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7986 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7987 darwin*) # darwin 5.x on
7988 # if running on 10.5 or later, the deployment target defaults
7989 # to the OS version, if on x86, and 10.4, the deployment
7990 # target defaults to 10.4. Don't you love it?
7991 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7992 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7993 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7995 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7997 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8001 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8002 _lt_dar_single_mod='$single_module'
8004 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8005 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8007 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8009 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8010 _lt_dsymutil='~$DSYMUTIL $lib || :'
8018 ac_cpp='$CPP $CPPFLAGS'
8019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8023 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8024 # On Suns, sometimes $CPP names a directory.
8025 if test -n "$CPP" && test -d "$CPP"; then
8028 if test -z "$CPP"; then
8029 if ${ac_cv_prog_CPP+:} false; then :
8030 $as_echo_n "(cached) " >&6
8032 # Double quotes because CPP needs to be expanded
8033 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8036 for ac_c_preproc_warn_flag in '' yes
8038 # Use a header file that comes with gcc, so configuring glibc
8039 # with a fresh cross-compiler works.
8040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8041 # <limits.h> exists even on freestanding compilers.
8042 # On the NeXT, cc -E runs the code through the compiler's parser,
8043 # not just through cpp. "Syntax error" is here to catch this case.
8044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8045 /* end confdefs.h. */
8047 # include <limits.h>
8049 # include <assert.h>
8053 if ac_fn_c_try_cpp "$LINENO"; then :
8056 # Broken: fails on valid input.
8059 rm -f conftest.err conftest.i conftest.$ac_ext
8061 # OK, works on sane cases. Now check whether nonexistent headers
8062 # can be detected and how.
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8065 #include <ac_nonexistent.h>
8067 if ac_fn_c_try_cpp "$LINENO"; then :
8068 # Broken: success on invalid input.
8071 # Passes both tests.
8075 rm -f conftest.err conftest.i conftest.$ac_ext
8078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8079 rm -f conftest.i conftest.err conftest.$ac_ext
8080 if $ac_preproc_ok; then :
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8093 $as_echo "$CPP" >&6; }
8095 for ac_c_preproc_warn_flag in '' yes
8097 # Use a header file that comes with gcc, so configuring glibc
8098 # with a fresh cross-compiler works.
8099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8100 # <limits.h> exists even on freestanding compilers.
8101 # On the NeXT, cc -E runs the code through the compiler's parser,
8102 # not just through cpp. "Syntax error" is here to catch this case.
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8106 # include <limits.h>
8108 # include <assert.h>
8112 if ac_fn_c_try_cpp "$LINENO"; then :
8115 # Broken: fails on valid input.
8118 rm -f conftest.err conftest.i conftest.$ac_ext
8120 # OK, works on sane cases. Now check whether nonexistent headers
8121 # can be detected and how.
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 #include <ac_nonexistent.h>
8126 if ac_fn_c_try_cpp "$LINENO"; then :
8127 # Broken: success on invalid input.
8130 # Passes both tests.
8134 rm -f conftest.err conftest.i conftest.$ac_ext
8137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8138 rm -f conftest.i conftest.err conftest.$ac_ext
8139 if $ac_preproc_ok; then :
8142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8144 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8145 See \`config.log' for more details" "$LINENO" 5; }
8149 ac_cpp='$CPP $CPPFLAGS'
8150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8156 $as_echo_n "checking for ANSI C header files... " >&6; }
8157 if ${ac_cv_header_stdc+:} false; then :
8158 $as_echo_n "(cached) " >&6
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8175 if ac_fn_c_try_compile "$LINENO"; then :
8176 ac_cv_header_stdc=yes
8178 ac_cv_header_stdc=no
8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8182 if test $ac_cv_header_stdc = yes; then
8183 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8190 $EGREP "memchr" >/dev/null 2>&1; then :
8193 ac_cv_header_stdc=no
8199 if test $ac_cv_header_stdc = yes; then
8200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8207 $EGREP "free" >/dev/null 2>&1; then :
8210 ac_cv_header_stdc=no
8216 if test $ac_cv_header_stdc = yes; then
8217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8218 if test "$cross_compiling" = yes; then :
8221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8225 #if ((' ' & 0x0FF) == 0x020)
8226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8229 # define ISLOWER(c) \
8230 (('a' <= (c) && (c) <= 'i') \
8231 || ('j' <= (c) && (c) <= 'r') \
8232 || ('s' <= (c) && (c) <= 'z'))
8233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8241 for (i = 0; i < 256; i++)
8242 if (XOR (islower (i), ISLOWER (i))
8243 || toupper (i) != TOUPPER (i))
8248 if ac_fn_c_try_run "$LINENO"; then :
8251 ac_cv_header_stdc=no
8253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8254 conftest.$ac_objext conftest.beam conftest.$ac_ext
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8260 $as_echo "$ac_cv_header_stdc" >&6; }
8261 if test $ac_cv_header_stdc = yes; then
8263 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8267 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8268 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8269 inttypes.h stdint.h unistd.h
8271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8272 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8275 cat >>confdefs.h <<_ACEOF
8276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8284 for ac_header in dlfcn.h
8286 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8288 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8289 cat >>confdefs.h <<_ACEOF
8290 #define HAVE_DLFCN_H 1
8302 # Check whether --enable-static was given.
8303 if test "${enable_static+set}" = set; then :
8304 enableval=$enable_static; p=${PACKAGE-default}
8306 yes) enable_static=yes ;;
8307 no) enable_static=no ;;
8310 # Look at the argument we got. We use all the common list separators.
8311 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8312 for pkg in $enableval; do
8314 if test "X$pkg" = "X$p"; then
8331 enable_win32_dll=yes
8334 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8335 if test -n "$ac_tool_prefix"; then
8336 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8337 set dummy ${ac_tool_prefix}as; ac_word=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_prog_AS+:} false; then :
8341 $as_echo_n "(cached) " >&6
8343 if test -n "$AS"; then
8344 ac_cv_prog_AS="$AS" # Let the user override the test.
8346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 test -z "$as_dir" && as_dir=.
8351 for ac_exec_ext in '' $ac_executable_extensions; do
8352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8353 ac_cv_prog_AS="${ac_tool_prefix}as"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 if test -n "$AS"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8366 $as_echo "$AS" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8374 if test -z "$ac_cv_prog_AS"; then
8376 # Extract the first word of "as", so it can be a program name with args.
8377 set dummy as; ac_word=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8381 $as_echo_n "(cached) " >&6
8383 if test -n "$ac_ct_AS"; then
8384 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 test -z "$as_dir" && as_dir=.
8391 for ac_exec_ext in '' $ac_executable_extensions; do
8392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393 ac_cv_prog_ac_ct_AS="as"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8404 if test -n "$ac_ct_AS"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8406 $as_echo "$ac_ct_AS" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8412 if test "x$ac_ct_AS" = x; then
8415 case $cross_compiling:$ac_tool_warned in
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8419 ac_tool_warned=yes ;;
8427 if test -n "$ac_tool_prefix"; then
8428 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_DLLTOOL+:} false; then :
8433 $as_echo_n "(cached) " >&6
8435 if test -n "$DLLTOOL"; then
8436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 DLLTOOL=$ac_cv_prog_DLLTOOL
8456 if test -n "$DLLTOOL"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8458 $as_echo "$DLLTOOL" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8466 if test -z "$ac_cv_prog_DLLTOOL"; then
8467 ac_ct_DLLTOOL=$DLLTOOL
8468 # Extract the first word of "dlltool", so it can be a program name with args.
8469 set dummy dlltool; ac_word=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8473 $as_echo_n "(cached) " >&6
8475 if test -n "$ac_ct_DLLTOOL"; then
8476 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir=.
8483 for ac_exec_ext in '' $ac_executable_extensions; do
8484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8485 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8496 if test -n "$ac_ct_DLLTOOL"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8498 $as_echo "$ac_ct_DLLTOOL" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8504 if test "x$ac_ct_DLLTOOL" = x; then
8507 case $cross_compiling:$ac_tool_warned in
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8511 ac_tool_warned=yes ;;
8513 DLLTOOL=$ac_ct_DLLTOOL
8516 DLLTOOL="$ac_cv_prog_DLLTOOL"
8519 if test -n "$ac_tool_prefix"; then
8520 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8521 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523 $as_echo_n "checking for $ac_word... " >&6; }
8524 if ${ac_cv_prog_OBJDUMP+:} false; then :
8525 $as_echo_n "(cached) " >&6
8527 if test -n "$OBJDUMP"; then
8528 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 test -z "$as_dir" && as_dir=.
8535 for ac_exec_ext in '' $ac_executable_extensions; do
8536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8537 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8547 OBJDUMP=$ac_cv_prog_OBJDUMP
8548 if test -n "$OBJDUMP"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8550 $as_echo "$OBJDUMP" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553 $as_echo "no" >&6; }
8558 if test -z "$ac_cv_prog_OBJDUMP"; then
8559 ac_ct_OBJDUMP=$OBJDUMP
8560 # Extract the first word of "objdump", so it can be a program name with args.
8561 set dummy objdump; ac_word=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8565 $as_echo_n "(cached) " >&6
8567 if test -n "$ac_ct_OBJDUMP"; then
8568 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8574 test -z "$as_dir" && as_dir=.
8575 for ac_exec_ext in '' $ac_executable_extensions; do
8576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8577 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8588 if test -n "$ac_ct_OBJDUMP"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8590 $as_echo "$ac_ct_OBJDUMP" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8596 if test "x$ac_ct_OBJDUMP" = x; then
8599 case $cross_compiling:$ac_tool_warned in
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8603 ac_tool_warned=yes ;;
8605 OBJDUMP=$ac_ct_OBJDUMP
8608 OBJDUMP="$ac_cv_prog_OBJDUMP"
8614 test -z "$AS" && AS=as
8620 test -z "$DLLTOOL" && DLLTOOL=dlltool
8626 test -z "$OBJDUMP" && OBJDUMP=objdump
8638 # Check whether --enable-shared was given.
8639 if test "${enable_shared+set}" = set; then :
8640 enableval=$enable_shared; p=${PACKAGE-default}
8642 yes) enable_shared=yes ;;
8643 no) enable_shared=no ;;
8646 # Look at the argument we got. We use all the common list separators.
8647 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8648 for pkg in $enableval; do
8650 if test "X$pkg" = "X$p"; then
8671 # Check whether --with-pic was given.
8672 if test "${with_pic+set}" = set; then :
8673 withval=$with_pic; lt_p=${PACKAGE-default}
8675 yes|no) pic_mode=$withval ;;
8678 # Look at the argument we got. We use all the common list separators.
8679 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8680 for lt_pkg in $withval; do
8682 if test "X$lt_pkg" = "X$lt_p"; then
8694 test -z "$pic_mode" && pic_mode=default
8702 # Check whether --enable-fast-install was given.
8703 if test "${enable_fast_install+set}" = set; then :
8704 enableval=$enable_fast_install; p=${PACKAGE-default}
8706 yes) enable_fast_install=yes ;;
8707 no) enable_fast_install=no ;;
8709 enable_fast_install=no
8710 # Look at the argument we got. We use all the common list separators.
8711 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8712 for pkg in $enableval; do
8714 if test "X$pkg" = "X$p"; then
8715 enable_fast_install=yes
8722 enable_fast_install=yes
8735 # This can be used to rebuild libtool when needed
8736 LIBTOOL_DEPS="$ltmain"
8738 # Always use our own libtool.
8739 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8770 test -z "$LN_S" && LN_S="ln -s"
8785 if test -n "${ZSH_VERSION+set}" ; then
8786 setopt NO_GLOB_SUBST
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8790 $as_echo_n "checking for objdir... " >&6; }
8791 if ${lt_cv_objdir+:} false; then :
8792 $as_echo_n "(cached) " >&6
8794 rm -f .libs 2>/dev/null
8795 mkdir .libs 2>/dev/null
8796 if test -d .libs; then
8799 # MS-DOS does not allow filenames that begin with a dot.
8802 rmdir .libs 2>/dev/null
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8805 $as_echo "$lt_cv_objdir" >&6; }
8806 objdir=$lt_cv_objdir
8812 cat >>confdefs.h <<_ACEOF
8813 #define LT_OBJDIR "$lt_cv_objdir/"
8821 # AIX sometimes has problems with the GCC collect2 program. For some
8822 # reason, if we set the COLLECT_NAMES environment variable, the problems
8823 # vanish in a puff of smoke.
8824 if test "X${COLLECT_NAMES+set}" != Xset; then
8826 export COLLECT_NAMES
8833 can_build_shared=yes
8835 # All known linkers require a `.a' archive for static linking (except MSVC,
8836 # which needs '.lib').
8839 with_gnu_ld="$lt_cv_prog_gnu_ld"
8842 old_CFLAGS="$CFLAGS"
8844 # Set sane defaults for various variables
8845 test -z "$CC" && CC=cc
8846 test -z "$LTCC" && LTCC=$CC
8847 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8848 test -z "$LD" && LD=ld
8849 test -z "$ac_objext" && ac_objext=o
8851 for cc_temp in $compiler""; do
8853 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8854 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8859 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8862 # Only perform the check for file, if the check method requires it
8863 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8864 case $deplibs_check_method in
8866 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8868 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8869 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8870 $as_echo_n "(cached) " >&6
8874 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8877 lt_save_MAGIC_CMD="$MAGIC_CMD"
8878 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8879 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8880 for ac_dir in $ac_dummy; do
8882 test -z "$ac_dir" && ac_dir=.
8883 if test -f $ac_dir/${ac_tool_prefix}file; then
8884 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8885 if test -n "$file_magic_test_file"; then
8886 case $deplibs_check_method in
8888 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8889 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8890 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8891 $EGREP "$file_magic_regex" > /dev/null; then
8896 *** Warning: the command libtool uses to detect shared libraries,
8897 *** $file_magic_cmd, produces output that libtool cannot recognize.
8898 *** The result is that libtool may fail to recognize shared libraries
8899 *** as such. This will affect the creation of libtool libraries that
8900 *** depend on shared libraries, but programs linked with such libtool
8901 *** libraries will work regardless of this problem. Nevertheless, you
8902 *** may want to report the problem to your system manager and/or to
8903 *** bug-libtool@gnu.org
8913 MAGIC_CMD="$lt_save_MAGIC_CMD"
8918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8919 if test -n "$MAGIC_CMD"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8921 $as_echo "$MAGIC_CMD" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8931 if test -z "$lt_cv_path_MAGIC_CMD"; then
8932 if test -n "$ac_tool_prefix"; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8934 $as_echo_n "checking for file... " >&6; }
8935 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8936 $as_echo_n "(cached) " >&6
8940 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8943 lt_save_MAGIC_CMD="$MAGIC_CMD"
8944 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8945 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8946 for ac_dir in $ac_dummy; do
8948 test -z "$ac_dir" && ac_dir=.
8949 if test -f $ac_dir/file; then
8950 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8951 if test -n "$file_magic_test_file"; then
8952 case $deplibs_check_method in
8954 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8956 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8957 $EGREP "$file_magic_regex" > /dev/null; then
8962 *** Warning: the command libtool uses to detect shared libraries,
8963 *** $file_magic_cmd, produces output that libtool cannot recognize.
8964 *** The result is that libtool may fail to recognize shared libraries
8965 *** as such. This will affect the creation of libtool libraries that
8966 *** depend on shared libraries, but programs linked with such libtool
8967 *** libraries will work regardless of this problem. Nevertheless, you
8968 *** may want to report the problem to your system manager and/or to
8969 *** bug-libtool@gnu.org
8979 MAGIC_CMD="$lt_save_MAGIC_CMD"
8984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8985 if test -n "$MAGIC_CMD"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987 $as_echo "$MAGIC_CMD" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
9003 # Use C for the default configuration in the libtool script
9007 ac_cpp='$CPP $CPPFLAGS'
9008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9013 # Source file extension for C test sources.
9016 # Object file extension for compiled C test sources.
9020 # Code to be used in simple compile tests
9021 lt_simple_compile_test_code="int some_variable = 0;"
9023 # Code to be used in simple link tests
9024 lt_simple_link_test_code='int main(){return(0);}'
9032 # If no C compiler was specified, use CC.
9035 # If no C compiler flags were specified, use CFLAGS.
9036 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9038 # Allow CC to be a program name with arguments.
9041 # Save the default compiler, since it gets overwritten when the other
9042 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9043 compiler_DEFAULT=$CC
9045 # save warnings/boilerplate of simple test code
9046 ac_outfile=conftest.$ac_objext
9047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9049 _lt_compiler_boilerplate=`cat conftest.err`
9052 ac_outfile=conftest.$ac_objext
9053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9055 _lt_linker_boilerplate=`cat conftest.err`
9060 ## There is no encapsulation within the following macros, do not change
9061 ## the running order or otherwise move them around unless you know exactly
9062 ## what you are doing...
9063 if test -n "$compiler"; then
9065 lt_prog_compiler_no_builtin_flag=
9067 if test "$GCC" = yes; then
9068 case $cc_basename in
9070 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9072 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9076 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9077 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9078 $as_echo_n "(cached) " >&6
9080 lt_cv_prog_compiler_rtti_exceptions=no
9081 ac_outfile=conftest.$ac_objext
9082 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9083 lt_compiler_flag="-fno-rtti -fno-exceptions"
9084 # Insert the option either (1) after the last *FLAGS variable, or
9085 # (2) before a word containing "conftest.", or (3) at the end.
9086 # Note that $ac_compile itself does not contain backslashes and begins
9087 # with a dollar sign (not a hyphen), so the echo should work correctly.
9088 # The option is referenced via a variable to avoid confusing sed.
9089 lt_compile=`echo "$ac_compile" | $SED \
9090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9092 -e 's:$: $lt_compiler_flag:'`
9093 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9094 (eval "$lt_compile" 2>conftest.err)
9096 cat conftest.err >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 if (exit $ac_status) && test -s "$ac_outfile"; then
9099 # The compiler can only warn and ignore the option if not recognized
9100 # So say no if there are warnings other than the usual output.
9101 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9102 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9103 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9104 lt_cv_prog_compiler_rtti_exceptions=yes
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9111 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9113 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9114 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9126 lt_prog_compiler_wl=
9127 lt_prog_compiler_pic=
9128 lt_prog_compiler_static=
9131 if test "$GCC" = yes; then
9132 lt_prog_compiler_wl='-Wl,'
9133 lt_prog_compiler_static='-static'
9137 # All AIX code is PIC.
9138 if test "$host_cpu" = ia64; then
9139 # AIX 5 now supports IA64 processor
9140 lt_prog_compiler_static='-Bstatic'
9147 # see comment about AmigaOS4 .so support
9148 lt_prog_compiler_pic='-fPIC'
9151 # FIXME: we need at least 68020 code to build shared libraries, but
9152 # adding the `-m68020' flag to GCC prevents building anything better,
9154 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9159 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9160 # PIC is the default for these OSes.
9163 mingw* | cygwin* | pw32* | os2* | cegcc*)
9164 # This hack is so that the source file can tell whether it is being
9165 # built for inclusion in a dll (and should export symbols for example).
9166 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9167 # (--disable-auto-import) libraries
9168 lt_prog_compiler_pic='-DDLL_EXPORT'
9171 darwin* | rhapsody*)
9172 # PIC is the default on this platform
9173 # Common symbols not allowed in MH_DYLIB files
9174 lt_prog_compiler_pic='-fno-common'
9178 # PIC is the default for Haiku.
9179 # The "-static" flag exists, but is broken.
9180 lt_prog_compiler_static=
9184 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9185 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9186 # sets the default TLS model and affects inlining.
9192 lt_prog_compiler_pic='-fPIC'
9198 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9199 # Instead, we relocate shared libraries at runtime.
9203 # Just because we use GCC doesn't mean we suddenly get shared libraries
9204 # on systems that don't support them.
9205 lt_prog_compiler_can_build_shared=no
9210 # QNX uses GNU C++, but need to define -shared option too, otherwise
9212 lt_prog_compiler_pic='-fPIC -shared'
9216 if test -d /usr/nec; then
9217 lt_prog_compiler_pic=-Kconform_pic
9222 lt_prog_compiler_pic='-fPIC'
9226 case $cc_basename in
9227 nvcc*) # Cuda Compiler Driver 2.2
9228 lt_prog_compiler_wl='-Xlinker '
9229 if test -n "$lt_prog_compiler_pic"; then
9230 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9235 # PORTME Check for flag to pass linker flags through the system compiler.
9238 lt_prog_compiler_wl='-Wl,'
9239 if test "$host_cpu" = ia64; then
9240 # AIX 5 now supports IA64 processor
9241 lt_prog_compiler_static='-Bstatic'
9243 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9247 mingw* | cygwin* | pw32* | os2* | cegcc*)
9248 # This hack is so that the source file can tell whether it is being
9249 # built for inclusion in a dll (and should export symbols for example).
9250 lt_prog_compiler_pic='-DDLL_EXPORT'
9253 hpux9* | hpux10* | hpux11*)
9254 lt_prog_compiler_wl='-Wl,'
9255 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9262 lt_prog_compiler_pic='+Z'
9265 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9266 lt_prog_compiler_static='${wl}-a ${wl}archive'
9269 irix5* | irix6* | nonstopux*)
9270 lt_prog_compiler_wl='-Wl,'
9271 # PIC (with -KPIC) is the default.
9272 lt_prog_compiler_static='-non_shared'
9275 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9276 case $cc_basename in
9277 # old Intel for x86_64 which still supported -KPIC.
9279 lt_prog_compiler_wl='-Wl,'
9280 lt_prog_compiler_pic='-KPIC'
9281 lt_prog_compiler_static='-static'
9283 # icc used to be incompatible with GCC.
9284 # ICC 10 doesn't accept -KPIC any more.
9286 lt_prog_compiler_wl='-Wl,'
9287 lt_prog_compiler_pic='-fPIC'
9288 lt_prog_compiler_static='-static'
9290 # Lahey Fortran 8.1.
9292 lt_prog_compiler_wl='-Wl,'
9293 lt_prog_compiler_pic='--shared'
9294 lt_prog_compiler_static='--static'
9297 # NAG Fortran compiler
9298 lt_prog_compiler_wl='-Wl,-Wl,,'
9299 lt_prog_compiler_pic='-PIC'
9300 lt_prog_compiler_static='-Bstatic'
9302 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9303 # Portland Group compilers (*not* the Pentium gcc compiler,
9304 # which looks to be a dead project)
9305 lt_prog_compiler_wl='-Wl,'
9306 lt_prog_compiler_pic='-fpic'
9307 lt_prog_compiler_static='-Bstatic'
9310 lt_prog_compiler_wl='-Wl,'
9311 # All Alpha code is PIC.
9312 lt_prog_compiler_static='-non_shared'
9314 xl* | bgxl* | bgf* | mpixl*)
9315 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9316 lt_prog_compiler_wl='-Wl,'
9317 lt_prog_compiler_pic='-qpic'
9318 lt_prog_compiler_static='-qstaticlink'
9321 case `$CC -V 2>&1 | sed 5q` in
9322 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9323 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9324 lt_prog_compiler_pic='-KPIC'
9325 lt_prog_compiler_static='-Bstatic'
9326 lt_prog_compiler_wl=''
9328 *Sun\ F* | *Sun*Fortran*)
9329 lt_prog_compiler_pic='-KPIC'
9330 lt_prog_compiler_static='-Bstatic'
9331 lt_prog_compiler_wl='-Qoption ld '
9335 lt_prog_compiler_pic='-KPIC'
9336 lt_prog_compiler_static='-Bstatic'
9337 lt_prog_compiler_wl='-Wl,'
9339 *Intel*\ [CF]*Compiler*)
9340 lt_prog_compiler_wl='-Wl,'
9341 lt_prog_compiler_pic='-fPIC'
9342 lt_prog_compiler_static='-static'
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fpic'
9347 lt_prog_compiler_static='-Bstatic'
9355 lt_prog_compiler_pic='-KPIC'
9356 lt_prog_compiler_static='-Bstatic'
9360 # QNX uses GNU C++, but need to define -shared option too, otherwise
9362 lt_prog_compiler_pic='-fPIC -shared'
9365 osf3* | osf4* | osf5*)
9366 lt_prog_compiler_wl='-Wl,'
9367 # All OSF/1 code is PIC.
9368 lt_prog_compiler_static='-non_shared'
9372 lt_prog_compiler_static='-non_shared'
9376 lt_prog_compiler_pic='-KPIC'
9377 lt_prog_compiler_static='-Bstatic'
9378 case $cc_basename in
9379 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9380 lt_prog_compiler_wl='-Qoption ld ';;
9382 lt_prog_compiler_wl='-Wl,';;
9387 lt_prog_compiler_wl='-Qoption ld '
9388 lt_prog_compiler_pic='-PIC'
9389 lt_prog_compiler_static='-Bstatic'
9392 sysv4 | sysv4.2uw2* | sysv4.3*)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9399 if test -d /usr/nec ;then
9400 lt_prog_compiler_pic='-Kconform_pic'
9401 lt_prog_compiler_static='-Bstatic'
9405 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9406 lt_prog_compiler_wl='-Wl,'
9407 lt_prog_compiler_pic='-KPIC'
9408 lt_prog_compiler_static='-Bstatic'
9412 lt_prog_compiler_wl='-Wl,'
9413 lt_prog_compiler_can_build_shared=no
9417 lt_prog_compiler_pic='-pic'
9418 lt_prog_compiler_static='-Bstatic'
9422 lt_prog_compiler_can_build_shared=no
9428 # For platforms which do not support PIC, -DPIC is meaningless:
9430 lt_prog_compiler_pic=
9433 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9438 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9439 if ${lt_cv_prog_compiler_pic+:} false; then :
9440 $as_echo_n "(cached) " >&6
9442 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9445 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9446 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9449 # Check to make sure the PIC flag actually works.
9451 if test -n "$lt_prog_compiler_pic"; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9453 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9454 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9455 $as_echo_n "(cached) " >&6
9457 lt_cv_prog_compiler_pic_works=no
9458 ac_outfile=conftest.$ac_objext
9459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9460 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9461 # Insert the option either (1) after the last *FLAGS variable, or
9462 # (2) before a word containing "conftest.", or (3) at the end.
9463 # Note that $ac_compile itself does not contain backslashes and begins
9464 # with a dollar sign (not a hyphen), so the echo should work correctly.
9465 # The option is referenced via a variable to avoid confusing sed.
9466 lt_compile=`echo "$ac_compile" | $SED \
9467 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9468 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9469 -e 's:$: $lt_compiler_flag:'`
9470 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9471 (eval "$lt_compile" 2>conftest.err)
9473 cat conftest.err >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 if (exit $ac_status) && test -s "$ac_outfile"; then
9476 # The compiler can only warn and ignore the option if not recognized
9477 # So say no if there are warnings other than the usual output.
9478 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9479 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9480 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9481 lt_cv_prog_compiler_pic_works=yes
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9488 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9490 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9491 case $lt_prog_compiler_pic in
9493 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9496 lt_prog_compiler_pic=
9497 lt_prog_compiler_can_build_shared=no
9513 # Check to make sure the static flag actually works.
9515 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9517 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9518 if ${lt_cv_prog_compiler_static_works+:} false; then :
9519 $as_echo_n "(cached) " >&6
9521 lt_cv_prog_compiler_static_works=no
9522 save_LDFLAGS="$LDFLAGS"
9523 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9524 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9525 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9526 # The linker can only warn and ignore the option if not recognized
9527 # So say no if there are warnings
9528 if test -s conftest.err; then
9529 # Append any errors to the config.log.
9530 cat conftest.err 1>&5
9531 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9532 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9533 if diff conftest.exp conftest.er2 >/dev/null; then
9534 lt_cv_prog_compiler_static_works=yes
9537 lt_cv_prog_compiler_static_works=yes
9541 LDFLAGS="$save_LDFLAGS"
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9547 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9550 lt_prog_compiler_static=
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9560 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9561 if ${lt_cv_prog_compiler_c_o+:} false; then :
9562 $as_echo_n "(cached) " >&6
9564 lt_cv_prog_compiler_c_o=no
9565 $RM -r conftest 2>/dev/null
9569 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9571 lt_compiler_flag="-o out/conftest2.$ac_objext"
9572 # Insert the option either (1) after the last *FLAGS variable, or
9573 # (2) before a word containing "conftest.", or (3) at the end.
9574 # Note that $ac_compile itself does not contain backslashes and begins
9575 # with a dollar sign (not a hyphen), so the echo should work correctly.
9576 lt_compile=`echo "$ac_compile" | $SED \
9577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9579 -e 's:$: $lt_compiler_flag:'`
9580 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9581 (eval "$lt_compile" 2>out/conftest.err)
9583 cat out/conftest.err >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9587 # The compiler can only warn and ignore the option if not recognized
9588 # So say no if there are warnings
9589 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9590 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9591 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9592 lt_cv_prog_compiler_c_o=yes
9597 # SGI C++ compiler will create directory out/ii_files/ for
9598 # template instantiation
9599 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9600 $RM out/* && rmdir out
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9607 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9615 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9616 if ${lt_cv_prog_compiler_c_o+:} false; then :
9617 $as_echo_n "(cached) " >&6
9619 lt_cv_prog_compiler_c_o=no
9620 $RM -r conftest 2>/dev/null
9624 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9626 lt_compiler_flag="-o out/conftest2.$ac_objext"
9627 # Insert the option either (1) after the last *FLAGS variable, or
9628 # (2) before a word containing "conftest.", or (3) at the end.
9629 # Note that $ac_compile itself does not contain backslashes and begins
9630 # with a dollar sign (not a hyphen), so the echo should work correctly.
9631 lt_compile=`echo "$ac_compile" | $SED \
9632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9634 -e 's:$: $lt_compiler_flag:'`
9635 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9636 (eval "$lt_compile" 2>out/conftest.err)
9638 cat out/conftest.err >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9642 # The compiler can only warn and ignore the option if not recognized
9643 # So say no if there are warnings
9644 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9645 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9646 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9647 lt_cv_prog_compiler_c_o=yes
9652 # SGI C++ compiler will create directory out/ii_files/ for
9653 # template instantiation
9654 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9655 $RM out/* && rmdir out
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9662 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9667 hard_links="nottested"
9668 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9669 # do not overwrite the value of need_locks provided by the user
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9671 $as_echo_n "checking if we can lock with hard links... " >&6; }
9674 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9676 ln conftest.a conftest.b 2>&5 || hard_links=no
9677 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9679 $as_echo "$hard_links" >&6; }
9680 if test "$hard_links" = no; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9682 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9695 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9698 allow_undefined_flag=
9699 always_export_symbols=no
9701 archive_expsym_cmds=
9702 compiler_needs_object=no
9703 enable_shared_with_static_runtimes=no
9704 export_dynamic_flag_spec=
9705 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9706 hardcode_automatic=no
9708 hardcode_direct_absolute=no
9709 hardcode_libdir_flag_spec=
9710 hardcode_libdir_separator=
9712 hardcode_shlibpath_var=unsupported
9714 link_all_deplibs=unknown
9717 old_archive_from_new_cmds=
9718 old_archive_from_expsyms_cmds=
9719 thread_safe_flag_spec=
9720 whole_archive_flag_spec=
9721 # include_expsyms should be a list of space-separated symbols to be *always*
9722 # included in the symbol list
9724 # exclude_expsyms can be an extended regexp of symbols to exclude
9725 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9726 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9727 # as well as any symbol that contains `d'.
9728 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9729 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9730 # platforms (ab)use it in PIC code, but their linkers get confused if
9731 # the symbol is explicitly referenced. Since portable code cannot
9732 # rely on this symbol name, it's probably fine to never include it in
9733 # preloaded symbol tables.
9734 # Exclude shared library initialization/finalization symbols.
9735 extract_expsyms_cmds=
9738 cygwin* | mingw* | pw32* | cegcc*)
9739 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9740 # When not using gcc, we currently assume that we are using
9741 # Microsoft Visual C++.
9742 if test "$GCC" != yes; then
9747 # we just hope/assume this is gcc and not c89 (= MSVC++)
9757 # On some targets, GNU ld is compatible enough with the native linker
9758 # that we're better off using the native interface for both.
9759 lt_use_gnu_ld_interface=no
9760 if test "$with_gnu_ld" = yes; then
9763 # The AIX port of GNU ld has always aspired to compatibility
9764 # with the native linker. However, as the warning in the GNU ld
9765 # block says, versions before 2.19.5* couldn't really create working
9766 # shared libraries, regardless of the interface used.
9767 case `$LD -v 2>&1` in
9768 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9769 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9770 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9772 lt_use_gnu_ld_interface=yes
9777 lt_use_gnu_ld_interface=yes
9782 if test "$lt_use_gnu_ld_interface" = yes; then
9783 # If archive_cmds runs LD, not CC, wlarc should be empty
9786 # Set some defaults for GNU ld with shared library support. These
9787 # are reset later if shared libraries are not supported. Putting them
9788 # here allows them to be overridden if necessary.
9789 runpath_var=LD_RUN_PATH
9790 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9791 export_dynamic_flag_spec='${wl}--export-dynamic'
9792 # ancient GNU ld didn't support --whole-archive et. al.
9793 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9794 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9796 whole_archive_flag_spec=
9798 supports_anon_versioning=no
9799 case `$LD -v 2>&1` in
9800 *GNU\ gold*) supports_anon_versioning=yes ;;
9801 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9802 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9803 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9804 *\ 2.11.*) ;; # other 2.11 versions
9805 *) supports_anon_versioning=yes ;;
9808 # See if GNU ld supports shared libraries.
9811 # On AIX/PPC, the GNU linker is very broken
9812 if test "$host_cpu" != ia64; then
9816 *** Warning: the GNU linker, at least up to release 2.19, is reported
9817 *** to be unable to reliably create shared libraries on AIX.
9818 *** Therefore, libtool is disabling shared libraries support. If you
9819 *** really care for shared libraries, you may want to install binutils
9820 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9821 *** You will then need to restart the configuration process.
9830 # see comment about AmigaOS4 .so support
9831 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832 archive_expsym_cmds=''
9835 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)'
9836 hardcode_libdir_flag_spec='-L$libdir'
9837 hardcode_minus_L=yes
9843 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9844 allow_undefined_flag=unsupported
9845 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9846 # support --undefined. This deserves some investigation. FIXME
9847 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9853 cygwin* | mingw* | pw32* | cegcc*)
9854 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9855 # as there is no search path for DLLs.
9856 hardcode_libdir_flag_spec='-L$libdir'
9857 export_dynamic_flag_spec='${wl}--export-all-symbols'
9858 allow_undefined_flag=unsupported
9859 always_export_symbols=no
9860 enable_shared_with_static_runtimes=yes
9861 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9862 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9864 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9865 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 # If the export-symbols file already is a .def file (1st line
9867 # is EXPORTS), use it as is; otherwise, prepend...
9868 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9869 cp $export_symbols $output_objdir/$soname.def;
9871 echo EXPORTS > $output_objdir/$soname.def;
9872 cat $export_symbols >> $output_objdir/$soname.def;
9874 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9881 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9882 link_all_deplibs=yes
9887 hardcode_shlibpath_var=no
9888 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9889 export_dynamic_flag_spec='${wl}-E'
9890 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9891 # Instead, shared libraries are loaded at an image base (0x10000000 by
9892 # default) and relocated if they conflict, which is a slow very memory
9893 # consuming and fragmenting process. To avoid this, we pick a random,
9894 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9895 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9896 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9897 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'
9900 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9902 if test "$host_os" = linux-dietlibc; then
9903 case $cc_basename in
9904 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9907 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9908 && test "$tmp_diet" = no
9910 tmp_addflag=' $pic_flag'
9911 tmp_sharedflag='-shared'
9912 case $cc_basename,$host_cpu in
9913 pgcc*) # Portland Group C compiler
9914 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9915 tmp_addflag=' $pic_flag'
9917 pgf77* | pgf90* | pgf95* | pgfortran*)
9918 # Portland Group f77 and f90 compilers
9919 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9920 tmp_addflag=' $pic_flag -Mnomain' ;;
9921 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9922 tmp_addflag=' -i_dynamic' ;;
9923 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9924 tmp_addflag=' -i_dynamic -nofor_main' ;;
9925 ifc* | ifort*) # Intel Fortran compiler
9926 tmp_addflag=' -nofor_main' ;;
9927 lf95*) # Lahey Fortran 8.1
9928 whole_archive_flag_spec=
9929 tmp_sharedflag='--shared' ;;
9930 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9931 tmp_sharedflag='-qmkshrobj'
9933 nvcc*) # Cuda Compiler Driver 2.2
9934 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9935 compiler_needs_object=yes
9938 case `$CC -V 2>&1 | sed 5q` in
9939 *Sun\ C*) # Sun C 5.9
9940 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9941 compiler_needs_object=yes
9942 tmp_sharedflag='-G' ;;
9943 *Sun\ F*) # Sun Fortran 8.3
9944 tmp_sharedflag='-G' ;;
9946 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9948 if test "x$supports_anon_versioning" = xyes; then
9949 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9950 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9951 echo "local: *; };" >> $output_objdir/$libname.ver~
9952 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9955 case $cc_basename in
9956 xlf* | bgf* | bgxlf* | mpixlf*)
9957 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9958 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9959 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9960 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9961 if test "x$supports_anon_versioning" = xyes; then
9962 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9963 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9964 echo "local: *; };" >> $output_objdir/$libname.ver~
9965 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9975 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9976 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9979 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9985 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9989 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9990 *** create shared libraries on Solaris systems. Therefore, libtool
9991 *** is disabling shared libraries support. We urge you to upgrade GNU
9992 *** binutils to release 2.9.1 or newer. Another option is to modify
9993 *** your PATH or compiler configuration so that the native linker is
9994 *** used, and then restart.
9997 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9998 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9999 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10006 case `$LD -v 2>&1` in
10007 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10011 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10012 *** reliably create shared libraries on SCO systems. Therefore, libtool
10013 *** is disabling shared libraries support. We urge you to upgrade GNU
10014 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10015 *** your PATH or compiler configuration so that the native linker is
10016 *** used, and then restart.
10021 # For security reasons, it is highly recommended that you always
10022 # use absolute paths for naming shared libraries, and exclude the
10023 # DT_RUNPATH tag from executables and libraries. But doing so
10024 # requires that you compile everything twice, which is a pain.
10025 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct=yes
10040 hardcode_shlibpath_var=no
10044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10045 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 if test "$ld_shlibs" = no; then
10055 hardcode_libdir_flag_spec=
10056 export_dynamic_flag_spec=
10057 whole_archive_flag_spec=
10060 # PORTME fill in a description of your system's linker (not GNU ld)
10063 allow_undefined_flag=unsupported
10064 always_export_symbols=yes
10065 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'
10066 # Note: this linker hardcodes the directories in LIBPATH if there
10067 # are no directories specified by -L.
10068 hardcode_minus_L=yes
10069 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10070 # Neither direct hardcoding nor static linking is supported with a
10072 hardcode_direct=unsupported
10077 if test "$host_cpu" = ia64; then
10078 # On IA64, the linker does run time linking by default, so we don't
10079 # have to do anything special.
10080 aix_use_runtimelinking=no
10081 exp_sym_flag='-Bexport'
10084 # If we're using GNU nm, then we don't want the "-C" option.
10085 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10086 # Also, AIX nm treats weak defined symbols like other global
10087 # defined symbols, whereas GNU nm marks them as "W".
10088 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10089 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10091 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'
10093 aix_use_runtimelinking=no
10095 # Test if we are trying to use run time linking or normal
10096 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10097 # need to do runtime linking.
10098 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10099 for ld_flag in $LDFLAGS; do
10100 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10101 aix_use_runtimelinking=yes
10108 exp_sym_flag='-bexport'
10109 no_entry_flag='-bnoentry'
10112 # When large executables or shared objects are built, AIX ld can
10113 # have problems creating the table of contents. If linking a library
10114 # or program results in "error TOC overflow" add -mminimal-toc to
10115 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10116 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10119 hardcode_direct=yes
10120 hardcode_direct_absolute=yes
10121 hardcode_libdir_separator=':'
10122 link_all_deplibs=yes
10123 file_list_spec='${wl}-f,'
10125 if test "$GCC" = yes; then
10126 case $host_os in aix4.[012]|aix4.[012].*)
10127 # We only want to do this on AIX 4.2 and lower, the check
10128 # below for broken collect2 doesn't work under 4.3+
10129 collect2name=`${CC} -print-prog-name=collect2`
10130 if test -f "$collect2name" &&
10131 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10133 # We have reworked collect2
10136 # We have old collect2
10137 hardcode_direct=unsupported
10138 # It fails to find uninstalled libraries when the uninstalled
10139 # path is not listed in the libpath. Setting hardcode_minus_L
10140 # to unsupported forces relinking
10141 hardcode_minus_L=yes
10142 hardcode_libdir_flag_spec='-L$libdir'
10143 hardcode_libdir_separator=
10147 shared_flag='-shared'
10148 if test "$aix_use_runtimelinking" = yes; then
10149 shared_flag="$shared_flag "'${wl}-G'
10153 if test "$host_cpu" = ia64; then
10154 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10155 # chokes on -Wl,-G. The following line is correct:
10158 if test "$aix_use_runtimelinking" = yes; then
10159 shared_flag='${wl}-G'
10161 shared_flag='${wl}-bM:SRE'
10166 export_dynamic_flag_spec='${wl}-bexpall'
10167 # It seems that -bexpall does not export symbols beginning with
10168 # underscore (_), so it is better to generate a list of symbols to export.
10169 always_export_symbols=yes
10170 if test "$aix_use_runtimelinking" = yes; then
10171 # Warning - without using the other runtime loading flags (-brtl),
10172 # -berok will link without error, but may produce a broken library.
10173 allow_undefined_flag='-berok'
10174 # Determine the default libpath from the value encoded in an
10175 # empty executable.
10176 if test "${lt_cv_aix_libpath+set}" = set; then
10177 aix_libpath=$lt_cv_aix_libpath
10179 if ${lt_cv_aix_libpath_+:} false; then :
10180 $as_echo_n "(cached) " >&6
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10193 if ac_fn_c_try_link "$LINENO"; then :
10195 lt_aix_libpath_sed='
10196 /Import File Strings/,/^$/ {
10198 s/^0 *\([^ ]*\) *$/\1/
10202 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10203 # Check for a 64-bit object if we didn't find anything.
10204 if test -z "$lt_cv_aix_libpath_"; then
10205 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 if test -z "$lt_cv_aix_libpath_"; then
10211 lt_cv_aix_libpath_="/usr/lib:/lib"
10216 aix_libpath=$lt_cv_aix_libpath_
10219 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10220 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10222 if test "$host_cpu" = ia64; then
10223 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10224 allow_undefined_flag="-z nodefs"
10225 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"
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 if test "${lt_cv_aix_libpath+set}" = set; then
10230 aix_libpath=$lt_cv_aix_libpath
10232 if ${lt_cv_aix_libpath_+:} false; then :
10233 $as_echo_n "(cached) " >&6
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10246 if ac_fn_c_try_link "$LINENO"; then :
10248 lt_aix_libpath_sed='
10249 /Import File Strings/,/^$/ {
10251 s/^0 *\([^ ]*\) *$/\1/
10255 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10256 # Check for a 64-bit object if we didn't find anything.
10257 if test -z "$lt_cv_aix_libpath_"; then
10258 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 if test -z "$lt_cv_aix_libpath_"; then
10264 lt_cv_aix_libpath_="/usr/lib:/lib"
10269 aix_libpath=$lt_cv_aix_libpath_
10272 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10273 # Warning - without using the other run time loading flags,
10274 # -berok will link without error, but may produce a broken library.
10275 no_undefined_flag=' ${wl}-bernotok'
10276 allow_undefined_flag=' ${wl}-berok'
10277 if test "$with_gnu_ld" = yes; then
10278 # We only use this code for GNU lds that support --whole-archive.
10279 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10281 # Exported symbols can be pulled into shared objects from archives
10282 whole_archive_flag_spec='$convenience'
10284 archive_cmds_need_lc=yes
10285 # This is similar to how AIX traditionally builds its shared libraries.
10286 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'
10294 # see comment about AmigaOS4 .so support
10295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10296 archive_expsym_cmds=''
10299 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)'
10300 hardcode_libdir_flag_spec='-L$libdir'
10301 hardcode_minus_L=yes
10307 export_dynamic_flag_spec=-rdynamic
10310 cygwin* | mingw* | pw32* | cegcc*)
10311 # When not using gcc, we currently assume that we are using
10312 # Microsoft Visual C++.
10313 # hardcode_libdir_flag_spec is actually meaningless, as there is
10314 # no search path for DLLs.
10315 case $cc_basename in
10318 hardcode_libdir_flag_spec=' '
10319 allow_undefined_flag=unsupported
10320 always_export_symbols=yes
10322 # Tell ltmain to make .lib files, not .a files.
10324 # Tell ltmain to make .dll files, not .so files.
10326 # FIXME: Setting linknames here is a bad hack.
10327 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10328 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10329 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10331 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10333 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10335 # The linker will not automatically build a static lib if we build a DLL.
10336 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10337 enable_shared_with_static_runtimes=yes
10338 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10339 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10341 old_postinstall_cmds='chmod 644 $oldlib'
10342 postlink_cmds='lt_outputfile="@OUTPUT@"~
10343 lt_tool_outputfile="@TOOL_OUTPUT@"~
10344 case $lt_outputfile in
10347 lt_outputfile="$lt_outputfile.exe"
10348 lt_tool_outputfile="$lt_tool_outputfile.exe"
10351 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10352 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10353 $RM "$lt_outputfile.manifest";
10357 # Assume MSVC wrapper
10358 hardcode_libdir_flag_spec=' '
10359 allow_undefined_flag=unsupported
10360 # Tell ltmain to make .lib files, not .a files.
10362 # Tell ltmain to make .dll files, not .so files.
10364 # FIXME: Setting linknames here is a bad hack.
10365 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10366 # The linker will automatically build a .lib file if we build a DLL.
10367 old_archive_from_new_cmds='true'
10368 # FIXME: Should let the user specify the lib program.
10369 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10370 enable_shared_with_static_runtimes=yes
10375 darwin* | rhapsody*)
10378 archive_cmds_need_lc=no
10380 hardcode_automatic=yes
10381 hardcode_shlibpath_var=unsupported
10382 if test "$lt_cv_ld_force_load" = "yes"; then
10383 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10386 whole_archive_flag_spec=''
10388 link_all_deplibs=yes
10389 allow_undefined_flag="$_lt_dar_allow_undefined"
10390 case $cc_basename in
10391 ifort*) _lt_dar_can_shared=yes ;;
10392 *) _lt_dar_can_shared=$GCC ;;
10394 if test "$_lt_dar_can_shared" = "yes"; then
10395 output_verbose_link_cmd=func_echo_all
10396 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10397 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10398 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}"
10399 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}"
10408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409 hardcode_libdir_flag_spec='-L$libdir'
10410 hardcode_shlibpath_var=no
10413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10414 # support. Future versions do this automatically, but an explicit c++rt0.o
10415 # does not break anything, and helps significantly (at the cost of a little
10418 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10419 hardcode_libdir_flag_spec='-R$libdir'
10420 hardcode_direct=yes
10421 hardcode_shlibpath_var=no
10424 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10426 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10427 hardcode_direct=yes
10428 hardcode_minus_L=yes
10429 hardcode_shlibpath_var=no
10432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10433 freebsd* | dragonfly*)
10434 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10435 hardcode_libdir_flag_spec='-R$libdir'
10436 hardcode_direct=yes
10437 hardcode_shlibpath_var=no
10441 if test "$GCC" = yes; then
10442 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10444 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'
10446 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10447 hardcode_libdir_separator=:
10448 hardcode_direct=yes
10450 # hardcode_minus_L: Not really in the search PATH,
10451 # but as the default location of the library.
10452 hardcode_minus_L=yes
10453 export_dynamic_flag_spec='${wl}-E'
10457 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10458 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10462 if test "$with_gnu_ld" = no; then
10463 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10464 hardcode_libdir_separator=:
10465 hardcode_direct=yes
10466 hardcode_direct_absolute=yes
10467 export_dynamic_flag_spec='${wl}-E'
10468 # hardcode_minus_L: Not really in the search PATH,
10469 # but as the default location of the library.
10470 hardcode_minus_L=yes
10475 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10478 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10490 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10493 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10497 # Older versions of the 11.00 compiler do not understand -b yet
10498 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10500 $as_echo_n "checking if $CC understands -b... " >&6; }
10501 if ${lt_cv_prog_compiler__b+:} false; then :
10502 $as_echo_n "(cached) " >&6
10504 lt_cv_prog_compiler__b=no
10505 save_LDFLAGS="$LDFLAGS"
10506 LDFLAGS="$LDFLAGS -b"
10507 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10508 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10509 # The linker can only warn and ignore the option if not recognized
10510 # So say no if there are warnings
10511 if test -s conftest.err; then
10512 # Append any errors to the config.log.
10513 cat conftest.err 1>&5
10514 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10515 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10516 if diff conftest.exp conftest.er2 >/dev/null; then
10517 lt_cv_prog_compiler__b=yes
10520 lt_cv_prog_compiler__b=yes
10524 LDFLAGS="$save_LDFLAGS"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10528 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10530 if test x"$lt_cv_prog_compiler__b" = xyes; then
10531 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10533 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10539 if test "$with_gnu_ld" = no; then
10540 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10541 hardcode_libdir_separator=:
10546 hardcode_shlibpath_var=no
10549 hardcode_direct=yes
10550 hardcode_direct_absolute=yes
10551 export_dynamic_flag_spec='${wl}-E'
10553 # hardcode_minus_L: Not really in the search PATH,
10554 # but as the default location of the library.
10555 hardcode_minus_L=yes
10561 irix5* | irix6* | nonstopux*)
10562 if test "$GCC" = yes; then
10563 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10564 # Try to use the -exported_symbol ld option, if it does not
10565 # work, assume that -exports_file does not work either and
10566 # implicitly export all symbols.
10567 # This should be the same for all languages, so no per-tag cache variable.
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10569 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10570 if ${lt_cv_irix_exported_symbol+:} false; then :
10571 $as_echo_n "(cached) " >&6
10573 save_LDFLAGS="$LDFLAGS"
10574 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10577 int foo (void) { return 0; }
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 lt_cv_irix_exported_symbol=yes
10582 lt_cv_irix_exported_symbol=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LDFLAGS="$save_LDFLAGS"
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10589 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10590 if test "$lt_cv_irix_exported_symbol" = yes; then
10591 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10594 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10595 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10597 archive_cmds_need_lc='no'
10598 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10599 hardcode_libdir_separator=:
10601 link_all_deplibs=yes
10605 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10606 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10608 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10610 hardcode_libdir_flag_spec='-R$libdir'
10611 hardcode_direct=yes
10612 hardcode_shlibpath_var=no
10616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10617 hardcode_direct=yes
10618 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10619 hardcode_libdir_separator=:
10620 hardcode_shlibpath_var=no
10627 if test -f /usr/libexec/ld.so; then
10628 hardcode_direct=yes
10629 hardcode_shlibpath_var=no
10630 hardcode_direct_absolute=yes
10631 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10632 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10633 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10634 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10635 export_dynamic_flag_spec='${wl}-E'
10638 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10639 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10640 hardcode_libdir_flag_spec='-R$libdir'
10643 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10644 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10654 hardcode_libdir_flag_spec='-L$libdir'
10655 hardcode_minus_L=yes
10656 allow_undefined_flag=unsupported
10657 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'
10658 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10662 if test "$GCC" = yes; then
10663 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10664 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10666 allow_undefined_flag=' -expect_unresolved \*'
10667 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10669 archive_cmds_need_lc='no'
10670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10671 hardcode_libdir_separator=:
10674 osf4* | osf5*) # as osf3* with the addition of -msym flag
10675 if test "$GCC" = yes; then
10676 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10677 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10678 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10680 allow_undefined_flag=' -expect_unresolved \*'
10681 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10682 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~
10683 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10685 # Both c and cxx compiler support -rpath directly
10686 hardcode_libdir_flag_spec='-rpath $libdir'
10688 archive_cmds_need_lc='no'
10689 hardcode_libdir_separator=:
10693 no_undefined_flag=' -z defs'
10694 if test "$GCC" = yes; then
10696 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10698 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10700 case `$CC -V 2>&1` in
10703 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10704 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10705 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10709 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10710 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10711 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10715 hardcode_libdir_flag_spec='-R$libdir'
10716 hardcode_shlibpath_var=no
10718 solaris2.[0-5] | solaris2.[0-5].*) ;;
10720 # The compiler driver will combine and reorder linker options,
10721 # but understands `-z linker_flag'. GCC discards it without `$wl',
10722 # but is careful enough not to reorder.
10723 # Supported since Solaris 2.6 (maybe 2.5.1?)
10724 if test "$GCC" = yes; then
10725 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10727 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10731 link_all_deplibs=yes
10735 if test "x$host_vendor" = xsequent; then
10736 # Use $CC to link under sequent, because it throws in some extra .o
10737 # files that make .init and .fini sections work.
10738 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10740 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_libdir_flag_spec='-L$libdir'
10743 hardcode_direct=yes
10744 hardcode_minus_L=yes
10745 hardcode_shlibpath_var=no
10749 case $host_vendor in
10751 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10752 hardcode_direct=yes # is this really true???
10755 ## LD is ld it makes a PLAMLIB
10756 ## CC just makes a GrossModule.
10757 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10758 reload_cmds='$CC -r -o $output$reload_objs'
10762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10766 runpath_var='LD_RUN_PATH'
10767 hardcode_shlibpath_var=no
10771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10772 hardcode_shlibpath_var=no
10773 export_dynamic_flag_spec='-Bexport'
10777 if test -d /usr/nec; then
10778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10779 hardcode_shlibpath_var=no
10780 runpath_var=LD_RUN_PATH
10781 hardcode_runpath_var=yes
10786 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10787 no_undefined_flag='${wl}-z,text'
10788 archive_cmds_need_lc=no
10789 hardcode_shlibpath_var=no
10790 runpath_var='LD_RUN_PATH'
10792 if test "$GCC" = yes; then
10793 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10794 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10796 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10797 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10801 sysv5* | sco3.2v5* | sco5v6*)
10802 # Note: We can NOT use -z defs as we might desire, because we do not
10803 # link with -lc, and that would cause any symbols used from libc to
10804 # always be unresolved, which means just about no library would
10805 # ever link correctly. If we're not using GNU ld we use -z text
10806 # though, which does catch some bad symbols but isn't as heavy-handed
10808 no_undefined_flag='${wl}-z,text'
10809 allow_undefined_flag='${wl}-z,nodefs'
10810 archive_cmds_need_lc=no
10811 hardcode_shlibpath_var=no
10812 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10813 hardcode_libdir_separator=':'
10814 link_all_deplibs=yes
10815 export_dynamic_flag_spec='${wl}-Bexport'
10816 runpath_var='LD_RUN_PATH'
10818 if test "$GCC" = yes; then
10819 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10823 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10829 hardcode_libdir_flag_spec='-L$libdir'
10830 hardcode_shlibpath_var=no
10838 if test x$host_vendor = xsni; then
10840 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10841 export_dynamic_flag_spec='${wl}-Blargedynsym'
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10848 $as_echo "$ld_shlibs" >&6; }
10849 test "$ld_shlibs" = no && can_build_shared=no
10851 with_gnu_ld=$with_gnu_ld
10868 # Do we need to explicitly link libc?
10870 case "x$archive_cmds_need_lc" in
10872 # Assume -lc should be added
10873 archive_cmds_need_lc=yes
10875 if test "$enable_shared" = yes && test "$GCC" = yes; then
10876 case $archive_cmds in
10878 # FIXME: we may have to deal with multi-command sequences.
10881 # Test whether the compiler implicitly links with -lc since on some
10882 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10883 # to ld, don't add -lc before -lgcc.
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10885 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10886 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10887 $as_echo_n "(cached) " >&6
10890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10893 (eval $ac_compile) 2>&5
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; } 2>conftest.err; then
10899 libobjs=conftest.$ac_objext
10901 wl=$lt_prog_compiler_wl
10902 pic_flag=$lt_prog_compiler_pic
10908 lt_save_allow_undefined_flag=$allow_undefined_flag
10909 allow_undefined_flag=
10910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10911 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10914 test $ac_status = 0; }
10916 lt_cv_archive_cmds_need_lc=no
10918 lt_cv_archive_cmds_need_lc=yes
10920 allow_undefined_flag=$lt_save_allow_undefined_flag
10922 cat conftest.err 1>&5
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10928 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10929 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11088 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11090 if test "$GCC" = yes; then
11092 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11093 *) lt_awk_arg="/^libraries:/" ;;
11096 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11097 *) lt_sed_strip_eq="s,=/,/,g" ;;
11099 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11100 case $lt_search_path_spec in
11102 # if the path contains ";" then we assume it to be the separator
11103 # otherwise default to the standard path separator (i.e. ":") - it is
11104 # assumed that no part of a normal pathname contains ";" but that should
11105 # okay in the real world where ";" in dirpaths is itself problematic.
11106 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11109 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11112 # Ok, now we have the path, separated by spaces, we can step through it
11113 # and add multilib dir if necessary.
11114 lt_tmp_lt_search_path_spec=
11115 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11116 for lt_sys_path in $lt_search_path_spec; do
11117 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11118 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11120 test -d "$lt_sys_path" && \
11121 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11124 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11125 BEGIN {RS=" "; FS="/|\n";} {
11128 for (lt_i = NF; lt_i > 0; lt_i--) {
11129 if ($lt_i != "" && $lt_i != ".") {
11130 if ($lt_i == "..") {
11133 if (lt_count == 0) {
11134 lt_foo="/" $lt_i lt_foo;
11141 if (lt_foo != "") { lt_freq[lt_foo]++; }
11142 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11144 # AWK program above erroneously prepends '/' to C:/dos/paths
11147 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11148 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11150 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11152 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11154 library_names_spec=
11155 libname_spec='lib$name'
11159 postuninstall_cmds=
11163 shlibpath_overrides_runpath=unknown
11165 dynamic_linker="$host_os ld.so"
11166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11167 need_lib_prefix=unknown
11168 hardcode_into_libs=no
11170 # when you set need_version to no, make sure it does not cause -set_version
11171 # flags to be left without arguments
11172 need_version=unknown
11176 version_type=linux # correct to gnu/linux during the next big refactor
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11178 shlibpath_var=LIBPATH
11180 # AIX 3 has no versioning support, so we append a major version to the name.
11181 soname_spec='${libname}${release}${shared_ext}$major'
11185 version_type=linux # correct to gnu/linux during the next big refactor
11188 hardcode_into_libs=yes
11189 if test "$host_cpu" = ia64; then
11190 # AIX 5 supports IA64
11191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11192 shlibpath_var=LD_LIBRARY_PATH
11194 # With GCC up to 2.95.x, collect2 would create an import file
11195 # for dependence libraries. The import file would start with
11196 # the line `#! .'. This would cause the generated library to
11197 # depend on `.', always an invalid library. This was fixed in
11198 # development snapshots of GCC prior to 3.0.
11200 aix4 | aix4.[01] | aix4.[01].*)
11201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11206 can_build_shared=no
11210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11211 # soname into executable. Probably we can add versioning support to
11212 # collect2, so additional links can be useful in future.
11213 if test "$aix_use_runtimelinking" = yes; then
11214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11215 # instead of lib<name>.a to let people know that these are not
11216 # typical AIX shared libraries.
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 # We preserve .a as extension for shared libraries through AIX4.2
11220 # and later when we are not doing run time linking.
11221 library_names_spec='${libname}${release}.a $libname.a'
11222 soname_spec='${libname}${release}${shared_ext}$major'
11224 shlibpath_var=LIBPATH
11231 # Since July 2007 AmigaOS4 officially supports .so libraries.
11232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11236 library_names_spec='$libname.ixlibrary $libname.a'
11237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11238 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11244 library_names_spec='${libname}${shared_ext}'
11245 dynamic_linker="$host_os ld.so"
11246 shlibpath_var=LIBRARY_PATH
11250 version_type=linux # correct to gnu/linux during the next big refactor
11252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 soname_spec='${libname}${release}${shared_ext}$major'
11254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11255 shlibpath_var=LD_LIBRARY_PATH
11256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11258 # the default ld.so.conf also contains /usr/contrib/lib and
11259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11260 # libtool to hard-code these into programs
11263 cygwin* | mingw* | pw32* | cegcc*)
11264 version_type=windows
11269 case $GCC,$cc_basename in
11272 library_names_spec='$libname.dll.a'
11273 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11274 postinstall_cmds='base_file=`basename \${file}`~
11275 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11276 dldir=$destdir/`dirname \$dlpath`~
11277 test -d \$dldir || mkdir -p \$dldir~
11278 $install_prog $dir/$dlname \$dldir/$dlname~
11279 chmod a+x \$dldir/$dlname~
11280 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11281 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11283 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11284 dlpath=$dir/\$dldll~
11286 shlibpath_overrides_runpath=yes
11290 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11291 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11293 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11296 # MinGW DLLs use traditional 'lib' prefix
11297 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11300 # pw32 DLLs use 'pw' prefix rather than 'lib'
11301 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11304 dynamic_linker='Win32 ld.exe'
11309 libname_spec='$name'
11310 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11311 library_names_spec='${libname}.dll.lib'
11315 sys_lib_search_path_spec=
11318 for lt_path in $LIB
11321 # Let DOS variable expansion print the short 8.3 style file name.
11322 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11323 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11326 # Convert to MSYS style.
11327 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11330 # Convert to unix form, then to dos form, then back to unix form
11331 # but this time dos style (no spaces!) so that the unix form looks
11332 # like /cygdrive/c/PROGRA~1:/cygdr...
11333 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11334 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11335 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11338 sys_lib_search_path_spec="$LIB"
11339 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11340 # It is most probably a Windows format PATH.
11341 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11343 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11345 # FIXME: find the short name or the path components, as spaces are
11346 # common. (e.g. "Program Files" -> "PROGRA~1")
11350 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11351 postinstall_cmds='base_file=`basename \${file}`~
11352 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11353 dldir=$destdir/`dirname \$dlpath`~
11354 test -d \$dldir || mkdir -p \$dldir~
11355 $install_prog $dir/$dlname \$dldir/$dlname'
11356 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11357 dlpath=$dir/\$dldll~
11359 shlibpath_overrides_runpath=yes
11360 dynamic_linker='Win32 link.exe'
11364 # Assume MSVC wrapper
11365 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11366 dynamic_linker='Win32 ld.exe'
11369 # FIXME: first we should search . and the directory the executable is in
11373 darwin* | rhapsody*)
11374 dynamic_linker="$host_os dyld"
11375 version_type=darwin
11378 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11379 soname_spec='${libname}${release}${major}$shared_ext'
11380 shlibpath_overrides_runpath=yes
11381 shlibpath_var=DYLD_LIBRARY_PATH
11382 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11384 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11385 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11389 version_type=linux # correct to gnu/linux during the next big refactor
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 shlibpath_var=LD_LIBRARY_PATH
11397 freebsd* | dragonfly*)
11398 # DragonFly does not have aout. When/if they implement a new
11399 # versioning mechanism, adjust this.
11400 if test -x /usr/bin/objformat; then
11401 objformat=`/usr/bin/objformat`
11404 freebsd[23].*) objformat=aout ;;
11405 *) objformat=elf ;;
11408 version_type=freebsd-$objformat
11409 case $version_type in
11411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11420 shlibpath_var=LD_LIBRARY_PATH
11423 shlibpath_overrides_runpath=yes
11425 freebsd3.[01]* | freebsdelf3.[01]*)
11426 shlibpath_overrides_runpath=yes
11427 hardcode_into_libs=yes
11429 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11430 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11431 shlibpath_overrides_runpath=no
11432 hardcode_into_libs=yes
11434 *) # from 4.6 on, and DragonFly
11435 shlibpath_overrides_runpath=yes
11436 hardcode_into_libs=yes
11442 version_type=linux # correct to gnu/linux during the next big refactor
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11446 soname_spec='${libname}${release}${shared_ext}$major'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=no
11449 hardcode_into_libs=yes
11453 version_type=linux # correct to gnu/linux during the next big refactor
11456 dynamic_linker="$host_os runtime_loader"
11457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11458 soname_spec='${libname}${release}${shared_ext}$major'
11459 shlibpath_var=LIBRARY_PATH
11460 shlibpath_overrides_runpath=yes
11461 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11462 hardcode_into_libs=yes
11465 hpux9* | hpux10* | hpux11*)
11466 # Give a soname corresponding to the major version so that dld.sl refuses to
11467 # link against other versions.
11474 hardcode_into_libs=yes
11475 dynamic_linker="$host_os dld.so"
11476 shlibpath_var=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479 soname_spec='${libname}${release}${shared_ext}$major'
11480 if test "X$HPUX_IA64_MODE" = X32; then
11481 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11483 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11485 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11489 hardcode_into_libs=yes
11490 dynamic_linker="$host_os dld.sl"
11491 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 soname_spec='${libname}${release}${shared_ext}$major'
11495 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11500 dynamic_linker="$host_os dld.sl"
11501 shlibpath_var=SHLIB_PATH
11502 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec='${libname}${release}${shared_ext}$major'
11507 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11508 postinstall_cmds='chmod 555 $lib'
11509 # or fails outright, so override atomically:
11510 install_override_mode=555
11514 version_type=linux # correct to gnu/linux during the next big refactor
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11518 soname_spec='${libname}${release}${shared_ext}$major'
11519 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=no
11522 hardcode_into_libs=yes
11525 irix5* | irix6* | nonstopux*)
11527 nonstopux*) version_type=nonstopux ;;
11529 if test "$lt_cv_prog_gnu_ld" = yes; then
11530 version_type=linux # correct to gnu/linux during the next big refactor
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11540 irix5* | nonstopux*)
11541 libsuff= shlibsuff=
11544 case $LD in # libtool.m4 will add one of these switches to LD
11545 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11546 libsuff= shlibsuff= libmagic=32-bit;;
11547 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11548 libsuff=32 shlibsuff=N32 libmagic=N32;;
11549 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11550 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11551 *) libsuff= shlibsuff= libmagic=never-match;;
11555 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11556 shlibpath_overrides_runpath=no
11557 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11558 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11559 hardcode_into_libs=yes
11562 # No shared lib support for Linux oldld, aout, or coff.
11563 linux*oldld* | linux*aout* | linux*coff*)
11567 # This must be glibc/ELF.
11568 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11569 version_type=linux # correct to gnu/linux during the next big refactor
11572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=no
11578 # Some binutils ld are patched to set DT_RUNPATH
11579 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11580 $as_echo_n "(cached) " >&6
11582 lt_cv_shlibpath_overrides_runpath=no
11583 save_LDFLAGS=$LDFLAGS
11584 save_libdir=$libdir
11585 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11586 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11598 if ac_fn_c_try_link "$LINENO"; then :
11599 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11600 lt_cv_shlibpath_overrides_runpath=yes
11603 rm -f core conftest.err conftest.$ac_objext \
11604 conftest$ac_exeext conftest.$ac_ext
11605 LDFLAGS=$save_LDFLAGS
11606 libdir=$save_libdir
11610 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11612 # This implies no fast_install, which is unacceptable.
11613 # Some rework will be needed to allow for fast_install
11614 # before this can be enabled.
11615 hardcode_into_libs=yes
11617 # Add ABI-specific directories to the system library path.
11618 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11620 # Append ld.so.conf contents to the search path
11621 if test -f /etc/ld.so.conf; then
11622 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11623 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11627 # We used to test for /lib/ld.so.1 and disable shared libraries on
11628 # powerpc, because MkLinux only supported shared libraries with the
11629 # GNU dynamic linker. Since this was broken with cross compilers,
11630 # most powerpc-linux boxes support dynamic linking these days and
11631 # people can always --disable-shared, the test was removed, and we
11632 # assume the GNU/Linux dynamic linker is in use.
11633 dynamic_linker='GNU/Linux ld.so'
11640 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11643 dynamic_linker='NetBSD (a.out) ld.so'
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 dynamic_linker='NetBSD ld.elf_so'
11649 shlibpath_var=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath=yes
11651 hardcode_into_libs=yes
11655 version_type=linux # correct to gnu/linux during the next big refactor
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11657 shlibpath_var=LD_LIBRARY_PATH
11658 shlibpath_overrides_runpath=yes
11665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11666 soname_spec='${libname}${release}${shared_ext}$major'
11667 shlibpath_var=LD_LIBRARY_PATH
11668 shlibpath_overrides_runpath=no
11669 hardcode_into_libs=yes
11670 dynamic_linker='ldqnx.so'
11675 sys_lib_dlsearch_path_spec="/usr/lib"
11677 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11679 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11680 *) need_version=no ;;
11682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11683 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11684 shlibpath_var=LD_LIBRARY_PATH
11685 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11687 openbsd2.[89] | openbsd2.[89].*)
11688 shlibpath_overrides_runpath=no
11691 shlibpath_overrides_runpath=yes
11695 shlibpath_overrides_runpath=yes
11700 libname_spec='$name'
11703 library_names_spec='$libname${shared_ext} $libname.a'
11704 dynamic_linker='OS/2 ld.exe'
11705 shlibpath_var=LIBPATH
11708 osf3* | osf4* | osf5*)
11712 soname_spec='${libname}${release}${shared_ext}$major'
11713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 shlibpath_var=LD_LIBRARY_PATH
11715 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11716 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11724 version_type=linux # correct to gnu/linux during the next big refactor
11727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 soname_spec='${libname}${release}${shared_ext}$major'
11729 shlibpath_var=LD_LIBRARY_PATH
11730 shlibpath_overrides_runpath=yes
11731 hardcode_into_libs=yes
11732 # ldd complains unless libraries are executable
11733 postinstall_cmds='chmod +x $lib'
11738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11739 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11740 shlibpath_var=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath=yes
11742 if test "$with_gnu_ld" = yes; then
11749 version_type=linux # correct to gnu/linux during the next big refactor
11750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751 soname_spec='${libname}${release}${shared_ext}$major'
11752 shlibpath_var=LD_LIBRARY_PATH
11753 case $host_vendor in
11755 shlibpath_overrides_runpath=no
11757 runpath_var=LD_RUN_PATH
11765 shlibpath_overrides_runpath=no
11766 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11772 if test -d /usr/nec ;then
11773 version_type=linux # correct to gnu/linux during the next big refactor
11774 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11775 soname_spec='$libname${shared_ext}.$major'
11776 shlibpath_var=LD_LIBRARY_PATH
11780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11781 version_type=freebsd-elf
11784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11785 soname_spec='${libname}${release}${shared_ext}$major'
11786 shlibpath_var=LD_LIBRARY_PATH
11787 shlibpath_overrides_runpath=yes
11788 hardcode_into_libs=yes
11789 if test "$with_gnu_ld" = yes; then
11790 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11792 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11795 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11799 sys_lib_dlsearch_path_spec='/usr/lib'
11803 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11804 version_type=linux # correct to gnu/linux during the next big refactor
11807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11808 shlibpath_var=LD_LIBRARY_PATH
11809 shlibpath_overrides_runpath=no
11810 hardcode_into_libs=yes
11814 version_type=linux # correct to gnu/linux during the next big refactor
11815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11816 soname_spec='${libname}${release}${shared_ext}$major'
11817 shlibpath_var=LD_LIBRARY_PATH
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11825 $as_echo "$dynamic_linker" >&6; }
11826 test "$dynamic_linker" = no && can_build_shared=no
11828 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11829 if test "$GCC" = yes; then
11830 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11833 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11834 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11836 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11837 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11932 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11934 if test -n "$hardcode_libdir_flag_spec" ||
11935 test -n "$runpath_var" ||
11936 test "X$hardcode_automatic" = "Xyes" ; then
11938 # We can hardcode non-existent directories.
11939 if test "$hardcode_direct" != no &&
11940 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11941 # have to relink, otherwise we might link with an installed library
11942 # when we should be linking with a yet-to-be-installed one
11943 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11944 test "$hardcode_minus_L" != no; then
11945 # Linking always hardcodes the temporary library directory.
11946 hardcode_action=relink
11948 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11949 hardcode_action=immediate
11952 # We cannot hardcode anything, or else we can only hardcode existing
11954 hardcode_action=unsupported
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11957 $as_echo "$hardcode_action" >&6; }
11959 if test "$hardcode_action" = relink ||
11960 test "$inherit_rpath" = yes; then
11961 # Fast installation is not supported
11962 enable_fast_install=no
11963 elif test "$shlibpath_overrides_runpath" = yes ||
11964 test "$enable_shared" = no; then
11965 # Fast installation is not necessary
11966 enable_fast_install=needless
11974 if test "x$enable_dlopen" != xyes; then
11975 enable_dlopen=unknown
11976 enable_dlopen_self=unknown
11977 enable_dlopen_self_static=unknown
11984 lt_cv_dlopen="load_add_on"
11986 lt_cv_dlopen_self=yes
11989 mingw* | pw32* | cegcc*)
11990 lt_cv_dlopen="LoadLibrary"
11995 lt_cv_dlopen="dlopen"
12000 # if libdl is installed we need to link against it
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12002 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12003 if ${ac_cv_lib_dl_dlopen+:} false; then :
12004 $as_echo_n "(cached) " >&6
12006 ac_check_lib_save_LIBS=$LIBS
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 ac_cv_lib_dl_dlopen=yes
12029 ac_cv_lib_dl_dlopen=no
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12036 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12037 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12038 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12041 lt_cv_dlopen="dyld"
12043 lt_cv_dlopen_self=yes
12050 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12051 if test "x$ac_cv_func_shl_load" = xyes; then :
12052 lt_cv_dlopen="shl_load"
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12055 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12056 if ${ac_cv_lib_dld_shl_load+:} false; then :
12057 $as_echo_n "(cached) " >&6
12059 ac_check_lib_save_LIBS=$LIBS
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12074 return shl_load ();
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 ac_cv_lib_dld_shl_load=yes
12082 ac_cv_lib_dld_shl_load=no
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_lib_save_LIBS
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12089 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12090 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12091 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12093 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12094 if test "x$ac_cv_func_dlopen" = xyes; then :
12095 lt_cv_dlopen="dlopen"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12098 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12099 if ${ac_cv_lib_dl_dlopen+:} false; then :
12100 $as_echo_n "(cached) " >&6
12102 ac_check_lib_save_LIBS=$LIBS
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 ac_cv_lib_dl_dlopen=yes
12125 ac_cv_lib_dl_dlopen=no
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12132 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12133 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12134 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12137 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12138 if ${ac_cv_lib_svld_dlopen+:} false; then :
12139 $as_echo_n "(cached) " >&6
12141 ac_check_lib_save_LIBS=$LIBS
12142 LIBS="-lsvld $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 ac_cv_lib_svld_dlopen=yes
12164 ac_cv_lib_svld_dlopen=no
12166 rm -f core conftest.err conftest.$ac_objext \
12167 conftest$ac_exeext conftest.$ac_ext
12168 LIBS=$ac_check_lib_save_LIBS
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12171 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12172 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12173 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12176 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12177 if ${ac_cv_lib_dld_dld_link+:} false; then :
12178 $as_echo_n "(cached) " >&6
12180 ac_check_lib_save_LIBS=$LIBS
12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12185 /* Override any GCC internal prototype to avoid an error.
12186 Use char because int might match the return type of a GCC
12187 builtin and then its argument prototype would still apply. */
12195 return dld_link ();
12200 if ac_fn_c_try_link "$LINENO"; then :
12201 ac_cv_lib_dld_dld_link=yes
12203 ac_cv_lib_dld_dld_link=no
12205 rm -f core conftest.err conftest.$ac_objext \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12210 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12211 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12212 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12233 if test "x$lt_cv_dlopen" != xno; then
12239 case $lt_cv_dlopen in
12241 save_CPPFLAGS="$CPPFLAGS"
12242 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12244 save_LDFLAGS="$LDFLAGS"
12245 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12248 LIBS="$lt_cv_dlopen_libs $LIBS"
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12251 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12252 if ${lt_cv_dlopen_self+:} false; then :
12253 $as_echo_n "(cached) " >&6
12255 if test "$cross_compiling" = yes; then :
12256 lt_cv_dlopen_self=cross
12258 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12259 lt_status=$lt_dlunknown
12260 cat > conftest.$ac_ext <<_LT_EOF
12261 #line $LINENO "configure"
12262 #include "confdefs.h"
12271 # define LT_DLGLOBAL RTLD_GLOBAL
12274 # define LT_DLGLOBAL DL_GLOBAL
12276 # define LT_DLGLOBAL 0
12280 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12281 find out it does not work in some platform. */
12282 #ifndef LT_DLLAZY_OR_NOW
12284 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12287 # define LT_DLLAZY_OR_NOW DL_LAZY
12290 # define LT_DLLAZY_OR_NOW RTLD_NOW
12293 # define LT_DLLAZY_OR_NOW DL_NOW
12295 # define LT_DLLAZY_OR_NOW 0
12302 /* When -fvisbility=hidden is used, assume the code has been annotated
12303 correspondingly for the symbols needed. */
12304 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12305 int fnord () __attribute__((visibility("default")));
12308 int fnord () { return 42; }
12311 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12312 int status = $lt_dlunknown;
12316 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12319 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12320 else puts (dlerror ());
12322 /* dlclose (self); */
12330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12331 (eval $ac_link) 2>&5
12333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12334 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12335 (./conftest; exit; ) >&5 2>/dev/null
12337 case x$lt_status in
12338 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12339 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12340 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12343 # compilation failed
12344 lt_cv_dlopen_self=no
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12352 $as_echo "$lt_cv_dlopen_self" >&6; }
12354 if test "x$lt_cv_dlopen_self" = xyes; then
12355 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12357 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12358 if ${lt_cv_dlopen_self_static+:} false; then :
12359 $as_echo_n "(cached) " >&6
12361 if test "$cross_compiling" = yes; then :
12362 lt_cv_dlopen_self_static=cross
12364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12365 lt_status=$lt_dlunknown
12366 cat > conftest.$ac_ext <<_LT_EOF
12367 #line $LINENO "configure"
12368 #include "confdefs.h"
12377 # define LT_DLGLOBAL RTLD_GLOBAL
12380 # define LT_DLGLOBAL DL_GLOBAL
12382 # define LT_DLGLOBAL 0
12386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12387 find out it does not work in some platform. */
12388 #ifndef LT_DLLAZY_OR_NOW
12390 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12393 # define LT_DLLAZY_OR_NOW DL_LAZY
12396 # define LT_DLLAZY_OR_NOW RTLD_NOW
12399 # define LT_DLLAZY_OR_NOW DL_NOW
12401 # define LT_DLLAZY_OR_NOW 0
12408 /* When -fvisbility=hidden is used, assume the code has been annotated
12409 correspondingly for the symbols needed. */
12410 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12411 int fnord () __attribute__((visibility("default")));
12414 int fnord () { return 42; }
12417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12418 int status = $lt_dlunknown;
12422 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12425 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12426 else puts (dlerror ());
12428 /* dlclose (self); */
12436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12437 (eval $ac_link) 2>&5
12439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12440 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12441 (./conftest; exit; ) >&5 2>/dev/null
12443 case x$lt_status in
12444 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12445 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12446 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12449 # compilation failed
12450 lt_cv_dlopen_self_static=no
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12458 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12461 CPPFLAGS="$save_CPPFLAGS"
12462 LDFLAGS="$save_LDFLAGS"
12467 case $lt_cv_dlopen_self in
12468 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12469 *) enable_dlopen_self=unknown ;;
12472 case $lt_cv_dlopen_self_static in
12473 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12474 *) enable_dlopen_self_static=unknown ;;
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12497 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12498 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12499 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12500 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12502 $as_echo "yes" >&6; }
12504 # FIXME - insert some real tests, host_os isn't really good enough
12507 if test -n "$STRIP" ; then
12508 striplib="$STRIP -x"
12509 old_striplib="$STRIP -S"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511 $as_echo "yes" >&6; }
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12514 $as_echo "no" >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12519 $as_echo "no" >&6; }
12535 # Report which library types will actually be built
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12537 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12539 $as_echo "$can_build_shared" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12542 $as_echo_n "checking whether to build shared libraries... " >&6; }
12543 test "$can_build_shared" = "no" && enable_shared=no
12545 # On AIX, shared libraries and static libraries use the same namespace, and
12546 # are all built from PIC.
12549 test "$enable_shared" = yes && enable_static=no
12550 if test -n "$RANLIB"; then
12551 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12552 postinstall_cmds='$RANLIB $lib'
12557 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12558 test "$enable_shared" = yes && enable_static=no
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12563 $as_echo "$enable_shared" >&6; }
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12566 $as_echo_n "checking whether to build static libraries... " >&6; }
12567 # Make sure either enable_shared or enable_static is yes.
12568 test "$enable_shared" = yes || enable_static=yes
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12570 $as_echo "$enable_static" >&6; }
12577 ac_cpp='$CPP $CPPFLAGS'
12578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12598 ac_config_commands="$ac_config_commands libtool"
12603 # Only expand once:
12606 # Create libtool early, because it's used in configure
12607 : ${CONFIG_LT=./config.lt}
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
12609 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
12611 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
12613 # Generated by $as_me.
12614 # Run this file to recreate a libtool stub with the current configuration.
12615 SHELL=\${CONFIG_SHELL-$SHELL}
12618 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
12619 ## -------------------- ##
12620 ## M4sh Initialization. ##
12621 ## -------------------- ##
12623 # Be more Bourne compatible
12624 DUALCASE=1; export DUALCASE # for MKS sh
12625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12628 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12629 # is contrary to our usage. Disable this feature.
12630 alias -g '${1+"$@"}'='"$@"'
12631 setopt NO_GLOB_SUBST
12633 case `(set -o) 2>/dev/null` in #(
12645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12646 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12649 # Prefer a ksh shell builtin over an external printf program on Solaris,
12650 # but without wasting forks for bash or zsh.
12651 if test -z "$BASH_VERSION$ZSH_VERSION" \
12652 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12653 as_echo='print -r --'
12654 as_echo_n='print -rn --'
12655 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12656 as_echo='printf %s\n'
12657 as_echo_n='printf %s'
12659 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12660 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12661 as_echo_n='/usr/ucb/echo -n'
12663 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12664 as_echo_n_body='eval
12668 expr "X$arg" : "X\\(.*\\)$as_nl";
12669 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12671 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12673 export as_echo_n_body
12674 as_echo_n='sh -c $as_echo_n_body as_echo'
12676 export as_echo_body
12677 as_echo='sh -c $as_echo_body as_echo'
12680 # The user is always right.
12681 if test "${PATH_SEPARATOR+set}" != set; then
12683 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12684 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12691 # We need space, tab and new line, in precisely that order. Quoting is
12692 # there to prevent editors from complaining about space-tab.
12693 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12694 # splitting by setting IFS to empty value.)
12697 # Find who we are. Look in the path if we contain no directory separator.
12700 *[\\/]* ) as_myself=$0 ;;
12701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12702 for as_dir in $PATH
12705 test -z "$as_dir" && as_dir=.
12706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12712 # We did not find ourselves, most probably we were run as `sh COMMAND'
12713 # in which case we are not to be found in the path.
12714 if test "x$as_myself" = x; then
12717 if test ! -f "$as_myself"; then
12718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12722 # Unset variables that we do not need and which cause bugs (e.g. in
12723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12724 # suppresses any "Segmentation fault" message there. '((' could
12725 # trigger a bug in pdksh 5.2.14.
12726 for as_var in BASH_ENV ENV MAIL MAILPATH
12727 do eval test x\${$as_var+set} = xset \
12728 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12744 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12745 # ----------------------------------------
12746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12748 # script with STATUS, using 1 if that was 0.
12751 as_status=$1; test $as_status -eq 0 && as_status=1
12753 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12756 $as_echo "$as_me: error: $2" >&2
12757 as_fn_exit $as_status
12761 # as_fn_set_status STATUS
12762 # -----------------------
12763 # Set $? to STATUS, without forking.
12764 as_fn_set_status ()
12767 } # as_fn_set_status
12769 # as_fn_exit STATUS
12770 # -----------------
12771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12775 as_fn_set_status $1
12781 # Portably unset VAR.
12784 { eval $1=; unset $1;}
12786 as_unset=as_fn_unset
12787 # as_fn_append VAR VALUE
12788 # ----------------------
12789 # Append the text in VALUE to the end of the definition contained in VAR. Take
12790 # advantage of any shell optimizations that allow amortized linear growth over
12791 # repeated appends, instead of the typical quadratic growth present in naive
12793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12794 eval 'as_fn_append ()
12805 # as_fn_arith ARG...
12806 # ------------------
12807 # Perform arithmetic evaluation on the ARGs, and store the result in the
12808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12809 # must be portable across $(()) and expr.
12810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12811 eval 'as_fn_arith ()
12818 as_val=`expr "$@" || test $? -eq 1`
12823 if expr a : '\(a\)' >/dev/null 2>&1 &&
12824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12831 as_basename=basename
12836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12842 as_me=`$as_basename -- "$0" ||
12843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12844 X"$0" : 'X\(//\)$' \| \
12845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12847 sed '/^.*\/\([^/][^/]*\)\/*$/{
12861 # Avoid depending upon Character Ranges.
12862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12865 as_cr_digits='0123456789'
12866 as_cr_alnum=$as_cr_Letters$as_cr_digits
12868 ECHO_C= ECHO_N= ECHO_T=
12869 case `echo -n x` in #(((((
12871 case `echo 'xy\c'` in
12872 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12874 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12881 rm -f conf$$ conf$$.exe conf$$.file
12882 if test -d conf$$.dir; then
12883 rm -f conf$$.dir/conf$$.file
12886 mkdir conf$$.dir 2>/dev/null
12888 if (echo >conf$$.file) 2>/dev/null; then
12889 if ln -s conf$$.file conf$$ 2>/dev/null; then
12891 # ... but there are two gotchas:
12892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12894 # In both cases, we have to default to `cp -p'.
12895 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12897 elif ln conf$$.file conf$$ 2>/dev/null; then
12905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12906 rmdir conf$$.dir 2>/dev/null
12911 # Create "$as_dir" as a directory, including parents if necessary.
12916 -*) as_dir=./$as_dir;;
12918 test -d "$as_dir" || eval $as_mkdir_p || {
12922 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12923 *) as_qdir=$as_dir;;
12925 as_dirs="'$as_qdir' $as_dirs"
12926 as_dir=`$as_dirname -- "$as_dir" ||
12927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12928 X"$as_dir" : 'X\(//\)[^/]' \| \
12929 X"$as_dir" : 'X\(//\)$' \| \
12930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12931 $as_echo X"$as_dir" |
12932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12936 /^X\(\/\/\)[^/].*/{
12949 test -d "$as_dir" && break
12951 test -z "$as_dirs" || eval "mkdir $as_dirs"
12952 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12956 if mkdir -p . 2>/dev/null; then
12957 as_mkdir_p='mkdir -p "$as_dir"'
12959 test -d ./-p && rmdir ./-p
12963 if test -x / >/dev/null 2>&1; then
12964 as_test_x='test -x'
12966 if ls -dL / >/dev/null 2>&1; then
12973 if test -d "$1"; then
12979 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12980 ???[sx]*):;;*)false;;esac;fi
12984 as_executable_p=$as_test_x
12986 # Sed expression to map a string onto a valid CPP name.
12987 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12989 # Sed expression to map a string onto a valid variable name.
12990 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12994 ## --------------------------------- ##
12995 ## Main body of "$CONFIG_LT" script. ##
12996 ## --------------------------------- ##
12998 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
13000 cat >>"$CONFIG_LT" <<\_LTEOF
13005 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13006 ## Running $as_me. ##
13011 \`$as_me' creates a local libtool stub from the current configuration,
13012 for use in further configure time tests before the real libtool is
13015 Usage: $0 [OPTIONS]
13017 -h, --help print this help, then exit
13018 -V, --version print version number, then exit
13019 -q, --quiet do not print progress messages
13020 -d, --debug don't remove temporary files
13022 Report bugs to <bug-libtool@gnu.org>."
13025 gdk-pixbuf config.lt 2.26.1
13026 configured by $0, generated by GNU Autoconf 2.68.
13028 Copyright (C) 2011 Free Software Foundation, Inc.
13029 This config.lt script is free software; the Free Software Foundation
13030 gives unlimited permision to copy, distribute and modify it."
13035 --version | --v* | -V )
13036 echo "$lt_cl_version"; exit 0 ;;
13037 --help | --h* | -h )
13038 echo "$lt_cl_help"; exit 0 ;;
13039 --debug | --d* | -d )
13041 --quiet | --q* | --silent | --s* | -q )
13044 -*) as_fn_error $? "unrecognized option: $1
13045 Try \`$0 --help' for more information." "$LINENO" 5 ;;
13047 *) as_fn_error $? "unrecognized argument: $1
13048 Try \`$0 --help' for more information." "$LINENO" 5 ;;
13053 if $lt_cl_silent; then
13058 cat >>"$CONFIG_LT" <<_LTEOF
13061 # The HP-UX ksh and POSIX shell print the target directory to stdout
13062 # if CDPATH is set.
13063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13065 sed_quote_subst='$sed_quote_subst'
13066 double_quote_subst='$double_quote_subst'
13067 delay_variable_subst='$delay_variable_subst'
13068 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13069 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13070 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13071 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13072 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13073 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13074 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13075 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13076 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13077 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13078 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13079 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13080 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13081 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13082 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13083 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13084 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13085 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13086 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13087 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13088 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13089 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13090 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13091 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13092 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13093 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13094 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13095 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13096 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13097 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13098 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13099 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13100 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13101 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13102 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13103 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13104 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13105 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13106 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13107 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13108 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13109 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13110 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13111 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13112 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13113 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13114 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13115 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13116 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13117 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13118 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13119 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13120 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13121 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13122 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13123 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13124 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13126 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13127 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13128 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13129 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13130 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13131 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13132 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13133 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13134 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13135 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13136 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13137 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13138 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13139 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13140 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13141 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13142 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13143 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13144 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13145 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13146 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13147 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13148 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13149 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13150 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13151 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13152 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13153 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13154 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13155 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13156 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13157 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13158 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13159 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13160 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13161 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13162 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13163 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13164 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13165 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13166 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13167 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13168 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13169 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13170 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13171 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13172 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13173 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13174 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13175 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13176 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13177 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13178 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13179 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13180 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13181 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13182 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13183 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13184 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13185 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13186 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13187 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13188 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13189 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13190 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13191 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13192 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13193 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13194 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13195 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13196 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13197 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13198 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13201 LTCFLAGS='$LTCFLAGS'
13202 compiler='$compiler_DEFAULT'
13204 # A function that is used when there is no print builtin or printf.
13205 func_fallback_echo ()
13207 eval 'cat <<_LTECHO_EOF
13212 # Quote evaled strings.
13229 deplibs_check_method \
13233 sharedlib_from_linklib_cmd \
13236 archiver_list_spec \
13242 lt_cv_sys_global_symbol_pipe \
13243 lt_cv_sys_global_symbol_to_cdecl \
13244 lt_cv_sys_global_symbol_to_c_name_address \
13245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13246 nm_file_list_spec \
13247 lt_prog_compiler_no_builtin_flag \
13248 lt_prog_compiler_pic \
13249 lt_prog_compiler_wl \
13250 lt_prog_compiler_static \
13251 lt_cv_prog_compiler_c_o \
13260 export_dynamic_flag_spec \
13261 whole_archive_flag_spec \
13262 compiler_needs_object \
13264 allow_undefined_flag \
13265 no_undefined_flag \
13266 hardcode_libdir_flag_spec \
13267 hardcode_libdir_separator \
13271 variables_saved_for_relink \
13273 library_names_spec \
13275 install_override_mode \
13279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13280 *[\\\\\\\`\\"\\\$]*)
13281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13289 # Double-quote double-evaled strings.
13290 for var in reload_cmds \
13291 old_postinstall_cmds \
13292 old_postuninstall_cmds \
13294 extract_expsyms_cmds \
13295 old_archive_from_new_cmds \
13296 old_archive_from_expsyms_cmds \
13298 archive_expsym_cmds \
13300 module_expsym_cmds \
13301 export_symbols_cmds \
13305 postuninstall_cmds \
13307 sys_lib_search_path_spec \
13308 sys_lib_dlsearch_path_spec; do
13309 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13310 *[\\\\\\\`\\"\\\$]*)
13311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13319 ac_aux_dir='$ac_aux_dir'
13320 xsi_shell='$xsi_shell'
13321 lt_shell_append='$lt_shell_append'
13323 # See if we are running on zsh, and set the options which allow our
13324 # commands through without removal of \ escapes INIT.
13325 if test -n "\${ZSH_VERSION+set}" ; then
13326 setopt NO_GLOB_SUBST
13332 TIMESTAMP='$TIMESTAMP'
13340 cat >>"$CONFIG_LT" <<\_LTEOF
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
13342 $as_echo "$as_me: creating $ofile" >&6;}
13345 # See if we are running on zsh, and set the options which allow our
13346 # commands through without removal of \ escapes.
13347 if test -n "${ZSH_VERSION+set}" ; then
13348 setopt NO_GLOB_SUBST
13351 cfgfile="${ofile}T"
13352 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13355 cat <<_LT_EOF >> "$cfgfile"
13358 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13359 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13363 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13364 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13366 # Written by Gordon Matzigkeit, 1996
13368 # This file is part of GNU Libtool.
13370 # GNU Libtool is free software; you can redistribute it and/or
13371 # modify it under the terms of the GNU General Public License as
13372 # published by the Free Software Foundation; either version 2 of
13373 # the License, or (at your option) any later version.
13375 # As a special exception to the GNU General Public License,
13376 # if you distribute this file as part of a program or library that
13377 # is built using GNU Libtool, you may include this file under the
13378 # same distribution terms that you use for the rest of that program.
13380 # GNU Libtool is distributed in the hope that it will be useful,
13381 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13383 # GNU General Public License for more details.
13385 # You should have received a copy of the GNU General Public License
13386 # along with GNU Libtool; see the file COPYING. If not, a copy
13387 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13388 # obtained by writing to the Free Software Foundation, Inc.,
13389 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13392 # The names of the tagged configurations supported by this script.
13395 # ### BEGIN LIBTOOL CONFIG
13397 # Which release of libtool.m4 was used?
13398 macro_version=$macro_version
13399 macro_revision=$macro_revision
13401 # Whether or not to build static libraries.
13402 build_old_libs=$enable_static
13404 # Assembler program.
13407 # DLL creation program.
13408 DLLTOOL=$lt_DLLTOOL
13410 # Object dumper program.
13411 OBJDUMP=$lt_OBJDUMP
13413 # Whether or not to build shared libraries.
13414 build_libtool_libs=$enable_shared
13416 # What type of objects to build.
13419 # Whether or not to optimize for fast installation.
13420 fast_install=$enable_fast_install
13422 # Shell to use when invoking shell scripts.
13425 # An echo program that protects backslashes.
13428 # The PATH separator for the build system.
13429 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13432 host_alias=$host_alias
13436 # The build system.
13437 build_alias=$build_alias
13441 # A sed program that does not truncate output.
13444 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13445 Xsed="\$SED -e 1s/^X//"
13447 # A grep program that handles long lines.
13453 # A literal string matcher.
13456 # A BSD- or MS-compatible name lister.
13459 # Whether we need soft or hard links.
13462 # What is the maximum length of a command?
13463 max_cmd_len=$max_cmd_len
13465 # Object file suffix (normally "o").
13468 # Executable file suffix (normally "").
13471 # whether the shell understands "unset".
13474 # turn spaces into newlines.
13477 # turn newlines into spaces.
13480 # convert \$build file names to \$host format.
13481 to_host_file_cmd=$lt_cv_to_host_file_cmd
13483 # convert \$build files to toolchain format.
13484 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13486 # Method to check whether dependent libraries are shared objects.
13487 deplibs_check_method=$lt_deplibs_check_method
13489 # Command to use when deplibs_check_method = "file_magic".
13490 file_magic_cmd=$lt_file_magic_cmd
13492 # How to find potential files when deplibs_check_method = "file_magic".
13493 file_magic_glob=$lt_file_magic_glob
13495 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13496 want_nocaseglob=$lt_want_nocaseglob
13498 # Command to associate shared and link libraries.
13499 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13504 # Flags to create an archive.
13505 AR_FLAGS=$lt_AR_FLAGS
13507 # How to feed a file listing to the archiver.
13508 archiver_list_spec=$lt_archiver_list_spec
13510 # A symbol stripping program.
13513 # Commands used to install an old-style archive.
13515 old_postinstall_cmds=$lt_old_postinstall_cmds
13516 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13518 # Whether to use a lock for old archive extraction.
13519 lock_old_archive_extraction=$lock_old_archive_extraction
13524 # LTCC compiler flags.
13525 LTCFLAGS=$lt_CFLAGS
13527 # Take the output of nm and produce a listing of raw symbols and C names.
13528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13530 # Transform the output of nm in a proper C declaration.
13531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13533 # Transform the output of nm in a C name address pair.
13534 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13536 # Transform the output of nm in a C name address pair when lib prefix is needed.
13537 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13539 # Specify filename containing input files for \$NM.
13540 nm_file_list_spec=$lt_nm_file_list_spec
13542 # The root where to search for dependent libraries,and in which our libraries should be installed.
13543 lt_sysroot=$lt_sysroot
13545 # The name of the directory that contains temporary libtool files.
13548 # Used to examine libraries when file_magic_cmd begins with "file".
13549 MAGIC_CMD=$MAGIC_CMD
13551 # Must we lock files when doing compilation?
13552 need_locks=$lt_need_locks
13555 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13557 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13558 DSYMUTIL=$lt_DSYMUTIL
13560 # Tool to change global to local symbols on Mac OS X.
13563 # Tool to manipulate fat objects and archives on Mac OS X.
13566 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13569 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13570 OTOOL64=$lt_OTOOL64
13572 # Old archive suffix (normally "a").
13575 # Shared library suffix (normally ".so").
13576 shrext_cmds=$lt_shrext_cmds
13578 # The commands to extract the exported symbol list from a shared archive.
13579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13581 # Variables whose values should be saved in libtool wrapper scripts and
13582 # restored at link time.
13583 variables_saved_for_relink=$lt_variables_saved_for_relink
13585 # Do we need the "lib" prefix for modules?
13586 need_lib_prefix=$need_lib_prefix
13588 # Do we need a version for libraries?
13589 need_version=$need_version
13591 # Library versioning type.
13592 version_type=$version_type
13594 # Shared library runtime path variable.
13595 runpath_var=$runpath_var
13597 # Shared library path variable.
13598 shlibpath_var=$shlibpath_var
13600 # Is shlibpath searched before the hard-coded library search path?
13601 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13603 # Format of library name prefix.
13604 libname_spec=$lt_libname_spec
13606 # List of archive names. First name is the real one, the rest are links.
13607 # The last name is the one that the linker finds with -lNAME
13608 library_names_spec=$lt_library_names_spec
13610 # The coded name of the library, if different from the real name.
13611 soname_spec=$lt_soname_spec
13613 # Permission mode override for installation of shared libraries.
13614 install_override_mode=$lt_install_override_mode
13616 # Command to use after installation of a shared archive.
13617 postinstall_cmds=$lt_postinstall_cmds
13619 # Command to use after uninstallation of a shared archive.
13620 postuninstall_cmds=$lt_postuninstall_cmds
13622 # Commands used to finish a libtool library installation in a directory.
13623 finish_cmds=$lt_finish_cmds
13625 # As "finish_cmds", except a single script fragment to be evaled but
13627 finish_eval=$lt_finish_eval
13629 # Whether we should hardcode library paths into libraries.
13630 hardcode_into_libs=$hardcode_into_libs
13632 # Compile-time system search path for libraries.
13633 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13635 # Run-time system search path for libraries.
13636 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13638 # Whether dlopen is supported.
13639 dlopen_support=$enable_dlopen
13641 # Whether dlopen of programs is supported.
13642 dlopen_self=$enable_dlopen_self
13644 # Whether dlopen of statically linked programs is supported.
13645 dlopen_self_static=$enable_dlopen_self_static
13647 # Commands to strip libraries.
13648 old_striplib=$lt_old_striplib
13649 striplib=$lt_striplib
13652 # The linker used to build libraries.
13655 # How to create reloadable object files.
13656 reload_flag=$lt_reload_flag
13657 reload_cmds=$lt_reload_cmds
13659 # Commands used to build an old-style archive.
13660 old_archive_cmds=$lt_old_archive_cmds
13662 # A language specific compiler.
13665 # Is the compiler the GNU compiler?
13668 # Compiler flag to turn off builtin functions.
13669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13671 # Additional compiler flags for building library objects.
13672 pic_flag=$lt_lt_prog_compiler_pic
13674 # How to pass a linker flag through the compiler.
13675 wl=$lt_lt_prog_compiler_wl
13677 # Compiler flag to prevent dynamic linking.
13678 link_static_flag=$lt_lt_prog_compiler_static
13680 # Does compiler simultaneously support -c and -o options?
13681 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13683 # Whether or not to add -lc for building shared libraries.
13684 build_libtool_need_lc=$archive_cmds_need_lc
13686 # Whether or not to disallow shared libs when runtime libs are static.
13687 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13689 # Compiler flag to allow reflexive dlopens.
13690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13692 # Compiler flag to generate shared objects directly from archives.
13693 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13695 # Whether the compiler copes with passing no objects directly.
13696 compiler_needs_object=$lt_compiler_needs_object
13698 # Create an old-style archive from a shared archive.
13699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13701 # Create a temporary old-style archive to link instead of a shared archive.
13702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13704 # Commands used to build a shared archive.
13705 archive_cmds=$lt_archive_cmds
13706 archive_expsym_cmds=$lt_archive_expsym_cmds
13708 # Commands used to build a loadable module if different from building
13709 # a shared archive.
13710 module_cmds=$lt_module_cmds
13711 module_expsym_cmds=$lt_module_expsym_cmds
13713 # Whether we are building with GNU ld or not.
13714 with_gnu_ld=$lt_with_gnu_ld
13716 # Flag that allows shared libraries with undefined symbols to be built.
13717 allow_undefined_flag=$lt_allow_undefined_flag
13719 # Flag that enforces no undefined symbols.
13720 no_undefined_flag=$lt_no_undefined_flag
13722 # Flag to hardcode \$libdir into a binary during linking.
13723 # This must work even if \$libdir does not exist
13724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13726 # Whether we need a single "-rpath" flag with a separated argument.
13727 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13729 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13730 # DIR into the resulting binary.
13731 hardcode_direct=$hardcode_direct
13733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13734 # DIR into the resulting binary and the resulting library dependency is
13735 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13736 # library is relocated.
13737 hardcode_direct_absolute=$hardcode_direct_absolute
13739 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13740 # into the resulting binary.
13741 hardcode_minus_L=$hardcode_minus_L
13743 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13744 # into the resulting binary.
13745 hardcode_shlibpath_var=$hardcode_shlibpath_var
13747 # Set to "yes" if building a shared library automatically hardcodes DIR
13748 # into the library and all subsequent libraries and executables linked
13750 hardcode_automatic=$hardcode_automatic
13752 # Set to yes if linker adds runtime paths of dependent libraries
13753 # to runtime path list.
13754 inherit_rpath=$inherit_rpath
13756 # Whether libtool must link a program against all its dependency libraries.
13757 link_all_deplibs=$link_all_deplibs
13759 # Set to "yes" if exported symbols are required.
13760 always_export_symbols=$always_export_symbols
13762 # The commands to list exported symbols.
13763 export_symbols_cmds=$lt_export_symbols_cmds
13765 # Symbols that should not be listed in the preloaded symbols.
13766 exclude_expsyms=$lt_exclude_expsyms
13768 # Symbols that must always be exported.
13769 include_expsyms=$lt_include_expsyms
13771 # Commands necessary for linking programs (against libraries) with templates.
13772 prelink_cmds=$lt_prelink_cmds
13774 # Commands necessary for finishing linking programs.
13775 postlink_cmds=$lt_postlink_cmds
13777 # Specify filename containing input files.
13778 file_list_spec=$lt_file_list_spec
13780 # How to hardcode a shared library path into an executable.
13781 hardcode_action=$hardcode_action
13783 # ### END LIBTOOL CONFIG
13789 cat <<\_LT_EOF >> "$cfgfile"
13790 # AIX sometimes has problems with the GCC collect2 program. For some
13791 # reason, if we set the COLLECT_NAMES environment variable, the problems
13792 # vanish in a puff of smoke.
13793 if test "X${COLLECT_NAMES+set}" != Xset; then
13795 export COLLECT_NAMES
13802 ltmain="$ac_aux_dir/ltmain.sh"
13805 # We use sed instead of cat because bash on DJGPP gets confused if
13806 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13807 # text mode, it properly converts lines to CR/LF. This bash problem
13808 # is reportedly fixed, but why not run on old versions too?
13809 sed '$q' "$ltmain" >> "$cfgfile" \
13810 || (rm -f "$cfgfile"; exit 1)
13812 if test x"$xsi_shell" = xyes; then
13813 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13817 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13818 \ * ) func_dirname_result="${3}" ;;\
13820 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13821 && mv -f "$cfgfile.tmp" "$cfgfile" \
13822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13823 test 0 -eq $? || _lt_function_replace_fail=:
13826 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13829 \ func_basename_result="${1##*/}"\
13830 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13831 && mv -f "$cfgfile.tmp" "$cfgfile" \
13832 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13833 test 0 -eq $? || _lt_function_replace_fail=:
13836 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13837 func_dirname_and_basename ()\
13840 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13841 \ * ) func_dirname_result="${3}" ;;\
13843 \ func_basename_result="${1##*/}"\
13844 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13845 && mv -f "$cfgfile.tmp" "$cfgfile" \
13846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13847 test 0 -eq $? || _lt_function_replace_fail=:
13850 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13853 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13854 \ # positional parameters, so assign one to ordinary parameter first.\
13855 \ func_stripname_result=${3}\
13856 \ func_stripname_result=${func_stripname_result#"${1}"}\
13857 \ func_stripname_result=${func_stripname_result%"${2}"}\
13858 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13859 && mv -f "$cfgfile.tmp" "$cfgfile" \
13860 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13861 test 0 -eq $? || _lt_function_replace_fail=:
13864 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13865 func_split_long_opt ()\
13867 \ func_split_long_opt_name=${1%%=*}\
13868 \ func_split_long_opt_arg=${1#*=}\
13869 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13870 && mv -f "$cfgfile.tmp" "$cfgfile" \
13871 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13872 test 0 -eq $? || _lt_function_replace_fail=:
13875 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13876 func_split_short_opt ()\
13878 \ func_split_short_opt_arg=${1#??}\
13879 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13880 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13881 && mv -f "$cfgfile.tmp" "$cfgfile" \
13882 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13883 test 0 -eq $? || _lt_function_replace_fail=:
13886 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13890 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13891 \ *) func_lo2o_result=${1} ;;\
13893 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13894 && mv -f "$cfgfile.tmp" "$cfgfile" \
13895 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13896 test 0 -eq $? || _lt_function_replace_fail=:
13899 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13902 func_xform_result=${1%.*}.lo\
13903 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13904 && mv -f "$cfgfile.tmp" "$cfgfile" \
13905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13906 test 0 -eq $? || _lt_function_replace_fail=:
13909 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13912 func_arith_result=$(( $* ))\
13913 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13914 && mv -f "$cfgfile.tmp" "$cfgfile" \
13915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13916 test 0 -eq $? || _lt_function_replace_fail=:
13919 sed -e '/^func_len ()$/,/^} # func_len /c\
13922 func_len_result=${#1}\
13923 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13924 && mv -f "$cfgfile.tmp" "$cfgfile" \
13925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13926 test 0 -eq $? || _lt_function_replace_fail=:
13930 if test x"$lt_shell_append" = xyes; then
13931 sed -e '/^func_append ()$/,/^} # func_append /c\
13934 eval "${1}+=\\${2}"\
13935 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13936 && mv -f "$cfgfile.tmp" "$cfgfile" \
13937 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13938 test 0 -eq $? || _lt_function_replace_fail=:
13941 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13942 func_append_quoted ()\
13944 \ func_quote_for_eval "${2}"\
13945 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13946 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13947 && mv -f "$cfgfile.tmp" "$cfgfile" \
13948 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13949 test 0 -eq $? || _lt_function_replace_fail=:
13952 # Save a `func_append' function call where possible by direct use of '+='
13953 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13954 && mv -f "$cfgfile.tmp" "$cfgfile" \
13955 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13956 test 0 -eq $? || _lt_function_replace_fail=:
13958 # Save a `func_append' function call even when '+=' is not available
13959 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13960 && mv -f "$cfgfile.tmp" "$cfgfile" \
13961 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13962 test 0 -eq $? || _lt_function_replace_fail=:
13965 if test x"$_lt_function_replace_fail" = x":"; then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13967 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13971 mv -f "$cfgfile" "$ofile" ||
13972 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13978 chmod +x "$CONFIG_LT"
13980 # configure is writing to config.log, but config.lt does its own redirection,
13981 # appending to config.log, which fails on DOS, as config.log is still kept
13982 # open by configure. Here we exec the FD to /dev/null, effectively closing
13983 # config.log, so it can be properly (re)opened and appended to by config.lt.
13985 test "$silent" = yes &&
13986 lt_config_lt_args="$lt_config_lt_args --quiet"
13988 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13990 $lt_cl_success || as_fn_exit 1
13993 # Make sure we use 64-bit versions of various file stuff.
13994 # Check whether --enable-largefile was given.
13995 if test "${enable_largefile+set}" = set; then :
13996 enableval=$enable_largefile;
13999 if test "$enable_largefile" != no; then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14002 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14003 if ${ac_cv_sys_largefile_CC+:} false; then :
14004 $as_echo_n "(cached) " >&6
14006 ac_cv_sys_largefile_CC=no
14007 if test "$GCC" != yes; then
14010 # IRIX 6.2 and later do not support large files by default,
14011 # so use the C compiler's -n32 option if that helps.
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 #include <sys/types.h>
14015 /* Check that off_t can represent 2**63 - 1 correctly.
14016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14017 since some C++ compilers masquerading as C compilers
14018 incorrectly reject 9223372036854775807. */
14019 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14021 && LARGE_OFF_T % 2147483647 == 1)
14031 if ac_fn_c_try_compile "$LINENO"; then :
14034 rm -f core conftest.err conftest.$ac_objext
14036 if ac_fn_c_try_compile "$LINENO"; then :
14037 ac_cv_sys_largefile_CC=' -n32'; break
14039 rm -f core conftest.err conftest.$ac_objext
14043 rm -f conftest.$ac_ext
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14047 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14048 if test "$ac_cv_sys_largefile_CC" != no; then
14049 CC=$CC$ac_cv_sys_largefile_CC
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14053 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14054 if ${ac_cv_sys_file_offset_bits+:} false; then :
14055 $as_echo_n "(cached) " >&6
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 #include <sys/types.h>
14061 /* Check that off_t can represent 2**63 - 1 correctly.
14062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14063 since some C++ compilers masquerading as C compilers
14064 incorrectly reject 9223372036854775807. */
14065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14067 && LARGE_OFF_T % 2147483647 == 1)
14077 if ac_fn_c_try_compile "$LINENO"; then :
14078 ac_cv_sys_file_offset_bits=no; break
14080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 #define _FILE_OFFSET_BITS 64
14084 #include <sys/types.h>
14085 /* Check that off_t can represent 2**63 - 1 correctly.
14086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14087 since some C++ compilers masquerading as C compilers
14088 incorrectly reject 9223372036854775807. */
14089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14091 && LARGE_OFF_T % 2147483647 == 1)
14101 if ac_fn_c_try_compile "$LINENO"; then :
14102 ac_cv_sys_file_offset_bits=64; break
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14105 ac_cv_sys_file_offset_bits=unknown
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14110 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14111 case $ac_cv_sys_file_offset_bits in #(
14114 cat >>confdefs.h <<_ACEOF
14115 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14120 if test $ac_cv_sys_file_offset_bits = unknown; then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14122 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14123 if ${ac_cv_sys_large_files+:} false; then :
14124 $as_echo_n "(cached) " >&6
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 #include <sys/types.h>
14130 /* Check that off_t can represent 2**63 - 1 correctly.
14131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14132 since some C++ compilers masquerading as C compilers
14133 incorrectly reject 9223372036854775807. */
14134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14136 && LARGE_OFF_T % 2147483647 == 1)
14146 if ac_fn_c_try_compile "$LINENO"; then :
14147 ac_cv_sys_large_files=no; break
14149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 #define _LARGE_FILES 1
14153 #include <sys/types.h>
14154 /* Check that off_t can represent 2**63 - 1 correctly.
14155 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14156 since some C++ compilers masquerading as C compilers
14157 incorrectly reject 9223372036854775807. */
14158 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14159 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14160 && LARGE_OFF_T % 2147483647 == 1)
14170 if ac_fn_c_try_compile "$LINENO"; then :
14171 ac_cv_sys_large_files=1; break
14173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14174 ac_cv_sys_large_files=unknown
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14179 $as_echo "$ac_cv_sys_large_files" >&6; }
14180 case $ac_cv_sys_large_files in #(
14183 cat >>confdefs.h <<_ACEOF
14184 #define _LARGE_FILES $ac_cv_sys_large_files
14193 # By default we simply use the C compiler to build assembly code.
14195 test "${CCAS+set}" = set || CCAS=$CC
14196 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
14200 depcc="$CCAS" am_compiler_list=
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14203 $as_echo_n "checking dependency style of $depcc... " >&6; }
14204 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
14205 $as_echo_n "(cached) " >&6
14207 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14208 # We make a subdir and do the tests there. Otherwise we can end up
14209 # making bogus files that we don't know about and never remove. For
14210 # instance it was reported that on HP-UX the gcc test will end up
14211 # making a dummy file named `D' -- because `-MD' means `put the output
14213 rm -rf conftest.dir
14215 # Copy depcomp to subdir because otherwise we won't find it if we're
14216 # using a relative directory.
14217 cp "$am_depcomp" conftest.dir
14219 # We will build objects and dependencies in a subdirectory because
14220 # it helps to detect inapplicable dependency modes. For instance
14221 # both Tru64's cc and ICC support -MD to output dependencies as a
14222 # side effect of compilation, but ICC will put the dependencies in
14223 # the current directory while Tru64 will put them in the object
14227 am_cv_CCAS_dependencies_compiler_type=none
14228 if test "$am_compiler_list" = ""; then
14229 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14231 am__universal=false
14234 for depmode in $am_compiler_list; do
14235 # Setup a source with many dependencies, because some compilers
14236 # like to wrap large dependency lists on column 80 (with \), and
14237 # we should not choose a depcomp mode which is confused by this.
14239 # We need to recreate these files for each test, as the compiler may
14240 # overwrite some of them when testing with obscure command lines.
14241 # This happens at least with the AIX C compiler.
14243 for i in 1 2 3 4 5 6; do
14244 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14245 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14246 # Solaris 8's {/usr,}/bin/sh.
14247 touch sub/conftst$i.h
14249 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14251 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14252 # mode. It turns out that the SunPro C++ compiler does not properly
14253 # handle `-M -o', and we need to detect this. Also, some Intel
14254 # versions had trouble with output in subdirs
14255 am__obj=sub/conftest.${OBJEXT-o}
14256 am__minus_obj="-o $am__obj"
14259 # This depmode causes a compiler race in universal mode.
14260 test "$am__universal" = false || continue
14263 # after this tag, mechanisms are not by side-effect, so they'll
14264 # only be used when explicitly requested
14265 if test "x$enable_dependency_tracking" = xyes; then
14271 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14272 # This compiler won't grok `-c -o', but also, the minuso test has
14273 # not run yet. These depmodes are late enough in the game, and
14274 # so weak that their functioning should not be impacted.
14275 am__obj=conftest.${OBJEXT-o}
14280 if depmode=$depmode \
14281 source=sub/conftest.c object=$am__obj \
14282 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14283 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14284 >/dev/null 2>conftest.err &&
14285 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14286 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14287 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14288 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14289 # icc doesn't choke on unknown options, it will just issue warnings
14290 # or remarks (even with -Werror). So we grep stderr for any message
14291 # that says an option was ignored or not supported.
14292 # When given -MP, icc 7.0 and 7.1 complain thusly:
14293 # icc: Command line warning: ignoring option '-M'; no argument required
14294 # The diagnosis changed in icc 8.0:
14295 # icc: Command line remark: option '-MP' not supported
14296 if (grep 'ignoring option' conftest.err ||
14297 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14298 am_cv_CCAS_dependencies_compiler_type=$depmode
14305 rm -rf conftest.dir
14307 am_cv_CCAS_dependencies_compiler_type=none
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
14312 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
14313 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
14316 test "x$enable_dependency_tracking" != xno \
14317 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
14318 am__fastdepCCAS_TRUE=
14319 am__fastdepCCAS_FALSE='#'
14321 am__fastdepCCAS_TRUE='#'
14322 am__fastdepCCAS_FALSE=
14326 # Extract the first word of "nm", so it can be a program name with args.
14327 set dummy nm; ac_word=$2
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14329 $as_echo_n "checking for $ac_word... " >&6; }
14330 if ${ac_cv_path_NM+:} false; then :
14331 $as_echo_n "(cached) " >&6
14335 ac_cv_path_NM="$NM" # Let the user override the test with a path.
14338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14339 for as_dir in $PATH
14342 test -z "$as_dir" && as_dir=.
14343 for ac_exec_ext in '' $ac_executable_extensions; do
14344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14345 ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
14346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14353 test -z "$ac_cv_path_NM" && ac_cv_path_NM="nm"
14358 if test -n "$NM"; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14360 $as_echo "$NM" >&6; }
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14363 $as_echo "no" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
14369 $as_echo_n "checking for some Win32 platform... " >&6; }
14371 *-*-mingw*|*-*-cygwin*) :
14372 platform_win32=yes ;; #(
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
14378 $as_echo "$platform_win32" >&6; }
14379 if test "$platform_win32" = "yes"; then
14380 PLATFORM_WIN32_TRUE=
14381 PLATFORM_WIN32_FALSE='#'
14383 PLATFORM_WIN32_TRUE='#'
14384 PLATFORM_WIN32_FALSE=
14388 if test "$os_win32" = "yes"; then
14396 if test "$os_win32" != "yes"; then
14404 if test "$os_linux" = "yes"; then
14413 if test "$os_win32" = "yes"; then
14414 if test -n "$ac_tool_prefix"; then
14415 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14416 set dummy ${ac_tool_prefix}windres; ac_word=$2
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14418 $as_echo_n "checking for $ac_word... " >&6; }
14419 if ${ac_cv_prog_WINDRES+:} false; then :
14420 $as_echo_n "(cached) " >&6
14422 if test -n "$WINDRES"; then
14423 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14426 for as_dir in $PATH
14429 test -z "$as_dir" && as_dir=.
14430 for ac_exec_ext in '' $ac_executable_extensions; do
14431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14432 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14442 WINDRES=$ac_cv_prog_WINDRES
14443 if test -n "$WINDRES"; then
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
14445 $as_echo "$WINDRES" >&6; }
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14448 $as_echo "no" >&6; }
14453 if test -z "$ac_cv_prog_WINDRES"; then
14454 ac_ct_WINDRES=$WINDRES
14455 # Extract the first word of "windres", so it can be a program name with args.
14456 set dummy windres; ac_word=$2
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14458 $as_echo_n "checking for $ac_word... " >&6; }
14459 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
14460 $as_echo_n "(cached) " >&6
14462 if test -n "$ac_ct_WINDRES"; then
14463 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14466 for as_dir in $PATH
14469 test -z "$as_dir" && as_dir=.
14470 for ac_exec_ext in '' $ac_executable_extensions; do
14471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14472 ac_cv_prog_ac_ct_WINDRES="windres"
14473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14482 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14483 if test -n "$ac_ct_WINDRES"; then
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
14485 $as_echo "$ac_ct_WINDRES" >&6; }
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14491 if test "x$ac_ct_WINDRES" = x; then
14494 case $cross_compiling:$ac_tool_warned in
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14498 ac_tool_warned=yes ;;
14500 WINDRES=$ac_ct_WINDRES
14503 WINDRES="$ac_cv_prog_WINDRES"
14506 if test "$WINDRES" = no; then
14507 as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
14509 # Extract the first word of "lib.exe", so it can be a program name with args.
14510 set dummy lib.exe; ac_word=$2
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512 $as_echo_n "checking for $ac_word... " >&6; }
14513 if ${ac_cv_prog_ms_librarian+:} false; then :
14514 $as_echo_n "(cached) " >&6
14516 if test -n "$ms_librarian"; then
14517 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
14519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14520 for as_dir in $PATH
14523 test -z "$as_dir" && as_dir=.
14524 for ac_exec_ext in '' $ac_executable_extensions; do
14525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14526 ac_cv_prog_ms_librarian="yes"
14527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14534 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
14537 ms_librarian=$ac_cv_prog_ms_librarian
14538 if test -n "$ms_librarian"; then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
14540 $as_echo "$ms_librarian" >&6; }
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14543 $as_echo "no" >&6; }
14548 if test x$ms_librarian = xyes; then
14549 MS_LIB_AVAILABLE_TRUE=
14550 MS_LIB_AVAILABLE_FALSE='#'
14552 MS_LIB_AVAILABLE_TRUE='#'
14553 MS_LIB_AVAILABLE_FALSE=
14559 # Check whether --enable-debug was given.
14560 if test "${enable_debug+set}" = set; then :
14561 enableval=$enable_debug;
14563 enable_debug=minimum
14566 # Check whether --enable-rebuilds was given.
14567 if test "${enable_rebuilds+set}" = set; then :
14568 enableval=$enable_rebuilds;
14570 enable_rebuilds=yes
14574 case $enable_debug in #(
14577 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14578 GDK_PIXBUF_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES"
14581 GDK_PIXBUF_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14583 GDK_PIXBUF_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
14589 # Build time sanity check...
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
14591 $as_echo_n "checking whether build environment is sane... " >&6; }
14594 echo timestamp > conftest.file
14595 # Reject unsafe characters in $srcdir or the absolute working directory
14596 # name. Accept space and tab only in the latter.
14600 *[\\\"\#\$\&\'\`$am_lf]*)
14601 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
14604 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
14605 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
14608 # Do `set' in a subshell so we don't clobber the current shell's
14609 # arguments. Must try -L first in case configure is actually a
14610 # symlink; some systems play weird games with the mod time of symlinks
14611 # (eg FreeBSD returns the mod time of the symlink's containing
14614 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
14615 if test "$*" = "X"; then
14617 set X `ls -t "$srcdir/configure" conftest.file`
14619 rm -f conftest.file
14620 if test "$*" != "X $srcdir/configure conftest.file" \
14621 && test "$*" != "X conftest.file $srcdir/configure"; then
14623 # If neither matched, then we have a broken ls. This can happen
14624 # if, for instance, CONFIG_SHELL is bash and it inherits a
14625 # broken ls alias from the environment. This has actually
14626 # happened. Such a system could not be considered "sane".
14627 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
14628 alias in your environment" "$LINENO" 5
14631 test "$2" = conftest.file
14637 as_fn_error $? "newly created file is older than distributed files!
14638 Check your system clock" "$LINENO" 5
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14643 if test "x$GCC" = "xyes"; then
14644 case " $CFLAGS " in
14645 *[\ \ ]-Wall[\ \ ]*) ;;
14646 *) CFLAGS="$CFLAGS -Wall" ;;
14649 if test "x$enable_ansi" = "xyes"; then
14650 case " $CFLAGS " in
14651 *[\ \ ]-ansi[\ \ ]*) ;;
14652 *) CFLAGS="$CFLAGS -ansi" ;;
14655 case " $CFLAGS " in
14656 *[\ \ ]-pedantic[\ \ ]*) ;;
14657 *) CFLAGS="$CFLAGS -pedantic" ;;
14662 CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES"
14664 # Ensure MSVC-compatible struct packing convention is used when
14665 # compiling for Win32 with gcc.
14666 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
14667 # gcc2 uses "-fnative-struct".
14668 if test x"$os_win32" = xyes; then
14669 if test x"$GCC" = xyes; then
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
14672 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
14673 if test -z "$ac_cv_prog_CC"; then
14676 our_gcc="$ac_cv_prog_CC"
14678 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
14680 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
14681 msnative_struct='-fnative-struct'
14685 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
14686 msnative_struct='-mms-bitfields'
14690 if test x"$msnative_struct" = x ; then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
14692 $as_echo "no way" >&6; }
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
14694 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
14696 CFLAGS="$CFLAGS $msnative_struct"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
14698 $as_echo "${msnative_struct}" >&6; }
14703 ## Initial sanity check, done here so that users get told they
14704 ## have the wrong dependencies as early in the process as possible.
14705 ## Later on we actually use the cflags/libs from separate pkg-config
14706 ## calls. Oh, also the later pkg-config calls don't include
14707 ## the version requirements since those make the module lists
14708 ## annoying to construct
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
14712 $as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
14714 if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
14715 pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
14716 elif test -n "$PKG_CONFIG"; then
14717 if test -n "$PKG_CONFIG" && \
14718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0\""; } >&5
14719 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0") 2>&5
14721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14722 test $ac_status = 0; }; then
14723 pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31.0" 2>/dev/null`
14730 if test -n "$BASE_DEPENDENCIES_LIBS"; then
14731 pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
14732 elif test -n "$PKG_CONFIG"; then
14733 if test -n "$PKG_CONFIG" && \
14734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0\""; } >&5
14735 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0") 2>&5
14737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14738 test $ac_status = 0; }; then
14739 pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31.0" 2>/dev/null`
14749 if test $pkg_failed = yes; then
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14751 $as_echo "no" >&6; }
14753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14754 _pkg_short_errors_supported=yes
14756 _pkg_short_errors_supported=no
14758 if test $_pkg_short_errors_supported = yes; then
14759 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.31.0" 2>&1`
14761 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.31.0" 2>&1`
14763 # Put the nasty error message in config.log where it belongs
14764 echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
14766 as_fn_error $? "Package requirements (glib-2.0 >= 2.31.0) were not met:
14768 $BASE_DEPENDENCIES_PKG_ERRORS
14770 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14771 installed software in a non-standard prefix.
14773 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
14774 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
14775 See the pkg-config man page for more details." "$LINENO" 5
14777 elif test $pkg_failed = untried; then
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779 $as_echo "no" >&6; }
14780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14782 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14783 is in your PATH or set the PKG_CONFIG environment variable to the full
14784 path to pkg-config.
14786 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
14787 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
14788 See the pkg-config man page for more details.
14790 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14791 See \`config.log' for more details" "$LINENO" 5; }
14794 BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
14795 BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797 $as_echo "yes" >&6; }
14801 if test "$os_win32" != yes; then
14802 # libtool option to control which symbols are exported
14803 # right now, symbols starting with _ are not exported
14804 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
14806 # We currently use .def files on Windows (for gdk-pixbuf, gdk and gtk)
14807 LIBTOOL_EXPORT_OPTIONS=
14812 # Check whether --enable-explicit-deps was given.
14813 if test "${enable_explicit_deps+set}" = set; then :
14814 enableval=$enable_explicit_deps;
14816 enable_explicit_deps=auto
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
14821 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
14822 case $enable_explicit_deps in
14825 deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
14826 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
14827 enable_explicit_deps=yes
14829 enable_explicit_deps=no
14834 *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
14838 $as_echo "$enable_explicit_deps" >&6; }
14840 if test $enable_explicit_deps = no; then
14841 DISABLE_EXPLICIT_DEPS_TRUE=
14842 DISABLE_EXPLICIT_DEPS_FALSE='#'
14844 DISABLE_EXPLICIT_DEPS_TRUE='#'
14845 DISABLE_EXPLICIT_DEPS_FALSE=
14849 # define a MAINT-like variable REBUILD which is set if Perl
14850 # and awk are found, so autogenerated sources can be rebuilt
14852 for ac_prog in perl5 perl
14854 # Extract the first word of "$ac_prog", so it can be a program name with args.
14855 set dummy $ac_prog; ac_word=$2
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14857 $as_echo_n "checking for $ac_word... " >&6; }
14858 if ${ac_cv_path_PERL+:} false; then :
14859 $as_echo_n "(cached) " >&6
14863 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
14866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14867 for as_dir in $PATH
14870 test -z "$as_dir" && as_dir=.
14871 for ac_exec_ext in '' $ac_executable_extensions; do
14872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14873 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
14874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14884 PERL=$ac_cv_path_PERL
14885 if test -n "$PERL"; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
14887 $as_echo "$PERL" >&6; }
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14890 $as_echo "no" >&6; }
14894 test -n "$PERL" && break
14899 if test "x$enable_rebuilds" = "xyes" && \
14900 test -n "$PERL" && \
14901 $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
14906 # sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
14908 $as_echo_n "checking for sigsetjmp... " >&6; }
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 #include <setjmp.h>
14923 if ac_fn_c_try_link "$LINENO"; then :
14928 rm -f core conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
14931 $as_echo "$gtk_ok" >&6; }
14932 if test "$gtk_ok" = "yes"; then
14934 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14942 $as_echo_n "checking whether NLS is requested... " >&6; }
14943 # Check whether --enable-nls was given.
14944 if test "${enable_nls+set}" = set; then :
14945 enableval=$enable_nls; USE_NLS=$enableval
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14951 $as_echo "$USE_NLS" >&6; }
14956 GETTEXT_MACRO_VERSION=0.17
14961 # Prepare PATH_SEPARATOR.
14962 # The user is always right.
14963 if test "${PATH_SEPARATOR+set}" != set; then
14964 echo "#! /bin/sh" >conf$$.sh
14965 echo "exit 0" >>conf$$.sh
14967 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14975 # Find out how to test for executable files. Don't use a zero-byte file,
14976 # as systems may use methods other than mode bits to determine executability.
14977 cat >conf$$.file <<_ASEOF
14981 chmod +x conf$$.file
14982 if test -x conf$$.file >/dev/null 2>&1; then
14983 ac_executable_p="test -x"
14985 ac_executable_p="test -f"
14989 # Extract the first word of "msgfmt", so it can be a program name with args.
14990 set dummy msgfmt; ac_word=$2
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14992 $as_echo_n "checking for $ac_word... " >&6; }
14993 if ${ac_cv_path_MSGFMT+:} false; then :
14994 $as_echo_n "(cached) " >&6
14998 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15001 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15002 for ac_dir in $PATH; do
15004 test -z "$ac_dir" && ac_dir=.
15005 for ac_exec_ext in '' $ac_executable_extensions; do
15006 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15007 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15008 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15009 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15010 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15017 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15021 MSGFMT="$ac_cv_path_MSGFMT"
15022 if test "$MSGFMT" != ":"; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15024 $as_echo "$MSGFMT" >&6; }
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15027 $as_echo "no" >&6; }
15030 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15031 set dummy gmsgfmt; ac_word=$2
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15033 $as_echo_n "checking for $ac_word... " >&6; }
15034 if ${ac_cv_path_GMSGFMT+:} false; then :
15035 $as_echo_n "(cached) " >&6
15039 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15043 for as_dir in $PATH
15046 test -z "$as_dir" && as_dir=.
15047 for ac_exec_ext in '' $ac_executable_extensions; do
15048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15049 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15057 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15061 GMSGFMT=$ac_cv_path_GMSGFMT
15062 if test -n "$GMSGFMT"; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15064 $as_echo "$GMSGFMT" >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15067 $as_echo "no" >&6; }
15072 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15073 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15074 *) MSGFMT_015=$MSGFMT ;;
15077 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15078 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15079 *) GMSGFMT_015=$GMSGFMT ;;
15084 # Prepare PATH_SEPARATOR.
15085 # The user is always right.
15086 if test "${PATH_SEPARATOR+set}" != set; then
15087 echo "#! /bin/sh" >conf$$.sh
15088 echo "exit 0" >>conf$$.sh
15090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15098 # Find out how to test for executable files. Don't use a zero-byte file,
15099 # as systems may use methods other than mode bits to determine executability.
15100 cat >conf$$.file <<_ASEOF
15104 chmod +x conf$$.file
15105 if test -x conf$$.file >/dev/null 2>&1; then
15106 ac_executable_p="test -x"
15108 ac_executable_p="test -f"
15112 # Extract the first word of "xgettext", so it can be a program name with args.
15113 set dummy xgettext; ac_word=$2
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15115 $as_echo_n "checking for $ac_word... " >&6; }
15116 if ${ac_cv_path_XGETTEXT+:} false; then :
15117 $as_echo_n "(cached) " >&6
15119 case "$XGETTEXT" in
15121 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15124 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15125 for ac_dir in $PATH; do
15127 test -z "$ac_dir" && ac_dir=.
15128 for ac_exec_ext in '' $ac_executable_extensions; do
15129 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15130 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15131 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15132 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15133 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15140 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15144 XGETTEXT="$ac_cv_path_XGETTEXT"
15145 if test "$XGETTEXT" != ":"; then
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15147 $as_echo "$XGETTEXT" >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15150 $as_echo "no" >&6; }
15155 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15156 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15157 *) XGETTEXT_015=$XGETTEXT ;;
15162 # Prepare PATH_SEPARATOR.
15163 # The user is always right.
15164 if test "${PATH_SEPARATOR+set}" != set; then
15165 echo "#! /bin/sh" >conf$$.sh
15166 echo "exit 0" >>conf$$.sh
15168 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15176 # Find out how to test for executable files. Don't use a zero-byte file,
15177 # as systems may use methods other than mode bits to determine executability.
15178 cat >conf$$.file <<_ASEOF
15182 chmod +x conf$$.file
15183 if test -x conf$$.file >/dev/null 2>&1; then
15184 ac_executable_p="test -x"
15186 ac_executable_p="test -f"
15190 # Extract the first word of "msgmerge", so it can be a program name with args.
15191 set dummy msgmerge; ac_word=$2
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15193 $as_echo_n "checking for $ac_word... " >&6; }
15194 if ${ac_cv_path_MSGMERGE+:} false; then :
15195 $as_echo_n "(cached) " >&6
15197 case "$MSGMERGE" in
15199 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15202 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15203 for ac_dir in $PATH; do
15205 test -z "$ac_dir" && ac_dir=.
15206 for ac_exec_ext in '' $ac_executable_extensions; do
15207 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15208 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15209 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15210 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15217 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15221 MSGMERGE="$ac_cv_path_MSGMERGE"
15222 if test "$MSGMERGE" != ":"; then
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15224 $as_echo "$MSGMERGE" >&6; }
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15227 $as_echo "no" >&6; }
15231 test -n "$localedir" || localedir='${datadir}/locale'
15234 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
15237 ac_config_commands="$ac_config_commands po-directories"
15241 if test "X$prefix" = "XNONE"; then
15242 acl_final_prefix="$ac_default_prefix"
15244 acl_final_prefix="$prefix"
15246 if test "X$exec_prefix" = "XNONE"; then
15247 acl_final_exec_prefix='${prefix}'
15249 acl_final_exec_prefix="$exec_prefix"
15251 acl_save_prefix="$prefix"
15252 prefix="$acl_final_prefix"
15253 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15254 prefix="$acl_save_prefix"
15257 # Check whether --with-gnu-ld was given.
15258 if test "${with_gnu_ld+set}" = set; then :
15259 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15264 # Prepare PATH_SEPARATOR.
15265 # The user is always right.
15266 if test "${PATH_SEPARATOR+set}" != set; then
15267 echo "#! /bin/sh" >conf$$.sh
15268 echo "exit 0" >>conf$$.sh
15270 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15278 if test "$GCC" = yes; then
15279 # Check if gcc -print-prog-name=ld gives a path.
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15281 $as_echo_n "checking for ld used by GCC... " >&6; }
15284 # gcc leaves a trailing carriage return which upsets mingw
15285 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15287 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15290 # Accept absolute paths.
15291 [\\/]* | [A-Za-z]:[\\/]*)
15292 re_direlt='/[^/][^/]*/\.\./'
15293 # Canonicalize the path of ld
15294 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15295 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15296 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15298 test -z "$LD" && LD="$ac_prog"
15301 # If it fails, then pretend we aren't using GCC.
15305 # If it is relative, then search for the first ld in PATH.
15306 with_gnu_ld=unknown
15309 elif test "$with_gnu_ld" = yes; then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15311 $as_echo_n "checking for GNU ld... " >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15314 $as_echo_n "checking for non-GNU ld... " >&6; }
15316 if ${acl_cv_path_LD+:} false; then :
15317 $as_echo_n "(cached) " >&6
15319 if test -z "$LD"; then
15320 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15321 for ac_dir in $PATH; do
15322 test -z "$ac_dir" && ac_dir=.
15323 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15324 acl_cv_path_LD="$ac_dir/$ac_prog"
15325 # Check to see if the program is GNU ld. I'd rather use --version,
15326 # but apparently some GNU ld's only accept -v.
15327 # Break only if it was the GNU/non-GNU ld that we prefer.
15328 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15329 *GNU* | *'with BFD'*)
15330 test "$with_gnu_ld" != no && break ;;
15332 test "$with_gnu_ld" != yes && break ;;
15338 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15342 LD="$acl_cv_path_LD"
15343 if test -n "$LD"; then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15345 $as_echo "$LD" >&6; }
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15348 $as_echo "no" >&6; }
15350 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15352 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15353 if ${acl_cv_prog_gnu_ld+:} false; then :
15354 $as_echo_n "(cached) " >&6
15356 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15357 case `$LD -v 2>&1 </dev/null` in
15358 *GNU* | *'with BFD'*)
15359 acl_cv_prog_gnu_ld=yes ;;
15361 acl_cv_prog_gnu_ld=no ;;
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15365 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15366 with_gnu_ld=$acl_cv_prog_gnu_ld
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15372 $as_echo_n "checking for shared library run path origin... " >&6; }
15373 if ${acl_cv_rpath+:} false; then :
15374 $as_echo_n "(cached) " >&6
15377 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15378 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15380 rm -f ./conftest.sh
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15385 $as_echo "$acl_cv_rpath" >&6; }
15387 acl_libext="$acl_cv_libext"
15388 acl_shlibext="$acl_cv_shlibext"
15389 acl_libname_spec="$acl_cv_libname_spec"
15390 acl_library_names_spec="$acl_cv_library_names_spec"
15391 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15392 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15393 acl_hardcode_direct="$acl_cv_hardcode_direct"
15394 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
15395 # Check whether --enable-rpath was given.
15396 if test "${enable_rpath+set}" = set; then :
15397 enableval=$enable_rpath; :
15405 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15406 if test -n "$searchpath"; then
15407 acl_save_IFS="${IFS= }"; IFS=":"
15408 for searchdir in $searchpath; do
15409 if test -d "$searchdir"; then
15410 case "$searchdir" in
15411 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15412 *) searchdir=`cd "$searchdir" && pwd`
15413 case "$searchdir" in
15414 */lib64 ) acl_libdirstem=lib64 ;;
15419 IFS="$acl_save_IFS"
15432 acl_save_prefix="$prefix"
15433 prefix="$acl_final_prefix"
15434 acl_save_exec_prefix="$exec_prefix"
15435 exec_prefix="$acl_final_exec_prefix"
15437 eval additional_includedir=\"$includedir\"
15438 eval additional_libdir=\"$libdir\"
15440 exec_prefix="$acl_save_exec_prefix"
15441 prefix="$acl_save_prefix"
15444 # Check whether --with-libiconv-prefix was given.
15445 if test "${with_libiconv_prefix+set}" = set; then :
15446 withval=$with_libiconv_prefix;
15447 if test "X$withval" = "Xno"; then
15450 if test "X$withval" = "X"; then
15452 acl_save_prefix="$prefix"
15453 prefix="$acl_final_prefix"
15454 acl_save_exec_prefix="$exec_prefix"
15455 exec_prefix="$acl_final_exec_prefix"
15457 eval additional_includedir=\"$includedir\"
15458 eval additional_libdir=\"$libdir\"
15460 exec_prefix="$acl_save_exec_prefix"
15461 prefix="$acl_save_prefix"
15464 additional_includedir="$withval/include"
15465 additional_libdir="$withval/$acl_libdirstem"
15477 names_already_handled=
15478 names_next_round='iconv '
15479 while test -n "$names_next_round"; do
15480 names_this_round="$names_next_round"
15482 for name in $names_this_round; do
15484 for n in $names_already_handled; do
15485 if test "$n" = "$name"; then
15486 already_handled=yes
15490 if test -z "$already_handled"; then
15491 names_already_handled="$names_already_handled $name"
15492 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15493 eval value=\"\$HAVE_LIB$uppername\"
15494 if test -n "$value"; then
15495 if test "$value" = yes; then
15496 eval value=\"\$LIB$uppername\"
15497 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15498 eval value=\"\$LTLIB$uppername\"
15499 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15508 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15509 if test -n "$acl_shlibext"; then
15510 shrext=".$acl_shlibext" # typically: shrext=.so
15514 if test $use_additional = yes; then
15515 dir="$additional_libdir"
15516 if test -n "$acl_shlibext"; then
15517 if test -f "$dir/$libname$shrext"; then
15519 found_so="$dir/$libname$shrext"
15521 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15522 ver=`(cd "$dir" && \
15523 for f in "$libname$shrext".*; do echo "$f"; done \
15524 | sed -e "s,^$libname$shrext\\\\.,," \
15525 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15526 | sed 1q ) 2>/dev/null`
15527 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15529 found_so="$dir/$libname$shrext.$ver"
15532 eval library_names=\"$acl_library_names_spec\"
15533 for f in $library_names; do
15534 if test -f "$dir/$f"; then
15543 if test "X$found_dir" = "X"; then
15544 if test -f "$dir/$libname.$acl_libext"; then
15546 found_a="$dir/$libname.$acl_libext"
15549 if test "X$found_dir" != "X"; then
15550 if test -f "$dir/$libname.la"; then
15551 found_la="$dir/$libname.la"
15555 if test "X$found_dir" = "X"; then
15556 for x in $LDFLAGS $LTLIBICONV; do
15558 acl_save_prefix="$prefix"
15559 prefix="$acl_final_prefix"
15560 acl_save_exec_prefix="$exec_prefix"
15561 exec_prefix="$acl_final_exec_prefix"
15563 exec_prefix="$acl_save_exec_prefix"
15564 prefix="$acl_save_prefix"
15568 dir=`echo "X$x" | sed -e 's/^X-L//'`
15569 if test -n "$acl_shlibext"; then
15570 if test -f "$dir/$libname$shrext"; then
15572 found_so="$dir/$libname$shrext"
15574 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15575 ver=`(cd "$dir" && \
15576 for f in "$libname$shrext".*; do echo "$f"; done \
15577 | sed -e "s,^$libname$shrext\\\\.,," \
15578 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15579 | sed 1q ) 2>/dev/null`
15580 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15582 found_so="$dir/$libname$shrext.$ver"
15585 eval library_names=\"$acl_library_names_spec\"
15586 for f in $library_names; do
15587 if test -f "$dir/$f"; then
15596 if test "X$found_dir" = "X"; then
15597 if test -f "$dir/$libname.$acl_libext"; then
15599 found_a="$dir/$libname.$acl_libext"
15602 if test "X$found_dir" != "X"; then
15603 if test -f "$dir/$libname.la"; then
15604 found_la="$dir/$libname.la"
15609 if test "X$found_dir" != "X"; then
15614 if test "X$found_dir" != "X"; then
15615 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15616 if test "X$found_so" != "X"; then
15617 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15618 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15621 for x in $ltrpathdirs; do
15622 if test "X$x" = "X$found_dir"; then
15627 if test -z "$haveit"; then
15628 ltrpathdirs="$ltrpathdirs $found_dir"
15630 if test "$acl_hardcode_direct" = yes; then
15631 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15633 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15634 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15636 for x in $rpathdirs; do
15637 if test "X$x" = "X$found_dir"; then
15642 if test -z "$haveit"; then
15643 rpathdirs="$rpathdirs $found_dir"
15647 for x in $LDFLAGS $LIBICONV; do
15649 acl_save_prefix="$prefix"
15650 prefix="$acl_final_prefix"
15651 acl_save_exec_prefix="$exec_prefix"
15652 exec_prefix="$acl_final_exec_prefix"
15654 exec_prefix="$acl_save_exec_prefix"
15655 prefix="$acl_save_prefix"
15657 if test "X$x" = "X-L$found_dir"; then
15662 if test -z "$haveit"; then
15663 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15665 if test "$acl_hardcode_minus_L" != no; then
15666 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15668 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15674 if test "X$found_a" != "X"; then
15675 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15677 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15680 additional_includedir=
15681 case "$found_dir" in
15682 */$acl_libdirstem | */$acl_libdirstem/)
15683 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15684 LIBICONV_PREFIX="$basedir"
15685 additional_includedir="$basedir/include"
15688 if test "X$additional_includedir" != "X"; then
15689 if test "X$additional_includedir" != "X/usr/include"; then
15691 if test "X$additional_includedir" = "X/usr/local/include"; then
15692 if test -n "$GCC"; then
15694 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15698 if test -z "$haveit"; then
15699 for x in $CPPFLAGS $INCICONV; do
15701 acl_save_prefix="$prefix"
15702 prefix="$acl_final_prefix"
15703 acl_save_exec_prefix="$exec_prefix"
15704 exec_prefix="$acl_final_exec_prefix"
15706 exec_prefix="$acl_save_exec_prefix"
15707 prefix="$acl_save_prefix"
15709 if test "X$x" = "X-I$additional_includedir"; then
15714 if test -z "$haveit"; then
15715 if test -d "$additional_includedir"; then
15716 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15722 if test -n "$found_la"; then
15723 save_libdir="$libdir"
15724 case "$found_la" in
15725 */* | *\\*) . "$found_la" ;;
15726 *) . "./$found_la" ;;
15728 libdir="$save_libdir"
15729 for dep in $dependency_libs; do
15732 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15733 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15735 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15736 if test -n "$GCC"; then
15738 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15742 if test -z "$haveit"; then
15744 for x in $LDFLAGS $LIBICONV; do
15746 acl_save_prefix="$prefix"
15747 prefix="$acl_final_prefix"
15748 acl_save_exec_prefix="$exec_prefix"
15749 exec_prefix="$acl_final_exec_prefix"
15751 exec_prefix="$acl_save_exec_prefix"
15752 prefix="$acl_save_prefix"
15754 if test "X$x" = "X-L$additional_libdir"; then
15759 if test -z "$haveit"; then
15760 if test -d "$additional_libdir"; then
15761 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15765 for x in $LDFLAGS $LTLIBICONV; do
15767 acl_save_prefix="$prefix"
15768 prefix="$acl_final_prefix"
15769 acl_save_exec_prefix="$exec_prefix"
15770 exec_prefix="$acl_final_exec_prefix"
15772 exec_prefix="$acl_save_exec_prefix"
15773 prefix="$acl_save_prefix"
15775 if test "X$x" = "X-L$additional_libdir"; then
15780 if test -z "$haveit"; then
15781 if test -d "$additional_libdir"; then
15782 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15789 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15790 if test "$enable_rpath" != no; then
15792 for x in $rpathdirs; do
15793 if test "X$x" = "X$dir"; then
15798 if test -z "$haveit"; then
15799 rpathdirs="$rpathdirs $dir"
15802 for x in $ltrpathdirs; do
15803 if test "X$x" = "X$dir"; then
15808 if test -z "$haveit"; then
15809 ltrpathdirs="$ltrpathdirs $dir"
15814 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15817 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15820 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15821 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15827 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15828 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15834 if test "X$rpathdirs" != "X"; then
15835 if test -n "$acl_hardcode_libdir_separator"; then
15837 for found_dir in $rpathdirs; do
15838 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15840 acl_save_libdir="$libdir"
15842 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15843 libdir="$acl_save_libdir"
15844 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15846 for found_dir in $rpathdirs; do
15847 acl_save_libdir="$libdir"
15848 libdir="$found_dir"
15849 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15850 libdir="$acl_save_libdir"
15851 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15855 if test "X$ltrpathdirs" != "X"; then
15856 for found_dir in $ltrpathdirs; do
15857 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15886 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15887 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15888 $as_echo_n "(cached) " >&6
15890 gt_save_LIBS="$LIBS"
15891 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #include <CoreFoundation/CFPreferences.h>
15898 CFPreferencesCopyAppValue(NULL, NULL)
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 gt_cv_func_CFPreferencesCopyAppValue=yes
15906 gt_cv_func_CFPreferencesCopyAppValue=no
15908 rm -f core conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 LIBS="$gt_save_LIBS"
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15913 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15914 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15916 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15920 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15921 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15922 $as_echo_n "(cached) " >&6
15924 gt_save_LIBS="$LIBS"
15925 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 #include <CoreFoundation/CFLocale.h>
15932 CFLocaleCopyCurrent();
15937 if ac_fn_c_try_link "$LINENO"; then :
15938 gt_cv_func_CFLocaleCopyCurrent=yes
15940 gt_cv_func_CFLocaleCopyCurrent=no
15942 rm -f core conftest.err conftest.$ac_objext \
15943 conftest$ac_exeext conftest.$ac_ext
15944 LIBS="$gt_save_LIBS"
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15947 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15948 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15950 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15954 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15955 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15967 case " $gt_needs " in
15968 *" need-formatstring-macros "*) gt_api_version=3 ;;
15969 *" need-ngettext "*) gt_api_version=2 ;;
15970 *) gt_api_version=1 ;;
15972 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15973 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15975 if test "$USE_NLS" = "yes"; then
15976 gt_use_preinstalled_gnugettext=no
15979 if test $gt_api_version -ge 3; then
15980 gt_revision_test_code='
15981 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15982 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15984 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15987 gt_revision_test_code=
15989 if test $gt_api_version -ge 2; then
15990 gt_expression_test_code=' + * ngettext ("", "", 0)'
15992 gt_expression_test_code=
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15996 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15997 if eval \${$gt_func_gnugettext_libc+:} false; then :
15998 $as_echo_n "(cached) " >&6
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16002 #include <libintl.h>
16003 $gt_revision_test_code
16004 extern int _nl_msg_cat_cntr;
16005 extern int *_nl_domain_bindings;
16009 bindtextdomain ("", "");
16010 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16015 if ac_fn_c_try_link "$LINENO"; then :
16016 eval "$gt_func_gnugettext_libc=yes"
16018 eval "$gt_func_gnugettext_libc=no"
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16023 eval ac_res=\$$gt_func_gnugettext_libc
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16025 $as_echo "$ac_res" >&6; }
16027 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16033 am_save_CPPFLAGS="$CPPFLAGS"
16035 for element in $INCICONV; do
16037 for x in $CPPFLAGS; do
16039 acl_save_prefix="$prefix"
16040 prefix="$acl_final_prefix"
16041 acl_save_exec_prefix="$exec_prefix"
16042 exec_prefix="$acl_final_exec_prefix"
16044 exec_prefix="$acl_save_exec_prefix"
16045 prefix="$acl_save_prefix"
16047 if test "X$x" = "X$element"; then
16052 if test -z "$haveit"; then
16053 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16059 $as_echo_n "checking for iconv... " >&6; }
16060 if ${am_cv_func_iconv+:} false; then :
16061 $as_echo_n "(cached) " >&6
16064 am_cv_func_iconv="no, consider installing GNU libiconv"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 #include <stdlib.h>
16073 iconv_t cd = iconv_open("","");
16074 iconv(cd,NULL,NULL,NULL,NULL);
16080 if ac_fn_c_try_link "$LINENO"; then :
16081 am_cv_func_iconv=yes
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 if test "$am_cv_func_iconv" != yes; then
16086 am_save_LIBS="$LIBS"
16087 LIBS="$LIBS $LIBICONV"
16088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16089 /* end confdefs.h. */
16090 #include <stdlib.h>
16095 iconv_t cd = iconv_open("","");
16096 iconv(cd,NULL,NULL,NULL,NULL);
16102 if ac_fn_c_try_link "$LINENO"; then :
16103 am_cv_lib_iconv=yes
16104 am_cv_func_iconv=yes
16106 rm -f core conftest.err conftest.$ac_objext \
16107 conftest$ac_exeext conftest.$ac_ext
16108 LIBS="$am_save_LIBS"
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16113 $as_echo "$am_cv_func_iconv" >&6; }
16114 if test "$am_cv_func_iconv" = yes; then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16116 $as_echo_n "checking for working iconv... " >&6; }
16117 if ${am_cv_func_iconv_works+:} false; then :
16118 $as_echo_n "(cached) " >&6
16121 am_save_LIBS="$LIBS"
16122 if test $am_cv_lib_iconv = yes; then
16123 LIBS="$LIBS $LIBICONV"
16125 if test "$cross_compiling" = yes; then :
16127 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16128 *) am_cv_func_iconv_works="guessing yes" ;;
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16135 #include <string.h>
16138 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16141 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16142 if (cd_utf8_to_88591 != (iconv_t)(-1))
16144 static const char input[] = "\342\202\254"; /* EURO SIGN */
16146 const char *inptr = input;
16147 size_t inbytesleft = strlen (input);
16148 char *outptr = buf;
16149 size_t outbytesleft = sizeof (buf);
16150 size_t res = iconv (cd_utf8_to_88591,
16151 (char **) &inptr, &inbytesleft,
16152 &outptr, &outbytesleft);
16157 #if 0 /* This bug could be worked around by the caller. */
16158 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
16160 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16161 if (cd_88591_to_utf8 != (iconv_t)(-1))
16163 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16165 const char *inptr = input;
16166 size_t inbytesleft = strlen (input);
16167 char *outptr = buf;
16168 size_t outbytesleft = sizeof (buf);
16169 size_t res = iconv (cd_88591_to_utf8,
16170 (char **) &inptr, &inbytesleft,
16171 &outptr, &outbytesleft);
16177 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16179 if (/* Try standardized names. */
16180 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16181 /* Try IRIX, OSF/1 names. */
16182 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16183 /* Try AIX names. */
16184 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16185 /* Try HP-UX names. */
16186 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16191 if ac_fn_c_try_run "$LINENO"; then :
16192 am_cv_func_iconv_works=yes
16194 am_cv_func_iconv_works=no
16196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16197 conftest.$ac_objext conftest.beam conftest.$ac_ext
16200 LIBS="$am_save_LIBS"
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16204 $as_echo "$am_cv_func_iconv_works" >&6; }
16205 case "$am_cv_func_iconv_works" in
16206 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16207 *) am_func_iconv=yes ;;
16210 am_func_iconv=no am_cv_lib_iconv=no
16212 if test "$am_func_iconv" = yes; then
16214 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16217 if test "$am_cv_lib_iconv" = yes; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16219 $as_echo_n "checking how to link with libiconv... " >&6; }
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16221 $as_echo "$LIBICONV" >&6; }
16223 CPPFLAGS="$am_save_CPPFLAGS"
16237 acl_save_prefix="$prefix"
16238 prefix="$acl_final_prefix"
16239 acl_save_exec_prefix="$exec_prefix"
16240 exec_prefix="$acl_final_exec_prefix"
16242 eval additional_includedir=\"$includedir\"
16243 eval additional_libdir=\"$libdir\"
16245 exec_prefix="$acl_save_exec_prefix"
16246 prefix="$acl_save_prefix"
16249 # Check whether --with-libintl-prefix was given.
16250 if test "${with_libintl_prefix+set}" = set; then :
16251 withval=$with_libintl_prefix;
16252 if test "X$withval" = "Xno"; then
16255 if test "X$withval" = "X"; then
16257 acl_save_prefix="$prefix"
16258 prefix="$acl_final_prefix"
16259 acl_save_exec_prefix="$exec_prefix"
16260 exec_prefix="$acl_final_exec_prefix"
16262 eval additional_includedir=\"$includedir\"
16263 eval additional_libdir=\"$libdir\"
16265 exec_prefix="$acl_save_exec_prefix"
16266 prefix="$acl_save_prefix"
16269 additional_includedir="$withval/include"
16270 additional_libdir="$withval/$acl_libdirstem"
16282 names_already_handled=
16283 names_next_round='intl '
16284 while test -n "$names_next_round"; do
16285 names_this_round="$names_next_round"
16287 for name in $names_this_round; do
16289 for n in $names_already_handled; do
16290 if test "$n" = "$name"; then
16291 already_handled=yes
16295 if test -z "$already_handled"; then
16296 names_already_handled="$names_already_handled $name"
16297 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16298 eval value=\"\$HAVE_LIB$uppername\"
16299 if test -n "$value"; then
16300 if test "$value" = yes; then
16301 eval value=\"\$LIB$uppername\"
16302 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16303 eval value=\"\$LTLIB$uppername\"
16304 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16313 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16314 if test -n "$acl_shlibext"; then
16315 shrext=".$acl_shlibext" # typically: shrext=.so
16319 if test $use_additional = yes; then
16320 dir="$additional_libdir"
16321 if test -n "$acl_shlibext"; then
16322 if test -f "$dir/$libname$shrext"; then
16324 found_so="$dir/$libname$shrext"
16326 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16327 ver=`(cd "$dir" && \
16328 for f in "$libname$shrext".*; do echo "$f"; done \
16329 | sed -e "s,^$libname$shrext\\\\.,," \
16330 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16331 | sed 1q ) 2>/dev/null`
16332 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16334 found_so="$dir/$libname$shrext.$ver"
16337 eval library_names=\"$acl_library_names_spec\"
16338 for f in $library_names; do
16339 if test -f "$dir/$f"; then
16348 if test "X$found_dir" = "X"; then
16349 if test -f "$dir/$libname.$acl_libext"; then
16351 found_a="$dir/$libname.$acl_libext"
16354 if test "X$found_dir" != "X"; then
16355 if test -f "$dir/$libname.la"; then
16356 found_la="$dir/$libname.la"
16360 if test "X$found_dir" = "X"; then
16361 for x in $LDFLAGS $LTLIBINTL; do
16363 acl_save_prefix="$prefix"
16364 prefix="$acl_final_prefix"
16365 acl_save_exec_prefix="$exec_prefix"
16366 exec_prefix="$acl_final_exec_prefix"
16368 exec_prefix="$acl_save_exec_prefix"
16369 prefix="$acl_save_prefix"
16373 dir=`echo "X$x" | sed -e 's/^X-L//'`
16374 if test -n "$acl_shlibext"; then
16375 if test -f "$dir/$libname$shrext"; then
16377 found_so="$dir/$libname$shrext"
16379 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16380 ver=`(cd "$dir" && \
16381 for f in "$libname$shrext".*; do echo "$f"; done \
16382 | sed -e "s,^$libname$shrext\\\\.,," \
16383 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16384 | sed 1q ) 2>/dev/null`
16385 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16387 found_so="$dir/$libname$shrext.$ver"
16390 eval library_names=\"$acl_library_names_spec\"
16391 for f in $library_names; do
16392 if test -f "$dir/$f"; then
16401 if test "X$found_dir" = "X"; then
16402 if test -f "$dir/$libname.$acl_libext"; then
16404 found_a="$dir/$libname.$acl_libext"
16407 if test "X$found_dir" != "X"; then
16408 if test -f "$dir/$libname.la"; then
16409 found_la="$dir/$libname.la"
16414 if test "X$found_dir" != "X"; then
16419 if test "X$found_dir" != "X"; then
16420 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16421 if test "X$found_so" != "X"; then
16422 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16423 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16426 for x in $ltrpathdirs; do
16427 if test "X$x" = "X$found_dir"; then
16432 if test -z "$haveit"; then
16433 ltrpathdirs="$ltrpathdirs $found_dir"
16435 if test "$acl_hardcode_direct" = yes; then
16436 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16438 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16439 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16441 for x in $rpathdirs; do
16442 if test "X$x" = "X$found_dir"; then
16447 if test -z "$haveit"; then
16448 rpathdirs="$rpathdirs $found_dir"
16452 for x in $LDFLAGS $LIBINTL; do
16454 acl_save_prefix="$prefix"
16455 prefix="$acl_final_prefix"
16456 acl_save_exec_prefix="$exec_prefix"
16457 exec_prefix="$acl_final_exec_prefix"
16459 exec_prefix="$acl_save_exec_prefix"
16460 prefix="$acl_save_prefix"
16462 if test "X$x" = "X-L$found_dir"; then
16467 if test -z "$haveit"; then
16468 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16470 if test "$acl_hardcode_minus_L" != no; then
16471 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16473 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16479 if test "X$found_a" != "X"; then
16480 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16482 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16485 additional_includedir=
16486 case "$found_dir" in
16487 */$acl_libdirstem | */$acl_libdirstem/)
16488 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16489 LIBINTL_PREFIX="$basedir"
16490 additional_includedir="$basedir/include"
16493 if test "X$additional_includedir" != "X"; then
16494 if test "X$additional_includedir" != "X/usr/include"; then
16496 if test "X$additional_includedir" = "X/usr/local/include"; then
16497 if test -n "$GCC"; then
16499 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16503 if test -z "$haveit"; then
16504 for x in $CPPFLAGS $INCINTL; do
16506 acl_save_prefix="$prefix"
16507 prefix="$acl_final_prefix"
16508 acl_save_exec_prefix="$exec_prefix"
16509 exec_prefix="$acl_final_exec_prefix"
16511 exec_prefix="$acl_save_exec_prefix"
16512 prefix="$acl_save_prefix"
16514 if test "X$x" = "X-I$additional_includedir"; then
16519 if test -z "$haveit"; then
16520 if test -d "$additional_includedir"; then
16521 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16527 if test -n "$found_la"; then
16528 save_libdir="$libdir"
16529 case "$found_la" in
16530 */* | *\\*) . "$found_la" ;;
16531 *) . "./$found_la" ;;
16533 libdir="$save_libdir"
16534 for dep in $dependency_libs; do
16537 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16538 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16540 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16541 if test -n "$GCC"; then
16543 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16547 if test -z "$haveit"; then
16549 for x in $LDFLAGS $LIBINTL; do
16551 acl_save_prefix="$prefix"
16552 prefix="$acl_final_prefix"
16553 acl_save_exec_prefix="$exec_prefix"
16554 exec_prefix="$acl_final_exec_prefix"
16556 exec_prefix="$acl_save_exec_prefix"
16557 prefix="$acl_save_prefix"
16559 if test "X$x" = "X-L$additional_libdir"; then
16564 if test -z "$haveit"; then
16565 if test -d "$additional_libdir"; then
16566 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16570 for x in $LDFLAGS $LTLIBINTL; do
16572 acl_save_prefix="$prefix"
16573 prefix="$acl_final_prefix"
16574 acl_save_exec_prefix="$exec_prefix"
16575 exec_prefix="$acl_final_exec_prefix"
16577 exec_prefix="$acl_save_exec_prefix"
16578 prefix="$acl_save_prefix"
16580 if test "X$x" = "X-L$additional_libdir"; then
16585 if test -z "$haveit"; then
16586 if test -d "$additional_libdir"; then
16587 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16594 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16595 if test "$enable_rpath" != no; then
16597 for x in $rpathdirs; do
16598 if test "X$x" = "X$dir"; then
16603 if test -z "$haveit"; then
16604 rpathdirs="$rpathdirs $dir"
16607 for x in $ltrpathdirs; do
16608 if test "X$x" = "X$dir"; then
16613 if test -z "$haveit"; then
16614 ltrpathdirs="$ltrpathdirs $dir"
16619 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16622 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16625 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16626 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16632 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16633 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16639 if test "X$rpathdirs" != "X"; then
16640 if test -n "$acl_hardcode_libdir_separator"; then
16642 for found_dir in $rpathdirs; do
16643 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16645 acl_save_libdir="$libdir"
16647 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16648 libdir="$acl_save_libdir"
16649 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16651 for found_dir in $rpathdirs; do
16652 acl_save_libdir="$libdir"
16653 libdir="$found_dir"
16654 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16655 libdir="$acl_save_libdir"
16656 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16660 if test "X$ltrpathdirs" != "X"; then
16661 for found_dir in $ltrpathdirs; do
16662 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16667 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16668 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16669 $as_echo_n "(cached) " >&6
16671 gt_save_CPPFLAGS="$CPPFLAGS"
16672 CPPFLAGS="$CPPFLAGS $INCINTL"
16673 gt_save_LIBS="$LIBS"
16674 LIBS="$LIBS $LIBINTL"
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #include <libintl.h>
16678 $gt_revision_test_code
16679 extern int _nl_msg_cat_cntr;
16684 const char *_nl_expand_alias (const char *);
16688 bindtextdomain ("", "");
16689 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16694 if ac_fn_c_try_link "$LINENO"; then :
16695 eval "$gt_func_gnugettext_libintl=yes"
16697 eval "$gt_func_gnugettext_libintl=no"
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16701 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16702 LIBS="$LIBS $LIBICONV"
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #include <libintl.h>
16706 $gt_revision_test_code
16707 extern int _nl_msg_cat_cntr;
16712 const char *_nl_expand_alias (const char *);
16716 bindtextdomain ("", "");
16717 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16722 if ac_fn_c_try_link "$LINENO"; then :
16723 LIBINTL="$LIBINTL $LIBICONV"
16724 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16725 eval "$gt_func_gnugettext_libintl=yes"
16728 rm -f core conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16731 CPPFLAGS="$gt_save_CPPFLAGS"
16732 LIBS="$gt_save_LIBS"
16734 eval ac_res=\$$gt_func_gnugettext_libintl
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16736 $as_echo "$ac_res" >&6; }
16739 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16740 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16741 && test "$PACKAGE" != gettext-runtime \
16742 && test "$PACKAGE" != gettext-tools; }; then
16743 gt_use_preinstalled_gnugettext=yes
16752 if test -n "$INTL_MACOSX_LIBS"; then
16753 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16754 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16755 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16756 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16760 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16761 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16763 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16771 $as_echo_n "checking whether to use NLS... " >&6; }
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16773 $as_echo "$USE_NLS" >&6; }
16774 if test "$USE_NLS" = "yes"; then
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16776 $as_echo_n "checking where the gettext function comes from... " >&6; }
16777 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16778 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16779 gt_source="external libintl"
16784 gt_source="included intl directory"
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16787 $as_echo "$gt_source" >&6; }
16790 if test "$USE_NLS" = "yes"; then
16792 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16793 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16795 $as_echo_n "checking how to link with libintl... " >&6; }
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16797 $as_echo "$LIBINTL" >&6; }
16799 for element in $INCINTL; do
16801 for x in $CPPFLAGS; do
16803 acl_save_prefix="$prefix"
16804 prefix="$acl_final_prefix"
16805 acl_save_exec_prefix="$exec_prefix"
16806 exec_prefix="$acl_final_exec_prefix"
16808 exec_prefix="$acl_save_exec_prefix"
16809 prefix="$acl_save_prefix"
16811 if test "X$x" = "X$element"; then
16816 if test -z "$haveit"; then
16817 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16824 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16827 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16836 INTLLIBS="$LIBINTL"
16844 GETTEXT_PACKAGE="$PACKAGE"
16847 cat >>confdefs.h <<_ACEOF
16848 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
16853 $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
16855 gtk_save_LIBS=$LIBS
16857 if test "$cross_compiling" = yes; then :
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16859 $as_echo "none needed" >&6; }
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16865 int main (void) { return (log(1) != log(1.)); }
16867 if ac_fn_c_try_run "$LINENO"; then :
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16869 $as_echo "none needed" >&6; }
16871 gtk_save_CFLAGS="$CFLAGS"
16872 CFLAGS="$CFLAGS -std1"
16873 if test "$cross_compiling" = yes; then :
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16880 int main (void) { return (log(1) != log(1.)); }
16882 if ac_fn_c_try_run "$LINENO"; then :
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
16884 $as_echo "-std1" >&6; }
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16888 CFLAGS="$gtk_save_CFLAGS"
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
16890 $as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
16892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16893 conftest.$ac_objext conftest.beam conftest.$ac_ext
16897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16898 conftest.$ac_objext conftest.beam conftest.$ac_ext
16901 LIBS=$gtk_save_LIBS
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the BeOS" >&5
16904 $as_echo_n "checking for the BeOS... " >&6; }
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16908 $as_echo "yes" >&6; }
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16913 $as_echo "no" >&6; }
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX" >&5
16922 $as_echo_n "checking for HP-UX... " >&6; }
16924 hpux9* | hpux10* | hpux11*)
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16926 $as_echo "yes" >&6; }
16927 CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16931 $as_echo "no" >&6; }
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags for POSIX compliance" >&5
16936 $as_echo_n "checking for extra flags for POSIX compliance... " >&6; }
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 #include <dirent.h>
16948 if ac_fn_c_try_compile "$LINENO"; then :
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16950 $as_echo "none needed" >&6; }
16952 gtk_save_CFLAGS="$CFLAGS"
16953 CFLAGS="$CFLAGS -posix"
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 #include <dirent.h>
16965 if ac_fn_c_try_compile "$LINENO"; then :
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -posix" >&5
16967 $as_echo "-posix" >&6; }
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16971 CFLAGS="$gtk_save_CFLAGS"
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&5
16973 $as_echo "$as_me: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&2;}
16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16980 # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
16983 GLIB_PACKAGES="gobject-2.0 gio-2.0 gmodule-no-export-2.0"
16985 # Check whether --enable-glibtest was given.
16986 if test "${enable_glibtest+set}" = set; then :
16987 enableval=$enable_glibtest;
16989 enable_glibtest=yes
16993 pkg_config_args=glib-2.0
16994 for module in . gobject gmodule-no-export gthread
16998 pkg_config_args="$pkg_config_args gmodule-2.0"
17001 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
17004 pkg_config_args="$pkg_config_args gobject-2.0"
17007 pkg_config_args="$pkg_config_args gthread-2.0"
17010 pkg_config_args="$pkg_config_args $module-2.0"
17021 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17022 if test -n "$ac_tool_prefix"; then
17023 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17024 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17026 $as_echo_n "checking for $ac_word... " >&6; }
17027 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17028 $as_echo_n "(cached) " >&6
17030 case $PKG_CONFIG in
17032 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17036 for as_dir in $PATH
17039 test -z "$as_dir" && as_dir=.
17040 for ac_exec_ext in '' $ac_executable_extensions; do
17041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17042 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17054 if test -n "$PKG_CONFIG"; then
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17056 $as_echo "$PKG_CONFIG" >&6; }
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059 $as_echo "no" >&6; }
17064 if test -z "$ac_cv_path_PKG_CONFIG"; then
17065 ac_pt_PKG_CONFIG=$PKG_CONFIG
17066 # Extract the first word of "pkg-config", so it can be a program name with args.
17067 set dummy pkg-config; ac_word=$2
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17069 $as_echo_n "checking for $ac_word... " >&6; }
17070 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17071 $as_echo_n "(cached) " >&6
17073 case $ac_pt_PKG_CONFIG in
17075 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17079 for as_dir in $PATH
17082 test -z "$as_dir" && as_dir=.
17083 for ac_exec_ext in '' $ac_executable_extensions; do
17084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17085 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17096 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17097 if test -n "$ac_pt_PKG_CONFIG"; then
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17099 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17102 $as_echo "no" >&6; }
17105 if test "x$ac_pt_PKG_CONFIG" = x; then
17108 case $cross_compiling:$ac_tool_warned in
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17112 ac_tool_warned=yes ;;
17114 PKG_CONFIG=$ac_pt_PKG_CONFIG
17117 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17121 if test -n "$PKG_CONFIG"; then
17122 _pkg_min_version=0.16
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17124 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17125 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17127 $as_echo "yes" >&6; }
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17130 $as_echo "no" >&6; }
17137 if test "x$PKG_CONFIG" = x ; then
17142 min_glib_version=2.31.0
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
17144 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
17146 if test x$PKG_CONFIG != xno ; then
17147 ## don't try to run the test against uninstalled libtool libs
17148 if $PKG_CONFIG --uninstalled $pkg_config_args; then
17149 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
17153 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
17160 if test x"$no_glib" = x ; then
17161 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
17162 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
17163 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
17164 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
17166 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
17167 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
17168 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
17169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17170 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
17171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17172 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
17173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17174 if test "x$enable_glibtest" = "xyes" ; then
17175 ac_save_CFLAGS="$CFLAGS"
17176 ac_save_LIBS="$LIBS"
17177 CFLAGS="$CFLAGS $GLIB_CFLAGS"
17178 LIBS="$GLIB_LIBS $LIBS"
17179 rm -f conf.glibtest
17180 if test "$cross_compiling" = yes; then :
17181 echo $ac_n "cross compiling; assumed OK... $ac_c"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17188 #include <stdlib.h>
17193 unsigned int major, minor, micro;
17196 fclose (fopen ("conf.glibtest", "w"));
17198 /* HP/UX 9 (%@#!) writes to sscanf strings */
17199 tmp_version = g_strdup("$min_glib_version");
17200 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
17201 printf("%s, bad version string\n", "$min_glib_version");
17205 if ((glib_major_version != $glib_config_major_version) ||
17206 (glib_minor_version != $glib_config_minor_version) ||
17207 (glib_micro_version != $glib_config_micro_version))
17209 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
17210 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
17211 glib_major_version, glib_minor_version, glib_micro_version);
17212 printf ("*** was found! If pkg-config was correct, then it is best\n");
17213 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
17214 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
17215 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
17216 printf("*** required on your system.\n");
17217 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
17218 printf("*** to point to the correct configuration files\n");
17220 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
17221 (glib_minor_version != GLIB_MINOR_VERSION) ||
17222 (glib_micro_version != GLIB_MICRO_VERSION))
17224 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
17225 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
17226 printf("*** library (version %d.%d.%d)\n",
17227 glib_major_version, glib_minor_version, glib_micro_version);
17231 if ((glib_major_version > major) ||
17232 ((glib_major_version == major) && (glib_minor_version > minor)) ||
17233 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
17239 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
17240 glib_major_version, glib_minor_version, glib_micro_version);
17241 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
17242 major, minor, micro);
17243 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
17245 printf("*** If you have already installed a sufficiently new version, this error\n");
17246 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
17247 printf("*** being found. The easiest way to fix this is to remove the old version\n");
17248 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
17249 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
17250 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
17251 printf("*** so that the correct libraries are found at run-time))\n");
17258 if ac_fn_c_try_run "$LINENO"; then :
17263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17264 conftest.$ac_objext conftest.beam conftest.$ac_ext
17267 CFLAGS="$ac_save_CFLAGS"
17268 LIBS="$ac_save_LIBS"
17271 if test "x$no_glib" = x ; then
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
17273 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17277 $as_echo "no" >&6; }
17278 if test "$PKG_CONFIG" = "no" ; then
17279 echo "*** A new enough version of pkg-config was not found."
17280 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
17282 if test -f conf.glibtest ; then
17285 echo "*** Could not run GLIB test program, checking why..."
17286 ac_save_CFLAGS="$CFLAGS"
17287 ac_save_LIBS="$LIBS"
17288 CFLAGS="$CFLAGS $GLIB_CFLAGS"
17289 LIBS="$LIBS $GLIB_LIBS"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17299 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
17304 if ac_fn_c_try_link "$LINENO"; then :
17305 echo "*** The test program compiled, but did not run. This usually means"
17306 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
17307 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
17308 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
17309 echo "*** to the installed location Also, make sure you have run ldconfig if that"
17310 echo "*** is required on your system"
17312 echo "*** If you have an old version installed, it is best to remove it, although"
17313 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
17315 echo "*** The test program failed to compile or link. See the file config.log for the"
17316 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17320 CFLAGS="$ac_save_CFLAGS"
17321 LIBS="$ac_save_LIBS"
17329 GLIB_COMPILE_RESOURCES=""
17331 *** GLIB 2.31.0 or better is required. The latest version of
17332 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
17340 rm -f conf.glibtest
17343 gtk_save_LIBS=$LIBS
17344 LIBS="$LIBS $GLIB_LIBS"
17345 for ac_func in bind_textdomain_codeset
17347 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17348 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17349 cat >>confdefs.h <<_ACEOF
17350 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
17356 LIBS=$gtk_save_LIBS
17358 for ac_header in unistd.h
17360 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
17361 if test "x$ac_cv_header_unistd_h" = xyes; then :
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_UNISTD_H 1
17366 $as_echo "#define HAVE_UNISTD_H 1" >>confdefs.h
17373 saved_cflags="$CFLAGS"
17374 saved_ldflags="$LDFLAGS"
17377 # Checks for header files.
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17379 $as_echo_n "checking for ANSI C header files... " >&6; }
17380 if ${ac_cv_header_stdc+:} false; then :
17381 $as_echo_n "(cached) " >&6
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <stdlib.h>
17386 #include <stdarg.h>
17387 #include <string.h>
17398 if ac_fn_c_try_compile "$LINENO"; then :
17399 ac_cv_header_stdc=yes
17401 ac_cv_header_stdc=no
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 if test $ac_cv_header_stdc = yes; then
17406 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <string.h>
17412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17413 $EGREP "memchr" >/dev/null 2>&1; then :
17416 ac_cv_header_stdc=no
17422 if test $ac_cv_header_stdc = yes; then
17423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #include <stdlib.h>
17429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17430 $EGREP "free" >/dev/null 2>&1; then :
17433 ac_cv_header_stdc=no
17439 if test $ac_cv_header_stdc = yes; then
17440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17441 if test "$cross_compiling" = yes; then :
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17447 #include <stdlib.h>
17448 #if ((' ' & 0x0FF) == 0x020)
17449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17452 # define ISLOWER(c) \
17453 (('a' <= (c) && (c) <= 'i') \
17454 || ('j' <= (c) && (c) <= 'r') \
17455 || ('s' <= (c) && (c) <= 'z'))
17456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17464 for (i = 0; i < 256; i++)
17465 if (XOR (islower (i), ISLOWER (i))
17466 || toupper (i) != TOUPPER (i))
17471 if ac_fn_c_try_run "$LINENO"; then :
17474 ac_cv_header_stdc=no
17476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17477 conftest.$ac_objext conftest.beam conftest.$ac_ext
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17483 $as_echo "$ac_cv_header_stdc" >&6; }
17484 if test $ac_cv_header_stdc = yes; then
17486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17491 # Checks for typedefs, structures, and compiler characteristics.
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17493 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17494 if ${ac_cv_c_const+:} false; then :
17495 $as_echo_n "(cached) " >&6
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17503 /* FIXME: Include the comments suggested by Paul. */
17504 #ifndef __cplusplus
17505 /* Ultrix mips cc rejects this. */
17506 typedef int charset[2];
17508 /* SunOS 4.1.1 cc rejects this. */
17509 char const *const *pcpcc;
17511 /* NEC SVR4.0.2 mips cc rejects this. */
17512 struct point {int x, y;};
17513 static struct point const zero = {0,0};
17514 /* AIX XL C 1.02.0.0 rejects this.
17515 It does not let you subtract one const X* pointer from another in
17516 an arm of an if-expression whose if-part is not a constant
17518 const char *g = "string";
17519 pcpcc = &g + (g ? g-g : 0);
17520 /* HPUX 7.0 cc rejects these. */
17522 ppc = (char**) pcpcc;
17523 pcpcc = (char const *const *) ppc;
17524 { /* SCO 3.2v4 cc rejects this. */
17526 char const *s = 0 ? (char *) 0 : (char const *) 0;
17531 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17532 int x[] = {25, 17};
17533 const int *foo = &x[0];
17536 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17537 typedef const int *iptr;
17541 { /* AIX XL C 1.02.0.0 rejects this saying
17542 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17543 struct s { int j; const int *ap[3]; };
17544 struct s *b; b->j = 5;
17546 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17547 const int foo = 10;
17548 if (!foo) return 0;
17550 return !cs[0] && !zero.x;
17557 if ac_fn_c_try_compile "$LINENO"; then :
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17565 $as_echo "$ac_cv_c_const" >&6; }
17566 if test $ac_cv_c_const = no; then
17568 $as_echo "#define const /**/" >>confdefs.h
17573 ##################################################
17574 # Checks for gdk-pixbuf
17575 ##################################################
17578 use_la_modules=false
17580 *-aix*) use_la_modules=true
17583 if $use_la_modules ; then
17585 $as_echo "#define USE_LA_MODULES 1" >>confdefs.h
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gmodulized gdk-pixbuf" >&5
17591 $as_echo_n "checking whether to build gmodulized gdk-pixbuf... " >&6; }
17593 # Check whether --enable-modules was given.
17594 if test "${enable_modules+set}" = set; then :
17595 enableval=$enable_modules;
17601 if test x$enable_modules = xno; then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17603 $as_echo "no" >&6; }
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17606 $as_echo "yes" >&6; }
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dynamic modules work" >&5
17608 $as_echo_n "checking whether dynamic modules work... " >&6; }
17609 ## for loop is to strip newline
17610 tmp=`$PKG_CONFIG --variable=gmodule_supported gmodule-no-export-2.0`
17616 pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
17617 pixbuf_deplibs_check=`$pixbuf_libtool_config | \
17618 grep '^[a-z_]*check[a-z_]*_method=['\''"]' | \
17619 sed 's/.*['\''"]\(.*\)['\''"]$/\1/'`
17620 if test "x$pixbuf_deplibs_check" = "xnone" || \
17621 test "x$pixbuf_deplibs_check" = "xunknown" || \
17622 test "x$pixbuf_deplibs_check" = "x"; then
17629 $as_echo "#define USE_GMODULE 1" >>confdefs.h
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17632 $as_echo "yes" >&6; }
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17635 $as_echo "no" >&6; }
17641 # Check whether --with-libpng was given.
17642 if test "${with_libpng+set}" = set; then :
17643 withval=$with_libpng;
17647 # Check whether --with-libjpeg was given.
17648 if test "${with_libjpeg+set}" = set; then :
17649 withval=$with_libjpeg;
17653 # Check whether --with-libtiff was given.
17654 if test "${with_libtiff+set}" = set; then :
17655 withval=$with_libtiff;
17659 # Check whether --with-libjasper was given.
17660 if test "${with_libjasper+set}" = set; then :
17661 withval=$with_libjasper;
17665 # Check whether --with-gdiplus was given.
17666 if test "${with_gdiplus+set}" = set; then :
17667 withval=$with_gdiplus;
17671 if test x$os_win32 = xyes && test x$with_gdiplus != xno ; then
17672 BUILD_GDIPLUS_LOADERS_TRUE=
17673 BUILD_GDIPLUS_LOADERS_FALSE='#'
17675 BUILD_GDIPLUS_LOADERS_TRUE='#'
17676 BUILD_GDIPLUS_LOADERS_FALSE=
17680 if test x$os_win32 = xno || test x$with_gdiplus = xno; then
17681 if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadRGBAImageOriented in -ltiff" >&5
17683 $as_echo_n "checking for TIFFReadRGBAImageOriented in -ltiff... " >&6; }
17684 if ${ac_cv_lib_tiff_TIFFReadRGBAImageOriented+:} false; then :
17685 $as_echo_n "(cached) " >&6
17687 ac_check_lib_save_LIBS=$LIBS
17688 LIBS="-ltiff -lm $LIBS"
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17692 /* Override any GCC internal prototype to avoid an error.
17693 Use char because int might match the return type of a GCC
17694 builtin and then its argument prototype would still apply. */
17698 char TIFFReadRGBAImageOriented ();
17702 return TIFFReadRGBAImageOriented ();
17707 if ac_fn_c_try_link "$LINENO"; then :
17708 ac_cv_lib_tiff_TIFFReadRGBAImageOriented=yes
17710 ac_cv_lib_tiff_TIFFReadRGBAImageOriented=no
17712 rm -f core conftest.err conftest.$ac_objext \
17713 conftest$ac_exeext conftest.$ac_ext
17714 LIBS=$ac_check_lib_save_LIBS
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadRGBAImageOriented" >&5
17717 $as_echo "$ac_cv_lib_tiff_TIFFReadRGBAImageOriented" >&6; }
17718 if test "x$ac_cv_lib_tiff_TIFFReadRGBAImageOriented" = xyes; then :
17719 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17720 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17721 TIFF='tiff'; LIBTIFF='-ltiff'
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17724 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFWriteScanline in -ltiff" >&5
17730 $as_echo_n "checking for TIFFWriteScanline in -ltiff... " >&6; }
17731 if ${ac_cv_lib_tiff_TIFFWriteScanline+:} false; then :
17732 $as_echo_n "(cached) " >&6
17734 ac_check_lib_save_LIBS=$LIBS
17735 LIBS="-ltiff -ljpeg -lz -lm $LIBS"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17739 /* Override any GCC internal prototype to avoid an error.
17740 Use char because int might match the return type of a GCC
17741 builtin and then its argument prototype would still apply. */
17745 char TIFFWriteScanline ();
17749 return TIFFWriteScanline ();
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 ac_cv_lib_tiff_TIFFWriteScanline=yes
17757 ac_cv_lib_tiff_TIFFWriteScanline=no
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17761 LIBS=$ac_check_lib_save_LIBS
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFWriteScanline" >&5
17764 $as_echo "$ac_cv_lib_tiff_TIFFWriteScanline" >&6; }
17765 if test "x$ac_cv_lib_tiff_TIFFWriteScanline" = xyes; then :
17766 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17767 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17768 TIFF='tiff'; LIBTIFF='-ltiff -ljpeg -lz'
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17771 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFFlushData in -ltiff34" >&5
17777 $as_echo_n "checking for TIFFFlushData in -ltiff34... " >&6; }
17778 if ${ac_cv_lib_tiff34_TIFFFlushData+:} false; then :
17779 $as_echo_n "(cached) " >&6
17781 ac_check_lib_save_LIBS=$LIBS
17782 LIBS="-ltiff34 -ljpeg -lz -lm $LIBS"
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 /* Override any GCC internal prototype to avoid an error.
17787 Use char because int might match the return type of a GCC
17788 builtin and then its argument prototype would still apply. */
17792 char TIFFFlushData ();
17796 return TIFFFlushData ();
17801 if ac_fn_c_try_link "$LINENO"; then :
17802 ac_cv_lib_tiff34_TIFFFlushData=yes
17804 ac_cv_lib_tiff34_TIFFFlushData=no
17806 rm -f core conftest.err conftest.$ac_objext \
17807 conftest$ac_exeext conftest.$ac_ext
17808 LIBS=$ac_check_lib_save_LIBS
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFFlushData" >&5
17811 $as_echo "$ac_cv_lib_tiff34_TIFFFlushData" >&6; }
17812 if test "x$ac_cv_lib_tiff34_TIFFFlushData" = xyes; then :
17813 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17814 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17815 TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg -lz'
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17818 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF library not found) ***" >&5
17824 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF library not found) ***" >&2;}
17833 if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
17835 *** Checks for TIFF loader failed. You can build without it by passing
17836 *** --without-libtiff to configure but some programs using GTK+ may
17837 *** not work properly" "$LINENO" 5
17841 if test x$os_win32 = xno || test x$with_gdiplus = xno; then
17842 if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
17844 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
17845 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
17846 $as_echo_n "(cached) " >&6
17848 ac_check_lib_save_LIBS=$LIBS
17849 LIBS="-ljpeg $LIBS"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 /* Override any GCC internal prototype to avoid an error.
17854 Use char because int might match the return type of a GCC
17855 builtin and then its argument prototype would still apply. */
17859 char jpeg_destroy_decompress ();
17863 return jpeg_destroy_decompress ();
17868 if ac_fn_c_try_link "$LINENO"; then :
17869 ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
17871 ac_cv_lib_jpeg_jpeg_destroy_decompress=no
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_check_lib_save_LIBS
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
17878 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
17879 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&5
17884 $as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&2;}
17887 if test "$jpeg_ok" = yes; then
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
17889 $as_echo_n "checking for jpeglib.h... " >&6; }
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17895 #undef HAVE_STDLIB_H
17896 #include <jpeglib.h>
17898 if ac_fn_c_try_cpp "$LINENO"; then :
17903 rm -f conftest.err conftest.i conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
17905 $as_echo "$jpeg_ok" >&6; }
17906 if test "$jpeg_ok" = yes; then
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_simple_progression in -ljpeg" >&5
17909 $as_echo_n "checking for jpeg_simple_progression in -ljpeg... " >&6; }
17910 if ${ac_cv_lib_jpeg_jpeg_simple_progression+:} false; then :
17911 $as_echo_n "(cached) " >&6
17913 ac_check_lib_save_LIBS=$LIBS
17914 LIBS="-ljpeg $LIBS"
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17918 /* Override any GCC internal prototype to avoid an error.
17919 Use char because int might match the return type of a GCC
17920 builtin and then its argument prototype would still apply. */
17924 char jpeg_simple_progression ();
17928 return jpeg_simple_progression ();
17933 if ac_fn_c_try_link "$LINENO"; then :
17934 ac_cv_lib_jpeg_jpeg_simple_progression=yes
17936 ac_cv_lib_jpeg_jpeg_simple_progression=no
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_simple_progression" >&5
17943 $as_echo "$ac_cv_lib_jpeg_jpeg_simple_progression" >&6; }
17944 if test "x$ac_cv_lib_jpeg_jpeg_simple_progression" = xyes; then :
17946 $as_echo "#define HAVE_PROGRESSIVE_JPEG 1" >>confdefs.h
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JPEG library does not support progressive saving." >&5
17950 $as_echo "$as_me: WARNING: JPEG library does not support progressive saving." >&2;}
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&5
17955 $as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&2;}
17960 if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
17962 *** Checks for JPEG loader failed. You can build without it by passing
17963 *** --without-libjpeg to configure but some programs using GTK+ may
17964 *** not work properly" "$LINENO" 5
17968 if test x$with_libpng != xno && test -z "$LIBPNG"; then
17969 for l in libpng15 libpng14 libpng12 libpng13 libpng10 libpng ; do
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
17971 $as_echo_n "checking for $l... " >&6; }
17972 if $PKG_CONFIG --exists $l ; then
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17974 $as_echo "yes" >&6; }
17976 PNG_DEP_CFLAGS_PACKAGES=$l
17977 LIBPNG=`$PKG_CONFIG --libs $l`
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17984 if test x$PNG != xpng; then
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17986 $as_echo "no" >&6; }
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
17988 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
17989 if ${ac_cv_lib_png_png_read_info+:} false; then :
17990 $as_echo_n "(cached) " >&6
17992 ac_check_lib_save_LIBS=$LIBS
17993 LIBS="-lpng -lz -lm $LIBS"
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17997 /* Override any GCC internal prototype to avoid an error.
17998 Use char because int might match the return type of a GCC
17999 builtin and then its argument prototype would still apply. */
18003 char png_read_info ();
18007 return png_read_info ();
18012 if ac_fn_c_try_link "$LINENO"; then :
18013 ac_cv_lib_png_png_read_info=yes
18015 ac_cv_lib_png_png_read_info=no
18017 rm -f core conftest.err conftest.$ac_objext \
18018 conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_check_lib_save_LIBS
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18022 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18023 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18024 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18025 if test "x$ac_cv_header_png_h" = xyes; then :
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG library not found) ***" >&5
18034 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG library not found) ***" >&2;}
18037 if test "$png_ok" = yes; then
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18039 $as_echo_n "checking for png_structp in png.h... " >&6; }
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18046 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18051 if ac_fn_c_try_compile "$LINENO"; then :
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18058 $as_echo "$png_ok" >&6; }
18059 if test "$png_ok" = yes; then
18060 PNG='png'; LIBPNG='-lpng -lz'
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG library is too old) ***" >&5
18063 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG library is too old) ***" >&2;}
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG header file not found) ***" >&5
18067 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG header file not found) ***" >&2;}
18072 if test x$with_libpng != xno && test -z "$LIBPNG"; then
18074 *** Checks for PNG loader failed. You can build without it by passing
18075 *** --without-libpng to configure but many programs using GTK+ will
18076 *** not work properly. The PNG loader is also needed if you are compiling
18077 *** from Git." "$LINENO" 5
18080 if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_init in -ljasper" >&5
18082 $as_echo_n "checking for jas_init in -ljasper... " >&6; }
18083 if ${ac_cv_lib_jasper_jas_init+:} false; then :
18084 $as_echo_n "(cached) " >&6
18086 ac_check_lib_save_LIBS=$LIBS
18087 LIBS="-ljasper -ljpeg -lm $LIBS"
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18101 return jas_init ();
18106 if ac_fn_c_try_link "$LINENO"; then :
18107 ac_cv_lib_jasper_jas_init=yes
18109 ac_cv_lib_jasper_jas_init=no
18111 rm -f core conftest.err conftest.$ac_objext \
18112 conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_lib_save_LIBS
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_init" >&5
18116 $as_echo "$ac_cv_lib_jasper_jas_init" >&6; }
18117 if test "x$ac_cv_lib_jasper_jas_init" = xyes; then :
18123 if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
18125 *** Checks for JPEG2000 loader failed. You can build without it by passing
18126 *** --without-libjasper to configure" "$LINENO" 5
18135 BUILD_DYNAMIC_MODULES_TRUE=
18136 BUILD_DYNAMIC_MODULES_FALSE='#'
18138 BUILD_DYNAMIC_MODULES_TRUE='#'
18139 BUILD_DYNAMIC_MODULES_FALSE=
18144 # Allow building some or all gdk-pixbuf loaders included
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pixbuf loaders to build" >&5
18147 $as_echo_n "checking pixbuf loaders to build... " >&6; }
18150 # Check whether --with-included_loaders was given.
18151 if test "${with_included_loaders+set}" = set; then :
18152 withval=$with_included_loaders;
18159 ## if the option was specified, leave it; otherwise disable included loaders
18160 if test x$with_included_loaders = xno; then
18161 with_included_loaders=yes
18165 # Use the traditional png loader instead of the GDI+ one on Windows,
18166 # because some important apps like GIMP need to read and write
18167 # arbitrary tEXt chunks which doesn't seem to be possible through GDI+
18169 all_loaders="ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,qtif"
18170 if test x$with_libjasper = xyes; then
18171 all_loaders="$all_loaders,jasper"
18173 if test x$os_win32 = xyes && test x$with_gdiplus != xno; then
18174 # Skip PNG, see comment above
18175 gdip_formats="bmp emf gif ico jpeg tiff wmf"
18176 for f in $gdip_formats; do
18177 all_loaders="$all_loaders,gdip-$f"
18180 all_loaders="$all_loaders,bmp,gif,ico,jpeg,tiff"
18182 included_loaders=""
18183 # If no loaders specified, include all
18184 if test "x$with_included_loaders" = xyes ; then
18185 included_loaders="$all_loaders"
18187 included_loaders="$with_included_loaders"
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_loaders" >&5
18191 $as_echo "$included_loaders" >&6; }
18193 INCLUDED_LOADER_OBJ=
18194 INCLUDED_LOADER_DEFINE=
18196 IFS="${IFS= }"; gtk_save_ifs="$IFS"; IFS=","
18197 for loader in $included_loaders; do
18198 if echo "$all_loaders" | egrep "(^|,)$loader(\$|,)" > /dev/null; then
18201 as_fn_error $? "the specified loader $loader does not exist" "$LINENO" 5
18204 loader_underscores=`echo $loader | sed -e 's/-/_/g'`
18205 INCLUDED_LOADER_OBJ="$INCLUDED_LOADER_OBJ libstatic-pixbufloader-$loader.la"
18207 # Don't bother defining separate -DINCLUDE_gdip_foo for each gdip-foo loader
18210 *) INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_$loader_underscores";;
18212 eval INCLUDE_$loader_underscores=yes
18215 # Just define one -DINCLUDE_gdiplus for all the gdip-foo loaders
18216 # (except gdip-png, which isn't built at all)
18217 if test x"$INCLUDE_gdip_ico" = xyes; then
18218 INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_gdiplus"
18221 IFS="$gtk_save_ifs"
18225 if test x"$INCLUDE_png" = xyes; then
18227 INCLUDE_PNG_FALSE='#'
18229 INCLUDE_PNG_TRUE='#'
18233 if test x"$INCLUDE_bmp" = xyes; then
18235 INCLUDE_BMP_FALSE='#'
18237 INCLUDE_BMP_TRUE='#'
18241 if test x"$INCLUDE_wbmp" = xyes; then
18243 INCLUDE_WBMP_FALSE='#'
18245 INCLUDE_WBMP_TRUE='#'
18246 INCLUDE_WBMP_FALSE=
18249 if test x"$INCLUDE_gif" = xyes; then
18251 INCLUDE_GIF_FALSE='#'
18253 INCLUDE_GIF_TRUE='#'
18257 if test x"$INCLUDE_ico" = xyes; then
18259 INCLUDE_ICO_FALSE='#'
18261 INCLUDE_ICO_TRUE='#'
18265 if test x"$INCLUDE_ani" = xyes; then
18267 INCLUDE_ANI_FALSE='#'
18269 INCLUDE_ANI_TRUE='#'
18273 if test x"$INCLUDE_jpeg" = xyes; then
18275 INCLUDE_JPEG_FALSE='#'
18277 INCLUDE_JPEG_TRUE='#'
18278 INCLUDE_JPEG_FALSE=
18281 if test x"$INCLUDE_pnm" = xyes; then
18283 INCLUDE_PNM_FALSE='#'
18285 INCLUDE_PNM_TRUE='#'
18289 if test x"$INCLUDE_ras" = xyes; then
18291 INCLUDE_RAS_FALSE='#'
18293 INCLUDE_RAS_TRUE='#'
18297 if test x"$INCLUDE_tiff" = xyes; then
18299 INCLUDE_TIFF_FALSE='#'
18301 INCLUDE_TIFF_TRUE='#'
18302 INCLUDE_TIFF_FALSE=
18305 if test x"$INCLUDE_xpm" = xyes; then
18307 INCLUDE_XPM_FALSE='#'
18309 INCLUDE_XPM_TRUE='#'
18313 if test x"$INCLUDE_xbm" = xyes; then
18315 INCLUDE_XBM_FALSE='#'
18317 INCLUDE_XBM_TRUE='#'
18321 if test x"$INCLUDE_tga" = xyes; then
18323 INCLUDE_TGA_FALSE='#'
18325 INCLUDE_TGA_TRUE='#'
18329 if test x"$INCLUDE_pcx" = xyes; then
18331 INCLUDE_PCX_FALSE='#'
18333 INCLUDE_PCX_TRUE='#'
18337 if test x"$INCLUDE_icns" = xyes; then
18339 INCLUDE_ICNS_FALSE='#'
18341 INCLUDE_ICNS_TRUE='#'
18342 INCLUDE_ICNS_FALSE=
18345 if test x"$INCLUDE_jasper" = xyes; then
18346 INCLUDE_JASPER_TRUE=
18347 INCLUDE_JASPER_FALSE='#'
18349 INCLUDE_JASPER_TRUE='#'
18350 INCLUDE_JASPER_FALSE=
18353 if test x"$INCLUDE_qtif" = xyes; then
18355 INCLUDE_QTIF_FALSE='#'
18357 INCLUDE_QTIF_TRUE='#'
18358 INCLUDE_QTIF_FALSE=
18361 # As all GDI+ loaders are either built-in or not, arbitrarily just
18362 # check one of the variables here
18363 if test x"$INCLUDE_gdip_ico" = xyes; then
18364 INCLUDE_GDIPLUS_TRUE=
18365 INCLUDE_GDIPLUS_FALSE='#'
18367 INCLUDE_GDIPLUS_TRUE='#'
18368 INCLUDE_GDIPLUS_FALSE=
18372 if test x$gio_can_sniff = x; then
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gio can sniff png" >&5
18374 $as_echo_n "checking if gio can sniff png... " >&6; }
18375 gtk_save_LIBS="$LIBS"
18376 gtk_save_CFLAGS="$CFLAGS"
18377 LIBS="`$PKG_CONFIG --libs gio-2.0`"
18378 CFLAGS="`$PKG_CONFIG --cflags gio-2.0`"
18379 if test "$cross_compiling" = yes; then :
18380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18382 as_fn_error $? "cannot run test program while cross compiling
18383 See \`config.log' for more details" "$LINENO" 5; }
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 #include <gio/gio.h>
18389 static const gsize data_size = 159;
18390 static const guint8 data[] =
18392 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
18393 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
18394 0x08, 0x02, 0x00, 0x00, 0x00, 0x90, 0x77, 0x53, 0xde, 0x00, 0x00, 0x00,
18395 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
18396 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00,
18397 0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74,
18398 0x49, 0x4d, 0x45, 0x07, 0xd8, 0x07, 0x0f, 0x10, 0x08, 0x15, 0x61, 0xd8,
18399 0x35, 0x37, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f,
18400 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
18401 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57,
18402 0x81, 0x0e, 0x17, 0x00, 0x00, 0x00, 0x0c, 0x49, 0x44, 0x41, 0x54, 0x08,
18403 0xd7, 0x63, 0xf8, 0xff, 0xff, 0x3f, 0x00, 0x05, 0xfe, 0x02, 0xfe, 0xdc,
18404 0xcc, 0x59, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
18408 main (int argc, char **argv)
18410 char *content_type;
18413 content_type = g_content_type_guess (NULL, data, data_size, NULL);
18414 image_png = g_content_type_from_mime_type ("image/png");
18415 return !!g_strcmp0 (content_type, image_png);
18418 if ac_fn_c_try_run "$LINENO"; then :
18421 $as_echo "#define GDK_PIXBUF_USE_GIO_MIME 1" >>confdefs.h
18426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18427 conftest.$ac_objext conftest.beam conftest.$ac_ext
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gio_can_sniff" >&5
18431 $as_echo "$gio_can_sniff" >&6; }
18432 LIBS="$gtk_save_LIBS"
18433 CFLAGS="$gtk_save_CFLAGS"
18436 if test "x$LIBTIFF" != x; then
18438 HAVE_TIFF_FALSE='#'
18444 if test "x$LIBPNG" != x; then
18452 if test "x$LIBJPEG" != x; then
18454 HAVE_JPEG_FALSE='#'
18460 if test "x$LIBJASPER" != x; then
18462 HAVE_JASPER_FALSE='#'
18464 HAVE_JASPER_TRUE='#'
18469 if $dynworks ; then
18471 if echo "$included_loaders" | egrep '(^|,)tiff($|,)' > /dev/null; then
18472 STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBTIFF"
18474 if echo "$included_loaders" | egrep '(^|,)jpeg($|,)' > /dev/null; then
18475 STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJPEG"
18477 if echo "$included_loaders" | egrep '(^|,)png($|,)' > /dev/null; then
18478 if test -z $PNG_DEP_CFLAGS_PACKAGES; then
18479 STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBPNG"
18482 if echo "$included_loaders" | egrep '(^|,)jasper($|,)' > /dev/null; then
18483 STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJASPER"
18486 STATIC_LIB_DEPS="$LIBTIFF $LIBJPEG $LIBPNG $LIBJASPER"
18489 # Checks to see whether we should include mediaLib
18492 ac_fn_c_check_header_mongrel "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default"
18493 if test "x$ac_cv_header_sys_systeminfo_h" = xyes; then :
18495 $as_echo "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h
18500 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
18501 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
18503 $as_echo "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.3" >&5
18510 $as_echo_n "checking for mediaLib 2.3... " >&6; }
18512 # Check for a mediaLib 2.3 function since that is what the GTK+ mediaLib
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_ImageSetStruct in -lmlib" >&5
18515 $as_echo_n "checking for mlib_ImageSetStruct in -lmlib... " >&6; }
18516 if ${ac_cv_lib_mlib_mlib_ImageSetStruct+:} false; then :
18517 $as_echo_n "(cached) " >&6
18519 ac_check_lib_save_LIBS=$LIBS
18520 LIBS="-lmlib $LIBS"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18524 /* Override any GCC internal prototype to avoid an error.
18525 Use char because int might match the return type of a GCC
18526 builtin and then its argument prototype would still apply. */
18530 char mlib_ImageSetStruct ();
18534 return mlib_ImageSetStruct ();
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 ac_cv_lib_mlib_mlib_ImageSetStruct=yes
18542 ac_cv_lib_mlib_mlib_ImageSetStruct=no
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18546 LIBS=$ac_check_lib_save_LIBS
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_ImageSetStruct" >&5
18549 $as_echo "$ac_cv_lib_mlib_mlib_ImageSetStruct" >&6; }
18550 if test "x$ac_cv_lib_mlib_mlib_ImageSetStruct" = xyes; then :
18556 if test $use_mlib = yes; then
18558 $as_echo "#define USE_MEDIALIB 1" >>confdefs.h
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.5" >&5
18563 $as_echo_n "checking for mediaLib 2.5... " >&6; }
18564 # Check for a mediaLib 2.5 function since that is what is needed for
18565 # gdk_rgb_convert integration.
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib" >&5
18567 $as_echo_n "checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib... " >&6; }
18568 if ${ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint+:} false; then :
18569 $as_echo_n "(cached) " >&6
18571 ac_check_lib_save_LIBS=$LIBS
18572 LIBS="-lmlib $LIBS"
18573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h. */
18576 /* Override any GCC internal prototype to avoid an error.
18577 Use char because int might match the return type of a GCC
18578 builtin and then its argument prototype would still apply. */
18582 char mlib_VideoColorRGBint_to_BGRAint ();
18586 return mlib_VideoColorRGBint_to_BGRAint ();
18591 if ac_fn_c_try_link "$LINENO"; then :
18592 ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=yes
18594 ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=no
18596 rm -f core conftest.err conftest.$ac_objext \
18597 conftest$ac_exeext conftest.$ac_ext
18598 LIBS=$ac_check_lib_save_LIBS
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&5
18601 $as_echo "$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&6; }
18602 if test "x$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" = xyes; then :
18608 if test $use_mlib25 = yes; then
18610 $as_echo "#define USE_MEDIALIB25 1" >>confdefs.h
18614 if test $use_mlib = yes; then
18616 USE_MEDIALIB_FALSE='#'
18618 USE_MEDIALIB_TRUE='#'
18619 USE_MEDIALIB_FALSE=
18622 if test $use_mlib25 = yes; then
18623 USE_MEDIALIB25_TRUE=
18624 USE_MEDIALIB25_FALSE='#'
18626 USE_MEDIALIB25_TRUE='#'
18627 USE_MEDIALIB25_FALSE=
18631 # Checks to see if we should compile in MMX support (there will be
18632 # a runtime test when the code is actually run to see if it should
18633 # be used - this just checks if we can compile it.)
18635 # This code is partially taken from Mesa
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 platform" >&5
18638 $as_echo_n "checking for x86 platform... " >&6; }
18640 i386|i486|i586|i686|i786|k6|k7)
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_x86_asm" >&5
18647 $as_echo "$use_x86_asm" >&6; }
18650 if test $use_x86_asm = yes; then
18651 save_ac_ext=$ac_ext
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for MMX" >&5
18655 $as_echo_n "checking compiler support for MMX... " >&6; }
18656 cp $srcdir/gdk-pixbuf/pixops/scale_line_22_33_mmx.S conftest.S
18657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18658 (eval $ac_compile) 2>&5
18660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18661 test $ac_status = 0; }; then
18667 ac_ext=$save_ac_ext
18668 if test $use_mmx_asm = yes; then
18670 $as_echo "#define USE_MMX 1" >>confdefs.h
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18673 $as_echo "yes" >&6; }
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18676 $as_echo "no" >&6; }
18680 if test x$use_mmx_asm = xyes; then
18690 if test -z "$LIBPNG" && test x"$os_win32" = xno -o x$with_gdiplus = xno; then
18695 if test $cross_compiling = yes; then
18696 CROSS_COMPILING_TRUE=
18697 CROSS_COMPILING_FALSE='#'
18699 CROSS_COMPILING_TRUE='#'
18700 CROSS_COMPILING_FALSE=
18704 if test $cross_compiling = yes; then
18705 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
18706 set dummy gdk-pixbuf-csource; ac_word=$2
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18708 $as_echo_n "checking for $ac_word... " >&6; }
18709 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
18710 $as_echo_n "(cached) " >&6
18712 case $GDK_PIXBUF_CSOURCE in
18714 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
18717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18718 for as_dir in $PATH
18721 test -z "$as_dir" && as_dir=.
18722 for ac_exec_ext in '' $ac_executable_extensions; do
18723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18724 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
18725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18732 test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
18736 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
18737 if test -n "$GDK_PIXBUF_CSOURCE"; then
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
18739 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18742 $as_echo "no" >&6; }
18746 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
18747 set dummy gtk-update-icon-cache; ac_word=$2
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18749 $as_echo_n "checking for $ac_word... " >&6; }
18750 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
18751 $as_echo_n "(cached) " >&6
18753 case $GTK_UPDATE_ICON_CACHE in
18755 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
18758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18759 for as_dir in $PATH
18762 test -z "$as_dir" && as_dir=.
18763 for ac_exec_ext in '' $ac_executable_extensions; do
18764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18765 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
18766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18773 test -z "$ac_cv_path_GTK_UPDATE_ICON_CACHE" && ac_cv_path_GTK_UPDATE_ICON_CACHE="no"
18777 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
18778 if test -n "$GTK_UPDATE_ICON_CACHE"; then
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
18780 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783 $as_echo "no" >&6; }
18787 if test x$GTK_UPDATE_ICON_CACHE = xno; then
18792 GDK_PIXBUF_PACKAGES="gmodule-no-export-2.0 gobject-2.0 gio-2.0"
18793 GDK_PIXBUF_EXTRA_LIBS="$STATIC_LIB_DEPS $MATH_LIB $MEDIA_LIB"
18794 GDK_PIXBUF_EXTRA_CFLAGS=
18795 GDK_PIXBUF_DEP_LIBS="`$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $PNG_DEP_CFLAGS_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
18796 GDK_PIXBUF_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $PNG_DEP_CFLAGS_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS"
18809 GDK_PIXBUF_XLIB_PACKAGES=
18810 GDK_PIXBUF_XLIB_EXTRA_CFLAGS=
18811 GDK_PIXBUF_XLIB_EXTRA_LIBS=
18814 # Check whether --with-x11 was given.
18815 if test "${with_x11+set}" = set; then :
18820 if test x$with_x11 = xyes; then
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF_XLIB_DEP" >&5
18832 $as_echo_n "checking for GDK_PIXBUF_XLIB_DEP... " >&6; }
18834 if test -n "$GDK_PIXBUF_XLIB_DEP_CFLAGS"; then
18835 pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS="$GDK_PIXBUF_XLIB_DEP_CFLAGS"
18836 elif test -n "$PKG_CONFIG"; then
18837 if test -n "$PKG_CONFIG" && \
18838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 gobject-2.0\""; } >&5
18839 ($PKG_CONFIG --exists --print-errors "x11 gobject-2.0") 2>&5
18841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18842 test $ac_status = 0; }; then
18843 pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS=`$PKG_CONFIG --cflags "x11 gobject-2.0" 2>/dev/null`
18850 if test -n "$GDK_PIXBUF_XLIB_DEP_LIBS"; then
18851 pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS="$GDK_PIXBUF_XLIB_DEP_LIBS"
18852 elif test -n "$PKG_CONFIG"; then
18853 if test -n "$PKG_CONFIG" && \
18854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 gobject-2.0\""; } >&5
18855 ($PKG_CONFIG --exists --print-errors "x11 gobject-2.0") 2>&5
18857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18858 test $ac_status = 0; }; then
18859 pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS=`$PKG_CONFIG --libs "x11 gobject-2.0" 2>/dev/null`
18869 if test $pkg_failed = yes; then
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18871 $as_echo "no" >&6; }
18873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18874 _pkg_short_errors_supported=yes
18876 _pkg_short_errors_supported=no
18878 if test $_pkg_short_errors_supported = yes; then
18879 GDK_PIXBUF_XLIB_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 gobject-2.0" 2>&1`
18881 GDK_PIXBUF_XLIB_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 gobject-2.0" 2>&1`
18883 # Put the nasty error message in config.log where it belongs
18884 echo "$GDK_PIXBUF_XLIB_DEP_PKG_ERRORS" >&5
18886 as_fn_error $? "Package requirements (x11 gobject-2.0) were not met:
18888 $GDK_PIXBUF_XLIB_DEP_PKG_ERRORS
18890 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18891 installed software in a non-standard prefix.
18893 Alternatively, you may set the environment variables GDK_PIXBUF_XLIB_DEP_CFLAGS
18894 and GDK_PIXBUF_XLIB_DEP_LIBS to avoid the need to call pkg-config.
18895 See the pkg-config man page for more details." "$LINENO" 5
18897 elif test $pkg_failed = untried; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18899 $as_echo "no" >&6; }
18900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18902 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18903 is in your PATH or set the PKG_CONFIG environment variable to the full
18904 path to pkg-config.
18906 Alternatively, you may set the environment variables GDK_PIXBUF_XLIB_DEP_CFLAGS
18907 and GDK_PIXBUF_XLIB_DEP_LIBS to avoid the need to call pkg-config.
18908 See the pkg-config man page for more details.
18910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18911 See \`config.log' for more details" "$LINENO" 5; }
18914 GDK_PIXBUF_XLIB_DEP_CFLAGS=$pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS
18915 GDK_PIXBUF_XLIB_DEP_LIBS=$pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18917 $as_echo "yes" >&6; }
18931 ################################################################
18932 # Strip -export-dynamic from the link lines of various libraries
18933 ################################################################
18936 # pkg-config --libs gmodule includes the "export_dynamic" flag,
18937 # but this flag is only meaningful for executables. For libraries
18938 # the effect is undefined; what it causes on Linux is that the
18939 # export list from -export-symbols-regex is ignored and everything
18942 # We are using gmodule-no-export now, but I'm leaving the stripping
18943 # code in place for now, since pango and atk still require gmodule.
18945 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
18946 if test -n "$export_dynamic"; then
18947 GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
18950 ##################################################
18951 # GObject introspection
18952 ##################################################
18957 # Check whether --enable-introspection was given.
18958 if test "${enable_introspection+set}" = set; then :
18959 enableval=$enable_introspection;
18961 enable_introspection=auto
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18966 $as_echo_n "checking for gobject-introspection... " >&6; }
18968 case $enable_introspection in #(
18970 found_introspection="no (disabled, use --enable-introspection to enable)"
18973 if test -n "$PKG_CONFIG" && \
18974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18975 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978 test $ac_status = 0; }; then
18981 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18983 if test -n "$PKG_CONFIG" && \
18984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
18985 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
18987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18988 test $ac_status = 0; }; then
18989 found_introspection=yes
18991 as_fn_error $? "You need to have gobject-introspection >= 0.9.3 installed to build gdk-pixbuf" "$LINENO" 5
18995 if test -n "$PKG_CONFIG" && \
18996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
18997 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
18999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19000 test $ac_status = 0; }; then
19001 found_introspection=yes
19003 found_introspection=no
19007 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
19011 $as_echo "$found_introspection" >&6; }
19013 INTROSPECTION_SCANNER=
19014 INTROSPECTION_COMPILER=
19015 INTROSPECTION_GENERATE=
19016 INTROSPECTION_GIRDIR=
19017 INTROSPECTION_TYPELIBDIR=
19018 if test "x$found_introspection" = "xyes"; then
19019 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
19020 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
19021 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
19022 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
19023 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
19024 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
19025 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
19026 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
19037 if test "x$found_introspection" = "xyes"; then
19038 HAVE_INTROSPECTION_TRUE=
19039 HAVE_INTROSPECTION_FALSE='#'
19041 HAVE_INTROSPECTION_TRUE='#'
19042 HAVE_INTROSPECTION_FALSE=
19048 ##################################################
19049 # Checks for gtk-doc and docbook-tools
19050 ##################################################
19055 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
19056 set dummy gtkdoc-check; ac_word=$2
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19058 $as_echo_n "checking for $ac_word... " >&6; }
19059 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
19060 $as_echo_n "(cached) " >&6
19062 case $GTKDOC_CHECK in
19064 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
19067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19068 for as_dir in $PATH
19071 test -z "$as_dir" && as_dir=.
19072 for ac_exec_ext in '' $ac_executable_extensions; do
19073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19074 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
19075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19085 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
19086 if test -n "$GTKDOC_CHECK"; then
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
19088 $as_echo "$GTKDOC_CHECK" >&6; }
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19091 $as_echo "no" >&6; }
19095 for ac_prog in gtkdoc-rebase
19097 # Extract the first word of "$ac_prog", so it can be a program name with args.
19098 set dummy $ac_prog; ac_word=$2
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19100 $as_echo_n "checking for $ac_word... " >&6; }
19101 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
19102 $as_echo_n "(cached) " >&6
19104 case $GTKDOC_REBASE in
19106 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
19109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19110 for as_dir in $PATH
19113 test -z "$as_dir" && as_dir=.
19114 for ac_exec_ext in '' $ac_executable_extensions; do
19115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19116 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
19117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19127 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
19128 if test -n "$GTKDOC_REBASE"; then
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
19130 $as_echo "$GTKDOC_REBASE" >&6; }
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133 $as_echo "no" >&6; }
19137 test -n "$GTKDOC_REBASE" && break
19139 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
19141 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
19142 set dummy gtkdoc-mkpdf; ac_word=$2
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19144 $as_echo_n "checking for $ac_word... " >&6; }
19145 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
19146 $as_echo_n "(cached) " >&6
19148 case $GTKDOC_MKPDF in
19150 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
19153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19154 for as_dir in $PATH
19157 test -z "$as_dir" && as_dir=.
19158 for ac_exec_ext in '' $ac_executable_extensions; do
19159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19160 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
19161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19171 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
19172 if test -n "$GTKDOC_MKPDF"; then
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
19174 $as_echo "$GTKDOC_MKPDF" >&6; }
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19177 $as_echo "no" >&6; }
19183 # Check whether --with-html-dir was given.
19184 if test "${with_html_dir+set}" = set; then :
19185 withval=$with_html_dir;
19187 with_html_dir='${datadir}/gtk-doc/html'
19190 HTML_DIR="$with_html_dir"
19193 # Check whether --enable-gtk-doc was given.
19194 if test "${enable_gtk_doc+set}" = set; then :
19195 enableval=$enable_gtk_doc;
19201 if test x$enable_gtk_doc = xyes; then
19202 if test -n "$PKG_CONFIG" && \
19203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
19204 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
19206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19207 test $ac_status = 0; }; then
19210 as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
19212 if test "x$PACKAGE_NAME" != "xglib"; then
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
19216 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
19218 if test -n "$GTKDOC_DEPS_CFLAGS"; then
19219 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
19220 elif test -n "$PKG_CONFIG"; then
19221 if test -n "$PKG_CONFIG" && \
19222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
19223 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
19225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19226 test $ac_status = 0; }; then
19227 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
19234 if test -n "$GTKDOC_DEPS_LIBS"; then
19235 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
19236 elif test -n "$PKG_CONFIG"; then
19237 if test -n "$PKG_CONFIG" && \
19238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
19239 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
19241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19242 test $ac_status = 0; }; then
19243 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
19253 if test $pkg_failed = yes; then
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19255 $as_echo "no" >&6; }
19257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19258 _pkg_short_errors_supported=yes
19260 _pkg_short_errors_supported=no
19262 if test $_pkg_short_errors_supported = yes; then
19263 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
19265 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
19267 # Put the nasty error message in config.log where it belongs
19268 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
19270 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
19272 $GTKDOC_DEPS_PKG_ERRORS
19274 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19275 installed software in a non-standard prefix.
19277 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
19278 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
19279 See the pkg-config man page for more details." "$LINENO" 5
19281 elif test $pkg_failed = untried; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19283 $as_echo "no" >&6; }
19284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19286 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19287 is in your PATH or set the PKG_CONFIG environment variable to the full
19288 path to pkg-config.
19290 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
19291 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
19292 See the pkg-config man page for more details.
19294 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19295 See \`config.log' for more details" "$LINENO" 5; }
19298 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
19299 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19301 $as_echo "yes" >&6; }
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
19308 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
19310 $as_echo "$enable_gtk_doc" >&6; }
19312 # Check whether --enable-gtk-doc-html was given.
19313 if test "${enable_gtk_doc_html+set}" = set; then :
19314 enableval=$enable_gtk_doc_html;
19316 enable_gtk_doc_html=yes
19319 # Check whether --enable-gtk-doc-pdf was given.
19320 if test "${enable_gtk_doc_pdf+set}" = set; then :
19321 enableval=$enable_gtk_doc_pdf;
19323 enable_gtk_doc_pdf=no
19327 if test -z "$GTKDOC_MKPDF"; then
19328 enable_gtk_doc_pdf=no
19332 if test x$enable_gtk_doc = xyes; then
19333 ENABLE_GTK_DOC_TRUE=
19334 ENABLE_GTK_DOC_FALSE='#'
19336 ENABLE_GTK_DOC_TRUE='#'
19337 ENABLE_GTK_DOC_FALSE=
19340 if test x$enable_gtk_doc_html = xyes; then
19341 GTK_DOC_BUILD_HTML_TRUE=
19342 GTK_DOC_BUILD_HTML_FALSE='#'
19344 GTK_DOC_BUILD_HTML_TRUE='#'
19345 GTK_DOC_BUILD_HTML_FALSE=
19348 if test x$enable_gtk_doc_pdf = xyes; then
19349 GTK_DOC_BUILD_PDF_TRUE=
19350 GTK_DOC_BUILD_PDF_FALSE='#'
19352 GTK_DOC_BUILD_PDF_TRUE='#'
19353 GTK_DOC_BUILD_PDF_FALSE=
19356 if test -n "$LIBTOOL"; then
19357 GTK_DOC_USE_LIBTOOL_TRUE=
19358 GTK_DOC_USE_LIBTOOL_FALSE='#'
19360 GTK_DOC_USE_LIBTOOL_TRUE='#'
19361 GTK_DOC_USE_LIBTOOL_FALSE=
19364 if test -n "$GTKDOC_REBASE"; then
19365 GTK_DOC_USE_REBASE_TRUE=
19366 GTK_DOC_USE_REBASE_FALSE='#'
19368 GTK_DOC_USE_REBASE_TRUE='#'
19369 GTK_DOC_USE_REBASE_FALSE=
19374 # Extract the first word of "db2html", so it can be a program name with args.
19375 set dummy db2html; ac_word=$2
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19377 $as_echo_n "checking for $ac_word... " >&6; }
19378 if ${ac_cv_prog_DB2HTML+:} false; then :
19379 $as_echo_n "(cached) " >&6
19381 if test -n "$DB2HTML"; then
19382 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
19384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19385 for as_dir in $PATH
19388 test -z "$as_dir" && as_dir=.
19389 for ac_exec_ext in '' $ac_executable_extensions; do
19390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19391 ac_cv_prog_DB2HTML="true"
19392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19399 test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
19402 DB2HTML=$ac_cv_prog_DB2HTML
19403 if test -n "$DB2HTML"; then
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
19405 $as_echo "$DB2HTML" >&6; }
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19408 $as_echo "no" >&6; }
19414 HAVE_DOCBOOK_FALSE='#'
19416 HAVE_DOCBOOK_TRUE='#'
19417 HAVE_DOCBOOK_FALSE=
19421 # Check whether --enable-man was given.
19422 if test "${enable_man+set}" = set; then :
19423 enableval=$enable_man; enable_man=yes
19429 if test "${enable_man}" != no; then
19430 # Extract the first word of "xsltproc", so it can be a program name with args.
19431 set dummy xsltproc; ac_word=$2
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19433 $as_echo_n "checking for $ac_word... " >&6; }
19434 if ${ac_cv_path_XSLTPROC+:} false; then :
19435 $as_echo_n "(cached) " >&6
19439 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
19442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19446 test -z "$as_dir" && as_dir=.
19447 for ac_exec_ext in '' $ac_executable_extensions; do
19448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19449 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
19450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19460 XSLTPROC=$ac_cv_path_XSLTPROC
19461 if test -n "$XSLTPROC"; then
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
19463 $as_echo "$XSLTPROC" >&6; }
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19466 $as_echo "no" >&6; }
19470 if test -z "$XSLTPROC"; then
19475 if test x$enable_man != xno; then
19477 ENABLE_MAN_FALSE='#'
19479 ENABLE_MAN_TRUE='#'
19485 ##################################################
19486 # Check for -Bsymbolic-functions linker flag used
19487 # to avoid intra-library PLT jumps, if available.
19488 ##################################################
19490 # Check whether --enable-Bsymbolic was given.
19491 if test "${enable_Bsymbolic+set}" = set; then :
19492 enableval=$enable_Bsymbolic;
19494 SAVED_LDFLAGS="${LDFLAGS}"
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
19496 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
19497 LDFLAGS=-Wl,-Bsymbolic-functions
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19504 int main (void) { return 0; }
19509 if ac_fn_c_try_link "$LINENO"; then :
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19511 $as_echo "yes" >&6; }
19512 enable_Bsymbolic=yes
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516 enable_Bsymbolic=no
19518 rm -f core conftest.err conftest.$ac_objext \
19519 conftest$ac_exeext conftest.$ac_ext
19520 LDFLAGS="${SAVED_LDFLAGS}"
19524 if test "x${enable_Bsymbolic}" = "xyes"; then
19525 GDK_PIXBUF_LINK_FLAGS=-Wl,-Bsymbolic-functions
19531 ##################################################
19533 ##################################################
19535 ac_config_files="$ac_config_files Makefile gdk-pixbuf-2.0.pc gdk-pixbuf-2.0-uninstalled.pc gdk-pixbuf/Makefile gdk-pixbuf/gdk_pixbuf.rc gdk-pixbuf/gdk-pixbuf-features.h gdk-pixbuf/pixops/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile docs/Makefile docs/reference/Makefile docs/reference/gdk-pixbuf/Makefile docs/reference/gdk-pixbuf/version.xml po/Makefile.in tests/Makefile contrib/Makefile contrib/gdk-pixbuf-xlib/Makefile contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc config.h.win32"
19538 cat >confcache <<\_ACEOF
19539 # This file is a shell script that caches the results of configure
19540 # tests run on this system so they can be shared between configure
19541 # scripts and configure runs, see configure's option --config-cache.
19542 # It is not useful on other systems. If it contains results you don't
19543 # want to keep, you may remove or edit it.
19545 # config.status only pays attention to the cache file if you give it
19546 # the --recheck option to rerun configure.
19548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19550 # following values.
19554 # The following way of writing the cache mishandles newlines in values,
19555 # but we know of no workaround that is simple, portable, and efficient.
19556 # So, we kill variables containing newlines.
19557 # Ultrix sh set writes to stderr and can't be redirected directly,
19558 # and sets the high bit in the cache file unless we assign to the vars.
19560 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19561 eval ac_val=\$$ac_var
19565 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19569 _ | IFS | as_nl) ;; #(
19570 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19571 *) { eval $ac_var=; unset $ac_var;} ;;
19577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19578 *${as_nl}ac_space=\ *)
19579 # `set' does not quote correctly, so add quotes: double-quote
19580 # substitution turns \\\\ into \\, and sed turns \\ into \.
19583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19586 # `set' quotes correctly as required by POSIX, so do not add quotes.
19587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19601 if test -w "$cache_file"; then
19602 if test "x$cache_file" != "x/dev/null"; then
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19604 $as_echo "$as_me: updating cache $cache_file" >&6;}
19605 if test ! -f "$cache_file" || test -h "$cache_file"; then
19606 cat confcache >"$cache_file"
19608 case $cache_file in #(
19610 mv -f confcache "$cache_file"$$ &&
19611 mv -f "$cache_file"$$ "$cache_file" ;; #(
19613 mv -f confcache "$cache_file" ;;
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19619 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19624 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19625 # Let make expand exec_prefix.
19626 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19628 DEFS=-DHAVE_CONFIG_H
19633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19634 # 1. Remove the extension, and $U if already installed.
19635 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19638 # will be set to the directory where LIBOBJS objects are built.
19639 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19640 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19642 LIBOBJS=$ac_libobjs
19644 LTLIBOBJS=$ac_ltlibobjs
19647 if test -n "$EXEEXT"; then
19649 am__EXEEXT_FALSE='#'
19651 am__EXEEXT_TRUE='#'
19655 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19656 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19659 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19660 as_fn_error $? "conditional \"AMDEP\" was never defined.
19661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19663 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19664 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19667 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
19668 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
19669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19671 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
19672 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
19673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19675 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19676 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19679 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
19680 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
19681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19683 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
19684 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
19685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19687 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
19688 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
19689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19691 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
19692 as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
19693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19695 if test -z "${BUILD_GDIPLUS_LOADERS_TRUE}" && test -z "${BUILD_GDIPLUS_LOADERS_FALSE}"; then
19696 as_fn_error $? "conditional \"BUILD_GDIPLUS_LOADERS\" was never defined.
19697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19699 if test -z "${BUILD_DYNAMIC_MODULES_TRUE}" && test -z "${BUILD_DYNAMIC_MODULES_FALSE}"; then
19700 as_fn_error $? "conditional \"BUILD_DYNAMIC_MODULES\" was never defined.
19701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19703 if test -z "${INCLUDE_PNG_TRUE}" && test -z "${INCLUDE_PNG_FALSE}"; then
19704 as_fn_error $? "conditional \"INCLUDE_PNG\" was never defined.
19705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19707 if test -z "${INCLUDE_BMP_TRUE}" && test -z "${INCLUDE_BMP_FALSE}"; then
19708 as_fn_error $? "conditional \"INCLUDE_BMP\" was never defined.
19709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19711 if test -z "${INCLUDE_WBMP_TRUE}" && test -z "${INCLUDE_WBMP_FALSE}"; then
19712 as_fn_error $? "conditional \"INCLUDE_WBMP\" was never defined.
19713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19715 if test -z "${INCLUDE_GIF_TRUE}" && test -z "${INCLUDE_GIF_FALSE}"; then
19716 as_fn_error $? "conditional \"INCLUDE_GIF\" was never defined.
19717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19719 if test -z "${INCLUDE_ICO_TRUE}" && test -z "${INCLUDE_ICO_FALSE}"; then
19720 as_fn_error $? "conditional \"INCLUDE_ICO\" was never defined.
19721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19723 if test -z "${INCLUDE_ANI_TRUE}" && test -z "${INCLUDE_ANI_FALSE}"; then
19724 as_fn_error $? "conditional \"INCLUDE_ANI\" was never defined.
19725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19727 if test -z "${INCLUDE_JPEG_TRUE}" && test -z "${INCLUDE_JPEG_FALSE}"; then
19728 as_fn_error $? "conditional \"INCLUDE_JPEG\" was never defined.
19729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19731 if test -z "${INCLUDE_PNM_TRUE}" && test -z "${INCLUDE_PNM_FALSE}"; then
19732 as_fn_error $? "conditional \"INCLUDE_PNM\" was never defined.
19733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19735 if test -z "${INCLUDE_RAS_TRUE}" && test -z "${INCLUDE_RAS_FALSE}"; then
19736 as_fn_error $? "conditional \"INCLUDE_RAS\" was never defined.
19737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19739 if test -z "${INCLUDE_TIFF_TRUE}" && test -z "${INCLUDE_TIFF_FALSE}"; then
19740 as_fn_error $? "conditional \"INCLUDE_TIFF\" was never defined.
19741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19743 if test -z "${INCLUDE_XPM_TRUE}" && test -z "${INCLUDE_XPM_FALSE}"; then
19744 as_fn_error $? "conditional \"INCLUDE_XPM\" was never defined.
19745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19747 if test -z "${INCLUDE_XBM_TRUE}" && test -z "${INCLUDE_XBM_FALSE}"; then
19748 as_fn_error $? "conditional \"INCLUDE_XBM\" was never defined.
19749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19751 if test -z "${INCLUDE_TGA_TRUE}" && test -z "${INCLUDE_TGA_FALSE}"; then
19752 as_fn_error $? "conditional \"INCLUDE_TGA\" was never defined.
19753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19755 if test -z "${INCLUDE_PCX_TRUE}" && test -z "${INCLUDE_PCX_FALSE}"; then
19756 as_fn_error $? "conditional \"INCLUDE_PCX\" was never defined.
19757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19759 if test -z "${INCLUDE_ICNS_TRUE}" && test -z "${INCLUDE_ICNS_FALSE}"; then
19760 as_fn_error $? "conditional \"INCLUDE_ICNS\" was never defined.
19761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19763 if test -z "${INCLUDE_JASPER_TRUE}" && test -z "${INCLUDE_JASPER_FALSE}"; then
19764 as_fn_error $? "conditional \"INCLUDE_JASPER\" was never defined.
19765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19767 if test -z "${INCLUDE_QTIF_TRUE}" && test -z "${INCLUDE_QTIF_FALSE}"; then
19768 as_fn_error $? "conditional \"INCLUDE_QTIF\" was never defined.
19769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19771 if test -z "${INCLUDE_GDIPLUS_TRUE}" && test -z "${INCLUDE_GDIPLUS_FALSE}"; then
19772 as_fn_error $? "conditional \"INCLUDE_GDIPLUS\" was never defined.
19773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19775 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
19776 as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
19777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19779 if test -z "${HAVE_PNG_TRUE}" && test -z "${HAVE_PNG_FALSE}"; then
19780 as_fn_error $? "conditional \"HAVE_PNG\" was never defined.
19781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19783 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
19784 as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
19785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19787 if test -z "${HAVE_JASPER_TRUE}" && test -z "${HAVE_JASPER_FALSE}"; then
19788 as_fn_error $? "conditional \"HAVE_JASPER\" was never defined.
19789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19791 if test -z "${USE_MEDIALIB_TRUE}" && test -z "${USE_MEDIALIB_FALSE}"; then
19792 as_fn_error $? "conditional \"USE_MEDIALIB\" was never defined.
19793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19795 if test -z "${USE_MEDIALIB25_TRUE}" && test -z "${USE_MEDIALIB25_FALSE}"; then
19796 as_fn_error $? "conditional \"USE_MEDIALIB25\" was never defined.
19797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19799 if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
19800 as_fn_error $? "conditional \"USE_MMX\" was never defined.
19801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19803 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
19804 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
19805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19807 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
19808 as_fn_error $? "conditional \"USE_X11\" was never defined.
19809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19811 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
19812 as_fn_error $? "conditional \"USE_X11\" was never defined.
19813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19815 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19816 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19820 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19824 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19827 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19828 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19831 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19832 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19835 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19836 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19839 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
19840 as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
19841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19843 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
19844 as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
19845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19848 : "${CONFIG_STATUS=./config.status}"
19850 ac_clean_files_save=$ac_clean_files
19851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19857 # Generated by $as_me.
19858 # Run this file to recreate the current configuration.
19859 # Compiler output produced by configure, useful for debugging
19860 # configure, is in config.log if it exists.
19863 ac_cs_recheck=false
19866 SHELL=\${CONFIG_SHELL-$SHELL}
19869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19870 ## -------------------- ##
19871 ## M4sh Initialization. ##
19872 ## -------------------- ##
19874 # Be more Bourne compatible
19875 DUALCASE=1; export DUALCASE # for MKS sh
19876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19879 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19880 # is contrary to our usage. Disable this feature.
19881 alias -g '${1+"$@"}'='"$@"'
19882 setopt NO_GLOB_SUBST
19884 case `(set -o) 2>/dev/null` in #(
19896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19900 # Prefer a ksh shell builtin over an external printf program on Solaris,
19901 # but without wasting forks for bash or zsh.
19902 if test -z "$BASH_VERSION$ZSH_VERSION" \
19903 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19904 as_echo='print -r --'
19905 as_echo_n='print -rn --'
19906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19907 as_echo='printf %s\n'
19908 as_echo_n='printf %s'
19910 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19911 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19912 as_echo_n='/usr/ucb/echo -n'
19914 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19915 as_echo_n_body='eval
19919 expr "X$arg" : "X\\(.*\\)$as_nl";
19920 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19922 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19924 export as_echo_n_body
19925 as_echo_n='sh -c $as_echo_n_body as_echo'
19927 export as_echo_body
19928 as_echo='sh -c $as_echo_body as_echo'
19931 # The user is always right.
19932 if test "${PATH_SEPARATOR+set}" != set; then
19934 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19935 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19942 # We need space, tab and new line, in precisely that order. Quoting is
19943 # there to prevent editors from complaining about space-tab.
19944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19945 # splitting by setting IFS to empty value.)
19948 # Find who we are. Look in the path if we contain no directory separator.
19951 *[\\/]* ) as_myself=$0 ;;
19952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19953 for as_dir in $PATH
19956 test -z "$as_dir" && as_dir=.
19957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19963 # We did not find ourselves, most probably we were run as `sh COMMAND'
19964 # in which case we are not to be found in the path.
19965 if test "x$as_myself" = x; then
19968 if test ! -f "$as_myself"; then
19969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19973 # Unset variables that we do not need and which cause bugs (e.g. in
19974 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19975 # suppresses any "Segmentation fault" message there. '((' could
19976 # trigger a bug in pdksh 5.2.14.
19977 for as_var in BASH_ENV ENV MAIL MAILPATH
19978 do eval test x\${$as_var+set} = xset \
19979 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19995 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19996 # ----------------------------------------
19997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19999 # script with STATUS, using 1 if that was 0.
20002 as_status=$1; test $as_status -eq 0 && as_status=1
20004 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20005 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20007 $as_echo "$as_me: error: $2" >&2
20008 as_fn_exit $as_status
20012 # as_fn_set_status STATUS
20013 # -----------------------
20014 # Set $? to STATUS, without forking.
20015 as_fn_set_status ()
20018 } # as_fn_set_status
20020 # as_fn_exit STATUS
20021 # -----------------
20022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20026 as_fn_set_status $1
20032 # Portably unset VAR.
20035 { eval $1=; unset $1;}
20037 as_unset=as_fn_unset
20038 # as_fn_append VAR VALUE
20039 # ----------------------
20040 # Append the text in VALUE to the end of the definition contained in VAR. Take
20041 # advantage of any shell optimizations that allow amortized linear growth over
20042 # repeated appends, instead of the typical quadratic growth present in naive
20044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20045 eval 'as_fn_append ()
20056 # as_fn_arith ARG...
20057 # ------------------
20058 # Perform arithmetic evaluation on the ARGs, and store the result in the
20059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20060 # must be portable across $(()) and expr.
20061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20062 eval 'as_fn_arith ()
20069 as_val=`expr "$@" || test $? -eq 1`
20074 if expr a : '\(a\)' >/dev/null 2>&1 &&
20075 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20082 as_basename=basename
20087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20093 as_me=`$as_basename -- "$0" ||
20094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20095 X"$0" : 'X\(//\)$' \| \
20096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20098 sed '/^.*\/\([^/][^/]*\)\/*$/{
20112 # Avoid depending upon Character Ranges.
20113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20116 as_cr_digits='0123456789'
20117 as_cr_alnum=$as_cr_Letters$as_cr_digits
20119 ECHO_C= ECHO_N= ECHO_T=
20120 case `echo -n x` in #(((((
20122 case `echo 'xy\c'` in
20123 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20125 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20132 rm -f conf$$ conf$$.exe conf$$.file
20133 if test -d conf$$.dir; then
20134 rm -f conf$$.dir/conf$$.file
20137 mkdir conf$$.dir 2>/dev/null
20139 if (echo >conf$$.file) 2>/dev/null; then
20140 if ln -s conf$$.file conf$$ 2>/dev/null; then
20142 # ... but there are two gotchas:
20143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20145 # In both cases, we have to default to `cp -p'.
20146 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20148 elif ln conf$$.file conf$$ 2>/dev/null; then
20156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20157 rmdir conf$$.dir 2>/dev/null
20162 # Create "$as_dir" as a directory, including parents if necessary.
20167 -*) as_dir=./$as_dir;;
20169 test -d "$as_dir" || eval $as_mkdir_p || {
20173 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20174 *) as_qdir=$as_dir;;
20176 as_dirs="'$as_qdir' $as_dirs"
20177 as_dir=`$as_dirname -- "$as_dir" ||
20178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20179 X"$as_dir" : 'X\(//\)[^/]' \| \
20180 X"$as_dir" : 'X\(//\)$' \| \
20181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20182 $as_echo X"$as_dir" |
20183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20187 /^X\(\/\/\)[^/].*/{
20200 test -d "$as_dir" && break
20202 test -z "$as_dirs" || eval "mkdir $as_dirs"
20203 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20207 if mkdir -p . 2>/dev/null; then
20208 as_mkdir_p='mkdir -p "$as_dir"'
20210 test -d ./-p && rmdir ./-p
20214 if test -x / >/dev/null 2>&1; then
20215 as_test_x='test -x'
20217 if ls -dL / >/dev/null 2>&1; then
20224 if test -d "$1"; then
20230 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20231 ???[sx]*):;;*)false;;esac;fi
20235 as_executable_p=$as_test_x
20237 # Sed expression to map a string onto a valid CPP name.
20238 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20240 # Sed expression to map a string onto a valid variable name.
20241 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20245 ## ----------------------------------- ##
20246 ## Main body of $CONFIG_STATUS script. ##
20247 ## ----------------------------------- ##
20249 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20252 # Save the log message, to keep $0 and so on meaningful, and to
20253 # report actual input values of CONFIG_FILES etc. instead of their
20254 # values after options handling.
20256 This file was extended by gdk-pixbuf $as_me 2.26.1, which was
20257 generated by GNU Autoconf 2.68. Invocation command line was
20259 CONFIG_FILES = $CONFIG_FILES
20260 CONFIG_HEADERS = $CONFIG_HEADERS
20261 CONFIG_LINKS = $CONFIG_LINKS
20262 CONFIG_COMMANDS = $CONFIG_COMMANDS
20265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20270 case $ac_config_files in *"
20271 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20274 case $ac_config_headers in *"
20275 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20280 # Files that config.status was made for.
20281 config_files="$ac_config_files"
20282 config_headers="$ac_config_headers"
20283 config_commands="$ac_config_commands"
20287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20289 \`$as_me' instantiates files and other configuration actions
20290 from templates according to the current configuration. Unless the files
20291 and actions are specified as TAGs, all are instantiated by default.
20293 Usage: $0 [OPTION]... [TAG]...
20295 -h, --help print this help, then exit
20296 -V, --version print version number and configuration settings, then exit
20297 --config print configuration, then exit
20298 -q, --quiet, --silent
20299 do not print progress messages
20300 -d, --debug don't remove temporary files
20301 --recheck update $as_me by reconfiguring in the same conditions
20302 --file=FILE[:TEMPLATE]
20303 instantiate the configuration file FILE
20304 --header=FILE[:TEMPLATE]
20305 instantiate the configuration header FILE
20307 Configuration files:
20310 Configuration headers:
20313 Configuration commands:
20316 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>."
20319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20320 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20322 gdk-pixbuf config.status 2.26.1
20323 configured by $0, generated by GNU Autoconf 2.68,
20324 with options \\"\$ac_cs_config\\"
20326 Copyright (C) 2010 Free Software Foundation, Inc.
20327 This config.status script is free software; the Free Software Foundation
20328 gives unlimited permission to copy, distribute and modify it."
20335 test -n "\$AWK" || AWK=awk
20338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20339 # The default lists apply if the user does not specify any file.
20345 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20346 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20350 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20362 # Handling of the options.
20363 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20365 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20366 $as_echo "$ac_cs_version"; exit ;;
20367 --config | --confi | --conf | --con | --co | --c )
20368 $as_echo "$ac_cs_config"; exit ;;
20369 --debug | --debu | --deb | --de | --d | -d )
20371 --file | --fil | --fi | --f )
20374 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20375 '') as_fn_error $? "missing file argument" ;;
20377 as_fn_append CONFIG_FILES " '$ac_optarg'"
20378 ac_need_defaults=false;;
20379 --header | --heade | --head | --hea )
20382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20384 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20385 ac_need_defaults=false;;
20387 # Conflict between --help and --header
20388 as_fn_error $? "ambiguous option: \`$1'
20389 Try \`$0 --help' for more information.";;
20390 --help | --hel | -h )
20391 $as_echo "$ac_cs_usage"; exit ;;
20392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20396 # This is an error.
20397 -*) as_fn_error $? "unrecognized option: \`$1'
20398 Try \`$0 --help' for more information." ;;
20400 *) as_fn_append ac_config_targets " $1"
20401 ac_need_defaults=false ;;
20407 ac_configure_extra_args=
20409 if $ac_cs_silent; then
20411 ac_configure_extra_args="$ac_configure_extra_args --silent"
20415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20416 if \$ac_cs_recheck; then
20417 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20419 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20420 CONFIG_SHELL='$SHELL'
20421 export CONFIG_SHELL
20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20431 ## Running $as_me. ##
20437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20441 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20444 # The HP-UX ksh and POSIX shell print the target directory to stdout
20445 # if CDPATH is set.
20446 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20448 sed_quote_subst='$sed_quote_subst'
20449 double_quote_subst='$double_quote_subst'
20450 delay_variable_subst='$delay_variable_subst'
20451 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20452 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20453 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20454 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20455 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20456 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20457 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20458 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20459 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20460 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20461 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20462 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20463 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20464 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20465 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20466 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20467 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20468 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20469 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20470 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20471 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20472 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20473 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20474 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20475 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20476 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20477 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20478 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20479 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20480 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20481 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20482 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20483 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20484 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20485 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20486 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20487 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20488 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20489 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20490 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20491 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20492 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20493 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20494 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20495 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20496 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20497 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20498 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20499 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20500 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20501 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20502 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20503 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20504 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20505 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20506 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20507 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20509 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20510 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20511 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20512 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20513 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20514 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20515 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20516 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20517 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20518 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20519 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20520 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20521 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20522 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20523 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20524 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20525 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20526 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20527 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20528 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20529 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20530 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20531 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20532 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20533 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20534 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20535 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20536 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20537 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20538 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20539 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20540 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20541 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20542 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20543 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20544 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20545 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20546 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20547 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20548 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20549 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20550 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20551 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20552 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20553 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20554 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20555 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20556 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20557 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20558 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20559 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20560 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20561 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20562 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20563 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20564 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20565 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20566 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20567 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20568 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20569 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20570 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20571 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20572 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20573 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20574 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20575 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20576 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20577 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20578 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20579 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20580 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20581 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20584 LTCFLAGS='$LTCFLAGS'
20585 compiler='$compiler_DEFAULT'
20587 # A function that is used when there is no print builtin or printf.
20588 func_fallback_echo ()
20590 eval 'cat <<_LTECHO_EOF
20595 # Quote evaled strings.
20612 deplibs_check_method \
20616 sharedlib_from_linklib_cmd \
20619 archiver_list_spec \
20625 lt_cv_sys_global_symbol_pipe \
20626 lt_cv_sys_global_symbol_to_cdecl \
20627 lt_cv_sys_global_symbol_to_c_name_address \
20628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20629 nm_file_list_spec \
20630 lt_prog_compiler_no_builtin_flag \
20631 lt_prog_compiler_pic \
20632 lt_prog_compiler_wl \
20633 lt_prog_compiler_static \
20634 lt_cv_prog_compiler_c_o \
20643 export_dynamic_flag_spec \
20644 whole_archive_flag_spec \
20645 compiler_needs_object \
20647 allow_undefined_flag \
20648 no_undefined_flag \
20649 hardcode_libdir_flag_spec \
20650 hardcode_libdir_separator \
20654 variables_saved_for_relink \
20656 library_names_spec \
20658 install_override_mode \
20662 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20663 *[\\\\\\\`\\"\\\$]*)
20664 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20667 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20672 # Double-quote double-evaled strings.
20673 for var in reload_cmds \
20674 old_postinstall_cmds \
20675 old_postuninstall_cmds \
20677 extract_expsyms_cmds \
20678 old_archive_from_new_cmds \
20679 old_archive_from_expsyms_cmds \
20681 archive_expsym_cmds \
20683 module_expsym_cmds \
20684 export_symbols_cmds \
20688 postuninstall_cmds \
20690 sys_lib_search_path_spec \
20691 sys_lib_dlsearch_path_spec; do
20692 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20693 *[\\\\\\\`\\"\\\$]*)
20694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20697 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20702 ac_aux_dir='$ac_aux_dir'
20703 xsi_shell='$xsi_shell'
20704 lt_shell_append='$lt_shell_append'
20706 # See if we are running on zsh, and set the options which allow our
20707 # commands through without removal of \ escapes INIT.
20708 if test -n "\${ZSH_VERSION+set}" ; then
20709 setopt NO_GLOB_SUBST
20715 TIMESTAMP='$TIMESTAMP'
20719 ac_aux_dir='$ac_aux_dir'
20722 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20723 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20724 # from automake < 1.5.
20725 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20726 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20727 LINGUAS="${LINGUAS-%UNSET%}"
20732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20734 # Handling of arguments.
20735 for ac_config_target in $ac_config_targets
20737 case $ac_config_target in
20738 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20739 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20740 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20741 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20742 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20743 "gdk-pixbuf-2.0.pc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf-2.0.pc" ;;
20744 "gdk-pixbuf-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf-2.0-uninstalled.pc" ;;
20745 "gdk-pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/Makefile" ;;
20746 "gdk-pixbuf/gdk_pixbuf.rc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/gdk_pixbuf.rc" ;;
20747 "gdk-pixbuf/gdk-pixbuf-features.h") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/gdk-pixbuf-features.h" ;;
20748 "gdk-pixbuf/pixops/Makefile") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/pixops/Makefile" ;;
20749 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
20750 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
20751 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
20752 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
20753 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20754 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
20755 "docs/reference/gdk-pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk-pixbuf/Makefile" ;;
20756 "docs/reference/gdk-pixbuf/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk-pixbuf/version.xml" ;;
20757 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20758 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20759 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
20760 "contrib/gdk-pixbuf-xlib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/gdk-pixbuf-xlib/Makefile" ;;
20761 "contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc") CONFIG_FILES="$CONFIG_FILES contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc" ;;
20762 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
20764 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20769 # If the user did not use the arguments to specify the items to instantiate,
20770 # then the envvar interface is used. Set only those that are not.
20771 # We use the long form for the default assignment because of an extremely
20772 # bizarre bug on SunOS 4.1.3.
20773 if $ac_need_defaults; then
20774 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20775 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20776 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20779 # Have a temporary directory for convenience. Make it in the build tree
20780 # simply because there is no reason against having it here, and in addition,
20781 # creating and moving files from /tmp can sometimes cause problems.
20782 # Hook for its removal unless debugging.
20783 # Note that there is a small window in which the directory will not be cleaned:
20784 # after its creation but before its name has been assigned to `$tmp'.
20788 trap 'exit_status=$?
20789 : "${ac_tmp:=$tmp}"
20790 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20792 trap 'as_fn_exit 1' 1 2 13 15
20794 # Create a (secure) tmp directory for tmp files.
20797 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20801 tmp=./conf$$-$RANDOM
20802 (umask 077 && mkdir "$tmp")
20803 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20806 # Set up the scripts for CONFIG_FILES section.
20807 # No need to generate them if there are no CONFIG_FILES.
20808 # This happens for instance with `./config.status config.h'.
20809 if test -n "$CONFIG_FILES"; then
20812 ac_cr=`echo X | tr X '\015'`
20813 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20814 # But we know of no other shell where ac_cr would be empty at this
20815 # point, so we can use a bashism as a fallback.
20816 if test "x$ac_cr" = x; then
20817 eval ac_cr=\$\'\\r\'
20819 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20820 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20823 ac_cs_awk_cr=$ac_cr
20826 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20831 echo "cat >conf$$subs.awk <<_ACEOF" &&
20832 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20834 } >conf$$subs.sh ||
20835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20836 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20838 for ac_last_try in false false false false false :; do
20839 . ./conf$$subs.sh ||
20840 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20842 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20843 if test $ac_delim_n = $ac_delim_num; then
20845 elif $ac_last_try; then
20846 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20848 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20851 rm -f conf$$subs.sh
20853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20854 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20858 s/^/S["/; s/!.*/"]=/
20868 s/\(.\{148\}\)..*/\1/
20870 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20875 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20882 s/\(.\{148\}\)..*/\1/
20884 s/["\\]/\\&/g; s/^/"/; s/$/"/
20888 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20893 ' <conf$$subs.awk | sed '
20898 ' >>$CONFIG_STATUS || ac_write_fail=1
20899 rm -f conf$$subs.awk
20900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20902 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20903 for (key in S) S_is_set[key] = 1
20909 nfields = split(line, field, "@")
20911 len = length(field[1])
20912 for (i = 2; i < nfields; i++) {
20914 keylen = length(key)
20915 if (S_is_set[key]) {
20917 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20918 len += length(value) + length(field[++i])
20929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20930 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20931 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20934 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20935 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20938 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20939 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20940 # trailing colons and then remove the whole line if VPATH becomes empty
20941 # (actually we leave an empty line to preserve line numbers).
20942 if test "x$srcdir" = x.; then
20943 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20962 fi # test -n "$CONFIG_FILES"
20964 # Set up the scripts for CONFIG_HEADERS section.
20965 # No need to generate them if there are no CONFIG_HEADERS.
20966 # This happens for instance with `./config.status Makefile'.
20967 if test -n "$CONFIG_HEADERS"; then
20968 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20972 # Transform confdefs.h into an awk script `defines.awk', embedded as
20973 # here-document in config.status, that substitutes the proper values into
20974 # config.h.in to produce config.h.
20976 # Create a delimiter string that does not exist in confdefs.h, to ease
20977 # handling of long lines.
20979 for ac_last_try in false false :; do
20980 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20981 if test -z "$ac_tt"; then
20983 elif $ac_last_try; then
20984 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20990 # For the awk script, D is an array of macro values keyed by name,
20991 # likewise P contains macro parameters if any. Preserve backslash
20992 # newline sequences.
20994 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20996 s/.\{148\}/&'"$ac_delim"'/g
20999 s/^[ ]*#[ ]*define[ ][ ]*/ /
21006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21008 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21012 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21013 D["\1"]=" \3\\\\\\n"\\/p
21015 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21020 s/.\{148\}/&'"$ac_delim"'/g
21025 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21028 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21030 ' <confdefs.h | sed '
21031 s/'"$ac_delim"'/"\\\
21032 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21035 for (key in D) D_is_set[key] = 1
21038 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21040 split(line, arg, " ")
21041 if (arg[1] == "#") {
21045 defundef = substr(arg[1], 2)
21048 split(mac1, mac2, "(") #)
21050 prefix = substr(line, 1, index(line, defundef) - 1)
21051 if (D_is_set[macro]) {
21052 # Preserve the white space surrounding the "#".
21053 print prefix "define", macro P[macro] D[macro]
21056 # Replace #undef with comments. This is necessary, for example,
21057 # in the case of _POSIX_SOURCE, which is predefined and required
21058 # on some systems where configure will not decide to define it.
21059 if (defundef == "undef") {
21060 print "/*", prefix defundef, macro, "*/"
21068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21069 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21070 fi # test -n "$CONFIG_HEADERS"
21073 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21078 :[FHLC]) ac_mode=$ac_tag; continue;;
21080 case $ac_mode$ac_tag in
21082 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21083 :[FH]-) ac_tag=-:-;;
21084 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21101 -) ac_f="$ac_tmp/stdin";;
21102 *) # Look for the file first in the build tree, then in the source tree
21103 # (if the path is not absolute). The absolute path cannot be DOS-style,
21104 # because $ac_f cannot contain `:'.
21108 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21110 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21112 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21113 as_fn_append ac_file_inputs " '$ac_f'"
21116 # Let's still pretend it is `configure' which instantiates (i.e., don't
21117 # use $as_me), people would be surprised to read:
21118 # /* config.h. Generated by config.status. */
21119 configure_input='Generated from '`
21120 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21122 if test x"$ac_file" != x-; then
21123 configure_input="$ac_file. $configure_input"
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21125 $as_echo "$as_me: creating $ac_file" >&6;}
21127 # Neutralize special characters interpreted by sed in replacement strings.
21128 case $configure_input in #(
21129 *\&* | *\|* | *\\* )
21130 ac_sed_conf_input=`$as_echo "$configure_input" |
21131 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21132 *) ac_sed_conf_input=$configure_input;;
21136 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21142 ac_dir=`$as_dirname -- "$ac_file" ||
21143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21144 X"$ac_file" : 'X\(//\)[^/]' \| \
21145 X"$ac_file" : 'X\(//\)$' \| \
21146 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21147 $as_echo X"$ac_file" |
21148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21152 /^X\(\/\/\)[^/].*/{
21165 as_dir="$ac_dir"; as_fn_mkdir_p
21169 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21171 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21172 # A ".." for each directory in $ac_dir_suffix.
21173 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21174 case $ac_top_builddir_sub in
21175 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21176 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21179 ac_abs_top_builddir=$ac_pwd
21180 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21181 # for backward compatibility:
21182 ac_top_builddir=$ac_top_build_prefix
21185 .) # We are building in place.
21187 ac_top_srcdir=$ac_top_builddir_sub
21188 ac_abs_top_srcdir=$ac_pwd ;;
21189 [\\/]* | ?:[\\/]* ) # Absolute name.
21190 ac_srcdir=$srcdir$ac_dir_suffix;
21191 ac_top_srcdir=$srcdir
21192 ac_abs_top_srcdir=$srcdir ;;
21193 *) # Relative name.
21194 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21195 ac_top_srcdir=$ac_top_build_prefix$srcdir
21196 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21198 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21208 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21209 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21211 ac_MKDIR_P=$MKDIR_P
21213 [\\/$]* | ?:[\\/]* ) ;;
21214 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21219 # If the template does not know about datarootdir, expand it.
21220 # FIXME: This hack should be removed a few years after 2.60.
21221 ac_datarootdir_hack=; ac_datarootdir_seen=
21232 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21233 *datarootdir*) ac_datarootdir_seen=yes;;
21234 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21236 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21239 ac_datarootdir_hack='
21240 s&@datadir@&$datadir&g
21241 s&@docdir@&$docdir&g
21242 s&@infodir@&$infodir&g
21243 s&@localedir@&$localedir&g
21244 s&@mandir@&$mandir&g
21245 s&\\\${datarootdir}&$datarootdir&g' ;;
21249 # Neutralize VPATH when `$srcdir' = `.'.
21250 # Shell code in configure.ac might set extrasub.
21251 # FIXME: do we really want to maintain this feature?
21252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21253 ac_sed_extra="$ac_vpsub
21256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21259 s|@configure_input@|$ac_sed_conf_input|;t t
21260 s&@top_builddir@&$ac_top_builddir_sub&;t t
21261 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21262 s&@srcdir@&$ac_srcdir&;t t
21263 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21264 s&@top_srcdir@&$ac_top_srcdir&;t t
21265 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21266 s&@builddir@&$ac_builddir&;t t
21267 s&@abs_builddir@&$ac_abs_builddir&;t t
21268 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21269 s&@INSTALL@&$ac_INSTALL&;t t
21270 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21271 $ac_datarootdir_hack
21273 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21274 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21276 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21277 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21278 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21279 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21281 which seems to be undefined. Please make sure it is defined" >&5
21282 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21283 which seems to be undefined. Please make sure it is defined" >&2;}
21285 rm -f "$ac_tmp/stdin"
21287 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21288 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21296 if test x"$ac_file" != x-; then
21298 $as_echo "/* $configure_input */" \
21299 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21300 } >"$ac_tmp/config.h" \
21301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21302 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21304 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21307 mv "$ac_tmp/config.h" "$ac_file" \
21308 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21311 $as_echo "/* $configure_input */" \
21312 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21313 || as_fn_error $? "could not create -" "$LINENO" 5
21315 # Compute "$ac_file"'s index in $config_headers.
21318 for _am_header in $config_headers :; do
21319 case $_am_header in
21320 $_am_arg | $_am_arg:* )
21323 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21326 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21327 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21328 X"$_am_arg" : 'X\(//\)[^/]' \| \
21329 X"$_am_arg" : 'X\(//\)$' \| \
21330 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21331 $as_echo X"$_am_arg" |
21332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21336 /^X\(\/\/\)[^/].*/{
21348 s/.*/./; q'`/stamp-h$_am_stamp_count
21351 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21352 $as_echo "$as_me: executing $ac_file commands" >&6;}
21357 case $ac_file$ac_mode in
21358 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21359 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21360 # are listed without --file. Let's play safe and only enable the eval
21361 # if we detect the quoting.
21362 case $CONFIG_FILES in
21363 *\'*) eval set x "$CONFIG_FILES" ;;
21364 *) set x $CONFIG_FILES ;;
21369 # Strip MF so we end up with the name of the file.
21370 mf=`echo "$mf" | sed -e 's/:.*$//'`
21371 # Check whether this is an Automake generated Makefile or not.
21372 # We used to match only the files named `Makefile.in', but
21373 # some people rename them; so instead we look at the file content.
21374 # Grep'ing the first line is not enough: some people post-process
21375 # each Makefile.in and add a new line on top of each file to say so.
21376 # Grep'ing the whole file is not good either: AIX grep has a line
21377 # limit of 2048, but all sed's we know have understand at least 4000.
21378 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21379 dirpart=`$as_dirname -- "$mf" ||
21380 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21381 X"$mf" : 'X\(//\)[^/]' \| \
21382 X"$mf" : 'X\(//\)$' \| \
21383 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21389 /^X\(\/\/\)[^/].*/{
21405 # Extract the definition of DEPDIR, am__include, and am__quote
21406 # from the Makefile without running `make'.
21407 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21408 test -z "$DEPDIR" && continue
21409 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21410 test -z "am__include" && continue
21411 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21412 # When using ansi2knr, U may be empty or an underscore; expand it
21413 U=`sed -n 's/^U = //p' < "$mf"`
21414 # Find all dependency output files, they are included files with
21415 # $(DEPDIR) in their names. We invoke sed twice because it is the
21416 # simplest approach to changing $(DEPDIR) to its actual value in the
21418 for file in `sed -n "
21419 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21420 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21421 # Make sure the directory exists.
21422 test -f "$dirpart/$file" && continue
21423 fdir=`$as_dirname -- "$file" ||
21424 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21425 X"$file" : 'X\(//\)[^/]' \| \
21426 X"$file" : 'X\(//\)$' \| \
21427 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21428 $as_echo X"$file" |
21429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21433 /^X\(\/\/\)[^/].*/{
21446 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21447 # echo "creating $dirpart/$file"
21448 echo '# dummy' > "$dirpart/$file"
21455 # See if we are running on zsh, and set the options which allow our
21456 # commands through without removal of \ escapes.
21457 if test -n "${ZSH_VERSION+set}" ; then
21458 setopt NO_GLOB_SUBST
21461 cfgfile="${ofile}T"
21462 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21465 cat <<_LT_EOF >> "$cfgfile"
21468 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21469 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21470 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21471 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21473 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21474 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21476 # Written by Gordon Matzigkeit, 1996
21478 # This file is part of GNU Libtool.
21480 # GNU Libtool is free software; you can redistribute it and/or
21481 # modify it under the terms of the GNU General Public License as
21482 # published by the Free Software Foundation; either version 2 of
21483 # the License, or (at your option) any later version.
21485 # As a special exception to the GNU General Public License,
21486 # if you distribute this file as part of a program or library that
21487 # is built using GNU Libtool, you may include this file under the
21488 # same distribution terms that you use for the rest of that program.
21490 # GNU Libtool is distributed in the hope that it will be useful,
21491 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21492 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21493 # GNU General Public License for more details.
21495 # You should have received a copy of the GNU General Public License
21496 # along with GNU Libtool; see the file COPYING. If not, a copy
21497 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21498 # obtained by writing to the Free Software Foundation, Inc.,
21499 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21502 # The names of the tagged configurations supported by this script.
21505 # ### BEGIN LIBTOOL CONFIG
21507 # Which release of libtool.m4 was used?
21508 macro_version=$macro_version
21509 macro_revision=$macro_revision
21511 # Whether or not to build static libraries.
21512 build_old_libs=$enable_static
21514 # Assembler program.
21517 # DLL creation program.
21518 DLLTOOL=$lt_DLLTOOL
21520 # Object dumper program.
21521 OBJDUMP=$lt_OBJDUMP
21523 # Whether or not to build shared libraries.
21524 build_libtool_libs=$enable_shared
21526 # What type of objects to build.
21529 # Whether or not to optimize for fast installation.
21530 fast_install=$enable_fast_install
21532 # Shell to use when invoking shell scripts.
21535 # An echo program that protects backslashes.
21538 # The PATH separator for the build system.
21539 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21542 host_alias=$host_alias
21546 # The build system.
21547 build_alias=$build_alias
21551 # A sed program that does not truncate output.
21554 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21555 Xsed="\$SED -e 1s/^X//"
21557 # A grep program that handles long lines.
21563 # A literal string matcher.
21566 # A BSD- or MS-compatible name lister.
21569 # Whether we need soft or hard links.
21572 # What is the maximum length of a command?
21573 max_cmd_len=$max_cmd_len
21575 # Object file suffix (normally "o").
21578 # Executable file suffix (normally "").
21581 # whether the shell understands "unset".
21584 # turn spaces into newlines.
21587 # turn newlines into spaces.
21590 # convert \$build file names to \$host format.
21591 to_host_file_cmd=$lt_cv_to_host_file_cmd
21593 # convert \$build files to toolchain format.
21594 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21596 # Method to check whether dependent libraries are shared objects.
21597 deplibs_check_method=$lt_deplibs_check_method
21599 # Command to use when deplibs_check_method = "file_magic".
21600 file_magic_cmd=$lt_file_magic_cmd
21602 # How to find potential files when deplibs_check_method = "file_magic".
21603 file_magic_glob=$lt_file_magic_glob
21605 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21606 want_nocaseglob=$lt_want_nocaseglob
21608 # Command to associate shared and link libraries.
21609 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21614 # Flags to create an archive.
21615 AR_FLAGS=$lt_AR_FLAGS
21617 # How to feed a file listing to the archiver.
21618 archiver_list_spec=$lt_archiver_list_spec
21620 # A symbol stripping program.
21623 # Commands used to install an old-style archive.
21625 old_postinstall_cmds=$lt_old_postinstall_cmds
21626 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21628 # Whether to use a lock for old archive extraction.
21629 lock_old_archive_extraction=$lock_old_archive_extraction
21634 # LTCC compiler flags.
21635 LTCFLAGS=$lt_CFLAGS
21637 # Take the output of nm and produce a listing of raw symbols and C names.
21638 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21640 # Transform the output of nm in a proper C declaration.
21641 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21643 # Transform the output of nm in a C name address pair.
21644 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21646 # Transform the output of nm in a C name address pair when lib prefix is needed.
21647 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21649 # Specify filename containing input files for \$NM.
21650 nm_file_list_spec=$lt_nm_file_list_spec
21652 # The root where to search for dependent libraries,and in which our libraries should be installed.
21653 lt_sysroot=$lt_sysroot
21655 # The name of the directory that contains temporary libtool files.
21658 # Used to examine libraries when file_magic_cmd begins with "file".
21659 MAGIC_CMD=$MAGIC_CMD
21661 # Must we lock files when doing compilation?
21662 need_locks=$lt_need_locks
21665 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21667 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21668 DSYMUTIL=$lt_DSYMUTIL
21670 # Tool to change global to local symbols on Mac OS X.
21673 # Tool to manipulate fat objects and archives on Mac OS X.
21676 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21679 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21680 OTOOL64=$lt_OTOOL64
21682 # Old archive suffix (normally "a").
21685 # Shared library suffix (normally ".so").
21686 shrext_cmds=$lt_shrext_cmds
21688 # The commands to extract the exported symbol list from a shared archive.
21689 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21691 # Variables whose values should be saved in libtool wrapper scripts and
21692 # restored at link time.
21693 variables_saved_for_relink=$lt_variables_saved_for_relink
21695 # Do we need the "lib" prefix for modules?
21696 need_lib_prefix=$need_lib_prefix
21698 # Do we need a version for libraries?
21699 need_version=$need_version
21701 # Library versioning type.
21702 version_type=$version_type
21704 # Shared library runtime path variable.
21705 runpath_var=$runpath_var
21707 # Shared library path variable.
21708 shlibpath_var=$shlibpath_var
21710 # Is shlibpath searched before the hard-coded library search path?
21711 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21713 # Format of library name prefix.
21714 libname_spec=$lt_libname_spec
21716 # List of archive names. First name is the real one, the rest are links.
21717 # The last name is the one that the linker finds with -lNAME
21718 library_names_spec=$lt_library_names_spec
21720 # The coded name of the library, if different from the real name.
21721 soname_spec=$lt_soname_spec
21723 # Permission mode override for installation of shared libraries.
21724 install_override_mode=$lt_install_override_mode
21726 # Command to use after installation of a shared archive.
21727 postinstall_cmds=$lt_postinstall_cmds
21729 # Command to use after uninstallation of a shared archive.
21730 postuninstall_cmds=$lt_postuninstall_cmds
21732 # Commands used to finish a libtool library installation in a directory.
21733 finish_cmds=$lt_finish_cmds
21735 # As "finish_cmds", except a single script fragment to be evaled but
21737 finish_eval=$lt_finish_eval
21739 # Whether we should hardcode library paths into libraries.
21740 hardcode_into_libs=$hardcode_into_libs
21742 # Compile-time system search path for libraries.
21743 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21745 # Run-time system search path for libraries.
21746 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21748 # Whether dlopen is supported.
21749 dlopen_support=$enable_dlopen
21751 # Whether dlopen of programs is supported.
21752 dlopen_self=$enable_dlopen_self
21754 # Whether dlopen of statically linked programs is supported.
21755 dlopen_self_static=$enable_dlopen_self_static
21757 # Commands to strip libraries.
21758 old_striplib=$lt_old_striplib
21759 striplib=$lt_striplib
21762 # The linker used to build libraries.
21765 # How to create reloadable object files.
21766 reload_flag=$lt_reload_flag
21767 reload_cmds=$lt_reload_cmds
21769 # Commands used to build an old-style archive.
21770 old_archive_cmds=$lt_old_archive_cmds
21772 # A language specific compiler.
21775 # Is the compiler the GNU compiler?
21778 # Compiler flag to turn off builtin functions.
21779 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21781 # Additional compiler flags for building library objects.
21782 pic_flag=$lt_lt_prog_compiler_pic
21784 # How to pass a linker flag through the compiler.
21785 wl=$lt_lt_prog_compiler_wl
21787 # Compiler flag to prevent dynamic linking.
21788 link_static_flag=$lt_lt_prog_compiler_static
21790 # Does compiler simultaneously support -c and -o options?
21791 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21793 # Whether or not to add -lc for building shared libraries.
21794 build_libtool_need_lc=$archive_cmds_need_lc
21796 # Whether or not to disallow shared libs when runtime libs are static.
21797 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21799 # Compiler flag to allow reflexive dlopens.
21800 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21802 # Compiler flag to generate shared objects directly from archives.
21803 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21805 # Whether the compiler copes with passing no objects directly.
21806 compiler_needs_object=$lt_compiler_needs_object
21808 # Create an old-style archive from a shared archive.
21809 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21811 # Create a temporary old-style archive to link instead of a shared archive.
21812 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21814 # Commands used to build a shared archive.
21815 archive_cmds=$lt_archive_cmds
21816 archive_expsym_cmds=$lt_archive_expsym_cmds
21818 # Commands used to build a loadable module if different from building
21819 # a shared archive.
21820 module_cmds=$lt_module_cmds
21821 module_expsym_cmds=$lt_module_expsym_cmds
21823 # Whether we are building with GNU ld or not.
21824 with_gnu_ld=$lt_with_gnu_ld
21826 # Flag that allows shared libraries with undefined symbols to be built.
21827 allow_undefined_flag=$lt_allow_undefined_flag
21829 # Flag that enforces no undefined symbols.
21830 no_undefined_flag=$lt_no_undefined_flag
21832 # Flag to hardcode \$libdir into a binary during linking.
21833 # This must work even if \$libdir does not exist
21834 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21836 # Whether we need a single "-rpath" flag with a separated argument.
21837 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21840 # DIR into the resulting binary.
21841 hardcode_direct=$hardcode_direct
21843 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21844 # DIR into the resulting binary and the resulting library dependency is
21845 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21846 # library is relocated.
21847 hardcode_direct_absolute=$hardcode_direct_absolute
21849 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21850 # into the resulting binary.
21851 hardcode_minus_L=$hardcode_minus_L
21853 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21854 # into the resulting binary.
21855 hardcode_shlibpath_var=$hardcode_shlibpath_var
21857 # Set to "yes" if building a shared library automatically hardcodes DIR
21858 # into the library and all subsequent libraries and executables linked
21860 hardcode_automatic=$hardcode_automatic
21862 # Set to yes if linker adds runtime paths of dependent libraries
21863 # to runtime path list.
21864 inherit_rpath=$inherit_rpath
21866 # Whether libtool must link a program against all its dependency libraries.
21867 link_all_deplibs=$link_all_deplibs
21869 # Set to "yes" if exported symbols are required.
21870 always_export_symbols=$always_export_symbols
21872 # The commands to list exported symbols.
21873 export_symbols_cmds=$lt_export_symbols_cmds
21875 # Symbols that should not be listed in the preloaded symbols.
21876 exclude_expsyms=$lt_exclude_expsyms
21878 # Symbols that must always be exported.
21879 include_expsyms=$lt_include_expsyms
21881 # Commands necessary for linking programs (against libraries) with templates.
21882 prelink_cmds=$lt_prelink_cmds
21884 # Commands necessary for finishing linking programs.
21885 postlink_cmds=$lt_postlink_cmds
21887 # Specify filename containing input files.
21888 file_list_spec=$lt_file_list_spec
21890 # How to hardcode a shared library path into an executable.
21891 hardcode_action=$hardcode_action
21893 # ### END LIBTOOL CONFIG
21899 cat <<\_LT_EOF >> "$cfgfile"
21900 # AIX sometimes has problems with the GCC collect2 program. For some
21901 # reason, if we set the COLLECT_NAMES environment variable, the problems
21902 # vanish in a puff of smoke.
21903 if test "X${COLLECT_NAMES+set}" != Xset; then
21905 export COLLECT_NAMES
21912 ltmain="$ac_aux_dir/ltmain.sh"
21915 # We use sed instead of cat because bash on DJGPP gets confused if
21916 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21917 # text mode, it properly converts lines to CR/LF. This bash problem
21918 # is reportedly fixed, but why not run on old versions too?
21919 sed '$q' "$ltmain" >> "$cfgfile" \
21920 || (rm -f "$cfgfile"; exit 1)
21922 if test x"$xsi_shell" = xyes; then
21923 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21927 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21928 \ * ) func_dirname_result="${3}" ;;\
21930 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21931 && mv -f "$cfgfile.tmp" "$cfgfile" \
21932 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21933 test 0 -eq $? || _lt_function_replace_fail=:
21936 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21939 \ func_basename_result="${1##*/}"\
21940 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21941 && mv -f "$cfgfile.tmp" "$cfgfile" \
21942 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21943 test 0 -eq $? || _lt_function_replace_fail=:
21946 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21947 func_dirname_and_basename ()\
21950 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21951 \ * ) func_dirname_result="${3}" ;;\
21953 \ func_basename_result="${1##*/}"\
21954 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21955 && mv -f "$cfgfile.tmp" "$cfgfile" \
21956 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21957 test 0 -eq $? || _lt_function_replace_fail=:
21960 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21963 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21964 \ # positional parameters, so assign one to ordinary parameter first.\
21965 \ func_stripname_result=${3}\
21966 \ func_stripname_result=${func_stripname_result#"${1}"}\
21967 \ func_stripname_result=${func_stripname_result%"${2}"}\
21968 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21969 && mv -f "$cfgfile.tmp" "$cfgfile" \
21970 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21971 test 0 -eq $? || _lt_function_replace_fail=:
21974 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21975 func_split_long_opt ()\
21977 \ func_split_long_opt_name=${1%%=*}\
21978 \ func_split_long_opt_arg=${1#*=}\
21979 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21980 && mv -f "$cfgfile.tmp" "$cfgfile" \
21981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21982 test 0 -eq $? || _lt_function_replace_fail=:
21985 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21986 func_split_short_opt ()\
21988 \ func_split_short_opt_arg=${1#??}\
21989 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21990 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21991 && mv -f "$cfgfile.tmp" "$cfgfile" \
21992 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21993 test 0 -eq $? || _lt_function_replace_fail=:
21996 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22000 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22001 \ *) func_lo2o_result=${1} ;;\
22003 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22004 && mv -f "$cfgfile.tmp" "$cfgfile" \
22005 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22006 test 0 -eq $? || _lt_function_replace_fail=:
22009 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22012 func_xform_result=${1%.*}.lo\
22013 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22014 && mv -f "$cfgfile.tmp" "$cfgfile" \
22015 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22016 test 0 -eq $? || _lt_function_replace_fail=:
22019 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22022 func_arith_result=$(( $* ))\
22023 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22024 && mv -f "$cfgfile.tmp" "$cfgfile" \
22025 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22026 test 0 -eq $? || _lt_function_replace_fail=:
22029 sed -e '/^func_len ()$/,/^} # func_len /c\
22032 func_len_result=${#1}\
22033 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22034 && mv -f "$cfgfile.tmp" "$cfgfile" \
22035 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22036 test 0 -eq $? || _lt_function_replace_fail=:
22040 if test x"$lt_shell_append" = xyes; then
22041 sed -e '/^func_append ()$/,/^} # func_append /c\
22044 eval "${1}+=\\${2}"\
22045 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22046 && mv -f "$cfgfile.tmp" "$cfgfile" \
22047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22048 test 0 -eq $? || _lt_function_replace_fail=:
22051 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22052 func_append_quoted ()\
22054 \ func_quote_for_eval "${2}"\
22055 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22056 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22057 && mv -f "$cfgfile.tmp" "$cfgfile" \
22058 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22059 test 0 -eq $? || _lt_function_replace_fail=:
22062 # Save a `func_append' function call where possible by direct use of '+='
22063 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22064 && mv -f "$cfgfile.tmp" "$cfgfile" \
22065 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22066 test 0 -eq $? || _lt_function_replace_fail=:
22068 # Save a `func_append' function call even when '+=' is not available
22069 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22070 && mv -f "$cfgfile.tmp" "$cfgfile" \
22071 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22072 test 0 -eq $? || _lt_function_replace_fail=:
22075 if test x"$_lt_function_replace_fail" = x":"; then
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22077 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22081 mv -f "$cfgfile" "$ofile" ||
22082 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22086 "po-directories":C)
22087 for ac_file in $CONFIG_FILES; do
22088 # Support "outfile[:infile[:infile...]]"
22090 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22092 # PO directories have a Makefile.in generated from Makefile.in.in.
22093 case "$ac_file" in */Makefile.in)
22094 # Adjust a relative srcdir.
22095 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22096 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22097 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22098 # In autoconf-2.13 it is called $ac_given_srcdir.
22099 # In autoconf-2.50 it is called $srcdir.
22100 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22101 case "$ac_given_srcdir" in
22102 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22103 /*) top_srcdir="$ac_given_srcdir" ;;
22104 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
22106 # Treat a directory as a PO directory if and only if it has a
22107 # POTFILES.in file. This allows packages to have multiple PO
22108 # directories under different names or in different locations.
22109 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22110 rm -f "$ac_dir/POTFILES"
22111 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22112 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22113 POMAKEFILEDEPS="POTFILES.in"
22114 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22115 # on $ac_dir but don't depend on user-specified configuration
22117 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22118 # The LINGUAS file contains the set of available languages.
22119 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22120 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22122 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22123 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22124 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22125 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22127 # The set of available languages was given in configure.in.
22128 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22129 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22132 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22133 # Compute UPDATEPOFILES
22134 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22135 # Compute DUMMYPOFILES
22136 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22138 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22139 case "$ac_given_srcdir" in
22141 *) srcdirpre='$(srcdir)/' ;;
22147 for lang in $ALL_LINGUAS; do
22148 POFILES="$POFILES $srcdirpre$lang.po"
22149 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22150 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22151 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22153 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22154 # environment variable.
22156 if test -n "$ALL_LINGUAS"; then
22157 for presentlang in $ALL_LINGUAS; do
22159 if test "%UNSET%" != "$LINGUAS"; then
22160 desiredlanguages="$LINGUAS"
22162 desiredlanguages="$ALL_LINGUAS"
22164 for desiredlang in $desiredlanguages; do
22165 # Use the presentlang catalog if desiredlang is
22166 # a. equal to presentlang, or
22167 # b. a variant of presentlang (because in this case,
22168 # presentlang can be used as a fallback for messages
22169 # which are not translated in the desiredlang catalog).
22170 case "$desiredlang" in
22171 "$presentlang"*) useit=yes;;
22174 if test $useit = yes; then
22175 INST_LINGUAS="$INST_LINGUAS $presentlang"
22180 if test -n "$INST_LINGUAS"; then
22181 for lang in $INST_LINGUAS; do
22182 CATALOGS="$CATALOGS $lang.gmo"
22185 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22186 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22187 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22188 if test -f "$f"; then
22190 *.orig | *.bak | *~) ;;
22191 *) cat "$f" >> "$ac_dir/Makefile" ;;
22206 ac_clean_files=$ac_clean_files_save
22208 test $ac_write_fail = 0 ||
22209 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22212 # configure is writing to config.log, and then calls config.status.
22213 # config.status does its own redirection, appending to config.log.
22214 # Unfortunately, on DOS this fails, as config.log is still kept open
22215 # by configure, so config.status won't be able to write to it; its
22216 # output is simply discarded. So we exec the FD to /dev/null,
22217 # effectively closing config.log, so it can be properly (re)opened and
22218 # appended to by config.status. When coming back to configure, we
22219 # need to make the FD available again.
22220 if test "$no_create" != yes; then
22222 ac_config_status_args=
22223 test "$silent" = yes &&
22224 ac_config_status_args="$ac_config_status_args --quiet"
22226 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22228 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22229 # would make configure fail if this is the last instruction.
22230 $ac_cs_success || as_fn_exit 1
22232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22234 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}