2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gobject-introspection 1.32.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
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=glib&component=introspection
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='gobject-introspection'
573 PACKAGE_TARNAME='gobject-introspection'
574 PACKAGE_VERSION='1.32.1'
575 PACKAGE_STRING='gobject-introspection 1.32.1'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection'
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
637 GTK_DOC_USE_REBASE_FALSE
638 GTK_DOC_USE_REBASE_TRUE
639 GTK_DOC_USE_LIBTOOL_FALSE
640 GTK_DOC_USE_LIBTOOL_TRUE
641 GTK_DOC_BUILD_PDF_FALSE
642 GTK_DOC_BUILD_PDF_TRUE
643 GTK_DOC_BUILD_HTML_FALSE
644 GTK_DOC_BUILD_HTML_TRUE
662 HAVE_CAIRO_GOBJECT_FALSE
663 HAVE_CAIRO_GOBJECT_TRUE
688 GOBJECT_INTROSPECTION_LIBDIR
694 EXPANDED_LOCALSTATEDIR
753 MAINTAINER_MODE_FALSE
763 INSTALL_STRIP_PROGRAM
805 program_transform_name
818 enable_option_checking
819 enable_maintainer_mode
821 enable_dependency_tracking
837 ac_precious_vars='build_alias
873 # Initialize some variables set by options.
875 ac_init_version=false
876 ac_unrecognized_opts=
878 # The variables have the same names as the options, with
879 # dashes changed to underlines.
887 program_transform_name=s,x,x,
895 # Installation directory options.
896 # These are left unexpanded so users can "make install exec_prefix=/foo"
897 # and all the variables that are supposed to be based on exec_prefix
898 # by default will actually change.
899 # Use braces instead of parens because sh, perl, etc. also accept them.
900 # (The list follows the same order as the GNU Coding Standards.)
901 bindir='${exec_prefix}/bin'
902 sbindir='${exec_prefix}/sbin'
903 libexecdir='${exec_prefix}/libexec'
904 datarootdir='${prefix}/share'
905 datadir='${datarootdir}'
906 sysconfdir='${prefix}/etc'
907 sharedstatedir='${prefix}/com'
908 localstatedir='${prefix}/var'
909 includedir='${prefix}/include'
910 oldincludedir='/usr/include'
911 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
912 infodir='${datarootdir}/info'
917 libdir='${exec_prefix}/lib'
918 localedir='${datarootdir}/locale'
919 mandir='${datarootdir}/man'
925 # If the previous option needs an argument, assign it.
926 if test -n "$ac_prev"; then
927 eval $ac_prev=\$ac_option
933 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
938 # Accept the important Cygnus configure options, so we can diagnose typos.
940 case $ac_dashdash$ac_option in
944 -bindir | --bindir | --bindi | --bind | --bin | --bi)
946 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
949 -build | --build | --buil | --bui | --bu)
950 ac_prev=build_alias ;;
951 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
952 build_alias=$ac_optarg ;;
954 -cache-file | --cache-file | --cache-fil | --cache-fi \
955 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
956 ac_prev=cache_file ;;
957 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
958 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
959 cache_file=$ac_optarg ;;
962 cache_file=config.cache ;;
964 -datadir | --datadir | --datadi | --datad)
966 -datadir=* | --datadir=* | --datadi=* | --datad=*)
967 datadir=$ac_optarg ;;
969 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
970 | --dataroo | --dataro | --datar)
971 ac_prev=datarootdir ;;
972 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
973 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
974 datarootdir=$ac_optarg ;;
976 -disable-* | --disable-*)
977 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 as_fn_error $? "invalid feature name: $ac_useropt"
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval enable_$ac_useropt=no ;;
992 -docdir | --docdir | --docdi | --doc | --do)
994 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
997 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
999 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000 dvidir=$ac_optarg ;;
1002 -enable-* | --enable-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid feature name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_$ac_useropt"
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1016 eval enable_$ac_useropt=\$ac_optarg ;;
1018 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1019 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1020 | --exec | --exe | --ex)
1021 ac_prev=exec_prefix ;;
1022 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1023 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1024 | --exec=* | --exe=* | --ex=*)
1025 exec_prefix=$ac_optarg ;;
1027 -gas | --gas | --ga | --g)
1028 # Obsolete; use --with-gas.
1031 -help | --help | --hel | --he | -h)
1032 ac_init_help=long ;;
1033 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1034 ac_init_help=recursive ;;
1035 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1036 ac_init_help=short ;;
1038 -host | --host | --hos | --ho)
1039 ac_prev=host_alias ;;
1040 -host=* | --host=* | --hos=* | --ho=*)
1041 host_alias=$ac_optarg ;;
1043 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1045 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1047 htmldir=$ac_optarg ;;
1049 -includedir | --includedir | --includedi | --included | --include \
1050 | --includ | --inclu | --incl | --inc)
1051 ac_prev=includedir ;;
1052 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1053 | --includ=* | --inclu=* | --incl=* | --inc=*)
1054 includedir=$ac_optarg ;;
1056 -infodir | --infodir | --infodi | --infod | --info | --inf)
1058 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1059 infodir=$ac_optarg ;;
1061 -libdir | --libdir | --libdi | --libd)
1063 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1064 libdir=$ac_optarg ;;
1066 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1067 | --libexe | --libex | --libe)
1068 ac_prev=libexecdir ;;
1069 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1070 | --libexe=* | --libex=* | --libe=*)
1071 libexecdir=$ac_optarg ;;
1073 -localedir | --localedir | --localedi | --localed | --locale)
1074 ac_prev=localedir ;;
1075 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1076 localedir=$ac_optarg ;;
1078 -localstatedir | --localstatedir | --localstatedi | --localstated \
1079 | --localstate | --localstat | --localsta | --localst | --locals)
1080 ac_prev=localstatedir ;;
1081 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1082 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1083 localstatedir=$ac_optarg ;;
1085 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1087 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1088 mandir=$ac_optarg ;;
1090 -nfp | --nfp | --nf)
1091 # Obsolete; use --without-fp.
1094 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1095 | --no-cr | --no-c | -n)
1098 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1099 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1102 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1103 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1104 | --oldin | --oldi | --old | --ol | --o)
1105 ac_prev=oldincludedir ;;
1106 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1107 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1108 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1109 oldincludedir=$ac_optarg ;;
1111 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1113 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1114 prefix=$ac_optarg ;;
1116 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1117 | --program-pre | --program-pr | --program-p)
1118 ac_prev=program_prefix ;;
1119 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1120 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1121 program_prefix=$ac_optarg ;;
1123 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1124 | --program-suf | --program-su | --program-s)
1125 ac_prev=program_suffix ;;
1126 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1127 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1128 program_suffix=$ac_optarg ;;
1130 -program-transform-name | --program-transform-name \
1131 | --program-transform-nam | --program-transform-na \
1132 | --program-transform-n | --program-transform- \
1133 | --program-transform | --program-transfor \
1134 | --program-transfo | --program-transf \
1135 | --program-trans | --program-tran \
1136 | --progr-tra | --program-tr | --program-t)
1137 ac_prev=program_transform_name ;;
1138 -program-transform-name=* | --program-transform-name=* \
1139 | --program-transform-nam=* | --program-transform-na=* \
1140 | --program-transform-n=* | --program-transform-=* \
1141 | --program-transform=* | --program-transfor=* \
1142 | --program-transfo=* | --program-transf=* \
1143 | --program-trans=* | --program-tran=* \
1144 | --progr-tra=* | --program-tr=* | --program-t=*)
1145 program_transform_name=$ac_optarg ;;
1147 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1149 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1150 pdfdir=$ac_optarg ;;
1152 -psdir | --psdir | --psdi | --psd | --ps)
1154 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1158 | -silent | --silent | --silen | --sile | --sil)
1161 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1163 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1165 sbindir=$ac_optarg ;;
1167 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1168 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1169 | --sharedst | --shareds | --shared | --share | --shar \
1171 ac_prev=sharedstatedir ;;
1172 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1173 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1174 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1176 sharedstatedir=$ac_optarg ;;
1178 -site | --site | --sit)
1180 -site=* | --site=* | --sit=*)
1183 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1185 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1186 srcdir=$ac_optarg ;;
1188 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1189 | --syscon | --sysco | --sysc | --sys | --sy)
1190 ac_prev=sysconfdir ;;
1191 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1192 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1193 sysconfdir=$ac_optarg ;;
1195 -target | --target | --targe | --targ | --tar | --ta | --t)
1196 ac_prev=target_alias ;;
1197 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1198 target_alias=$ac_optarg ;;
1200 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1203 -version | --version | --versio | --versi | --vers | -V)
1204 ac_init_version=: ;;
1207 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error $? "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1220 eval with_$ac_useropt=\$ac_optarg ;;
1222 -without-* | --without-*)
1223 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226 as_fn_error $? "invalid package name: $ac_useropt"
1227 ac_useropt_orig=$ac_useropt
1228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1234 ac_unrecognized_sep=', ';;
1236 eval with_$ac_useropt=no ;;
1239 # Obsolete; use --with-x.
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1256 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1257 Try \`$0 --help' for more information"
1261 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 case $ac_envvar in #(
1264 '' | [0-9]* | *[!_$as_cr_alnum]* )
1265 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1281 if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 as_fn_error $? "missing argument to $ac_option"
1286 if test -n "$ac_unrecognized_opts"; then
1287 case $enable_option_checking in
1289 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1290 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1294 # Check all directory arguments for consistency.
1295 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296 datadir sysconfdir sharedstatedir localstatedir includedir \
1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298 libdir localedir mandir
1300 eval ac_val=\$$ac_var
1301 # Remove trailing slashes.
1304 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1305 eval $ac_var=\$ac_val;;
1307 # Be sure to have absolute directory names.
1309 [\\/$]* | ?:[\\/]* ) continue;;
1310 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1312 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1315 # There might be people who depend on the old broken behavior: `$host'
1316 # used to hold the argument of --host etc.
1317 # FIXME: To remove some day.
1320 target=$target_alias
1322 # FIXME: To remove some day.
1323 if test "x$host_alias" != x; then
1324 if test "x$build_alias" = x; then
1325 cross_compiling=maybe
1326 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1327 If a cross compiler is detected then cross compile mode will be used" >&2
1328 elif test "x$build_alias" != "x$host_alias"; then
1334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1336 test "$silent" = yes && exec 6>/dev/null
1339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1340 ac_ls_di=`ls -di .` &&
1341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1342 as_fn_error $? "working directory cannot be determined"
1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1344 as_fn_error $? "pwd does not report name of working directory"
1347 # Find the source files, if location was not specified.
1348 if test -z "$srcdir"; then
1349 ac_srcdir_defaulted=yes
1350 # Try the directory containing this script, then the parent directory.
1351 ac_confdir=`$as_dirname -- "$as_myself" ||
1352 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1353 X"$as_myself" : 'X\(//\)[^/]' \| \
1354 X"$as_myself" : 'X\(//\)$' \| \
1355 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1356 $as_echo X"$as_myself" |
1357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1379 ac_srcdir_defaulted=no
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1382 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1383 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1385 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1387 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1389 # When building in place, set srcdir=.
1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
1393 # Remove unnecessary trailing slashes from srcdir.
1394 # Double slashes in file names in object file debugging info
1395 # mess up M-x gdb in Emacs.
1397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1399 for ac_var in $ac_precious_vars; do
1400 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1401 eval ac_env_${ac_var}_value=\$${ac_var}
1402 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1403 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1407 # Report the --help message.
1409 if test "$ac_init_help" = "long"; then
1410 # Omit some internal or obsolete options to make the list less imposing.
1411 # This message is too long to be a string in the A/UX 3.1 sh.
1413 \`configure' configures gobject-introspection 1.32.1 to adapt to many kinds of systems.
1415 Usage: $0 [OPTION]... [VAR=VALUE]...
1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1418 VAR=VALUE. See below for descriptions of some of the useful variables.
1420 Defaults for the options are specified in brackets.
1423 -h, --help display this help and exit
1424 --help=short display options specific to this package
1425 --help=recursive display the short help of all the included packages
1426 -V, --version display version information and exit
1427 -q, --quiet, --silent do not print \`checking ...' messages
1428 --cache-file=FILE cache test results in FILE [disabled]
1429 -C, --config-cache alias for \`--cache-file=config.cache'
1430 -n, --no-create do not create output files
1431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1433 Installation directories:
1434 --prefix=PREFIX install architecture-independent files in PREFIX
1435 [$ac_default_prefix]
1436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1439 By default, \`make install' will install all the files in
1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1442 for instance \`--prefix=\$HOME'.
1444 For better control, use the options below.
1446 Fine tuning of the installation directories:
1447 --bindir=DIR user executables [EPREFIX/bin]
1448 --sbindir=DIR system admin executables [EPREFIX/sbin]
1449 --libexecdir=DIR program executables [EPREFIX/libexec]
1450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1453 --libdir=DIR object code libraries [EPREFIX/lib]
1454 --includedir=DIR C header files [PREFIX/include]
1455 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1456 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1457 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1458 --infodir=DIR info documentation [DATAROOTDIR/info]
1459 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1460 --mandir=DIR man documentation [DATAROOTDIR/man]
1461 --docdir=DIR documentation root
1462 [DATAROOTDIR/doc/gobject-introspection]
1463 --htmldir=DIR html documentation [DOCDIR]
1464 --dvidir=DIR dvi documentation [DOCDIR]
1465 --pdfdir=DIR pdf documentation [DOCDIR]
1466 --psdir=DIR ps documentation [DOCDIR]
1472 --program-prefix=PREFIX prepend PREFIX to installed program names
1473 --program-suffix=SUFFIX append SUFFIX to installed program names
1474 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1477 --build=BUILD configure for building on BUILD [guessed]
1478 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1482 if test -n "$ac_init_help"; then
1483 case $ac_init_help in
1484 short | recursive ) echo "Configuration of gobject-introspection 1.32.1:";;
1489 --disable-option-checking ignore unrecognized --enable/--with options
1490 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1491 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1492 --disable-maintainer-mode disable make rules and dependencies not useful
1493 (and sometimes confusing) to the casual installer
1494 --enable-silent-rules less verbose build output (undo: `make V=1')
1495 --disable-silent-rules verbose build output (undo: `make V=0')
1496 --disable-dependency-tracking speeds up one-time build
1497 --enable-dependency-tracking do not reject slow dependency extractors
1498 --enable-shared[=PKGS] build shared libraries [default=yes]
1499 --enable-static[=PKGS] build static libraries [default=yes]
1500 --enable-fast-install[=PKGS]
1501 optimize for fast installation [default=yes]
1502 --disable-libtool-lock avoid locking (might break parallel builds)
1503 --disable-tests disable test libraries
1504 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1505 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1506 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1507 --enable-doctool enable g-ir-doctool
1510 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1511 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1512 --with-pic try to use only PIC/non-PIC objects [default=use
1514 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1515 --with-sysroot=DIR Search for dependent libraries within DIR
1516 (or the compiler's sysroot if not specified).
1517 --with-html-dir=PATH path to installed docs
1518 --with-glib-src=PATH Source directory for glib - needed to add docs to gir
1520 Some influential environment variables:
1521 CC C compiler command
1522 CFLAGS C compiler flags
1523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1524 nonstandard directory <lib dir>
1525 LIBS libraries to pass to the linker, e.g. -l<library>
1526 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1527 you have headers in a nonstandard directory <include dir>
1529 PKG_CONFIG path to pkg-config utility
1531 directories to add to pkg-config's search path
1533 path overriding pkg-config's built-in search path
1534 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1535 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1537 C compiler flags for GOBJECT, overriding pkg-config
1539 linker flags for GOBJECT, overriding pkg-config
1541 C compiler flags for GMODULE, overriding pkg-config
1543 linker flags for GMODULE, overriding pkg-config
1544 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1545 GIO_LIBS linker flags for GIO, overriding pkg-config
1547 C compiler flags for GIO_UNIX, overriding pkg-config
1549 linker flags for GIO_UNIX, overriding pkg-config
1551 C compiler flags for CAIRO, overriding pkg-config
1552 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1553 CAIRO_GOBJECT_CFLAGS
1554 C compiler flags for CAIRO_GOBJECT, overriding pkg-config
1556 linker flags for CAIRO_GOBJECT, overriding pkg-config
1558 C compiler flags for SCANNER, overriding pkg-config
1560 linker flags for SCANNER, overriding pkg-config
1561 FFI_CFLAGS C compiler flags for FFI, overriding pkg-config
1562 FFI_LIBS linker flags for FFI, overriding pkg-config
1564 C compiler flags for GIREPO, overriding pkg-config
1565 GIREPO_LIBS linker flags for GIREPO, overriding pkg-config
1567 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1569 linker flags for GTKDOC_DEPS, overriding pkg-config
1571 Use these variables to override the choices made by `configure' or to help
1572 it to find libraries and programs with nonstandard names/locations.
1574 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir=$ac_pwd
1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir=$ac_top_build_prefix
1604 .) # We are building in place.
1606 ac_top_srcdir=$ac_top_builddir_sub
1607 ac_abs_top_srcdir=$ac_pwd ;;
1608 [\\/]* | ?:[\\/]* ) # Absolute name.
1609 ac_srcdir=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir=$srcdir
1611 ac_abs_top_srcdir=$srcdir ;;
1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status=$?; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status=$?; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 gobject-introspection configure 1.32.1
1638 generated by GNU Autoconf 2.68
1640 Copyright (C) 2010 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 $as_test_x conftest$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status $ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } > conftest.i && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_try_run LINENO
1804 # ----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1806 # that executables *can* be run.
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1821 { { case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_try") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; }; }; then :
1833 $as_echo "$as_me: program exited with status $ac_status" >&5
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=$ac_status
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext \
1903 conftest$ac_exeext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_func
1912 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1913 # --------------------------------------------
1914 # Tries to find the compile-time value of EXPR in a program that includes
1915 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1917 ac_fn_c_compute_int ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if test "$cross_compiling" = yes; then
1921 # Depending upon the size, compute the lo and hi bounds.
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1928 static int test_array [1 - 2 * !(($2) >= 0)];
1935 if ac_fn_c_try_compile "$LINENO"; then :
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952 ac_hi=$ac_mid; break
1954 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1955 if test $ac_lo -le $ac_mid; then
1959 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1970 static int test_array [1 - 2 * !(($2) < 0)];
1977 if ac_fn_c_try_compile "$LINENO"; then :
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1986 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1993 if ac_fn_c_try_compile "$LINENO"; then :
1994 ac_lo=$ac_mid; break
1996 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1997 if test $ac_mid -le $ac_hi; then
2001 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 # Binary search between lo and hi bounds.
2012 while test "x$ac_lo" != "x$ac_hi"; do
2013 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2020 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2027 if ac_fn_c_try_compile "$LINENO"; then :
2030 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2042 static long int longval () { return $2; }
2043 static unsigned long int ulongval () { return $2; }
2050 FILE *f = fopen ("conftest.val", "w");
2055 long int i = longval ();
2058 fprintf (f, "%ld", i);
2062 unsigned long int i = ulongval ();
2065 fprintf (f, "%lu", i);
2067 /* Do not output a trailing newline, as this causes \r\n confusion
2068 on some platforms. */
2069 return ferror (f) || fclose (f) != 0;
2075 if ac_fn_c_try_run "$LINENO"; then :
2076 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2081 conftest.$ac_objext conftest.beam conftest.$ac_ext
2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 as_fn_set_status $ac_retval
2088 } # ac_fn_c_compute_int
2090 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2091 # -------------------------------------------------------
2092 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2093 # the include files in INCLUDES and setting the cache variable VAR
2095 ac_fn_c_check_header_mongrel ()
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 if eval \${$3+:} false; then :
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102 $as_echo_n "(cached) " >&6
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2108 # Is the header compilable?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2110 $as_echo_n "checking $2 usability... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2116 if ac_fn_c_try_compile "$LINENO"; then :
2117 ac_header_compiler=yes
2119 ac_header_compiler=no
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2123 $as_echo "$ac_header_compiler" >&6; }
2125 # Is the header present?
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2127 $as_echo_n "checking $2 presence... " >&6; }
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2132 if ac_fn_c_try_cpp "$LINENO"; then :
2133 ac_header_preproc=yes
2135 ac_header_preproc=no
2137 rm -f conftest.err conftest.i conftest.$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2139 $as_echo "$ac_header_preproc" >&6; }
2141 # So? What about this header?
2142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2145 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2147 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2151 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2153 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2155 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2157 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2160 ( $as_echo "## ------------------------------------------------------------------------------------------- ##
2161 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection ##
2162 ## ------------------------------------------------------------------------------------------- ##"
2163 ) | sed "s/^/$as_me: WARNING: /" >&2
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if eval \${$3+:} false; then :
2169 $as_echo_n "(cached) " >&6
2171 eval "$3=\$ac_header_compiler"
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_c_check_header_mongrel
2180 cat >config.log <<_ACEOF
2181 This file contains any messages produced by compilers while
2182 running configure, to aid debugging if configure makes a mistake.
2184 It was created by gobject-introspection $as_me 1.32.1, which was
2185 generated by GNU Autoconf 2.68. Invocation command line was
2197 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2198 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2199 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2200 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2201 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2203 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2204 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2206 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2207 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2208 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2209 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2210 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2211 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2212 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir=.
2221 $as_echo "PATH: $as_dir"
2237 # Keep a trace of the command line.
2238 # Strip out --no-create and --no-recursion so they do not pile up.
2239 # Strip out --silent because we don't want to record it for future runs.
2240 # Also quote any args containing shell meta-characters.
2241 # Make two passes to allow for proper duplicate-argument suppression.
2245 ac_must_keep_next=false
2251 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253 | -silent | --silent | --silen | --sile | --sil)
2256 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2259 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2261 as_fn_append ac_configure_args1 " '$ac_arg'"
2262 if test $ac_must_keep_next = true; then
2263 ac_must_keep_next=false # Got value, back to normal.
2266 *=* | --config-cache | -C | -disable-* | --disable-* \
2267 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2268 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2269 | -with-* | --with-* | -without-* | --without-* | --x)
2270 case "$ac_configure_args0 " in
2271 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2274 -* ) ac_must_keep_next=true ;;
2277 as_fn_append ac_configure_args " '$ac_arg'"
2282 { ac_configure_args0=; unset ac_configure_args0;}
2283 { ac_configure_args1=; unset ac_configure_args1;}
2285 # When interrupted or exit'd, cleanup temporary files, and complete
2286 # config.log. We remove comments because anyway the quotes in there
2287 # would cause problems or look ugly.
2288 # WARNING: Use '\'' to represent an apostrophe within the trap.
2289 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2290 trap 'exit_status=$?
2291 # Save into config.log some information that might help in debugging.
2295 $as_echo "## ---------------- ##
2296 ## Cache variables. ##
2297 ## ---------------- ##"
2299 # The following way of writing the cache mishandles newlines in values,
2301 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2302 eval ac_val=\$$ac_var
2306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2310 _ | IFS | as_nl) ;; #(
2311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312 *) { eval $ac_var=; unset $ac_var;} ;;
2317 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2318 *${as_nl}ac_space=\ *)
2320 "s/'\''/'\''\\\\'\'''\''/g;
2321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2331 $as_echo "## ----------------- ##
2332 ## Output variables. ##
2333 ## ----------------- ##"
2335 for ac_var in $ac_subst_vars
2337 eval ac_val=\$$ac_var
2339 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 $as_echo "$ac_var='\''$ac_val'\''"
2345 if test -n "$ac_subst_files"; then
2346 $as_echo "## ------------------- ##
2347 ## File substitutions. ##
2348 ## ------------------- ##"
2350 for ac_var in $ac_subst_files
2352 eval ac_val=\$$ac_var
2354 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2356 $as_echo "$ac_var='\''$ac_val'\''"
2361 if test -s confdefs.h; then
2362 $as_echo "## ----------- ##
2369 test "$ac_signal" != 0 &&
2370 $as_echo "$as_me: caught signal $ac_signal"
2371 $as_echo "$as_me: exit $exit_status"
2373 rm -f core *.core core.conftest.* &&
2374 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2377 for ac_signal in 1 2 13 15; do
2378 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2383 rm -f -r conftest* confdefs.h
2385 $as_echo "/* confdefs.h */" > confdefs.h
2387 # Predefined preprocessor variables.
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_NAME "$PACKAGE_NAME"
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2401 cat >>confdefs.h <<_ACEOF
2402 #define PACKAGE_STRING "$PACKAGE_STRING"
2405 cat >>confdefs.h <<_ACEOF
2406 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE_URL "$PACKAGE_URL"
2414 # Let the site file select an alternate cache file if it wants to.
2415 # Prefer an explicitly selected file to automatically selected ones.
2418 if test -n "$CONFIG_SITE"; then
2419 # We do not want a PATH search for config.site.
2420 case $CONFIG_SITE in #((
2421 -*) ac_site_file1=./$CONFIG_SITE;;
2422 */*) ac_site_file1=$CONFIG_SITE;;
2423 *) ac_site_file1=./$CONFIG_SITE;;
2425 elif test "x$prefix" != xNONE; then
2426 ac_site_file1=$prefix/share/config.site
2427 ac_site_file2=$prefix/etc/config.site
2429 ac_site_file1=$ac_default_prefix/share/config.site
2430 ac_site_file2=$ac_default_prefix/etc/config.site
2432 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2434 test "x$ac_site_file" = xNONE && continue
2435 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2437 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2438 sed 's/^/| /' "$ac_site_file" >&5
2440 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 as_fn_error $? "failed to load site script $ac_site_file
2443 See \`config.log' for more details" "$LINENO" 5; }
2447 if test -r "$cache_file"; then
2448 # Some versions of bash will fail to source /dev/null (special files
2449 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2450 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2452 $as_echo "$as_me: loading cache $cache_file" >&6;}
2454 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2455 *) . "./$cache_file";;
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2460 $as_echo "$as_me: creating cache $cache_file" >&6;}
2464 # Check that the precious variables saved in the cache have kept the same
2466 ac_cache_corrupted=false
2467 for ac_var in $ac_precious_vars; do
2468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2469 eval ac_new_set=\$ac_env_${ac_var}_set
2470 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2471 eval ac_new_val=\$ac_env_${ac_var}_value
2472 case $ac_old_set,$ac_new_set in
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2475 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2476 ac_cache_corrupted=: ;;
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2479 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2480 ac_cache_corrupted=: ;;
2483 if test "x$ac_old_val" != "x$ac_new_val"; then
2484 # differences in whitespace do not lead to failure.
2485 ac_old_val_w=`echo x $ac_old_val`
2486 ac_new_val_w=`echo x $ac_new_val`
2487 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2489 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2490 ac_cache_corrupted=:
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2493 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2494 eval $ac_var=\$ac_old_val
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2497 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2499 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2502 # Pass precious variables to config.status.
2503 if test "$ac_new_set" = set; then
2505 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506 *) ac_arg=$ac_var=$ac_new_val ;;
2508 case " $ac_configure_args " in
2509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2510 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2514 if $ac_cache_corrupted; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2518 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2519 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2521 ## -------------------- ##
2522 ## Main body of script. ##
2523 ## -------------------- ##
2526 ac_cpp='$CPP $CPPFLAGS'
2527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533 ac_config_headers="$ac_config_headers config.h"
2537 for ac_dir in build-aux "$srcdir"/build-aux; do
2538 if test -f "$ac_dir/install-sh"; then
2540 ac_install_sh="$ac_aux_dir/install-sh -c"
2542 elif test -f "$ac_dir/install.sh"; then
2544 ac_install_sh="$ac_aux_dir/install.sh -c"
2546 elif test -f "$ac_dir/shtool"; then
2548 ac_install_sh="$ac_aux_dir/shtool install -c"
2552 if test -z "$ac_aux_dir"; then
2553 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2556 # These three variables are undocumented and unsupported,
2557 # and are intended to be withdrawn in a future Autoconf release.
2558 # They can cause serious problems if a builder's source tree is in a directory
2559 # whose full name contains unusual characters.
2560 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2561 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2562 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2566 am__api_version='1.11'
2568 # Find a good install program. We prefer a C program (faster),
2569 # so one script is as good as another. But avoid the broken or
2570 # incompatible versions:
2571 # SysV /etc/install, /usr/sbin/install
2572 # SunOS /usr/etc/install
2573 # IRIX /sbin/install
2575 # AmigaOS /C/install, which installs bootblocks on floppy discs
2576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2579 # OS/2's system install, which has a completely different semantic
2580 # ./install, which can be erroneously created by make from ./install.sh.
2581 # Reject install programs that cannot install multiple files.
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2583 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2584 if test -z "$INSTALL"; then
2585 if ${ac_cv_path_install+:} false; then :
2586 $as_echo_n "(cached) " >&6
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 # Account for people who put trailing slashes in PATH elements.
2594 case $as_dir/ in #((
2595 ./ | .// | /[cC]/* | \
2596 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2597 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2600 # OSF1 and SCO ODT 3.0 have their own names for install.
2601 # Don't use installbsd from OSF since it installs stuff as root
2603 for ac_prog in ginstall scoinst install; do
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2606 if test $ac_prog = install &&
2607 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2608 # AIX install. It has an incompatible calling convention.
2610 elif test $ac_prog = install &&
2611 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2612 # program-specific install script used by HP pwplus--don't use.
2615 rm -rf conftest.one conftest.two conftest.dir
2616 echo one > conftest.one
2617 echo two > conftest.two
2619 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2620 test -s conftest.one && test -s conftest.two &&
2621 test -s conftest.dir/conftest.one &&
2622 test -s conftest.dir/conftest.two
2624 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2637 rm -rf conftest.one conftest.two conftest.dir
2640 if test "${ac_cv_path_install+set}" = set; then
2641 INSTALL=$ac_cv_path_install
2643 # As a last resort, use the slow shell script. Don't cache a
2644 # value for INSTALL within a source directory, because that will
2645 # break other packages using the cache if that directory is
2646 # removed, or if the value is a relative name.
2647 INSTALL=$ac_install_sh
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2651 $as_echo "$INSTALL" >&6; }
2653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2654 # It thinks the first close brace ends the variable substitution.
2655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2662 $as_echo_n "checking whether build environment is sane... " >&6; }
2665 echo timestamp > conftest.file
2666 # Reject unsafe characters in $srcdir or the absolute working directory
2667 # name. Accept space and tab only in the latter.
2671 *[\\\"\#\$\&\'\`$am_lf]*)
2672 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2675 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2676 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2679 # Do `set' in a subshell so we don't clobber the current shell's
2680 # arguments. Must try -L first in case configure is actually a
2681 # symlink; some systems play weird games with the mod time of symlinks
2682 # (eg FreeBSD returns the mod time of the symlink's containing
2685 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2686 if test "$*" = "X"; then
2688 set X `ls -t "$srcdir/configure" conftest.file`
2691 if test "$*" != "X $srcdir/configure conftest.file" \
2692 && test "$*" != "X conftest.file $srcdir/configure"; then
2694 # If neither matched, then we have a broken ls. This can happen
2695 # if, for instance, CONFIG_SHELL is bash and it inherits a
2696 # broken ls alias from the environment. This has actually
2697 # happened. Such a system could not be considered "sane".
2698 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2699 alias in your environment" "$LINENO" 5
2702 test "$2" = conftest.file
2708 as_fn_error $? "newly created file is older than distributed files!
2709 Check your system clock" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713 test "$program_prefix" != NONE &&
2714 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2715 # Use a double $ so make ignores it.
2716 test "$program_suffix" != NONE &&
2717 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2718 # Double any \ or $.
2719 # By default was `s,x,x', remove it if useless.
2720 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2721 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2723 # expand $ac_aux_dir to an absolute path
2724 am_aux_dir=`cd $ac_aux_dir && pwd`
2726 if test x"${MISSING+set}" != xset; then
2729 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2731 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2734 # Use eval to expand $SHELL
2735 if eval "$MISSING --run true"; then
2736 am_missing_run="$MISSING --run "
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2740 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2743 if test x"${install_sh}" != xset; then
2746 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2748 install_sh="\${SHELL} $am_aux_dir/install-sh"
2752 # Installed binaries are usually stripped using `strip' when the user
2753 # run `make install-strip'. However `strip' might not be the right
2754 # tool to use in cross-compilation environments, therefore Automake
2755 # will honor the `STRIP' environment variable to overrule this program.
2756 if test "$cross_compiling" != no; then
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}strip; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_STRIP+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$STRIP"; then
2766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 STRIP=$ac_cv_prog_STRIP
2786 if test -n "$STRIP"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2788 $as_echo "$STRIP" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 if test -z "$ac_cv_prog_STRIP"; then
2798 # Extract the first word of "strip", so it can be a program name with args.
2799 set dummy strip; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_STRIP"; then
2806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_ac_ct_STRIP="strip"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2826 if test -n "$ac_ct_STRIP"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2828 $as_echo "$ac_ct_STRIP" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2834 if test "x$ac_ct_STRIP" = x; then
2837 case $cross_compiling:$ac_tool_warned in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2846 STRIP="$ac_cv_prog_STRIP"
2850 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2853 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2854 if test -z "$MKDIR_P"; then
2855 if ${ac_cv_path_mkdir+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2862 test -z "$as_dir" && as_dir=.
2863 for ac_prog in mkdir gmkdir; do
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2866 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2867 'mkdir (GNU coreutils) '* | \
2868 'mkdir (coreutils) '* | \
2869 'mkdir (fileutils) '4.1*)
2870 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2880 test -d ./--version && rmdir ./--version
2881 if test "${ac_cv_path_mkdir+set}" = set; then
2882 MKDIR_P="$ac_cv_path_mkdir -p"
2884 # As a last resort, use the slow shell script. Don't cache a
2885 # value for MKDIR_P within a source directory, because that will
2886 # break other packages using the cache if that directory is
2887 # removed, or if the value is a relative name.
2888 MKDIR_P="$ac_install_sh -d"
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2892 $as_echo "$MKDIR_P" >&6; }
2896 [\\/$]* | ?:[\\/]*) ;;
2897 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2900 for ac_prog in gawk mawk nawk awk
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy $ac_prog; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_AWK+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$AWK"; then
2910 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_AWK="$ac_prog"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$AWK"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2932 $as_echo "$AWK" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2939 test -n "$AWK" && break
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2945 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2946 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 cat >conftest.make <<\_ACEOF
2952 @echo '@@@%%%=$(MAKE)=@@@%%%'
2954 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2955 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2957 eval ac_cv_prog_make_${ac_make}_set=yes;;
2959 eval ac_cv_prog_make_${ac_make}_set=no;;
2963 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2965 $as_echo "yes" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 SET_MAKE="MAKE=${MAKE-make}"
2973 rm -rf .tst 2>/dev/null
2974 mkdir .tst 2>/dev/null
2975 if test -d .tst; then
2980 rmdir .tst 2>/dev/null
2982 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2983 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2984 # is not polluted with repeated "-I."
2985 am__isrc=' -I$(srcdir)'
2986 # test to see if srcdir already configured
2987 if test -f $srcdir/config.status; then
2988 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2992 # test whether we have cygpath
2993 if test -z "$CYGPATH_W"; then
2994 if (cygpath --version) >/dev/null 2>/dev/null; then
2995 CYGPATH_W='cygpath -w'
3002 # Define the identity of the package.
3003 PACKAGE='gobject-introspection'
3007 cat >>confdefs.h <<_ACEOF
3008 #define PACKAGE "$PACKAGE"
3012 cat >>confdefs.h <<_ACEOF
3013 #define VERSION "$VERSION"
3016 # Some tools Automake needs.
3018 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3021 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3024 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3027 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3030 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3032 # We need awk for the "check" target. The system "awk" is bad on
3034 # Always define AMTAR for backward compatibility.
3036 AMTAR=${AMTAR-"${am_missing_run}tar"}
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3040 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3041 # Loop over all known methods to create a tar archive until one works.
3042 _am_tools='gnutar plaintar pax cpio none'
3043 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3044 # Do not fold the above two line into one, because Tru64 sh and
3045 # Solaris sh will not grok spaces in the rhs of `-'.
3046 for _am_tool in $_am_tools
3050 for _am_tar in tar gnutar gtar;
3052 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3053 ($_am_tar --version) >&5 2>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } && break
3058 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3059 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3060 am__untar="$_am_tar -xf -"
3063 # Must skip GNU tar: if it does not support --format= it doesn't create
3064 # ustar tarball either.
3065 (tar --version) >/dev/null 2>&1 && continue
3066 am__tar='tar chf - "$$tardir"'
3067 am__tar_='tar chf - "$tardir"'
3068 am__untar='tar xf -'
3071 am__tar='pax -L -x ustar -w "$$tardir"'
3072 am__tar_='pax -L -x ustar -w "$tardir"'
3076 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3077 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3078 am__untar='cpio -i -H ustar -d'
3087 # If the value was cached, stop now. We just wanted to have am__tar
3088 # and am__untar set.
3089 test -n "${am_cv_prog_tar_ustar}" && break
3091 # tar/untar a dummy directory, and stop if the command works
3094 echo GrepMe > conftest.dir/file
3095 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3096 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3101 if test -s conftest.tar; then
3102 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3103 ($am__untar <conftest.tar) >&5 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3112 if ${am_cv_prog_tar_ustar+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 am_cv_prog_tar_ustar=$_am_tool
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3119 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3127 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3128 # Check whether --enable-maintainer-mode was given.
3129 if test "${enable_maintainer_mode+set}" = set; then :
3130 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3132 USE_MAINTAINER_MODE=yes
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3136 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3137 if test $USE_MAINTAINER_MODE = yes; then
3138 MAINTAINER_MODE_TRUE=
3139 MAINTAINER_MODE_FALSE='#'
3141 MAINTAINER_MODE_TRUE='#'
3142 MAINTAINER_MODE_FALSE=
3145 MAINT=$MAINTAINER_MODE_TRUE
3149 # Check whether --enable-silent-rules was given.
3150 if test "${enable_silent_rules+set}" = set; then :
3151 enableval=$enable_silent_rules;
3154 case $enable_silent_rules in
3155 yes) AM_DEFAULT_VERBOSITY=0;;
3156 no) AM_DEFAULT_VERBOSITY=1;;
3157 *) AM_DEFAULT_VERBOSITY=0;;
3163 # Make sure we can run config.sub.
3164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3168 $as_echo_n "checking build system type... " >&6; }
3169 if ${ac_cv_build+:} false; then :
3170 $as_echo_n "(cached) " >&6
3172 ac_build_alias=$build_alias
3173 test "x$ac_build_alias" = x &&
3174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3175 test "x$ac_build_alias" = x &&
3176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3182 $as_echo "$ac_cv_build" >&6; }
3183 case $ac_cv_build in
3185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3188 ac_save_IFS=$IFS; IFS='-'
3194 # Remember, the first character of IFS is used to create $*,
3195 # except with old shells:
3198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3202 $as_echo_n "checking host system type... " >&6; }
3203 if ${ac_cv_host+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 if test "x$host_alias" = x; then
3207 ac_cv_host=$ac_cv_build
3209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3215 $as_echo "$ac_cv_host" >&6; }
3218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3221 ac_save_IFS=$IFS; IFS='-'
3227 # Remember, the first character of IFS is used to create $*,
3228 # except with old shells:
3231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3242 if test "x$os_win32" = "xyes"; then
3251 # Checks for programs.
3253 ac_cpp='$CPP $CPPFLAGS'
3254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3257 if test -n "$ac_tool_prefix"; then
3258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_CC+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$CC"; then
3266 ac_cv_prog_CC="$CC" # Let the user override the test.
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 if test -n "$CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 $as_echo "$CC" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3296 if test -z "$ac_cv_prog_CC"; then
3298 # Extract the first word of "gcc", so it can be a program name with args.
3299 set dummy gcc; ac_word=$2
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301 $as_echo_n "checking for $ac_word... " >&6; }
3302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 if test -n "$ac_ct_CC"; then
3306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir=.
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3315 ac_cv_prog_ac_ct_CC="gcc"
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3326 if test -n "$ac_ct_CC"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3328 $as_echo "$ac_ct_CC" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3334 if test "x$ac_ct_CC" = x; then
3337 case $cross_compiling:$ac_tool_warned in
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3341 ac_tool_warned=yes ;;
3349 if test -z "$CC"; then
3350 if test -n "$ac_tool_prefix"; then
3351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3352 set dummy ${ac_tool_prefix}cc; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if ${ac_cv_prog_CC+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$CC"; then
3359 ac_cv_prog_CC="$CC" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 ac_cv_prog_CC="${ac_tool_prefix}cc"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 if test -n "$CC"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3381 $as_echo "$CC" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3390 if test -z "$CC"; then
3391 # Extract the first word of "cc", so it can be a program name with args.
3392 set dummy cc; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_CC+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$CC"; then
3399 ac_cv_prog_CC="$CC" # Let the user override the test.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3410 ac_prog_rejected=yes
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test $ac_prog_rejected = yes; then
3422 # We found a bogon in the path, so make sure we never use it.
3423 set dummy $ac_cv_prog_CC
3425 if test $# != 0; then
3426 # We chose a different compiler from the bogus one.
3427 # However, it has the same basename, so the bogon will be chosen
3428 # first if we set CC to just the basename; use the full file name.
3430 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3436 if test -n "$CC"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3438 $as_echo "$CC" >&6; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3446 if test -z "$CC"; then
3447 if test -n "$ac_tool_prefix"; then
3448 for ac_prog in cl.exe
3450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if ${ac_cv_prog_CC+:} false; then :
3455 $as_echo_n "(cached) " >&6
3457 if test -n "$CC"; then
3458 ac_cv_prog_CC="$CC" # Let the user override the test.
3460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir=.
3465 for ac_exec_ext in '' $ac_executable_extensions; do
3466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3467 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 if test -n "$CC"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3480 $as_echo "$CC" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 $as_echo "no" >&6; }
3487 test -n "$CC" && break
3490 if test -z "$CC"; then
3492 for ac_prog in cl.exe
3494 # Extract the first word of "$ac_prog", so it can be a program name with args.
3495 set dummy $ac_prog; ac_word=$2
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497 $as_echo_n "checking for $ac_word... " >&6; }
3498 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3499 $as_echo_n "(cached) " >&6
3501 if test -n "$ac_ct_CC"; then
3502 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir=.
3509 for ac_exec_ext in '' $ac_executable_extensions; do
3510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3511 ac_cv_prog_ac_ct_CC="$ac_prog"
3512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3522 if test -n "$ac_ct_CC"; then
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3524 $as_echo "$ac_ct_CC" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 $as_echo "no" >&6; }
3531 test -n "$ac_ct_CC" && break
3534 if test "x$ac_ct_CC" = x; then
3537 case $cross_compiling:$ac_tool_warned in
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3541 ac_tool_warned=yes ;;
3550 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 as_fn_error $? "no acceptable C compiler found in \$PATH
3553 See \`config.log' for more details" "$LINENO" 5; }
3555 # Provide some information about the compiler.
3556 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3559 for ac_option in --version -v -V -qversion; do
3560 { { ac_try="$ac_compiler $ac_option >&5"
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3569 if test -s conftest.err; then
3571 ... rest of stderr output deleted ...
3572 10q' conftest.err >conftest.er1
3573 cat conftest.er1 >&5
3575 rm -f conftest.er1 conftest.err
3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577 test $ac_status = 0; }
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 ac_clean_files_save=$ac_clean_files
3592 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3593 # Try to create an executable without -o first, disregard a.out.
3594 # It will help us diagnose broken compilers, and finding out an intuition
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3597 $as_echo_n "checking whether the C compiler works... " >&6; }
3598 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3600 # The possible output files:
3601 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3604 for ac_file in $ac_files
3607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3608 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3613 if { { ac_try="$ac_link_default"
3615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616 *) ac_try_echo=$ac_try;;
3618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3619 $as_echo "$ac_try_echo"; } >&5
3620 (eval "$ac_link_default") 2>&5
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }; then :
3624 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3625 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3626 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3627 # so that the user can short-circuit this test for compilers unknown to
3629 for ac_file in $ac_files ''
3631 test -f "$ac_file" || continue
3633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3636 # We found the default executable, but exeext='' is most
3640 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3642 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3644 # We set ac_cv_exeext here because the later test for it is not
3645 # safe: cross compilers may not add the suffix if given an `-o'
3646 # argument, so we may need to know it at that point already.
3647 # Even if this section looks crufty: it has the advantage of
3654 test "$ac_cv_exeext" = no && ac_cv_exeext=
3659 if test -z "$ac_file"; then :
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3662 $as_echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.$ac_ext >&5
3665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 as_fn_error 77 "C compiler cannot create executables
3668 See \`config.log' for more details" "$LINENO" 5; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3671 $as_echo "yes" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3674 $as_echo_n "checking for C compiler default output file name... " >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3676 $as_echo "$ac_file" >&6; }
3677 ac_exeext=$ac_cv_exeext
3679 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3680 ac_clean_files=$ac_clean_files_save
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3682 $as_echo_n "checking for suffix of executables... " >&6; }
3683 if { { ac_try="$ac_link"
3685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3686 *) ac_try_echo=$ac_try;;
3688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3689 $as_echo "$ac_try_echo"; } >&5
3690 (eval "$ac_link") 2>&5
3692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3693 test $ac_status = 0; }; then :
3694 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3695 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3696 # work properly (i.e., refer to `conftest.exe'), while it won't with
3698 for ac_file in conftest.exe conftest conftest.*; do
3699 test -f "$ac_file" || continue
3701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3702 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3711 See \`config.log' for more details" "$LINENO" 5; }
3713 rm -f conftest conftest$ac_cv_exeext
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3715 $as_echo "$ac_cv_exeext" >&6; }
3717 rm -f conftest.$ac_ext
3718 EXEEXT=$ac_cv_exeext
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3726 FILE *f = fopen ("conftest.out", "w");
3727 return ferror (f) || fclose (f) != 0;
3733 ac_clean_files="$ac_clean_files conftest.out"
3734 # Check that the compiler produces executables we can run. If not, either
3735 # the compiler is broken, or we cross compile.
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3737 $as_echo_n "checking whether we are cross compiling... " >&6; }
3738 if test "$cross_compiling" != yes; then
3739 { { ac_try="$ac_link"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
3746 (eval "$ac_link") 2>&5
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }
3750 if { ac_try='./conftest$ac_cv_exeext'
3751 { { case "(($ac_try" in
3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3756 $as_echo "$ac_try_echo"; } >&5
3757 (eval "$ac_try") 2>&5
3759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760 test $ac_status = 0; }; }; then
3763 if test "$cross_compiling" = maybe; then
3766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error $? "cannot run C compiled programs.
3769 If you meant to cross compile, use \`--host'.
3770 See \`config.log' for more details" "$LINENO" 5; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3775 $as_echo "$cross_compiling" >&6; }
3777 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3778 ac_clean_files=$ac_clean_files_save
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3780 $as_echo_n "checking for suffix of object files... " >&6; }
3781 if ${ac_cv_objext+:} false; then :
3782 $as_echo_n "(cached) " >&6
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 rm -f conftest.o conftest.obj
3796 if { { ac_try="$ac_compile"
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803 (eval "$ac_compile") 2>&5
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }; then :
3807 for ac_file in conftest.o conftest.obj conftest.*; do
3808 test -f "$ac_file" || continue;
3810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3816 $as_echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3821 as_fn_error $? "cannot compute suffix of object files: cannot compile
3822 See \`config.log' for more details" "$LINENO" 5; }
3824 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3827 $as_echo "$ac_cv_objext" >&6; }
3828 OBJEXT=$ac_cv_objext
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3831 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3832 if ${ac_cv_c_compiler_gnu+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3849 if ac_fn_c_try_compile "$LINENO"; then :
3854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3855 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3859 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3860 if test $ac_compiler_gnu = yes; then
3865 ac_test_CFLAGS=${CFLAGS+set}
3866 ac_save_CFLAGS=$CFLAGS
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3868 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3869 if ${ac_cv_prog_cc_g+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 ac_save_c_werror_flag=$ac_c_werror_flag
3873 ac_c_werror_flag=yes
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_c_try_compile "$LINENO"; then :
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3902 if ac_fn_c_try_compile "$LINENO"; then :
3905 ac_c_werror_flag=$ac_save_c_werror_flag
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3918 if ac_fn_c_try_compile "$LINENO"; then :
3921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 ac_c_werror_flag=$ac_save_c_werror_flag
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3929 $as_echo "$ac_cv_prog_cc_g" >&6; }
3930 if test "$ac_test_CFLAGS" = set; then
3931 CFLAGS=$ac_save_CFLAGS
3932 elif test $ac_cv_prog_cc_g = yes; then
3933 if test "$GCC" = yes; then
3939 if test "$GCC" = yes; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3946 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3947 if ${ac_cv_prog_cc_c89+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 ac_cv_prog_cc_c89=no
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3956 #include <sys/types.h>
3957 #include <sys/stat.h>
3958 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3959 struct buf { int x; };
3960 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3961 static char *e (p, i)
3967 static char *f (char * (*g) (char **, int), char **p, ...)
3972 s = g (p, va_arg (v,int));
3977 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3978 function prototypes and stuff, but not '\xHH' hex character constants.
3979 These don't provoke an error unfortunately, instead are silently treated
3980 as 'x'. The following induces an error, until -std is added to get
3981 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3982 array size at least. It's necessary to write '\x00'==0 to get something
3983 that's true only with -std. */
3984 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3986 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3987 inside strings and character constants. */
3989 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3991 int test (int i, double x);
3992 struct s1 {int (*f) (int a);};
3993 struct s2 {int (*f) (double a);};
3994 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4000 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4005 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4006 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4008 CC="$ac_save_CC $ac_arg"
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_prog_cc_c89=$ac_arg
4012 rm -f core conftest.err conftest.$ac_objext
4013 test "x$ac_cv_prog_cc_c89" != "xno" && break
4015 rm -f conftest.$ac_ext
4020 case "x$ac_cv_prog_cc_c89" in
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 $as_echo "none needed" >&6; } ;;
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4026 $as_echo "unsupported" >&6; } ;;
4028 CC="$CC $ac_cv_prog_cc_c89"
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4030 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4032 if test "x$ac_cv_prog_cc_c89" != xno; then :
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041 DEPDIR="${am__leading_dot}deps"
4043 ac_config_commands="$ac_config_commands depfiles"
4046 am_make=${MAKE-make}
4047 cat > confinc << 'END'
4049 @echo this is the am__doit target
4052 # If we don't find an include directive, just comment out the code.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4054 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4058 # First try GNU make style include.
4059 echo "include confinc" > confmf
4060 # Ignore all kinds of additional output from `make'.
4061 case `$am_make -s -f confmf 2> /dev/null` in #(
4062 *the\ am__doit\ target*)
4068 # Now try BSD make style include.
4069 if test "$am__include" = "#"; then
4070 echo '.include "confinc"' > confmf
4071 case `$am_make -s -f confmf 2> /dev/null` in #(
4072 *the\ am__doit\ target*)
4073 am__include=.include
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4082 $as_echo "$_am_result" >&6; }
4083 rm -f confinc confmf
4085 # Check whether --enable-dependency-tracking was given.
4086 if test "${enable_dependency_tracking+set}" = set; then :
4087 enableval=$enable_dependency_tracking;
4090 if test "x$enable_dependency_tracking" != xno; then
4091 am_depcomp="$ac_aux_dir/depcomp"
4094 if test "x$enable_dependency_tracking" != xno; then
4104 depcc="$CC" am_compiler_list=
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4107 $as_echo_n "checking dependency style of $depcc... " >&6; }
4108 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4112 # We make a subdir and do the tests there. Otherwise we can end up
4113 # making bogus files that we don't know about and never remove. For
4114 # instance it was reported that on HP-UX the gcc test will end up
4115 # making a dummy file named `D' -- because `-MD' means `put the output
4118 # Copy depcomp to subdir because otherwise we won't find it if we're
4119 # using a relative directory.
4120 cp "$am_depcomp" conftest.dir
4122 # We will build objects and dependencies in a subdirectory because
4123 # it helps to detect inapplicable dependency modes. For instance
4124 # both Tru64's cc and ICC support -MD to output dependencies as a
4125 # side effect of compilation, but ICC will put the dependencies in
4126 # the current directory while Tru64 will put them in the object
4130 am_cv_CC_dependencies_compiler_type=none
4131 if test "$am_compiler_list" = ""; then
4132 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4135 case " $depcc " in #(
4136 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4139 for depmode in $am_compiler_list; do
4140 # Setup a source with many dependencies, because some compilers
4141 # like to wrap large dependency lists on column 80 (with \), and
4142 # we should not choose a depcomp mode which is confused by this.
4144 # We need to recreate these files for each test, as the compiler may
4145 # overwrite some of them when testing with obscure command lines.
4146 # This happens at least with the AIX C compiler.
4148 for i in 1 2 3 4 5 6; do
4149 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4150 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4151 # Solaris 8's {/usr,}/bin/sh.
4152 touch sub/conftst$i.h
4154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4156 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4157 # mode. It turns out that the SunPro C++ compiler does not properly
4158 # handle `-M -o', and we need to detect this. Also, some Intel
4159 # versions had trouble with output in subdirs
4160 am__obj=sub/conftest.${OBJEXT-o}
4161 am__minus_obj="-o $am__obj"
4164 # This depmode causes a compiler race in universal mode.
4165 test "$am__universal" = false || continue
4168 # after this tag, mechanisms are not by side-effect, so they'll
4169 # only be used when explicitly requested
4170 if test "x$enable_dependency_tracking" = xyes; then
4176 msvisualcpp | msvcmsys)
4177 # This compiler won't grok `-c -o', but also, the minuso test has
4178 # not run yet. These depmodes are late enough in the game, and
4179 # so weak that their functioning should not be impacted.
4180 am__obj=conftest.${OBJEXT-o}
4185 if depmode=$depmode \
4186 source=sub/conftest.c object=$am__obj \
4187 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4188 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4189 >/dev/null 2>conftest.err &&
4190 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4191 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4192 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4193 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4194 # icc doesn't choke on unknown options, it will just issue warnings
4195 # or remarks (even with -Werror). So we grep stderr for any message
4196 # that says an option was ignored or not supported.
4197 # When given -MP, icc 7.0 and 7.1 complain thusly:
4198 # icc: Command line warning: ignoring option '-M'; no argument required
4199 # The diagnosis changed in icc 8.0:
4200 # icc: Command line remark: option '-MP' not supported
4201 if (grep 'ignoring option' conftest.err ||
4202 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4203 am_cv_CC_dependencies_compiler_type=$depmode
4212 am_cv_CC_dependencies_compiler_type=none
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4217 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4218 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4221 test "x$enable_dependency_tracking" != xno \
4222 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4224 am__fastdepCC_FALSE='#'
4226 am__fastdepCC_TRUE='#'
4227 am__fastdepCC_FALSE=
4231 if test "x$CC" != xcc; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4233 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4236 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4238 set dummy $CC; ac_cc=`$as_echo "$2" |
4239 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4240 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4241 $as_echo_n "(cached) " >&6
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4254 # Make sure it works both with $CC and with simple cc.
4255 # We do the test twice because some compilers refuse to overwrite an
4256 # existing .o file with -o, though they will create one.
4257 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4259 if { { case "(($ac_try" in
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4264 $as_echo "$ac_try_echo"; } >&5
4265 (eval "$ac_try") 2>&5
4267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4268 test $ac_status = 0; } &&
4269 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_try") 2>&5
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; };
4280 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4281 if test "x$CC" != xcc; then
4282 # Test first that cc exists at all.
4283 if { ac_try='cc -c conftest.$ac_ext >&5'
4284 { { case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4289 $as_echo "$ac_try_echo"; } >&5
4290 (eval "$ac_try") 2>&5
4292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4293 test $ac_status = 0; }; }; then
4294 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4296 if { { case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_try") 2>&5
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; } &&
4306 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_try") 2>&5
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; };
4320 # cc exists but doesn't like -o.
4321 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4326 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4328 rm -f core conftest*
4331 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4333 $as_echo "yes" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4338 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4342 # FIXME: we rely on the cache variable name because
4343 # there is no other way.
4345 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4346 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4347 if test "$am_t" != yes; then
4348 # Losing compiler, so override with the script.
4349 # FIXME: It is wrong to rewrite CC.
4350 # But if we don't then we get into trouble of one sort or another.
4351 # A longer-term fix would be to have automake use am__CC in this case,
4352 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4353 CC="$am_aux_dir/compile $CC"
4358 # Initialize libtool
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4363 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4369 macro_revision='1.3293'
4383 ltmain="$ac_aux_dir/ltmain.sh"
4385 # Backslashify metacharacters that are still active within
4386 # double-quoted strings.
4387 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4389 # Same as above, but do not quote variable references.
4390 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4392 # Sed substitution to delay expansion of an escaped shell variable in a
4393 # double_quote_subst'ed string.
4394 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4396 # Sed substitution to delay expansion of an escaped single quote.
4397 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4399 # Sed substitution to avoid accidental globbing in evaled expressions
4400 no_glob_subst='s/\*/\\\*/g'
4402 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4403 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4404 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4407 $as_echo_n "checking how to print strings... " >&6; }
4408 # Test print first, because it will be a builtin if present.
4409 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4410 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4412 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4415 # Use this function as a fallback that always works.
4416 func_fallback_echo ()
4418 eval 'cat <<_LTECHO_EOF
4422 ECHO='func_fallback_echo'
4425 # func_echo_all arg...
4426 # Invoke $ECHO with all args, space-separated.
4433 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4434 $as_echo "printf" >&6; } ;;
4435 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4436 $as_echo "print -r" >&6; } ;;
4437 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4438 $as_echo "cat" >&6; } ;;
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4455 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4456 if ${ac_cv_path_SED+:} false; then :
4457 $as_echo_n "(cached) " >&6
4459 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4460 for ac_i in 1 2 3 4 5 6 7; do
4461 ac_script="$ac_script$as_nl$ac_script"
4463 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4464 { ac_script=; unset ac_script;}
4465 if test -z "$SED"; then
4466 ac_path_SED_found=false
4467 # Loop through the user's path and test for each of PROGNAME-LIST
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir=.
4473 for ac_prog in sed gsed; do
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4476 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4477 # Check for GNU ac_path_SED and select it if it is found.
4478 # Check for GNU $ac_path_SED
4479 case `"$ac_path_SED" --version 2>&1` in
4481 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4484 $as_echo_n 0123456789 >"conftest.in"
4487 cat "conftest.in" "conftest.in" >"conftest.tmp"
4488 mv "conftest.tmp" "conftest.in"
4489 cp "conftest.in" "conftest.nl"
4490 $as_echo '' >> "conftest.nl"
4491 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4493 as_fn_arith $ac_count + 1 && ac_count=$as_val
4494 if test $ac_count -gt ${ac_path_SED_max-0}; then
4495 # Best one so far, save it but keep looking for a better one
4496 ac_cv_path_SED="$ac_path_SED"
4497 ac_path_SED_max=$ac_count
4499 # 10*(2^10) chars as input seems more than enough
4500 test $ac_count -gt 10 && break
4502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4505 $ac_path_SED_found && break 3
4510 if test -z "$ac_cv_path_SED"; then
4511 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4519 $as_echo "$ac_cv_path_SED" >&6; }
4520 SED="$ac_cv_path_SED"
4523 test -z "$SED" && SED=sed
4524 Xsed="$SED -e 1s/^X//"
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4537 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4538 if ${ac_cv_path_GREP+:} false; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -z "$GREP"; then
4542 ac_path_GREP_found=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4548 test -z "$as_dir" && as_dir=.
4549 for ac_prog in grep ggrep; do
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4552 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4553 # Check for GNU ac_path_GREP and select it if it is found.
4554 # Check for GNU $ac_path_GREP
4555 case `"$ac_path_GREP" --version 2>&1` in
4557 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'GREP' >> "conftest.nl"
4567 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4568 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4569 as_fn_arith $ac_count + 1 && ac_count=$as_val
4570 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_GREP="$ac_path_GREP"
4573 ac_path_GREP_max=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4581 $ac_path_GREP_found && break 3
4586 if test -z "$ac_cv_path_GREP"; then
4587 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_GREP=$GREP
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4595 $as_echo "$ac_cv_path_GREP" >&6; }
4596 GREP="$ac_cv_path_GREP"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4600 $as_echo_n "checking for egrep... " >&6; }
4601 if ${ac_cv_path_EGREP+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4605 then ac_cv_path_EGREP="$GREP -E"
4607 if test -z "$EGREP"; then
4608 ac_path_EGREP_found=false
4609 # Loop through the user's path and test for each of PROGNAME-LIST
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4614 test -z "$as_dir" && as_dir=.
4615 for ac_prog in egrep; do
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4618 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4619 # Check for GNU ac_path_EGREP and select it if it is found.
4620 # Check for GNU $ac_path_EGREP
4621 case `"$ac_path_EGREP" --version 2>&1` in
4623 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4626 $as_echo_n 0123456789 >"conftest.in"
4629 cat "conftest.in" "conftest.in" >"conftest.tmp"
4630 mv "conftest.tmp" "conftest.in"
4631 cp "conftest.in" "conftest.nl"
4632 $as_echo 'EGREP' >> "conftest.nl"
4633 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4634 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4635 as_fn_arith $ac_count + 1 && ac_count=$as_val
4636 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4637 # Best one so far, save it but keep looking for a better one
4638 ac_cv_path_EGREP="$ac_path_EGREP"
4639 ac_path_EGREP_max=$ac_count
4641 # 10*(2^10) chars as input seems more than enough
4642 test $ac_count -gt 10 && break
4644 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4647 $ac_path_EGREP_found && break 3
4652 if test -z "$ac_cv_path_EGREP"; then
4653 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 ac_cv_path_EGREP=$EGREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4662 $as_echo "$ac_cv_path_EGREP" >&6; }
4663 EGREP="$ac_cv_path_EGREP"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4667 $as_echo_n "checking for fgrep... " >&6; }
4668 if ${ac_cv_path_FGREP+:} false; then :
4669 $as_echo_n "(cached) " >&6
4671 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4672 then ac_cv_path_FGREP="$GREP -F"
4674 if test -z "$FGREP"; then
4675 ac_path_FGREP_found=false
4676 # Loop through the user's path and test for each of PROGNAME-LIST
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4681 test -z "$as_dir" && as_dir=.
4682 for ac_prog in fgrep; do
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4685 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4686 # Check for GNU ac_path_FGREP and select it if it is found.
4687 # Check for GNU $ac_path_FGREP
4688 case `"$ac_path_FGREP" --version 2>&1` in
4690 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4693 $as_echo_n 0123456789 >"conftest.in"
4696 cat "conftest.in" "conftest.in" >"conftest.tmp"
4697 mv "conftest.tmp" "conftest.in"
4698 cp "conftest.in" "conftest.nl"
4699 $as_echo 'FGREP' >> "conftest.nl"
4700 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4701 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4702 as_fn_arith $ac_count + 1 && ac_count=$as_val
4703 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4704 # Best one so far, save it but keep looking for a better one
4705 ac_cv_path_FGREP="$ac_path_FGREP"
4706 ac_path_FGREP_max=$ac_count
4708 # 10*(2^10) chars as input seems more than enough
4709 test $ac_count -gt 10 && break
4711 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4714 $ac_path_FGREP_found && break 3
4719 if test -z "$ac_cv_path_FGREP"; then
4720 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4723 ac_cv_path_FGREP=$FGREP
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4729 $as_echo "$ac_cv_path_FGREP" >&6; }
4730 FGREP="$ac_cv_path_FGREP"
4733 test -z "$GREP" && GREP=grep
4753 # Check whether --with-gnu-ld was given.
4754 if test "${with_gnu_ld+set}" = set; then :
4755 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4761 if test "$GCC" = yes; then
4762 # Check if gcc -print-prog-name=ld gives a path.
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4764 $as_echo_n "checking for ld used by $CC... " >&6; }
4767 # gcc leaves a trailing carriage return which upsets mingw
4768 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4770 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4773 # Accept absolute paths.
4775 re_direlt='/[^/][^/]*/\.\./'
4776 # Canonicalize the pathname of ld
4777 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4778 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4779 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4781 test -z "$LD" && LD="$ac_prog"
4784 # If it fails, then pretend we aren't using GCC.
4788 # If it is relative, then search for the first ld in PATH.
4792 elif test "$with_gnu_ld" = yes; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4794 $as_echo_n "checking for GNU ld... " >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4797 $as_echo_n "checking for non-GNU ld... " >&6; }
4799 if ${lt_cv_path_LD+:} false; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -z "$LD"; then
4803 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4804 for ac_dir in $PATH; do
4806 test -z "$ac_dir" && ac_dir=.
4807 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4808 lt_cv_path_LD="$ac_dir/$ac_prog"
4809 # Check to see if the program is GNU ld. I'd rather use --version,
4810 # but apparently some variants of GNU ld only accept -v.
4811 # Break only if it was the GNU/non-GNU ld that we prefer.
4812 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4813 *GNU* | *'with BFD'*)
4814 test "$with_gnu_ld" != no && break
4817 test "$with_gnu_ld" != yes && break
4824 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4829 if test -n "$LD"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4831 $as_echo "$LD" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4836 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4838 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4839 if ${lt_cv_prog_gnu_ld+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4843 case `$LD -v 2>&1 </dev/null` in
4844 *GNU* | *'with BFD'*)
4845 lt_cv_prog_gnu_ld=yes
4848 lt_cv_prog_gnu_ld=no
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4853 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4854 with_gnu_ld=$lt_cv_prog_gnu_ld
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4865 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4866 if ${lt_cv_path_NM+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$NM"; then
4870 # Let the user override the test.
4873 lt_nm_to_check="${ac_tool_prefix}nm"
4874 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4875 lt_nm_to_check="$lt_nm_to_check nm"
4877 for lt_tmp_nm in $lt_nm_to_check; do
4878 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4879 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4881 test -z "$ac_dir" && ac_dir=.
4882 tmp_nm="$ac_dir/$lt_tmp_nm"
4883 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4884 # Check to see if the nm accepts a BSD-compat flag.
4885 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4886 # nm: unknown option "B" ignored
4887 # Tru64's nm complains that /dev/null is an invalid object file
4888 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4889 */dev/null* | *'Invalid file or object type'*)
4890 lt_cv_path_NM="$tmp_nm -B"
4894 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4896 lt_cv_path_NM="$tmp_nm -p"
4900 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4901 continue # so that we can try to find one that supports BSD flags
4910 : ${lt_cv_path_NM=no}
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4914 $as_echo "$lt_cv_path_NM" >&6; }
4915 if test "$lt_cv_path_NM" != "no"; then
4918 # Didn't find any BSD compatible name lister, look for dumpbin.
4919 if test -n "$DUMPBIN"; then :
4920 # Let the user override the test.
4922 if test -n "$ac_tool_prefix"; then
4923 for ac_prog in dumpbin "link -dump"
4925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4926 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_DUMPBIN+:} false; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$DUMPBIN"; then
4933 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 DUMPBIN=$ac_cv_prog_DUMPBIN
4953 if test -n "$DUMPBIN"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4955 $as_echo "$DUMPBIN" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4962 test -n "$DUMPBIN" && break
4965 if test -z "$DUMPBIN"; then
4966 ac_ct_DUMPBIN=$DUMPBIN
4967 for ac_prog in dumpbin "link -dump"
4969 # Extract the first word of "$ac_prog", so it can be a program name with args.
4970 set dummy $ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$ac_ct_DUMPBIN"; then
4977 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4997 if test -n "$ac_ct_DUMPBIN"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4999 $as_echo "$ac_ct_DUMPBIN" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$ac_ct_DUMPBIN" && break
5009 if test "x$ac_ct_DUMPBIN" = x; then
5012 case $cross_compiling:$ac_tool_warned in
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5018 DUMPBIN=$ac_ct_DUMPBIN
5022 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5024 DUMPBIN="$DUMPBIN -symbols"
5032 if test "$DUMPBIN" != ":"; then
5036 test -z "$NM" && NM=nm
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5044 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5045 if ${lt_cv_nm_interface+:} false; then :
5046 $as_echo_n "(cached) " >&6
5048 lt_cv_nm_interface="BSD nm"
5049 echo "int some_variable = 0;" > conftest.$ac_ext
5050 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5051 (eval "$ac_compile" 2>conftest.err)
5052 cat conftest.err >&5
5053 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5054 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5055 cat conftest.err >&5
5056 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5057 cat conftest.out >&5
5058 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5059 lt_cv_nm_interface="MS dumpbin"
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5064 $as_echo "$lt_cv_nm_interface" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5067 $as_echo_n "checking whether ln -s works... " >&6; }
5069 if test "$LN_S" = "ln -s"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5074 $as_echo "no, using $LN_S" >&6; }
5077 # find the maximum length of command line arguments
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5079 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5080 if ${lt_cv_sys_max_cmd_len+:} false; then :
5081 $as_echo_n "(cached) " >&6
5088 # On DJGPP, this test can blow up pretty badly due to problems in libc
5089 # (any single argument exceeding 2000 bytes causes a buffer overrun
5090 # during glob expansion). Even if it were fixed, the result of this
5091 # check would be larger than it should be.
5092 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5096 # Under GNU Hurd, this test is not required because there is
5097 # no limit to the length of command line arguments.
5098 # Libtool will interpret -1 as no limit whatsoever
5099 lt_cv_sys_max_cmd_len=-1;
5102 cygwin* | mingw* | cegcc*)
5103 # On Win9x/ME, this test blows up -- it succeeds, but takes
5104 # about 5 minutes as the teststring grows exponentially.
5105 # Worse, since 9x/ME are not pre-emptively multitasking,
5106 # you end up with a "frozen" computer, even though with patience
5107 # the test eventually succeeds (with a max line length of 256k).
5108 # Instead, let's just punt: use the minimum linelength reported by
5109 # all of the supported platforms: 8192 (on NT/2K/XP).
5110 lt_cv_sys_max_cmd_len=8192;
5114 # On MiNT this can take a long time and run out of memory.
5115 lt_cv_sys_max_cmd_len=8192;
5119 # On AmigaOS with pdksh, this test takes hours, literally.
5120 # So we just punt and use a minimum line length of 8192.
5121 lt_cv_sys_max_cmd_len=8192;
5124 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5125 # This has been around since 386BSD, at least. Likely further.
5126 if test -x /sbin/sysctl; then
5127 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5128 elif test -x /usr/sbin/sysctl; then
5129 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5131 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5133 # And add a safety zone
5134 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5135 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5139 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5140 lt_cv_sys_max_cmd_len=196608
5144 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5145 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5146 # nice to cause kernel panics so lets avoid the loop below.
5147 # First set a reasonable default.
5148 lt_cv_sys_max_cmd_len=16384
5150 if test -x /sbin/sysconfig; then
5151 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5152 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5157 lt_cv_sys_max_cmd_len=102400
5159 sysv5* | sco5v6* | sysv4.2uw2*)
5160 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5161 if test -n "$kargmax"; then
5162 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5164 lt_cv_sys_max_cmd_len=32768
5168 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5169 if test -n "$lt_cv_sys_max_cmd_len"; then
5170 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5171 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5173 # Make teststring a little bigger before we do anything with it.
5174 # a 1K string should be a reasonable start.
5175 for i in 1 2 3 4 5 6 7 8 ; do
5176 teststring=$teststring$teststring
5178 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5179 # If test is not a shell built-in, we'll probably end up computing a
5180 # maximum length that is only half of the actual maximum length, but
5182 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5183 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5184 test $i != 17 # 1/2 MB should be enough
5187 teststring=$teststring$teststring
5189 # Only check the string length outside the loop.
5190 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5192 # Add a significant safety factor because C++ compilers can tack on
5193 # massive amounts of additional arguments before passing them to the
5194 # linker. It appears as though 1/2 is a usable value.
5195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5202 if test -n $lt_cv_sys_max_cmd_len ; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5204 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5207 $as_echo "none" >&6; }
5209 max_cmd_len=$lt_cv_sys_max_cmd_len
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5221 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5222 # Try some XSI features
5225 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5227 && eval 'test $(( 1 + 1 )) -eq 2 \
5228 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5231 $as_echo "$xsi_shell" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5235 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5237 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5239 && lt_shell_append=yes
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5241 $as_echo "$lt_shell_append" >&6; }
5244 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5254 # test EBCDIC or ASCII
5255 case `echo X|tr X '\101'` in
5256 A) # ASCII based system
5257 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5258 lt_SP2NL='tr \040 \012'
5259 lt_NL2SP='tr \015\012 \040\040'
5261 *) # EBCDIC based system
5262 lt_SP2NL='tr \100 \n'
5263 lt_NL2SP='tr \r\n \100\100'
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5276 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5277 if ${lt_cv_to_host_file_cmd+:} false; then :
5278 $as_echo_n "(cached) " >&6
5283 *-*-mingw* ) # actually msys
5284 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5287 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5289 * ) # otherwise, assume *nix
5290 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5296 *-*-mingw* ) # actually msys
5297 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5300 lt_cv_to_host_file_cmd=func_convert_file_noop
5302 * ) # otherwise, assume *nix
5303 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5307 * ) # unhandled hosts (and "normal" native builds)
5308 lt_cv_to_host_file_cmd=func_convert_file_noop
5314 to_host_file_cmd=$lt_cv_to_host_file_cmd
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5316 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5323 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5324 if ${lt_cv_to_tool_file_cmd+:} false; then :
5325 $as_echo_n "(cached) " >&6
5327 #assume ordinary cross tools, or native build.
5328 lt_cv_to_tool_file_cmd=func_convert_file_noop
5332 *-*-mingw* ) # actually msys
5333 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5341 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5343 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5350 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5351 if ${lt_cv_ld_reload_flag+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 lt_cv_ld_reload_flag='-r'
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5357 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5358 reload_flag=$lt_cv_ld_reload_flag
5359 case $reload_flag in
5361 *) reload_flag=" $reload_flag" ;;
5363 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5365 cygwin* | mingw* | pw32* | cegcc*)
5366 if test "$GCC" != yes; then
5371 if test "$GCC" = yes; then
5372 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5374 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5387 if test -n "$ac_tool_prefix"; then
5388 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5389 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_OBJDUMP+:} false; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$OBJDUMP"; then
5396 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 OBJDUMP=$ac_cv_prog_OBJDUMP
5416 if test -n "$OBJDUMP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5418 $as_echo "$OBJDUMP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5426 if test -z "$ac_cv_prog_OBJDUMP"; then
5427 ac_ct_OBJDUMP=$OBJDUMP
5428 # Extract the first word of "objdump", so it can be a program name with args.
5429 set dummy objdump; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$ac_ct_OBJDUMP"; then
5436 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5456 if test -n "$ac_ct_OBJDUMP"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5458 $as_echo "$ac_ct_OBJDUMP" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5464 if test "x$ac_ct_OBJDUMP" = x; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5471 ac_tool_warned=yes ;;
5473 OBJDUMP=$ac_ct_OBJDUMP
5476 OBJDUMP="$ac_cv_prog_OBJDUMP"
5479 test -z "$OBJDUMP" && OBJDUMP=objdump
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5490 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5491 if ${lt_cv_deplibs_check_method+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 lt_cv_file_magic_cmd='$MAGIC_CMD'
5495 lt_cv_file_magic_test_file=
5496 lt_cv_deplibs_check_method='unknown'
5497 # Need to set the preceding variable on all platforms that support
5498 # interlibrary dependencies.
5499 # 'none' -- dependencies not supported.
5500 # `unknown' -- same as none, but documents that we really don't know.
5501 # 'pass_all' -- all dependencies passed with no checks.
5502 # 'test_compile' -- check by making test program.
5503 # 'file_magic [[regex]]' -- check by looking for files in library path
5504 # which responds to the $file_magic_cmd with a given extended regex.
5505 # If you have `file' or equivalent on your system and you're not sure
5506 # whether `pass_all' will *always* work, you probably want this one.
5510 lt_cv_deplibs_check_method=pass_all
5514 lt_cv_deplibs_check_method=pass_all
5518 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5519 lt_cv_file_magic_cmd='/usr/bin/file -L'
5520 lt_cv_file_magic_test_file=/shlib/libc.so
5524 # func_win32_libid is a shell function defined in ltmain.sh
5525 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5526 lt_cv_file_magic_cmd='func_win32_libid'
5530 # Base MSYS/MinGW do not provide the 'file' command needed by
5531 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5532 # unless we find 'file', for example because we are cross-compiling.
5533 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5534 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5535 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5536 lt_cv_file_magic_cmd='func_win32_libid'
5538 # Keep this pattern in sync with the one in func_win32_libid.
5539 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5540 lt_cv_file_magic_cmd='$OBJDUMP -f'
5545 # use the weaker test based on 'objdump'. See mingw*.
5546 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5547 lt_cv_file_magic_cmd='$OBJDUMP -f'
5550 darwin* | rhapsody*)
5551 lt_cv_deplibs_check_method=pass_all
5554 freebsd* | dragonfly*)
5555 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5558 # Not sure whether the presence of OpenBSD here was a mistake.
5559 # Let's accept both of them until this is cleared up.
5560 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5561 lt_cv_file_magic_cmd=/usr/bin/file
5562 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5566 lt_cv_deplibs_check_method=pass_all
5571 lt_cv_deplibs_check_method=pass_all
5575 lt_cv_deplibs_check_method=pass_all
5578 hpux10.20* | hpux11*)
5579 lt_cv_file_magic_cmd=/usr/bin/file
5582 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5583 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5586 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]'
5587 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5590 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5591 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5597 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5598 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5601 irix5* | irix6* | nonstopux*)
5603 *-32|*"-32 ") libmagic=32-bit;;
5604 *-n32|*"-n32 ") libmagic=N32;;
5605 *-64|*"-64 ") libmagic=64-bit;;
5606 *) libmagic=never-match;;
5608 lt_cv_deplibs_check_method=pass_all
5611 # This must be Linux ELF.
5612 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5613 lt_cv_deplibs_check_method=pass_all
5617 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5618 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5620 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5625 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5626 lt_cv_file_magic_cmd=/usr/bin/file
5627 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5631 lt_cv_deplibs_check_method=pass_all
5635 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5638 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5642 osf3* | osf4* | osf5*)
5643 lt_cv_deplibs_check_method=pass_all
5647 lt_cv_deplibs_check_method=pass_all
5651 lt_cv_deplibs_check_method=pass_all
5654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5655 lt_cv_deplibs_check_method=pass_all
5659 case $host_vendor in
5661 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]'
5662 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5665 lt_cv_deplibs_check_method=pass_all
5668 lt_cv_file_magic_cmd='/bin/file'
5669 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5672 lt_cv_file_magic_cmd='/bin/file'
5673 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5674 lt_cv_file_magic_test_file=/lib/libc.so
5677 lt_cv_deplibs_check_method=pass_all
5680 lt_cv_deplibs_check_method=pass_all
5686 lt_cv_deplibs_check_method=pass_all
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5692 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5696 if test "$build" = "$host"; then
5699 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5702 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5708 file_magic_cmd=$lt_cv_file_magic_cmd
5709 deplibs_check_method=$lt_cv_deplibs_check_method
5710 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5733 if test -n "$ac_tool_prefix"; then
5734 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5735 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_DLLTOOL+:} false; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$DLLTOOL"; then
5742 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 DLLTOOL=$ac_cv_prog_DLLTOOL
5762 if test -n "$DLLTOOL"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5764 $as_echo "$DLLTOOL" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5772 if test -z "$ac_cv_prog_DLLTOOL"; then
5773 ac_ct_DLLTOOL=$DLLTOOL
5774 # Extract the first word of "dlltool", so it can be a program name with args.
5775 set dummy dlltool; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$ac_ct_DLLTOOL"; then
5782 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5802 if test -n "$ac_ct_DLLTOOL"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5804 $as_echo "$ac_ct_DLLTOOL" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5810 if test "x$ac_ct_DLLTOOL" = x; then
5813 case $cross_compiling:$ac_tool_warned in
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned=yes ;;
5819 DLLTOOL=$ac_ct_DLLTOOL
5822 DLLTOOL="$ac_cv_prog_DLLTOOL"
5825 test -z "$DLLTOOL" && DLLTOOL=dlltool
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5837 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5838 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5839 $as_echo_n "(cached) " >&6
5841 lt_cv_sharedlib_from_linklib_cmd='unknown'
5844 cygwin* | mingw* | pw32* | cegcc*)
5845 # two different shell functions defined in ltmain.sh
5846 # decide which to use based on capabilities of $DLLTOOL
5847 case `$DLLTOOL --help 2>&1` in
5848 *--identify-strict*)
5849 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5852 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5857 # fallback: assume linklib IS sharedlib
5858 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5864 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5865 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5866 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5875 if test -n "$ac_tool_prefix"; then
5878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_AR+:} false; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$AR"; then
5886 ac_cv_prog_AR="$AR" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 if test -n "$AR"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5908 $as_echo "$AR" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5915 test -n "$AR" && break
5918 if test -z "$AR"; then
5922 # Extract the first word of "$ac_prog", so it can be a program name with args.
5923 set dummy $ac_prog; ac_word=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5927 $as_echo_n "(cached) " >&6
5929 if test -n "$ac_ct_AR"; then
5930 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_prog_ac_ct_AR="$ac_prog"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5950 if test -n "$ac_ct_AR"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5952 $as_echo "$ac_ct_AR" >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5959 test -n "$ac_ct_AR" && break
5962 if test "x$ac_ct_AR" = x; then
5965 case $cross_compiling:$ac_tool_warned in
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5969 ac_tool_warned=yes ;;
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5989 $as_echo_n "checking for archiver @FILE support... " >&6; }
5990 if ${lt_cv_ar_at_file+:} false; then :
5991 $as_echo_n "(cached) " >&6
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
6005 if ac_fn_c_try_compile "$LINENO"; then :
6006 echo conftest.$ac_objext > conftest.lst
6007 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6008 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6009 (eval $lt_ar_try) 2>&5
6011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6012 test $ac_status = 0; }
6013 if test "$ac_status" -eq 0; then
6014 # Ensure the archiver fails upon bogus file names.
6015 rm -f conftest.$ac_objext libconftest.a
6016 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6017 (eval $lt_ar_try) 2>&5
6019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6020 test $ac_status = 0; }
6021 if test "$ac_status" -ne 0; then
6025 rm -f conftest.* libconftest.a
6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6032 $as_echo "$lt_cv_ar_at_file" >&6; }
6034 if test "x$lt_cv_ar_at_file" = xno; then
6037 archiver_list_spec=$lt_cv_ar_at_file
6046 if test -n "$ac_tool_prefix"; then
6047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6048 set dummy ${ac_tool_prefix}strip; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_STRIP+:} false; then :
6052 $as_echo_n "(cached) " >&6
6054 if test -n "$STRIP"; then
6055 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 STRIP=$ac_cv_prog_STRIP
6075 if test -n "$STRIP"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6077 $as_echo "$STRIP" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6085 if test -z "$ac_cv_prog_STRIP"; then
6087 # Extract the first word of "strip", so it can be a program name with args.
6088 set dummy strip; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6092 $as_echo_n "(cached) " >&6
6094 if test -n "$ac_ct_STRIP"; then
6095 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_ac_ct_STRIP="strip"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6115 if test -n "$ac_ct_STRIP"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6117 $as_echo "$ac_ct_STRIP" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6123 if test "x$ac_ct_STRIP" = x; then
6126 case $cross_compiling:$ac_tool_warned in
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6130 ac_tool_warned=yes ;;
6135 STRIP="$ac_cv_prog_STRIP"
6138 test -z "$STRIP" && STRIP=:
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_RANLIB+:} false; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -n "$RANLIB"; then
6154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 RANLIB=$ac_cv_prog_RANLIB
6174 if test -n "$RANLIB"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6176 $as_echo "$RANLIB" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 if test -z "$ac_cv_prog_RANLIB"; then
6185 ac_ct_RANLIB=$RANLIB
6186 # Extract the first word of "ranlib", so it can be a program name with args.
6187 set dummy ranlib; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6191 $as_echo_n "(cached) " >&6
6193 if test -n "$ac_ct_RANLIB"; then
6194 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_ac_ct_RANLIB="ranlib"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6214 if test -n "$ac_ct_RANLIB"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6216 $as_echo "$ac_ct_RANLIB" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6222 if test "x$ac_ct_RANLIB" = x; then
6225 case $cross_compiling:$ac_tool_warned in
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6229 ac_tool_warned=yes ;;
6231 RANLIB=$ac_ct_RANLIB
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 test -z "$RANLIB" && RANLIB=:
6244 # Determine commands to create old-style static archives.
6245 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6246 old_postinstall_cmds='chmod 644 $oldlib'
6247 old_postuninstall_cmds=
6249 if test -n "$RANLIB"; then
6252 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6255 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6258 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6263 lock_old_archive_extraction=yes ;;
6265 lock_old_archive_extraction=no ;;
6306 # If no C compiler was specified, use CC.
6309 # If no C compiler flags were specified, use CFLAGS.
6310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6312 # Allow CC to be a program name with arguments.
6316 # Check for command to grab the raw symbol name followed by C symbol from nm.
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6318 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6319 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6320 $as_echo_n "(cached) " >&6
6323 # These are sane defaults that work on at least a few old systems.
6324 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6326 # Character class describing NM global symbol codes.
6327 symcode='[BCDEGRST]'
6329 # Regexp to match symbols that can be accessed directly from C.
6330 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6332 # Define system-specific variables.
6337 cygwin* | mingw* | pw32* | cegcc*)
6338 symcode='[ABCDGISTW]'
6341 if test "$host_cpu" = ia64; then
6342 symcode='[ABCDEGRST]'
6346 symcode='[BCDEGRST]'
6349 symcode='[BCDEGQRST]'
6360 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6368 # If we're using GNU nm, then use its standard symbol codes.
6369 case `$NM -V 2>&1` in
6370 *GNU* | *'with BFD'*)
6371 symcode='[ABCDGIRSTW]' ;;
6374 # Transform an extracted symbol line into a proper C declaration.
6375 # Some systems (esp. on ia64) link data and code symbols differently,
6376 # so use this general approach.
6377 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6379 # Transform an extracted symbol line into symbol name and symbol address
6380 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6381 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'"
6383 # Handle CRLF in mingw tool chain
6387 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6391 # Try without a prefix underscore, then with it.
6392 for ac_symprfx in "" "_"; do
6394 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6395 symxfrm="\\1 $ac_symprfx\\2 \\2"
6397 # Write the raw and C identifiers.
6398 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6399 # Fake it for dumpbin and say T for any non-static function
6400 # and D for any global variable.
6401 # Also find C++ and __fastcall symbols from MSVC++,
6402 # which start with @ or ?.
6403 lt_cv_sys_global_symbol_pipe="$AWK '"\
6404 " {last_section=section; section=\$ 3};"\
6405 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6406 " \$ 0!~/External *\|/{next};"\
6407 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6408 " {if(hide[section]) next};"\
6409 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6410 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6411 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6412 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6413 " ' prfx=^$ac_symprfx"
6415 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6417 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6419 # Check to see that the pipe works correctly.
6423 cat > conftest.$ac_ext <<_LT_EOF
6428 void nm_test_func(void);
6429 void nm_test_func(void){}
6433 int main(){nm_test_var='a';nm_test_func();return(0);}
6436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6437 (eval $ac_compile) 2>&5
6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6440 test $ac_status = 0; }; then
6441 # Now try to grab the symbols.
6443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6444 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447 test $ac_status = 0; } && test -s "$nlist"; then
6448 # Try sorting and uniquifying the output.
6449 if sort "$nlist" | uniq > "$nlist"T; then
6450 mv -f "$nlist"T "$nlist"
6455 # Make sure that we snagged all the symbols we need.
6456 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6457 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6458 cat <<_LT_EOF > conftest.$ac_ext
6459 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6460 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6461 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6462 relocations are performed -- see ld's documentation on pseudo-relocs. */
6463 # define LT_DLSYM_CONST
6464 #elif defined(__osf__)
6465 /* This system does not cope well with relocations in const data. */
6466 # define LT_DLSYM_CONST
6468 # define LT_DLSYM_CONST const
6476 # Now generate the symbol file.
6477 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6479 cat <<_LT_EOF >> conftest.$ac_ext
6481 /* The mapping between symbol names and symbols. */
6482 LT_DLSYM_CONST struct {
6486 lt__PROGRAM__LTX_preloaded_symbols[] =
6488 { "@PROGRAM@", (void *) 0 },
6490 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6491 cat <<\_LT_EOF >> conftest.$ac_ext
6495 /* This works around a problem in FreeBSD linker */
6496 #ifdef FREEBSD_WORKAROUND
6497 static const void *lt_preloaded_setup() {
6498 return lt__PROGRAM__LTX_preloaded_symbols;
6506 # Now try linking the two files.
6507 mv conftest.$ac_objext conftstm.$ac_objext
6508 lt_globsym_save_LIBS=$LIBS
6509 lt_globsym_save_CFLAGS=$CFLAGS
6510 LIBS="conftstm.$ac_objext"
6511 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6513 (eval $ac_link) 2>&5
6515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6516 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6519 LIBS=$lt_globsym_save_LIBS
6520 CFLAGS=$lt_globsym_save_CFLAGS
6522 echo "cannot find nm_test_func in $nlist" >&5
6525 echo "cannot find nm_test_var in $nlist" >&5
6528 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6531 echo "$progname: failed program was:" >&5
6532 cat conftest.$ac_ext >&5
6534 rm -rf conftest* conftst*
6536 # Do not use the global_symbol_pipe unless it works.
6537 if test "$pipe_works" = yes; then
6540 lt_cv_sys_global_symbol_pipe=
6546 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6547 lt_cv_sys_global_symbol_to_cdecl=
6549 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6551 $as_echo "failed" >&6; }
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6554 $as_echo "ok" >&6; }
6557 # Response file support.
6558 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6559 nm_file_list_spec='@'
6560 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6561 nm_file_list_spec='@'
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6591 $as_echo_n "checking for sysroot... " >&6; }
6593 # Check whether --with-sysroot was given.
6594 if test "${with_sysroot+set}" = set; then :
6595 withval=$with_sysroot;
6602 case ${with_sysroot} in #(
6604 if test "$GCC" = yes; then
6605 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6609 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6615 $as_echo "${with_sysroot}" >&6; }
6616 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6621 $as_echo "${lt_sysroot:-no}" >&6; }
6627 # Check whether --enable-libtool-lock was given.
6628 if test "${enable_libtool_lock+set}" = set; then :
6629 enableval=$enable_libtool_lock;
6632 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6634 # Some flags need to be propagated to the compiler or linker for good
6638 # Find out which ABI we are using.
6639 echo 'int i;' > conftest.$ac_ext
6640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641 (eval $ac_compile) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644 test $ac_status = 0; }; then
6645 case `/usr/bin/file conftest.$ac_objext` in
6657 # Find out which ABI we are using.
6658 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6660 (eval $ac_compile) 2>&5
6662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6663 test $ac_status = 0; }; then
6664 if test "$lt_cv_prog_gnu_ld" = yes; then
6665 case `/usr/bin/file conftest.$ac_objext` in
6667 LD="${LD-ld} -melf32bsmip"
6670 LD="${LD-ld} -melf32bmipn32"
6673 LD="${LD-ld} -melf64bmip"
6677 case `/usr/bin/file conftest.$ac_objext` in
6693 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6694 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6695 # Find out which ABI we are using.
6696 echo 'int i;' > conftest.$ac_ext
6697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6698 (eval $ac_compile) 2>&5
6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6701 test $ac_status = 0; }; then
6702 case `/usr/bin/file conftest.o` in
6705 x86_64-*kfreebsd*-gnu)
6706 LD="${LD-ld} -m elf_i386_fbsd"
6709 LD="${LD-ld} -m elf_i386"
6711 ppc64-*linux*|powerpc64-*linux*)
6712 LD="${LD-ld} -m elf32ppclinux"
6715 LD="${LD-ld} -m elf_s390"
6718 LD="${LD-ld} -m elf32_sparc"
6724 x86_64-*kfreebsd*-gnu)
6725 LD="${LD-ld} -m elf_x86_64_fbsd"
6728 LD="${LD-ld} -m elf_x86_64"
6730 ppc*-*linux*|powerpc*-*linux*)
6731 LD="${LD-ld} -m elf64ppc"
6733 s390*-*linux*|s390*-*tpf*)
6734 LD="${LD-ld} -m elf64_s390"
6737 LD="${LD-ld} -m elf64_sparc"
6747 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6748 SAVE_CFLAGS="$CFLAGS"
6749 CFLAGS="$CFLAGS -belf"
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6751 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6752 if ${lt_cv_cc_needs_belf+:} false; then :
6753 $as_echo_n "(cached) " >&6
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */
6772 if ac_fn_c_try_link "$LINENO"; then :
6773 lt_cv_cc_needs_belf=yes
6775 lt_cv_cc_needs_belf=no
6777 rm -f core conftest.err conftest.$ac_objext \
6778 conftest$ac_exeext conftest.$ac_ext
6780 ac_cpp='$CPP $CPPFLAGS'
6781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6787 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6788 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6789 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6790 CFLAGS="$SAVE_CFLAGS"
6794 # Find out which ABI we are using.
6795 echo 'int i;' > conftest.$ac_ext
6796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6797 (eval $ac_compile) 2>&5
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800 test $ac_status = 0; }; then
6801 case `/usr/bin/file conftest.o` in
6803 case $lt_cv_prog_gnu_ld in
6804 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6806 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6818 need_locks="$enable_libtool_lock"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}mt; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6826 $as_echo_n "(cached) " >&6
6828 if test -n "$MANIFEST_TOOL"; then
6829 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6849 if test -n "$MANIFEST_TOOL"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6851 $as_echo "$MANIFEST_TOOL" >&6; }
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6859 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6860 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6861 # Extract the first word of "mt", so it can be a program name with args.
6862 set dummy mt; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 if test -n "$ac_ct_MANIFEST_TOOL"; then
6869 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6889 if test -n "$ac_ct_MANIFEST_TOOL"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6891 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6897 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6906 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6909 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6912 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6914 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6915 if ${lt_cv_path_mainfest_tool+:} false; then :
6916 $as_echo_n "(cached) " >&6
6918 lt_cv_path_mainfest_tool=no
6919 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6920 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6921 cat conftest.err >&5
6922 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6923 lt_cv_path_mainfest_tool=yes
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6928 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6929 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6939 rhapsody* | darwin*)
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$DSYMUTIL"; then
6949 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6969 if test -n "$DSYMUTIL"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6971 $as_echo "$DSYMUTIL" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_DSYMUTIL"; then
6980 ac_ct_DSYMUTIL=$DSYMUTIL
6981 # Extract the first word of "dsymutil", so it can be a program name with args.
6982 set dummy dsymutil; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$ac_ct_DSYMUTIL"; then
6989 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7009 if test -n "$ac_ct_DSYMUTIL"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7011 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_DSYMUTIL" = x; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned=yes ;;
7026 DSYMUTIL=$ac_ct_DSYMUTIL
7029 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if ${ac_cv_prog_NMEDIT+:} false; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$NMEDIT"; then
7041 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 NMEDIT=$ac_cv_prog_NMEDIT
7061 if test -n "$NMEDIT"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7063 $as_echo "$NMEDIT" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_prog_NMEDIT"; then
7072 ac_ct_NMEDIT=$NMEDIT
7073 # Extract the first word of "nmedit", so it can be a program name with args.
7074 set dummy nmedit; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$ac_ct_NMEDIT"; then
7081 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7101 if test -n "$ac_ct_NMEDIT"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7103 $as_echo "$ac_ct_NMEDIT" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7109 if test "x$ac_ct_NMEDIT" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7118 NMEDIT=$ac_ct_NMEDIT
7121 NMEDIT="$ac_cv_prog_NMEDIT"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_LIPO+:} false; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$LIPO"; then
7133 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 LIPO=$ac_cv_prog_LIPO
7153 if test -n "$LIPO"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7155 $as_echo "$LIPO" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_LIPO"; then
7165 # Extract the first word of "lipo", so it can be a program name with args.
7166 set dummy lipo; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7170 $as_echo_n "(cached) " >&6
7172 if test -n "$ac_ct_LIPO"; then
7173 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_ac_ct_LIPO="lipo"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7193 if test -n "$ac_ct_LIPO"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7195 $as_echo "$ac_ct_LIPO" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_LIPO" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned=yes ;;
7213 LIPO="$ac_cv_prog_LIPO"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}otool; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_OTOOL+:} false; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$OTOOL"; then
7225 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 OTOOL=$ac_cv_prog_OTOOL
7245 if test -n "$OTOOL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7247 $as_echo "$OTOOL" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7255 if test -z "$ac_cv_prog_OTOOL"; then
7257 # Extract the first word of "otool", so it can be a program name with args.
7258 set dummy otool; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7262 $as_echo_n "(cached) " >&6
7264 if test -n "$ac_ct_OTOOL"; then
7265 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274 ac_cv_prog_ac_ct_OTOOL="otool"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7285 if test -n "$ac_ct_OTOOL"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7287 $as_echo "$ac_ct_OTOOL" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7293 if test "x$ac_ct_OTOOL" = x; then
7296 case $cross_compiling:$ac_tool_warned in
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300 ac_tool_warned=yes ;;
7305 OTOOL="$ac_cv_prog_OTOOL"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_OTOOL64+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$OTOOL64"; then
7317 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 OTOOL64=$ac_cv_prog_OTOOL64
7337 if test -n "$OTOOL64"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7339 $as_echo "$OTOOL64" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7347 if test -z "$ac_cv_prog_OTOOL64"; then
7348 ac_ct_OTOOL64=$OTOOL64
7349 # Extract the first word of "otool64", so it can be a program name with args.
7350 set dummy otool64; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$ac_ct_OTOOL64"; then
7357 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_ac_ct_OTOOL64="otool64"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7377 if test -n "$ac_ct_OTOOL64"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7379 $as_echo "$ac_ct_OTOOL64" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7385 if test "x$ac_ct_OTOOL64" = x; then
7388 case $cross_compiling:$ac_tool_warned in
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7392 ac_tool_warned=yes ;;
7394 OTOOL64=$ac_ct_OTOOL64
7397 OTOOL64="$ac_cv_prog_OTOOL64"
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7427 $as_echo_n "checking for -single_module linker flag... " >&6; }
7428 if ${lt_cv_apple_cc_single_mod+:} false; then :
7429 $as_echo_n "(cached) " >&6
7431 lt_cv_apple_cc_single_mod=no
7432 if test -z "${LT_MULTI_MODULE}"; then
7433 # By default we will add the -single_module flag. You can override
7434 # by either setting the environment variable LT_MULTI_MODULE
7435 # non-empty at configure time, or by adding -multi_module to the
7437 rm -rf libconftest.dylib*
7438 echo "int foo(void){return 1;}" > conftest.c
7439 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7440 -dynamiclib -Wl,-single_module conftest.c" >&5
7441 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7442 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7444 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7445 lt_cv_apple_cc_single_mod=yes
7447 cat conftest.err >&5
7449 rm -rf libconftest.dylib*
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7454 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7456 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7457 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 lt_cv_ld_exported_symbols_list=no
7461 save_LDFLAGS=$LDFLAGS
7462 echo "_main" > conftest.sym
7463 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7475 if ac_fn_c_try_link "$LINENO"; then :
7476 lt_cv_ld_exported_symbols_list=yes
7478 lt_cv_ld_exported_symbols_list=no
7480 rm -f core conftest.err conftest.$ac_objext \
7481 conftest$ac_exeext conftest.$ac_ext
7482 LDFLAGS="$save_LDFLAGS"
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7486 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7488 $as_echo_n "checking for -force_load linker flag... " >&6; }
7489 if ${lt_cv_ld_force_load+:} false; then :
7490 $as_echo_n "(cached) " >&6
7492 lt_cv_ld_force_load=no
7493 cat > conftest.c << _LT_EOF
7494 int forced_loaded() { return 2;}
7496 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7497 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7498 echo "$AR cru libconftest.a conftest.o" >&5
7499 $AR cru libconftest.a conftest.o 2>&5
7500 echo "$RANLIB libconftest.a" >&5
7501 $RANLIB libconftest.a 2>&5
7502 cat > conftest.c << _LT_EOF
7503 int main() { return 0;}
7505 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7506 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7508 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7509 lt_cv_ld_force_load=yes
7511 cat conftest.err >&5
7513 rm -f conftest.err libconftest.a conftest conftest.c
7514 rm -rf conftest.dSYM
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7518 $as_echo "$lt_cv_ld_force_load" >&6; }
7520 rhapsody* | darwin1.[012])
7521 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7523 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7524 darwin*) # darwin 5.x on
7525 # if running on 10.5 or later, the deployment target defaults
7526 # to the OS version, if on x86, and 10.4, the deployment
7527 # target defaults to 10.4. Don't you love it?
7528 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7529 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7530 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7532 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7534 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7538 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7539 _lt_dar_single_mod='$single_module'
7541 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7542 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7544 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7546 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7547 _lt_dsymutil='~$DSYMUTIL $lib || :'
7555 ac_cpp='$CPP $CPPFLAGS'
7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7560 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7561 # On Suns, sometimes $CPP names a directory.
7562 if test -n "$CPP" && test -d "$CPP"; then
7565 if test -z "$CPP"; then
7566 if ${ac_cv_prog_CPP+:} false; then :
7567 $as_echo_n "(cached) " >&6
7569 # Double quotes because CPP needs to be expanded
7570 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7573 for ac_c_preproc_warn_flag in '' yes
7575 # Use a header file that comes with gcc, so configuring glibc
7576 # with a fresh cross-compiler works.
7577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7578 # <limits.h> exists even on freestanding compilers.
7579 # On the NeXT, cc -E runs the code through the compiler's parser,
7580 # not just through cpp. "Syntax error" is here to catch this case.
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7584 # include <limits.h>
7586 # include <assert.h>
7590 if ac_fn_c_try_cpp "$LINENO"; then :
7593 # Broken: fails on valid input.
7596 rm -f conftest.err conftest.i conftest.$ac_ext
7598 # OK, works on sane cases. Now check whether nonexistent headers
7599 # can be detected and how.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7602 #include <ac_nonexistent.h>
7604 if ac_fn_c_try_cpp "$LINENO"; then :
7605 # Broken: success on invalid input.
7608 # Passes both tests.
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7616 rm -f conftest.i conftest.err conftest.$ac_ext
7617 if $ac_preproc_ok; then :
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7630 $as_echo "$CPP" >&6; }
7632 for ac_c_preproc_warn_flag in '' yes
7634 # Use a header file that comes with gcc, so configuring glibc
7635 # with a fresh cross-compiler works.
7636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7637 # <limits.h> exists even on freestanding compilers.
7638 # On the NeXT, cc -E runs the code through the compiler's parser,
7639 # not just through cpp. "Syntax error" is here to catch this case.
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7643 # include <limits.h>
7645 # include <assert.h>
7649 if ac_fn_c_try_cpp "$LINENO"; then :
7652 # Broken: fails on valid input.
7655 rm -f conftest.err conftest.i conftest.$ac_ext
7657 # OK, works on sane cases. Now check whether nonexistent headers
7658 # can be detected and how.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7661 #include <ac_nonexistent.h>
7663 if ac_fn_c_try_cpp "$LINENO"; then :
7664 # Broken: success on invalid input.
7667 # Passes both tests.
7671 rm -f conftest.err conftest.i conftest.$ac_ext
7674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7675 rm -f conftest.i conftest.err conftest.$ac_ext
7676 if $ac_preproc_ok; then :
7679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7681 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7682 See \`config.log' for more details" "$LINENO" 5; }
7686 ac_cpp='$CPP $CPPFLAGS'
7687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7693 $as_echo_n "checking for ANSI C header files... " >&6; }
7694 if ${ac_cv_header_stdc+:} false; then :
7695 $as_echo_n "(cached) " >&6
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7712 if ac_fn_c_try_compile "$LINENO"; then :
7713 ac_cv_header_stdc=yes
7715 ac_cv_header_stdc=no
7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7719 if test $ac_cv_header_stdc = yes; then
7720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7727 $EGREP "memchr" >/dev/null 2>&1; then :
7730 ac_cv_header_stdc=no
7736 if test $ac_cv_header_stdc = yes; then
7737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7744 $EGREP "free" >/dev/null 2>&1; then :
7747 ac_cv_header_stdc=no
7753 if test $ac_cv_header_stdc = yes; then
7754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7755 if test "$cross_compiling" = yes; then :
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7762 #if ((' ' & 0x0FF) == 0x020)
7763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7766 # define ISLOWER(c) \
7767 (('a' <= (c) && (c) <= 'i') \
7768 || ('j' <= (c) && (c) <= 'r') \
7769 || ('s' <= (c) && (c) <= 'z'))
7770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7778 for (i = 0; i < 256; i++)
7779 if (XOR (islower (i), ISLOWER (i))
7780 || toupper (i) != TOUPPER (i))
7785 if ac_fn_c_try_run "$LINENO"; then :
7788 ac_cv_header_stdc=no
7790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7791 conftest.$ac_objext conftest.beam conftest.$ac_ext
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7797 $as_echo "$ac_cv_header_stdc" >&6; }
7798 if test $ac_cv_header_stdc = yes; then
7800 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7806 inttypes.h stdint.h unistd.h
7808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7809 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7812 cat >>confdefs.h <<_ACEOF
7813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7821 for ac_header in dlfcn.h
7823 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7825 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_DLFCN_H 1
7848 # Check whether --enable-shared was given.
7849 if test "${enable_shared+set}" = set; then :
7850 enableval=$enable_shared; p=${PACKAGE-default}
7852 yes) enable_shared=yes ;;
7853 no) enable_shared=no ;;
7856 # Look at the argument we got. We use all the common list separators.
7857 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7858 for pkg in $enableval; do
7860 if test "X$pkg" = "X$p"; then
7879 # Check whether --enable-static was given.
7880 if test "${enable_static+set}" = set; then :
7881 enableval=$enable_static; p=${PACKAGE-default}
7883 yes) enable_static=yes ;;
7884 no) enable_static=no ;;
7887 # Look at the argument we got. We use all the common list separators.
7888 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7889 for pkg in $enableval; do
7891 if test "X$pkg" = "X$p"; then
7911 # Check whether --with-pic was given.
7912 if test "${with_pic+set}" = set; then :
7913 withval=$with_pic; pic_mode="$withval"
7919 test -z "$pic_mode" && pic_mode=default
7927 # Check whether --enable-fast-install was given.
7928 if test "${enable_fast_install+set}" = set; then :
7929 enableval=$enable_fast_install; p=${PACKAGE-default}
7931 yes) enable_fast_install=yes ;;
7932 no) enable_fast_install=no ;;
7934 enable_fast_install=no
7935 # Look at the argument we got. We use all the common list separators.
7936 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7937 for pkg in $enableval; do
7939 if test "X$pkg" = "X$p"; then
7940 enable_fast_install=yes
7947 enable_fast_install=yes
7960 # This can be used to rebuild libtool when needed
7961 LIBTOOL_DEPS="$ltmain"
7963 # Always use our own libtool.
7964 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7991 test -z "$LN_S" && LN_S="ln -s"
8006 if test -n "${ZSH_VERSION+set}" ; then
8007 setopt NO_GLOB_SUBST
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8011 $as_echo_n "checking for objdir... " >&6; }
8012 if ${lt_cv_objdir+:} false; then :
8013 $as_echo_n "(cached) " >&6
8015 rm -f .libs 2>/dev/null
8016 mkdir .libs 2>/dev/null
8017 if test -d .libs; then
8020 # MS-DOS does not allow filenames that begin with a dot.
8023 rmdir .libs 2>/dev/null
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8026 $as_echo "$lt_cv_objdir" >&6; }
8027 objdir=$lt_cv_objdir
8033 cat >>confdefs.h <<_ACEOF
8034 #define LT_OBJDIR "$lt_cv_objdir/"
8042 # AIX sometimes has problems with the GCC collect2 program. For some
8043 # reason, if we set the COLLECT_NAMES environment variable, the problems
8044 # vanish in a puff of smoke.
8045 if test "X${COLLECT_NAMES+set}" != Xset; then
8047 export COLLECT_NAMES
8054 can_build_shared=yes
8056 # All known linkers require a `.a' archive for static linking (except MSVC,
8057 # which needs '.lib').
8060 with_gnu_ld="$lt_cv_prog_gnu_ld"
8063 old_CFLAGS="$CFLAGS"
8065 # Set sane defaults for various variables
8066 test -z "$CC" && CC=cc
8067 test -z "$LTCC" && LTCC=$CC
8068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8069 test -z "$LD" && LD=ld
8070 test -z "$ac_objext" && ac_objext=o
8072 for cc_temp in $compiler""; do
8074 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8075 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8080 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8083 # Only perform the check for file, if the check method requires it
8084 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8085 case $deplibs_check_method in
8087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8089 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8090 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8091 $as_echo_n "(cached) " >&6
8095 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8098 lt_save_MAGIC_CMD="$MAGIC_CMD"
8099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8100 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8101 for ac_dir in $ac_dummy; do
8103 test -z "$ac_dir" && ac_dir=.
8104 if test -f $ac_dir/${ac_tool_prefix}file; then
8105 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8106 if test -n "$file_magic_test_file"; then
8107 case $deplibs_check_method in
8109 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8111 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8112 $EGREP "$file_magic_regex" > /dev/null; then
8117 *** Warning: the command libtool uses to detect shared libraries,
8118 *** $file_magic_cmd, produces output that libtool cannot recognize.
8119 *** The result is that libtool may fail to recognize shared libraries
8120 *** as such. This will affect the creation of libtool libraries that
8121 *** depend on shared libraries, but programs linked with such libtool
8122 *** libraries will work regardless of this problem. Nevertheless, you
8123 *** may want to report the problem to your system manager and/or to
8124 *** bug-libtool@gnu.org
8134 MAGIC_CMD="$lt_save_MAGIC_CMD"
8139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8140 if test -n "$MAGIC_CMD"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8142 $as_echo "$MAGIC_CMD" >&6; }
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8152 if test -z "$lt_cv_path_MAGIC_CMD"; then
8153 if test -n "$ac_tool_prefix"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8155 $as_echo_n "checking for file... " >&6; }
8156 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8157 $as_echo_n "(cached) " >&6
8161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8164 lt_save_MAGIC_CMD="$MAGIC_CMD"
8165 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8166 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8167 for ac_dir in $ac_dummy; do
8169 test -z "$ac_dir" && ac_dir=.
8170 if test -f $ac_dir/file; then
8171 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8172 if test -n "$file_magic_test_file"; then
8173 case $deplibs_check_method in
8175 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8177 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8178 $EGREP "$file_magic_regex" > /dev/null; then
8183 *** Warning: the command libtool uses to detect shared libraries,
8184 *** $file_magic_cmd, produces output that libtool cannot recognize.
8185 *** The result is that libtool may fail to recognize shared libraries
8186 *** as such. This will affect the creation of libtool libraries that
8187 *** depend on shared libraries, but programs linked with such libtool
8188 *** libraries will work regardless of this problem. Nevertheless, you
8189 *** may want to report the problem to your system manager and/or to
8190 *** bug-libtool@gnu.org
8200 MAGIC_CMD="$lt_save_MAGIC_CMD"
8205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8206 if test -n "$MAGIC_CMD"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8208 $as_echo "$MAGIC_CMD" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8224 # Use C for the default configuration in the libtool script
8228 ac_cpp='$CPP $CPPFLAGS'
8229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8234 # Source file extension for C test sources.
8237 # Object file extension for compiled C test sources.
8241 # Code to be used in simple compile tests
8242 lt_simple_compile_test_code="int some_variable = 0;"
8244 # Code to be used in simple link tests
8245 lt_simple_link_test_code='int main(){return(0);}'
8253 # If no C compiler was specified, use CC.
8256 # If no C compiler flags were specified, use CFLAGS.
8257 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8259 # Allow CC to be a program name with arguments.
8262 # Save the default compiler, since it gets overwritten when the other
8263 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8264 compiler_DEFAULT=$CC
8266 # save warnings/boilerplate of simple test code
8267 ac_outfile=conftest.$ac_objext
8268 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8269 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8270 _lt_compiler_boilerplate=`cat conftest.err`
8273 ac_outfile=conftest.$ac_objext
8274 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8275 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8276 _lt_linker_boilerplate=`cat conftest.err`
8281 ## There is no encapsulation within the following macros, do not change
8282 ## the running order or otherwise move them around unless you know exactly
8283 ## what you are doing...
8284 if test -n "$compiler"; then
8286 lt_prog_compiler_no_builtin_flag=
8288 if test "$GCC" = yes; then
8289 case $cc_basename in
8291 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8293 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8297 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8298 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8299 $as_echo_n "(cached) " >&6
8301 lt_cv_prog_compiler_rtti_exceptions=no
8302 ac_outfile=conftest.$ac_objext
8303 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8304 lt_compiler_flag="-fno-rtti -fno-exceptions"
8305 # Insert the option either (1) after the last *FLAGS variable, or
8306 # (2) before a word containing "conftest.", or (3) at the end.
8307 # Note that $ac_compile itself does not contain backslashes and begins
8308 # with a dollar sign (not a hyphen), so the echo should work correctly.
8309 # The option is referenced via a variable to avoid confusing sed.
8310 lt_compile=`echo "$ac_compile" | $SED \
8311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8313 -e 's:$: $lt_compiler_flag:'`
8314 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8315 (eval "$lt_compile" 2>conftest.err)
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 if (exit $ac_status) && test -s "$ac_outfile"; then
8320 # The compiler can only warn and ignore the option if not recognized
8321 # So say no if there are warnings other than the usual output.
8322 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8324 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8325 lt_cv_prog_compiler_rtti_exceptions=yes
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8332 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8334 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8335 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8347 lt_prog_compiler_wl=
8348 lt_prog_compiler_pic=
8349 lt_prog_compiler_static=
8352 if test "$GCC" = yes; then
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_static='-static'
8358 # All AIX code is PIC.
8359 if test "$host_cpu" = ia64; then
8360 # AIX 5 now supports IA64 processor
8361 lt_prog_compiler_static='-Bstatic'
8368 # see comment about AmigaOS4 .so support
8369 lt_prog_compiler_pic='-fPIC'
8372 # FIXME: we need at least 68020 code to build shared libraries, but
8373 # adding the `-m68020' flag to GCC prevents building anything better,
8375 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8380 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8381 # PIC is the default for these OSes.
8384 mingw* | cygwin* | pw32* | os2* | cegcc*)
8385 # This hack is so that the source file can tell whether it is being
8386 # built for inclusion in a dll (and should export symbols for example).
8387 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8388 # (--disable-auto-import) libraries
8389 lt_prog_compiler_pic='-DDLL_EXPORT'
8392 darwin* | rhapsody*)
8393 # PIC is the default on this platform
8394 # Common symbols not allowed in MH_DYLIB files
8395 lt_prog_compiler_pic='-fno-common'
8399 # PIC is the default for Haiku.
8400 # The "-static" flag exists, but is broken.
8401 lt_prog_compiler_static=
8405 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8406 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8407 # sets the default TLS model and affects inlining.
8413 lt_prog_compiler_pic='-fPIC'
8419 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8420 # Instead, we relocate shared libraries at runtime.
8424 # Just because we use GCC doesn't mean we suddenly get shared libraries
8425 # on systems that don't support them.
8426 lt_prog_compiler_can_build_shared=no
8431 # QNX uses GNU C++, but need to define -shared option too, otherwise
8433 lt_prog_compiler_pic='-fPIC -shared'
8437 if test -d /usr/nec; then
8438 lt_prog_compiler_pic=-Kconform_pic
8443 lt_prog_compiler_pic='-fPIC'
8447 case $cc_basename in
8448 nvcc*) # Cuda Compiler Driver 2.2
8449 lt_prog_compiler_wl='-Xlinker '
8450 lt_prog_compiler_pic='-Xcompiler -fPIC'
8454 # PORTME Check for flag to pass linker flags through the system compiler.
8457 lt_prog_compiler_wl='-Wl,'
8458 if test "$host_cpu" = ia64; then
8459 # AIX 5 now supports IA64 processor
8460 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8466 mingw* | cygwin* | pw32* | os2* | cegcc*)
8467 # This hack is so that the source file can tell whether it is being
8468 # built for inclusion in a dll (and should export symbols for example).
8469 lt_prog_compiler_pic='-DDLL_EXPORT'
8472 hpux9* | hpux10* | hpux11*)
8473 lt_prog_compiler_wl='-Wl,'
8474 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8481 lt_prog_compiler_pic='+Z'
8484 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8485 lt_prog_compiler_static='${wl}-a ${wl}archive'
8488 irix5* | irix6* | nonstopux*)
8489 lt_prog_compiler_wl='-Wl,'
8490 # PIC (with -KPIC) is the default.
8491 lt_prog_compiler_static='-non_shared'
8494 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8495 case $cc_basename in
8496 # old Intel for x86_64 which still supported -KPIC.
8498 lt_prog_compiler_wl='-Wl,'
8499 lt_prog_compiler_pic='-KPIC'
8500 lt_prog_compiler_static='-static'
8502 # icc used to be incompatible with GCC.
8503 # ICC 10 doesn't accept -KPIC any more.
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_pic='-fPIC'
8507 lt_prog_compiler_static='-static'
8509 # Lahey Fortran 8.1.
8511 lt_prog_compiler_wl='-Wl,'
8512 lt_prog_compiler_pic='--shared'
8513 lt_prog_compiler_static='--static'
8516 # NAG Fortran compiler
8517 lt_prog_compiler_wl='-Wl,-Wl,,'
8518 lt_prog_compiler_pic='-PIC'
8519 lt_prog_compiler_static='-Bstatic'
8521 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8522 # Portland Group compilers (*not* the Pentium gcc compiler,
8523 # which looks to be a dead project)
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_pic='-fpic'
8526 lt_prog_compiler_static='-Bstatic'
8529 lt_prog_compiler_wl='-Wl,'
8530 # All Alpha code is PIC.
8531 lt_prog_compiler_static='-non_shared'
8533 xl* | bgxl* | bgf* | mpixl*)
8534 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8535 lt_prog_compiler_wl='-Wl,'
8536 lt_prog_compiler_pic='-qpic'
8537 lt_prog_compiler_static='-qstaticlink'
8540 case `$CC -V 2>&1 | sed 5q` in
8541 *Sun\ F* | *Sun*Fortran*)
8542 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8543 lt_prog_compiler_pic='-KPIC'
8544 lt_prog_compiler_static='-Bstatic'
8545 lt_prog_compiler_wl=''
8549 lt_prog_compiler_pic='-KPIC'
8550 lt_prog_compiler_static='-Bstatic'
8551 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='-KPIC'
8560 lt_prog_compiler_static='-Bstatic'
8564 # QNX uses GNU C++, but need to define -shared option too, otherwise
8566 lt_prog_compiler_pic='-fPIC -shared'
8569 osf3* | osf4* | osf5*)
8570 lt_prog_compiler_wl='-Wl,'
8571 # All OSF/1 code is PIC.
8572 lt_prog_compiler_static='-non_shared'
8576 lt_prog_compiler_static='-non_shared'
8580 lt_prog_compiler_pic='-KPIC'
8581 lt_prog_compiler_static='-Bstatic'
8582 case $cc_basename in
8583 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8584 lt_prog_compiler_wl='-Qoption ld ';;
8586 lt_prog_compiler_wl='-Wl,';;
8591 lt_prog_compiler_wl='-Qoption ld '
8592 lt_prog_compiler_pic='-PIC'
8593 lt_prog_compiler_static='-Bstatic'
8596 sysv4 | sysv4.2uw2* | sysv4.3*)
8597 lt_prog_compiler_wl='-Wl,'
8598 lt_prog_compiler_pic='-KPIC'
8599 lt_prog_compiler_static='-Bstatic'
8603 if test -d /usr/nec ;then
8604 lt_prog_compiler_pic='-Kconform_pic'
8605 lt_prog_compiler_static='-Bstatic'
8609 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8610 lt_prog_compiler_wl='-Wl,'
8611 lt_prog_compiler_pic='-KPIC'
8612 lt_prog_compiler_static='-Bstatic'
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_can_build_shared=no
8621 lt_prog_compiler_pic='-pic'
8622 lt_prog_compiler_static='-Bstatic'
8626 lt_prog_compiler_can_build_shared=no
8632 # For platforms which do not support PIC, -DPIC is meaningless:
8634 lt_prog_compiler_pic=
8637 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8642 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8643 if ${lt_cv_prog_compiler_pic+:} false; then :
8644 $as_echo_n "(cached) " >&6
8646 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8649 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8650 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8653 # Check to make sure the PIC flag actually works.
8655 if test -n "$lt_prog_compiler_pic"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8657 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8658 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8659 $as_echo_n "(cached) " >&6
8661 lt_cv_prog_compiler_pic_works=no
8662 ac_outfile=conftest.$ac_objext
8663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8664 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8665 # Insert the option either (1) after the last *FLAGS variable, or
8666 # (2) before a word containing "conftest.", or (3) at the end.
8667 # Note that $ac_compile itself does not contain backslashes and begins
8668 # with a dollar sign (not a hyphen), so the echo should work correctly.
8669 # The option is referenced via a variable to avoid confusing sed.
8670 lt_compile=`echo "$ac_compile" | $SED \
8671 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8673 -e 's:$: $lt_compiler_flag:'`
8674 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8675 (eval "$lt_compile" 2>conftest.err)
8677 cat conftest.err >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 if (exit $ac_status) && test -s "$ac_outfile"; then
8680 # The compiler can only warn and ignore the option if not recognized
8681 # So say no if there are warnings other than the usual output.
8682 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8683 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8684 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8685 lt_cv_prog_compiler_pic_works=yes
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8692 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8694 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8695 case $lt_prog_compiler_pic in
8697 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8700 lt_prog_compiler_pic=
8701 lt_prog_compiler_can_build_shared=no
8717 # Check to make sure the static flag actually works.
8719 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8721 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8722 if ${lt_cv_prog_compiler_static_works+:} false; then :
8723 $as_echo_n "(cached) " >&6
8725 lt_cv_prog_compiler_static_works=no
8726 save_LDFLAGS="$LDFLAGS"
8727 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8728 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8729 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8730 # The linker can only warn and ignore the option if not recognized
8731 # So say no if there are warnings
8732 if test -s conftest.err; then
8733 # Append any errors to the config.log.
8734 cat conftest.err 1>&5
8735 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8736 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8737 if diff conftest.exp conftest.er2 >/dev/null; then
8738 lt_cv_prog_compiler_static_works=yes
8741 lt_cv_prog_compiler_static_works=yes
8745 LDFLAGS="$save_LDFLAGS"
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8749 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8751 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8754 lt_prog_compiler_static=
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8764 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8765 if ${lt_cv_prog_compiler_c_o+:} false; then :
8766 $as_echo_n "(cached) " >&6
8768 lt_cv_prog_compiler_c_o=no
8769 $RM -r conftest 2>/dev/null
8773 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8775 lt_compiler_flag="-o out/conftest2.$ac_objext"
8776 # Insert the option either (1) after the last *FLAGS variable, or
8777 # (2) before a word containing "conftest.", or (3) at the end.
8778 # Note that $ac_compile itself does not contain backslashes and begins
8779 # with a dollar sign (not a hyphen), so the echo should work correctly.
8780 lt_compile=`echo "$ac_compile" | $SED \
8781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8783 -e 's:$: $lt_compiler_flag:'`
8784 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8785 (eval "$lt_compile" 2>out/conftest.err)
8787 cat out/conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8791 # The compiler can only warn and ignore the option if not recognized
8792 # So say no if there are warnings
8793 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8794 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8795 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8796 lt_cv_prog_compiler_c_o=yes
8801 # SGI C++ compiler will create directory out/ii_files/ for
8802 # template instantiation
8803 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8804 $RM out/* && rmdir out
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8811 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8819 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8820 if ${lt_cv_prog_compiler_c_o+:} false; then :
8821 $as_echo_n "(cached) " >&6
8823 lt_cv_prog_compiler_c_o=no
8824 $RM -r conftest 2>/dev/null
8828 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8830 lt_compiler_flag="-o out/conftest2.$ac_objext"
8831 # Insert the option either (1) after the last *FLAGS variable, or
8832 # (2) before a word containing "conftest.", or (3) at the end.
8833 # Note that $ac_compile itself does not contain backslashes and begins
8834 # with a dollar sign (not a hyphen), so the echo should work correctly.
8835 lt_compile=`echo "$ac_compile" | $SED \
8836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8838 -e 's:$: $lt_compiler_flag:'`
8839 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8840 (eval "$lt_compile" 2>out/conftest.err)
8842 cat out/conftest.err >&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8846 # The compiler can only warn and ignore the option if not recognized
8847 # So say no if there are warnings
8848 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8849 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8850 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8851 lt_cv_prog_compiler_c_o=yes
8856 # SGI C++ compiler will create directory out/ii_files/ for
8857 # template instantiation
8858 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8859 $RM out/* && rmdir out
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8866 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8871 hard_links="nottested"
8872 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8873 # do not overwrite the value of need_locks provided by the user
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8875 $as_echo_n "checking if we can lock with hard links... " >&6; }
8878 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8880 ln conftest.a conftest.b 2>&5 || hard_links=no
8881 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8883 $as_echo "$hard_links" >&6; }
8884 if test "$hard_links" = no; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8886 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8899 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8902 allow_undefined_flag=
8903 always_export_symbols=no
8905 archive_expsym_cmds=
8906 compiler_needs_object=no
8907 enable_shared_with_static_runtimes=no
8908 export_dynamic_flag_spec=
8909 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8910 hardcode_automatic=no
8912 hardcode_direct_absolute=no
8913 hardcode_libdir_flag_spec=
8914 hardcode_libdir_flag_spec_ld=
8915 hardcode_libdir_separator=
8917 hardcode_shlibpath_var=unsupported
8919 link_all_deplibs=unknown
8922 old_archive_from_new_cmds=
8923 old_archive_from_expsyms_cmds=
8924 thread_safe_flag_spec=
8925 whole_archive_flag_spec=
8926 # include_expsyms should be a list of space-separated symbols to be *always*
8927 # included in the symbol list
8929 # exclude_expsyms can be an extended regexp of symbols to exclude
8930 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8931 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8932 # as well as any symbol that contains `d'.
8933 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8934 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8935 # platforms (ab)use it in PIC code, but their linkers get confused if
8936 # the symbol is explicitly referenced. Since portable code cannot
8937 # rely on this symbol name, it's probably fine to never include it in
8938 # preloaded symbol tables.
8939 # Exclude shared library initialization/finalization symbols.
8940 extract_expsyms_cmds=
8943 cygwin* | mingw* | pw32* | cegcc*)
8944 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8945 # When not using gcc, we currently assume that we are using
8946 # Microsoft Visual C++.
8947 if test "$GCC" != yes; then
8952 # we just hope/assume this is gcc and not c89 (= MSVC++)
8962 # On some targets, GNU ld is compatible enough with the native linker
8963 # that we're better off using the native interface for both.
8964 lt_use_gnu_ld_interface=no
8965 if test "$with_gnu_ld" = yes; then
8968 # The AIX port of GNU ld has always aspired to compatibility
8969 # with the native linker. However, as the warning in the GNU ld
8970 # block says, versions before 2.19.5* couldn't really create working
8971 # shared libraries, regardless of the interface used.
8972 case `$LD -v 2>&1` in
8973 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8974 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8975 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8977 lt_use_gnu_ld_interface=yes
8982 lt_use_gnu_ld_interface=yes
8987 if test "$lt_use_gnu_ld_interface" = yes; then
8988 # If archive_cmds runs LD, not CC, wlarc should be empty
8991 # Set some defaults for GNU ld with shared library support. These
8992 # are reset later if shared libraries are not supported. Putting them
8993 # here allows them to be overridden if necessary.
8994 runpath_var=LD_RUN_PATH
8995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8996 export_dynamic_flag_spec='${wl}--export-dynamic'
8997 # ancient GNU ld didn't support --whole-archive et. al.
8998 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8999 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9001 whole_archive_flag_spec=
9003 supports_anon_versioning=no
9004 case `$LD -v 2>&1` in
9005 *GNU\ gold*) supports_anon_versioning=yes ;;
9006 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9007 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9008 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9009 *\ 2.11.*) ;; # other 2.11 versions
9010 *) supports_anon_versioning=yes ;;
9013 # See if GNU ld supports shared libraries.
9016 # On AIX/PPC, the GNU linker is very broken
9017 if test "$host_cpu" != ia64; then
9021 *** Warning: the GNU linker, at least up to release 2.19, is reported
9022 *** to be unable to reliably create shared libraries on AIX.
9023 *** Therefore, libtool is disabling shared libraries support. If you
9024 *** really care for shared libraries, you may want to install binutils
9025 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9026 *** You will then need to restart the configuration process.
9035 # see comment about AmigaOS4 .so support
9036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 archive_expsym_cmds=''
9040 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)'
9041 hardcode_libdir_flag_spec='-L$libdir'
9042 hardcode_minus_L=yes
9048 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9049 allow_undefined_flag=unsupported
9050 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9051 # support --undefined. This deserves some investigation. FIXME
9052 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9058 cygwin* | mingw* | pw32* | cegcc*)
9059 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9060 # as there is no search path for DLLs.
9061 hardcode_libdir_flag_spec='-L$libdir'
9062 export_dynamic_flag_spec='${wl}--export-all-symbols'
9063 allow_undefined_flag=unsupported
9064 always_export_symbols=no
9065 enable_shared_with_static_runtimes=yes
9066 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'
9067 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9069 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9070 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9071 # If the export-symbols file already is a .def file (1st line
9072 # is EXPORTS), use it as is; otherwise, prepend...
9073 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9074 cp $export_symbols $output_objdir/$soname.def;
9076 echo EXPORTS > $output_objdir/$soname.def;
9077 cat $export_symbols >> $output_objdir/$soname.def;
9079 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087 link_all_deplibs=yes
9092 hardcode_shlibpath_var=no
9093 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9094 export_dynamic_flag_spec='${wl}-E'
9095 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9096 # Instead, shared libraries are loaded at an image base (0x10000000 by
9097 # default) and relocated if they conflict, which is a slow very memory
9098 # consuming and fragmenting process. To avoid this, we pick a random,
9099 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9100 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9101 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9102 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'
9105 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9107 if test "$host_os" = linux-dietlibc; then
9108 case $cc_basename in
9109 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9112 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9113 && test "$tmp_diet" = no
9115 tmp_addflag=' $pic_flag'
9116 tmp_sharedflag='-shared'
9117 case $cc_basename,$host_cpu in
9118 pgcc*) # Portland Group C compiler
9119 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'
9120 tmp_addflag=' $pic_flag'
9122 pgf77* | pgf90* | pgf95* | pgfortran*)
9123 # Portland Group f77 and f90 compilers
9124 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'
9125 tmp_addflag=' $pic_flag -Mnomain' ;;
9126 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9127 tmp_addflag=' -i_dynamic' ;;
9128 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9129 tmp_addflag=' -i_dynamic -nofor_main' ;;
9130 ifc* | ifort*) # Intel Fortran compiler
9131 tmp_addflag=' -nofor_main' ;;
9132 lf95*) # Lahey Fortran 8.1
9133 whole_archive_flag_spec=
9134 tmp_sharedflag='--shared' ;;
9135 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9136 tmp_sharedflag='-qmkshrobj'
9138 nvcc*) # Cuda Compiler Driver 2.2
9139 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'
9140 compiler_needs_object=yes
9143 case `$CC -V 2>&1 | sed 5q` in
9144 *Sun\ C*) # Sun C 5.9
9145 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'
9146 compiler_needs_object=yes
9147 tmp_sharedflag='-G' ;;
9148 *Sun\ F*) # Sun Fortran 8.3
9149 tmp_sharedflag='-G' ;;
9151 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153 if test "x$supports_anon_versioning" = xyes; then
9154 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9156 echo "local: *; };" >> $output_objdir/$libname.ver~
9157 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9160 case $cc_basename in
9161 xlf* | bgf* | bgxlf* | mpixlf*)
9162 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9163 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9164 hardcode_libdir_flag_spec=
9165 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9166 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9167 if test "x$supports_anon_versioning" = xyes; then
9168 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9169 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9170 echo "local: *; };" >> $output_objdir/$libname.ver~
9171 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9181 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9182 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9185 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9191 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9195 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9196 *** create shared libraries on Solaris systems. Therefore, libtool
9197 *** is disabling shared libraries support. We urge you to upgrade GNU
9198 *** binutils to release 2.9.1 or newer. Another option is to modify
9199 *** your PATH or compiler configuration so that the native linker is
9200 *** used, and then restart.
9203 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9204 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9211 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9212 case `$LD -v 2>&1` in
9213 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9217 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9218 *** reliably create shared libraries on SCO systems. Therefore, libtool
9219 *** is disabling shared libraries support. We urge you to upgrade GNU
9220 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9221 *** your PATH or compiler configuration so that the native linker is
9222 *** used, and then restart.
9227 # For security reasons, it is highly recommended that you always
9228 # use absolute paths for naming shared libraries, and exclude the
9229 # DT_RUNPATH tag from executables and libraries. But doing so
9230 # requires that you compile everything twice, which is a pain.
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9234 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9243 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9246 hardcode_shlibpath_var=no
9250 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9251 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9259 if test "$ld_shlibs" = no; then
9261 hardcode_libdir_flag_spec=
9262 export_dynamic_flag_spec=
9263 whole_archive_flag_spec=
9266 # PORTME fill in a description of your system's linker (not GNU ld)
9269 allow_undefined_flag=unsupported
9270 always_export_symbols=yes
9271 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'
9272 # Note: this linker hardcodes the directories in LIBPATH if there
9273 # are no directories specified by -L.
9274 hardcode_minus_L=yes
9275 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9276 # Neither direct hardcoding nor static linking is supported with a
9278 hardcode_direct=unsupported
9283 if test "$host_cpu" = ia64; then
9284 # On IA64, the linker does run time linking by default, so we don't
9285 # have to do anything special.
9286 aix_use_runtimelinking=no
9287 exp_sym_flag='-Bexport'
9290 # If we're using GNU nm, then we don't want the "-C" option.
9291 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9292 # Also, AIX nm treats weak defined symbols like other global
9293 # defined symbols, whereas GNU nm marks them as "W".
9294 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9295 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'
9297 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'
9299 aix_use_runtimelinking=no
9301 # Test if we are trying to use run time linking or normal
9302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9303 # need to do runtime linking.
9304 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9305 for ld_flag in $LDFLAGS; do
9306 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9307 aix_use_runtimelinking=yes
9314 exp_sym_flag='-bexport'
9315 no_entry_flag='-bnoentry'
9318 # When large executables or shared objects are built, AIX ld can
9319 # have problems creating the table of contents. If linking a library
9320 # or program results in "error TOC overflow" add -mminimal-toc to
9321 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9322 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9326 hardcode_direct_absolute=yes
9327 hardcode_libdir_separator=':'
9328 link_all_deplibs=yes
9329 file_list_spec='${wl}-f,'
9331 if test "$GCC" = yes; then
9332 case $host_os in aix4.[012]|aix4.[012].*)
9333 # We only want to do this on AIX 4.2 and lower, the check
9334 # below for broken collect2 doesn't work under 4.3+
9335 collect2name=`${CC} -print-prog-name=collect2`
9336 if test -f "$collect2name" &&
9337 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9339 # We have reworked collect2
9342 # We have old collect2
9343 hardcode_direct=unsupported
9344 # It fails to find uninstalled libraries when the uninstalled
9345 # path is not listed in the libpath. Setting hardcode_minus_L
9346 # to unsupported forces relinking
9347 hardcode_minus_L=yes
9348 hardcode_libdir_flag_spec='-L$libdir'
9349 hardcode_libdir_separator=
9353 shared_flag='-shared'
9354 if test "$aix_use_runtimelinking" = yes; then
9355 shared_flag="$shared_flag "'${wl}-G'
9359 if test "$host_cpu" = ia64; then
9360 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9361 # chokes on -Wl,-G. The following line is correct:
9364 if test "$aix_use_runtimelinking" = yes; then
9365 shared_flag='${wl}-G'
9367 shared_flag='${wl}-bM:SRE'
9372 export_dynamic_flag_spec='${wl}-bexpall'
9373 # It seems that -bexpall does not export symbols beginning with
9374 # underscore (_), so it is better to generate a list of symbols to export.
9375 always_export_symbols=yes
9376 if test "$aix_use_runtimelinking" = yes; then
9377 # Warning - without using the other runtime loading flags (-brtl),
9378 # -berok will link without error, but may produce a broken library.
9379 allow_undefined_flag='-berok'
9380 # Determine the default libpath from the value encoded in an
9382 if test "${lt_cv_aix_libpath+set}" = set; then
9383 aix_libpath=$lt_cv_aix_libpath
9385 if ${lt_cv_aix_libpath_+:} false; then :
9386 $as_echo_n "(cached) " >&6
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9399 if ac_fn_c_try_link "$LINENO"; then :
9401 lt_aix_libpath_sed='
9402 /Import File Strings/,/^$/ {
9404 s/^0 *\([^ ]*\) *$/\1/
9408 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9409 # Check for a 64-bit object if we didn't find anything.
9410 if test -z "$lt_cv_aix_libpath_"; then
9411 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 if test -z "$lt_cv_aix_libpath_"; then
9417 lt_cv_aix_libpath_="/usr/lib:/lib"
9422 aix_libpath=$lt_cv_aix_libpath_
9425 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9426 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"
9428 if test "$host_cpu" = ia64; then
9429 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9430 allow_undefined_flag="-z nodefs"
9431 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"
9433 # Determine the default libpath from the value encoded in an
9435 if test "${lt_cv_aix_libpath+set}" = set; then
9436 aix_libpath=$lt_cv_aix_libpath
9438 if ${lt_cv_aix_libpath_+:} false; then :
9439 $as_echo_n "(cached) " >&6
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9452 if ac_fn_c_try_link "$LINENO"; then :
9454 lt_aix_libpath_sed='
9455 /Import File Strings/,/^$/ {
9457 s/^0 *\([^ ]*\) *$/\1/
9461 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9462 # Check for a 64-bit object if we didn't find anything.
9463 if test -z "$lt_cv_aix_libpath_"; then
9464 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 if test -z "$lt_cv_aix_libpath_"; then
9470 lt_cv_aix_libpath_="/usr/lib:/lib"
9475 aix_libpath=$lt_cv_aix_libpath_
9478 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9479 # Warning - without using the other run time loading flags,
9480 # -berok will link without error, but may produce a broken library.
9481 no_undefined_flag=' ${wl}-bernotok'
9482 allow_undefined_flag=' ${wl}-berok'
9483 if test "$with_gnu_ld" = yes; then
9484 # We only use this code for GNU lds that support --whole-archive.
9485 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9487 # Exported symbols can be pulled into shared objects from archives
9488 whole_archive_flag_spec='$convenience'
9490 archive_cmds_need_lc=yes
9491 # This is similar to how AIX traditionally builds its shared libraries.
9492 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'
9500 # see comment about AmigaOS4 .so support
9501 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502 archive_expsym_cmds=''
9505 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)'
9506 hardcode_libdir_flag_spec='-L$libdir'
9507 hardcode_minus_L=yes
9513 export_dynamic_flag_spec=-rdynamic
9516 cygwin* | mingw* | pw32* | cegcc*)
9517 # When not using gcc, we currently assume that we are using
9518 # Microsoft Visual C++.
9519 # hardcode_libdir_flag_spec is actually meaningless, as there is
9520 # no search path for DLLs.
9521 case $cc_basename in
9524 hardcode_libdir_flag_spec=' '
9525 allow_undefined_flag=unsupported
9526 always_export_symbols=yes
9528 # Tell ltmain to make .lib files, not .a files.
9530 # Tell ltmain to make .dll files, not .so files.
9532 # FIXME: Setting linknames here is a bad hack.
9533 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9534 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9535 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9537 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9539 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9541 # The linker will not automatically build a static lib if we build a DLL.
9542 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9543 enable_shared_with_static_runtimes=yes
9544 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9546 old_postinstall_cmds='chmod 644 $oldlib'
9547 postlink_cmds='lt_outputfile="@OUTPUT@"~
9548 lt_tool_outputfile="@TOOL_OUTPUT@"~
9549 case $lt_outputfile in
9552 lt_outputfile="$lt_outputfile.exe"
9553 lt_tool_outputfile="$lt_tool_outputfile.exe"
9556 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9557 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9558 $RM "$lt_outputfile.manifest";
9562 # Assume MSVC wrapper
9563 hardcode_libdir_flag_spec=' '
9564 allow_undefined_flag=unsupported
9565 # Tell ltmain to make .lib files, not .a files.
9567 # Tell ltmain to make .dll files, not .so files.
9569 # FIXME: Setting linknames here is a bad hack.
9570 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9571 # The linker will automatically build a .lib file if we build a DLL.
9572 old_archive_from_new_cmds='true'
9573 # FIXME: Should let the user specify the lib program.
9574 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9575 enable_shared_with_static_runtimes=yes
9580 darwin* | rhapsody*)
9583 archive_cmds_need_lc=no
9585 hardcode_automatic=yes
9586 hardcode_shlibpath_var=unsupported
9587 if test "$lt_cv_ld_force_load" = "yes"; then
9588 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\"`'
9590 whole_archive_flag_spec=''
9592 link_all_deplibs=yes
9593 allow_undefined_flag="$_lt_dar_allow_undefined"
9594 case $cc_basename in
9595 ifort*) _lt_dar_can_shared=yes ;;
9596 *) _lt_dar_can_shared=$GCC ;;
9598 if test "$_lt_dar_can_shared" = "yes"; then
9599 output_verbose_link_cmd=func_echo_all
9600 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9601 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9602 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}"
9603 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}"
9612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9613 hardcode_libdir_flag_spec='-L$libdir'
9614 hardcode_shlibpath_var=no
9621 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9622 # support. Future versions do this automatically, but an explicit c++rt0.o
9623 # does not break anything, and helps significantly (at the cost of a little
9626 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9627 hardcode_libdir_flag_spec='-R$libdir'
9629 hardcode_shlibpath_var=no
9632 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9634 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9636 hardcode_minus_L=yes
9637 hardcode_shlibpath_var=no
9640 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9641 freebsd* | dragonfly*)
9642 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9643 hardcode_libdir_flag_spec='-R$libdir'
9645 hardcode_shlibpath_var=no
9649 if test "$GCC" = yes; then
9650 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'
9652 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'
9654 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9655 hardcode_libdir_separator=:
9658 # hardcode_minus_L: Not really in the search PATH,
9659 # but as the default location of the library.
9660 hardcode_minus_L=yes
9661 export_dynamic_flag_spec='${wl}-E'
9665 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9666 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9670 if test "$with_gnu_ld" = no; then
9671 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9672 hardcode_libdir_flag_spec_ld='+b $libdir'
9673 hardcode_libdir_separator=:
9675 hardcode_direct_absolute=yes
9676 export_dynamic_flag_spec='${wl}-E'
9677 # hardcode_minus_L: Not really in the search PATH,
9678 # but as the default location of the library.
9679 hardcode_minus_L=yes
9684 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9687 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9706 # Older versions of the 11.00 compiler do not understand -b yet
9707 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9709 $as_echo_n "checking if $CC understands -b... " >&6; }
9710 if ${lt_cv_prog_compiler__b+:} false; then :
9711 $as_echo_n "(cached) " >&6
9713 lt_cv_prog_compiler__b=no
9714 save_LDFLAGS="$LDFLAGS"
9715 LDFLAGS="$LDFLAGS -b"
9716 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9717 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9718 # The linker can only warn and ignore the option if not recognized
9719 # So say no if there are warnings
9720 if test -s conftest.err; then
9721 # Append any errors to the config.log.
9722 cat conftest.err 1>&5
9723 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9725 if diff conftest.exp conftest.er2 >/dev/null; then
9726 lt_cv_prog_compiler__b=yes
9729 lt_cv_prog_compiler__b=yes
9733 LDFLAGS="$save_LDFLAGS"
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9737 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9739 if test x"$lt_cv_prog_compiler__b" = xyes; then
9740 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9748 if test "$with_gnu_ld" = no; then
9749 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9750 hardcode_libdir_separator=:
9755 hardcode_shlibpath_var=no
9759 hardcode_direct_absolute=yes
9760 export_dynamic_flag_spec='${wl}-E'
9762 # hardcode_minus_L: Not really in the search PATH,
9763 # but as the default location of the library.
9764 hardcode_minus_L=yes
9770 irix5* | irix6* | nonstopux*)
9771 if test "$GCC" = yes; then
9772 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'
9773 # Try to use the -exported_symbol ld option, if it does not
9774 # work, assume that -exports_file does not work either and
9775 # implicitly export all symbols.
9776 # This should be the same for all languages, so no per-tag cache variable.
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9778 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9779 if ${lt_cv_irix_exported_symbol+:} false; then :
9780 $as_echo_n "(cached) " >&6
9782 save_LDFLAGS="$LDFLAGS"
9783 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int foo (void) { return 0; }
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 lt_cv_irix_exported_symbol=yes
9791 lt_cv_irix_exported_symbol=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LDFLAGS="$save_LDFLAGS"
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9798 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9799 if test "$lt_cv_irix_exported_symbol" = yes; then
9800 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'
9803 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'
9804 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'
9806 archive_cmds_need_lc='no'
9807 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9808 hardcode_libdir_separator=:
9810 link_all_deplibs=yes
9814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9817 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9819 hardcode_libdir_flag_spec='-R$libdir'
9821 hardcode_shlibpath_var=no
9825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9828 hardcode_libdir_separator=:
9829 hardcode_shlibpath_var=no
9836 if test -f /usr/libexec/ld.so; then
9838 hardcode_shlibpath_var=no
9839 hardcode_direct_absolute=yes
9840 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9841 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9843 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9844 export_dynamic_flag_spec='${wl}-E'
9847 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9848 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_libdir_flag_spec='-R$libdir'
9852 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9853 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9863 hardcode_libdir_flag_spec='-L$libdir'
9864 hardcode_minus_L=yes
9865 allow_undefined_flag=unsupported
9866 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'
9867 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9871 if test "$GCC" = yes; then
9872 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9873 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'
9875 allow_undefined_flag=' -expect_unresolved \*'
9876 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'
9878 archive_cmds_need_lc='no'
9879 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9880 hardcode_libdir_separator=:
9883 osf4* | osf5*) # as osf3* with the addition of -msym flag
9884 if test "$GCC" = yes; then
9885 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9886 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'
9887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889 allow_undefined_flag=' -expect_unresolved \*'
9890 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'
9891 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~
9892 $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'
9894 # Both c and cxx compiler support -rpath directly
9895 hardcode_libdir_flag_spec='-rpath $libdir'
9897 archive_cmds_need_lc='no'
9898 hardcode_libdir_separator=:
9902 no_undefined_flag=' -z defs'
9903 if test "$GCC" = yes; then
9905 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9906 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9907 $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'
9909 case `$CC -V 2>&1` in
9912 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9914 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9918 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9920 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9924 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_shlibpath_var=no
9927 solaris2.[0-5] | solaris2.[0-5].*) ;;
9929 # The compiler driver will combine and reorder linker options,
9930 # but understands `-z linker_flag'. GCC discards it without `$wl',
9931 # but is careful enough not to reorder.
9932 # Supported since Solaris 2.6 (maybe 2.5.1?)
9933 if test "$GCC" = yes; then
9934 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9936 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9940 link_all_deplibs=yes
9944 if test "x$host_vendor" = xsequent; then
9945 # Use $CC to link under sequent, because it throws in some extra .o
9946 # files that make .init and .fini sections work.
9947 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9951 hardcode_libdir_flag_spec='-L$libdir'
9953 hardcode_minus_L=yes
9954 hardcode_shlibpath_var=no
9958 case $host_vendor in
9960 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_direct=yes # is this really true???
9964 ## LD is ld it makes a PLAMLIB
9965 ## CC just makes a GrossModule.
9966 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9967 reload_cmds='$CC -r -o $output$reload_objs'
9971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9975 runpath_var='LD_RUN_PATH'
9976 hardcode_shlibpath_var=no
9980 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9981 hardcode_shlibpath_var=no
9982 export_dynamic_flag_spec='-Bexport'
9986 if test -d /usr/nec; then
9987 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988 hardcode_shlibpath_var=no
9989 runpath_var=LD_RUN_PATH
9990 hardcode_runpath_var=yes
9995 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9996 no_undefined_flag='${wl}-z,text'
9997 archive_cmds_need_lc=no
9998 hardcode_shlibpath_var=no
9999 runpath_var='LD_RUN_PATH'
10001 if test "$GCC" = yes; then
10002 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10003 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 sysv5* | sco3.2v5* | sco5v6*)
10011 # Note: We can NOT use -z defs as we might desire, because we do not
10012 # link with -lc, and that would cause any symbols used from libc to
10013 # always be unresolved, which means just about no library would
10014 # ever link correctly. If we're not using GNU ld we use -z text
10015 # though, which does catch some bad symbols but isn't as heavy-handed
10017 no_undefined_flag='${wl}-z,text'
10018 allow_undefined_flag='${wl}-z,nodefs'
10019 archive_cmds_need_lc=no
10020 hardcode_shlibpath_var=no
10021 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10022 hardcode_libdir_separator=':'
10023 link_all_deplibs=yes
10024 export_dynamic_flag_spec='${wl}-Bexport'
10025 runpath_var='LD_RUN_PATH'
10027 if test "$GCC" = yes; then
10028 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_shlibpath_var=no
10047 if test x$host_vendor = xsni; then
10049 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10050 export_dynamic_flag_spec='${wl}-Blargedynsym'
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10057 $as_echo "$ld_shlibs" >&6; }
10058 test "$ld_shlibs" = no && can_build_shared=no
10060 with_gnu_ld=$with_gnu_ld
10077 # Do we need to explicitly link libc?
10079 case "x$archive_cmds_need_lc" in
10081 # Assume -lc should be added
10082 archive_cmds_need_lc=yes
10084 if test "$enable_shared" = yes && test "$GCC" = yes; then
10085 case $archive_cmds in
10087 # FIXME: we may have to deal with multi-command sequences.
10090 # Test whether the compiler implicitly links with -lc since on some
10091 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10092 # to ld, don't add -lc before -lgcc.
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10094 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10095 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10096 $as_echo_n "(cached) " >&6
10099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10102 (eval $ac_compile) 2>&5
10104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10105 test $ac_status = 0; } 2>conftest.err; then
10108 libobjs=conftest.$ac_objext
10110 wl=$lt_prog_compiler_wl
10111 pic_flag=$lt_prog_compiler_pic
10117 lt_save_allow_undefined_flag=$allow_undefined_flag
10118 allow_undefined_flag=
10119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10120 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10123 test $ac_status = 0; }
10125 lt_cv_archive_cmds_need_lc=no
10127 lt_cv_archive_cmds_need_lc=yes
10129 allow_undefined_flag=$lt_save_allow_undefined_flag
10131 cat conftest.err 1>&5
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10137 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10138 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10302 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10304 if test "$GCC" = yes; then
10306 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10307 *) lt_awk_arg="/^libraries:/" ;;
10310 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10311 *) lt_sed_strip_eq="s,=/,/,g" ;;
10313 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10314 case $lt_search_path_spec in
10316 # if the path contains ";" then we assume it to be the separator
10317 # otherwise default to the standard path separator (i.e. ":") - it is
10318 # assumed that no part of a normal pathname contains ";" but that should
10319 # okay in the real world where ";" in dirpaths is itself problematic.
10320 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10323 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10326 # Ok, now we have the path, separated by spaces, we can step through it
10327 # and add multilib dir if necessary.
10328 lt_tmp_lt_search_path_spec=
10329 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10330 for lt_sys_path in $lt_search_path_spec; do
10331 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10332 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10334 test -d "$lt_sys_path" && \
10335 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10338 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10339 BEGIN {RS=" "; FS="/|\n";} {
10342 for (lt_i = NF; lt_i > 0; lt_i--) {
10343 if ($lt_i != "" && $lt_i != ".") {
10344 if ($lt_i == "..") {
10347 if (lt_count == 0) {
10348 lt_foo="/" $lt_i lt_foo;
10355 if (lt_foo != "") { lt_freq[lt_foo]++; }
10356 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10358 # AWK program above erroneously prepends '/' to C:/dos/paths
10361 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10362 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10364 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10366 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10368 library_names_spec=
10369 libname_spec='lib$name'
10373 postuninstall_cmds=
10377 shlibpath_overrides_runpath=unknown
10379 dynamic_linker="$host_os ld.so"
10380 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10381 need_lib_prefix=unknown
10382 hardcode_into_libs=no
10384 # when you set need_version to no, make sure it does not cause -set_version
10385 # flags to be left without arguments
10386 need_version=unknown
10391 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10392 shlibpath_var=LIBPATH
10394 # AIX 3 has no versioning support, so we append a major version to the name.
10395 soname_spec='${libname}${release}${shared_ext}$major'
10402 hardcode_into_libs=yes
10403 if test "$host_cpu" = ia64; then
10404 # AIX 5 supports IA64
10405 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10406 shlibpath_var=LD_LIBRARY_PATH
10408 # With GCC up to 2.95.x, collect2 would create an import file
10409 # for dependence libraries. The import file would start with
10410 # the line `#! .'. This would cause the generated library to
10411 # depend on `.', always an invalid library. This was fixed in
10412 # development snapshots of GCC prior to 3.0.
10414 aix4 | aix4.[01] | aix4.[01].*)
10415 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10417 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10420 can_build_shared=no
10424 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10425 # soname into executable. Probably we can add versioning support to
10426 # collect2, so additional links can be useful in future.
10427 if test "$aix_use_runtimelinking" = yes; then
10428 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10429 # instead of lib<name>.a to let people know that these are not
10430 # typical AIX shared libraries.
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433 # We preserve .a as extension for shared libraries through AIX4.2
10434 # and later when we are not doing run time linking.
10435 library_names_spec='${libname}${release}.a $libname.a'
10436 soname_spec='${libname}${release}${shared_ext}$major'
10438 shlibpath_var=LIBPATH
10445 # Since July 2007 AmigaOS4 officially supports .so libraries.
10446 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 library_names_spec='$libname.ixlibrary $libname.a'
10451 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10452 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'
10458 library_names_spec='${libname}${shared_ext}'
10459 dynamic_linker="$host_os ld.so"
10460 shlibpath_var=LIBRARY_PATH
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 soname_spec='${libname}${release}${shared_ext}$major'
10468 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10471 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10472 # the default ld.so.conf also contains /usr/contrib/lib and
10473 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10474 # libtool to hard-code these into programs
10477 cygwin* | mingw* | pw32* | cegcc*)
10478 version_type=windows
10483 case $GCC,$cc_basename in
10486 library_names_spec='$libname.dll.a'
10487 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10488 postinstall_cmds='base_file=`basename \${file}`~
10489 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10490 dldir=$destdir/`dirname \$dlpath`~
10491 test -d \$dldir || mkdir -p \$dldir~
10492 $install_prog $dir/$dlname \$dldir/$dlname~
10493 chmod a+x \$dldir/$dlname~
10494 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10495 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10497 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10498 dlpath=$dir/\$dldll~
10500 shlibpath_overrides_runpath=yes
10504 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10505 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10507 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10510 # MinGW DLLs use traditional 'lib' prefix
10511 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10514 # pw32 DLLs use 'pw' prefix rather than 'lib'
10515 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10518 dynamic_linker='Win32 ld.exe'
10523 libname_spec='$name'
10524 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10525 library_names_spec='${libname}.dll.lib'
10529 sys_lib_search_path_spec=
10532 for lt_path in $LIB
10535 # Let DOS variable expansion print the short 8.3 style file name.
10536 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10537 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10540 # Convert to MSYS style.
10541 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10544 # Convert to unix form, then to dos form, then back to unix form
10545 # but this time dos style (no spaces!) so that the unix form looks
10546 # like /cygdrive/c/PROGRA~1:/cygdr...
10547 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10548 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10549 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10552 sys_lib_search_path_spec="$LIB"
10553 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10554 # It is most probably a Windows format PATH.
10555 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10557 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10559 # FIXME: find the short name or the path components, as spaces are
10560 # common. (e.g. "Program Files" -> "PROGRA~1")
10564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10565 postinstall_cmds='base_file=`basename \${file}`~
10566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10567 dldir=$destdir/`dirname \$dlpath`~
10568 test -d \$dldir || mkdir -p \$dldir~
10569 $install_prog $dir/$dlname \$dldir/$dlname'
10570 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10571 dlpath=$dir/\$dldll~
10573 shlibpath_overrides_runpath=yes
10574 dynamic_linker='Win32 link.exe'
10578 # Assume MSVC wrapper
10579 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10580 dynamic_linker='Win32 ld.exe'
10583 # FIXME: first we should search . and the directory the executable is in
10587 darwin* | rhapsody*)
10588 dynamic_linker="$host_os dyld"
10589 version_type=darwin
10592 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10593 soname_spec='${libname}${release}${major}$shared_ext'
10594 shlibpath_overrides_runpath=yes
10595 shlibpath_var=DYLD_LIBRARY_PATH
10596 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10598 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10599 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LD_LIBRARY_PATH
10615 freebsd* | dragonfly*)
10616 # DragonFly does not have aout. When/if they implement a new
10617 # versioning mechanism, adjust this.
10618 if test -x /usr/bin/objformat; then
10619 objformat=`/usr/bin/objformat`
10622 freebsd[123]*) objformat=aout ;;
10623 *) objformat=elf ;;
10626 version_type=freebsd-$objformat
10627 case $version_type in
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10638 shlibpath_var=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath=yes
10643 freebsd3.[01]* | freebsdelf3.[01]*)
10644 shlibpath_overrides_runpath=yes
10645 hardcode_into_libs=yes
10647 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10648 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10649 shlibpath_overrides_runpath=no
10650 hardcode_into_libs=yes
10652 *) # from 4.6 on, and DragonFly
10653 shlibpath_overrides_runpath=yes
10654 hardcode_into_libs=yes
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 shlibpath_var=LD_LIBRARY_PATH
10666 hardcode_into_libs=yes
10673 dynamic_linker="$host_os runtime_loader"
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 shlibpath_var=LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10678 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10679 hardcode_into_libs=yes
10682 hpux9* | hpux10* | hpux11*)
10683 # Give a soname corresponding to the major version so that dld.sl refuses to
10684 # link against other versions.
10691 hardcode_into_libs=yes
10692 dynamic_linker="$host_os dld.so"
10693 shlibpath_var=LD_LIBRARY_PATH
10694 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 if test "X$HPUX_IA64_MODE" = X32; then
10698 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10700 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10702 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10706 hardcode_into_libs=yes
10707 dynamic_linker="$host_os dld.sl"
10708 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10709 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10713 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10717 dynamic_linker="$host_os dld.sl"
10718 shlibpath_var=SHLIB_PATH
10719 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10724 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10725 postinstall_cmds='chmod 555 $lib'
10726 # or fails outright, so override atomically:
10727 install_override_mode=555
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10737 shlibpath_var=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath=no
10739 hardcode_into_libs=yes
10742 irix5* | irix6* | nonstopux*)
10744 nonstopux*) version_type=nonstopux ;;
10746 if test "$lt_cv_prog_gnu_ld" = yes; then
10754 soname_spec='${libname}${release}${shared_ext}$major'
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10757 irix5* | nonstopux*)
10758 libsuff= shlibsuff=
10761 case $LD in # libtool.m4 will add one of these switches to LD
10762 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10763 libsuff= shlibsuff= libmagic=32-bit;;
10764 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10765 libsuff=32 shlibsuff=N32 libmagic=N32;;
10766 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10767 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10768 *) libsuff= shlibsuff= libmagic=never-match;;
10772 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10773 shlibpath_overrides_runpath=no
10774 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10775 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10776 hardcode_into_libs=yes
10779 # No shared lib support for Linux oldld, aout, or coff.
10780 linux*oldld* | linux*aout* | linux*coff*)
10784 # This must be Linux ELF.
10785 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10791 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10792 shlibpath_var=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath=no
10795 # Some binutils ld are patched to set DT_RUNPATH
10796 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10797 $as_echo_n "(cached) " >&6
10799 lt_cv_shlibpath_overrides_runpath=no
10800 save_LDFLAGS=$LDFLAGS
10801 save_libdir=$libdir
10802 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10803 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10817 lt_cv_shlibpath_overrides_runpath=yes
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LDFLAGS=$save_LDFLAGS
10823 libdir=$save_libdir
10827 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10829 # This implies no fast_install, which is unacceptable.
10830 # Some rework will be needed to allow for fast_install
10831 # before this can be enabled.
10832 hardcode_into_libs=yes
10834 # Add ABI-specific directories to the system library path.
10835 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10837 # Append ld.so.conf contents to the search path
10838 if test -f /etc/ld.so.conf; then
10839 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' ' '`
10840 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10844 # We used to test for /lib/ld.so.1 and disable shared libraries on
10845 # powerpc, because MkLinux only supported shared libraries with the
10846 # GNU dynamic linker. Since this was broken with cross compilers,
10847 # most powerpc-linux boxes support dynamic linking these days and
10848 # people can always --disable-shared, the test was removed, and we
10849 # assume the GNU/Linux dynamic linker is in use.
10850 dynamic_linker='GNU/Linux ld.so'
10857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10859 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10860 dynamic_linker='NetBSD (a.out) ld.so'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 dynamic_linker='NetBSD ld.elf_so'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath=yes
10868 hardcode_into_libs=yes
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath=yes
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 soname_spec='${libname}${release}${shared_ext}$major'
10884 shlibpath_var=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath=no
10886 hardcode_into_libs=yes
10887 dynamic_linker='ldqnx.so'
10892 sys_lib_dlsearch_path_spec="/usr/lib"
10894 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10896 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10897 *) need_version=no ;;
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 shlibpath_var=LD_LIBRARY_PATH
10902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10904 openbsd2.[89] | openbsd2.[89].*)
10905 shlibpath_overrides_runpath=no
10908 shlibpath_overrides_runpath=yes
10912 shlibpath_overrides_runpath=yes
10917 libname_spec='$name'
10920 library_names_spec='$libname${shared_ext} $libname.a'
10921 dynamic_linker='OS/2 ld.exe'
10922 shlibpath_var=LIBPATH
10925 osf3* | osf4* | osf5*)
10929 soname_spec='${libname}${release}${shared_ext}$major'
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10933 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath=yes
10948 hardcode_into_libs=yes
10949 # ldd complains unless libraries are executable
10950 postinstall_cmds='chmod +x $lib'
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10956 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10957 shlibpath_var=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath=yes
10959 if test "$with_gnu_ld" = yes; then
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 case $host_vendor in
10972 shlibpath_overrides_runpath=no
10974 runpath_var=LD_RUN_PATH
10982 shlibpath_overrides_runpath=no
10983 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10989 if test -d /usr/nec ;then
10991 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10992 soname_spec='$libname${shared_ext}.$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10998 version_type=freebsd-elf
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 shlibpath_var=LD_LIBRARY_PATH
11004 shlibpath_overrides_runpath=yes
11005 hardcode_into_libs=yes
11006 if test "$with_gnu_ld" = yes; then
11007 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11009 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11012 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11016 sys_lib_dlsearch_path_spec='/usr/lib'
11020 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 shlibpath_var=LD_LIBRARY_PATH
11026 shlibpath_overrides_runpath=no
11027 hardcode_into_libs=yes
11032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11042 $as_echo "$dynamic_linker" >&6; }
11043 test "$dynamic_linker" = no && can_build_shared=no
11045 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11046 if test "$GCC" = yes; then
11047 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11050 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11051 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11053 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11054 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11151 if test -n "$hardcode_libdir_flag_spec" ||
11152 test -n "$runpath_var" ||
11153 test "X$hardcode_automatic" = "Xyes" ; then
11155 # We can hardcode non-existent directories.
11156 if test "$hardcode_direct" != no &&
11157 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11158 # have to relink, otherwise we might link with an installed library
11159 # when we should be linking with a yet-to-be-installed one
11160 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11161 test "$hardcode_minus_L" != no; then
11162 # Linking always hardcodes the temporary library directory.
11163 hardcode_action=relink
11165 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11166 hardcode_action=immediate
11169 # We cannot hardcode anything, or else we can only hardcode existing
11171 hardcode_action=unsupported
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11174 $as_echo "$hardcode_action" >&6; }
11176 if test "$hardcode_action" = relink ||
11177 test "$inherit_rpath" = yes; then
11178 # Fast installation is not supported
11179 enable_fast_install=no
11180 elif test "$shlibpath_overrides_runpath" = yes ||
11181 test "$enable_shared" = no; then
11182 # Fast installation is not necessary
11183 enable_fast_install=needless
11191 if test "x$enable_dlopen" != xyes; then
11192 enable_dlopen=unknown
11193 enable_dlopen_self=unknown
11194 enable_dlopen_self_static=unknown
11201 lt_cv_dlopen="load_add_on"
11203 lt_cv_dlopen_self=yes
11206 mingw* | pw32* | cegcc*)
11207 lt_cv_dlopen="LoadLibrary"
11212 lt_cv_dlopen="dlopen"
11217 # if libdl is installed we need to link against it
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11220 if ${ac_cv_lib_dl_dlopen+:} false; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_dl_dlopen=yes
11246 ac_cv_lib_dl_dlopen=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11254 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11255 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_self=yes
11267 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11268 if test "x$ac_cv_func_shl_load" = xyes; then :
11269 lt_cv_dlopen="shl_load"
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11272 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11273 if ${ac_cv_lib_dld_shl_load+:} false; then :
11274 $as_echo_n "(cached) " >&6
11276 ac_check_lib_save_LIBS=$LIBS
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11291 return shl_load ();
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_dld_shl_load=yes
11299 ac_cv_lib_dld_shl_load=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11306 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11307 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11308 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11310 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11311 if test "x$ac_cv_func_dlopen" = xyes; then :
11312 lt_cv_dlopen="dlopen"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11316 if ${ac_cv_lib_dl_dlopen+:} false; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS=$LIBS
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 ac_cv_lib_dl_dlopen=yes
11342 ac_cv_lib_dl_dlopen=no
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11350 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11351 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11354 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11355 if ${ac_cv_lib_svld_dlopen+:} false; then :
11356 $as_echo_n "(cached) " >&6
11358 ac_check_lib_save_LIBS=$LIBS
11359 LIBS="-lsvld $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 ac_cv_lib_svld_dlopen=yes
11381 ac_cv_lib_svld_dlopen=no
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_lib_save_LIBS
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11388 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11389 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11390 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11393 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11394 if ${ac_cv_lib_dld_dld_link+:} false; then :
11395 $as_echo_n "(cached) " >&6
11397 ac_check_lib_save_LIBS=$LIBS
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11412 return dld_link ();
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_dld_dld_link=yes
11420 ac_cv_lib_dld_dld_link=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11427 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11428 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11429 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11450 if test "x$lt_cv_dlopen" != xno; then
11456 case $lt_cv_dlopen in
11458 save_CPPFLAGS="$CPPFLAGS"
11459 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11461 save_LDFLAGS="$LDFLAGS"
11462 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11465 LIBS="$lt_cv_dlopen_libs $LIBS"
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11468 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11469 if ${lt_cv_dlopen_self+:} false; then :
11470 $as_echo_n "(cached) " >&6
11472 if test "$cross_compiling" = yes; then :
11473 lt_cv_dlopen_self=cross
11475 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11476 lt_status=$lt_dlunknown
11477 cat > conftest.$ac_ext <<_LT_EOF
11478 #line $LINENO "configure"
11479 #include "confdefs.h"
11488 # define LT_DLGLOBAL RTLD_GLOBAL
11491 # define LT_DLGLOBAL DL_GLOBAL
11493 # define LT_DLGLOBAL 0
11497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11498 find out it does not work in some platform. */
11499 #ifndef LT_DLLAZY_OR_NOW
11501 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11504 # define LT_DLLAZY_OR_NOW DL_LAZY
11507 # define LT_DLLAZY_OR_NOW RTLD_NOW
11510 # define LT_DLLAZY_OR_NOW DL_NOW
11512 # define LT_DLLAZY_OR_NOW 0
11519 /* When -fvisbility=hidden is used, assume the code has been annotated
11520 correspondingly for the symbols needed. */
11521 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11522 int fnord () __attribute__((visibility("default")));
11525 int fnord () { return 42; }
11528 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11529 int status = $lt_dlunknown;
11533 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11536 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11537 else puts (dlerror ());
11539 /* dlclose (self); */
11547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11548 (eval $ac_link) 2>&5
11550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11551 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11552 (./conftest; exit; ) >&5 2>/dev/null
11554 case x$lt_status in
11555 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11556 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11557 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11560 # compilation failed
11561 lt_cv_dlopen_self=no
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11569 $as_echo "$lt_cv_dlopen_self" >&6; }
11571 if test "x$lt_cv_dlopen_self" = xyes; then
11572 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11574 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11575 if ${lt_cv_dlopen_self_static+:} false; then :
11576 $as_echo_n "(cached) " >&6
11578 if test "$cross_compiling" = yes; then :
11579 lt_cv_dlopen_self_static=cross
11581 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11582 lt_status=$lt_dlunknown
11583 cat > conftest.$ac_ext <<_LT_EOF
11584 #line $LINENO "configure"
11585 #include "confdefs.h"
11594 # define LT_DLGLOBAL RTLD_GLOBAL
11597 # define LT_DLGLOBAL DL_GLOBAL
11599 # define LT_DLGLOBAL 0
11603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11604 find out it does not work in some platform. */
11605 #ifndef LT_DLLAZY_OR_NOW
11607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11610 # define LT_DLLAZY_OR_NOW DL_LAZY
11613 # define LT_DLLAZY_OR_NOW RTLD_NOW
11616 # define LT_DLLAZY_OR_NOW DL_NOW
11618 # define LT_DLLAZY_OR_NOW 0
11625 /* When -fvisbility=hidden is used, assume the code has been annotated
11626 correspondingly for the symbols needed. */
11627 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11628 int fnord () __attribute__((visibility("default")));
11631 int fnord () { return 42; }
11634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11635 int status = $lt_dlunknown;
11639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11642 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11643 else puts (dlerror ());
11645 /* dlclose (self); */
11653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11654 (eval $ac_link) 2>&5
11656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11657 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11658 (./conftest; exit; ) >&5 2>/dev/null
11660 case x$lt_status in
11661 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11662 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11663 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11666 # compilation failed
11667 lt_cv_dlopen_self_static=no
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11675 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11678 CPPFLAGS="$save_CPPFLAGS"
11679 LDFLAGS="$save_LDFLAGS"
11684 case $lt_cv_dlopen_self in
11685 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11686 *) enable_dlopen_self=unknown ;;
11689 case $lt_cv_dlopen_self_static in
11690 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11691 *) enable_dlopen_self_static=unknown ;;
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11714 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11715 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11716 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11717 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11719 $as_echo "yes" >&6; }
11721 # FIXME - insert some real tests, host_os isn't really good enough
11724 if test -n "$STRIP" ; then
11725 striplib="$STRIP -x"
11726 old_striplib="$STRIP -S"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11728 $as_echo "yes" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11731 $as_echo "no" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11736 $as_echo "no" >&6; }
11752 # Report which library types will actually be built
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11754 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11756 $as_echo "$can_build_shared" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11759 $as_echo_n "checking whether to build shared libraries... " >&6; }
11760 test "$can_build_shared" = "no" && enable_shared=no
11762 # On AIX, shared libraries and static libraries use the same namespace, and
11763 # are all built from PIC.
11766 test "$enable_shared" = yes && enable_static=no
11767 if test -n "$RANLIB"; then
11768 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11769 postinstall_cmds='$RANLIB $lib'
11774 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11775 test "$enable_shared" = yes && enable_static=no
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11780 $as_echo "$enable_shared" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11783 $as_echo_n "checking whether to build static libraries... " >&6; }
11784 # Make sure either enable_shared or enable_static is yes.
11785 test "$enable_shared" = yes || enable_static=yes
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11787 $as_echo "$enable_static" >&6; }
11794 ac_cpp='$CPP $CPPFLAGS'
11795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11813 ac_config_commands="$ac_config_commands libtool"
11818 # Only expand once:
11828 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11829 if test -n "$ac_tool_prefix"; then
11830 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11831 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11833 $as_echo_n "checking for $ac_word... " >&6; }
11834 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11835 $as_echo_n "(cached) " >&6
11837 case $PKG_CONFIG in
11839 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $PATH
11846 test -z "$as_dir" && as_dir=.
11847 for ac_exec_ext in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11861 if test -n "$PKG_CONFIG"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11863 $as_echo "$PKG_CONFIG" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11871 if test -z "$ac_cv_path_PKG_CONFIG"; then
11872 ac_pt_PKG_CONFIG=$PKG_CONFIG
11873 # Extract the first word of "pkg-config", so it can be a program name with args.
11874 set dummy pkg-config; ac_word=$2
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11876 $as_echo_n "checking for $ac_word... " >&6; }
11877 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11878 $as_echo_n "(cached) " >&6
11880 case $ac_pt_PKG_CONFIG in
11882 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11886 for as_dir in $PATH
11889 test -z "$as_dir" && as_dir=.
11890 for ac_exec_ext in '' $ac_executable_extensions; do
11891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11892 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11904 if test -n "$ac_pt_PKG_CONFIG"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11906 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11909 $as_echo "no" >&6; }
11912 if test "x$ac_pt_PKG_CONFIG" = x; then
11915 case $cross_compiling:$ac_tool_warned in
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11919 ac_tool_warned=yes ;;
11921 PKG_CONFIG=$ac_pt_PKG_CONFIG
11924 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11928 if test -n "$PKG_CONFIG"; then
11929 _pkg_min_version=0.9.0
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11931 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11932 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11934 $as_echo "yes" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11937 $as_echo "no" >&6; }
11942 for ac_prog in flex lex
11944 # Extract the first word of "$ac_prog", so it can be a program name with args.
11945 set dummy $ac_prog; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947 $as_echo_n "checking for $ac_word... " >&6; }
11948 if ${ac_cv_prog_LEX+:} false; then :
11949 $as_echo_n "(cached) " >&6
11951 if test -n "$LEX"; then
11952 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11955 for as_dir in $PATH
11958 test -z "$as_dir" && as_dir=.
11959 for ac_exec_ext in '' $ac_executable_extensions; do
11960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11961 ac_cv_prog_LEX="$ac_prog"
11962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971 LEX=$ac_cv_prog_LEX
11972 if test -n "$LEX"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
11974 $as_echo "$LEX" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11981 test -n "$LEX" && break
11983 test -n "$LEX" || LEX=":"
11985 if test "x$LEX" != "x:"; then
11986 cat >conftest.l <<_ACEOF
11992 e { yyless (input () != 0); }
11993 f { unput (yytext[0]); }
11994 . { BEGIN INITIAL; }
11996 #ifdef YYTEXT_POINTER
11997 extern char *yytext;
12002 return ! yylex () + ! yywrap ();
12005 { { ac_try="$LEX conftest.l"
12006 case "(($ac_try" in
12007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12008 *) ac_try_echo=$ac_try;;
12010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12011 $as_echo "$ac_try_echo"; } >&5
12012 (eval "$LEX conftest.l") 2>&5
12014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12015 test $ac_status = 0; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12017 $as_echo_n "checking lex output file root... " >&6; }
12018 if ${ac_cv_prog_lex_root+:} false; then :
12019 $as_echo_n "(cached) " >&6
12022 if test -f lex.yy.c; then
12023 ac_cv_prog_lex_root=lex.yy
12024 elif test -f lexyy.c; then
12025 ac_cv_prog_lex_root=lexyy
12027 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12031 $as_echo "$ac_cv_prog_lex_root" >&6; }
12032 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12034 if test -z "${LEXLIB+set}"; then
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12036 $as_echo_n "checking lex library... " >&6; }
12037 if ${ac_cv_lib_lex+:} false; then :
12038 $as_echo_n "(cached) " >&6
12042 ac_cv_lib_lex='none needed'
12043 for ac_lib in '' -lfl -ll; do
12044 LIBS="$ac_lib $ac_save_LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 `cat $LEX_OUTPUT_ROOT.c`
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_lex=$ac_lib
12052 rm -f core conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054 test "$ac_cv_lib_lex" != 'none needed' && break
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12060 $as_echo "$ac_cv_lib_lex" >&6; }
12061 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12066 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12067 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12068 $as_echo_n "(cached) " >&6
12070 # POSIX says lex can declare yytext either as a pointer or an array; the
12071 # default is implementation-dependent. Figure out which it is, since
12072 # not all implementations provide the %pointer and %array declarations.
12073 ac_cv_prog_lex_yytext_pointer=no
12075 LIBS="$LEXLIB $ac_save_LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 #define YYTEXT_POINTER 1
12080 `cat $LEX_OUTPUT_ROOT.c`
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_prog_lex_yytext_pointer=yes
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12091 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12092 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12094 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12097 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12100 if test "$LEX" = :; then
12101 as_fn_error $? "flex not found but required" "$LINENO" 5
12104 for ac_prog in 'bison -y'
12106 # Extract the first word of "$ac_prog", so it can be a program name with args.
12107 set dummy $ac_prog; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12109 $as_echo_n "checking for $ac_word... " >&6; }
12110 if ${ac_cv_prog_YACC+:} false; then :
12111 $as_echo_n "(cached) " >&6
12113 if test -n "$YACC"; then
12114 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_prog_YACC="$ac_prog"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12133 YACC=$ac_cv_prog_YACC
12134 if test -n "$YACC"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12136 $as_echo "$YACC" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12143 test -n "$YACC" && break
12145 test -n "$YACC" || YACC=":"
12147 if test "$YACC" = :; then
12148 as_fn_error $? "bison not found but required" "$LINENO" 5
12156 case " ${result} " in
12157 *[\ \ ]${flag}[\ \ ]*) ;;
12158 *) result="${flag} ${result}" ;;
12164 if test "$GCC" = "yes"; then
12165 for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12166 -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12167 -Wsign-compare -fno-strict-aliasing;
12169 CFLAGS="$(ensureflag $flag $CFLAGS)"
12173 # Checks for libraries.
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12175 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12176 if ${ac_cv_lib_dl_dlopen+:} false; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_check_lib_save_LIBS=$LIBS
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 ac_cv_lib_dl_dlopen=yes
12202 ac_cv_lib_dl_dlopen=no
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12209 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12210 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_LIBDL 1
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12221 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12222 # libtool variables are immediately available since 2.0, prior to that we need
12223 # to call libtool --config explicitly
12224 if test "x$shrext_cmds" = x; then
12225 shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12228 eval std_shrext=$shrext_cmds
12229 # chop the initial dot
12230 SHLIB_SUFFIX=${std_shrext#.}
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12232 $as_echo ".$SHLIB_SUFFIX" >&6; }
12233 # any reason it may fail?
12234 if test "x$SHLIB_SUFFIX" = x; then
12235 as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12238 cat >>confdefs.h <<_ACEOF
12239 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12243 # Copied from dbus configure.in
12244 #### find the actual value for $prefix that we'll end up with
12245 ## (I know this is broken and should be done in the Makefile, but
12246 ## that's a major pain and almost nobody actually seems to care)
12248 EXP_VAR=EXPANDED_LOCALSTATEDIR
12249 FROM_VAR="$localstatedir"
12251 prefix_save=$prefix
12252 exec_prefix_save=$exec_prefix
12254 if test "x$prefix" = "xNONE"; then
12255 prefix="$ac_default_prefix"
12257 if test "x$exec_prefix" = "xNONE"; then
12258 exec_prefix=$prefix
12261 full_var="$FROM_VAR"
12263 new_full_var="`eval echo $full_var`"
12264 if test "x$new_full_var" = "x$full_var"; then break; fi
12265 full_var=$new_full_var
12268 full_var=$new_full_var
12269 EXPANDED_LOCALSTATEDIR="$full_var"
12272 prefix=$prefix_save
12273 exec_prefix=$exec_prefix_save
12276 EXP_VAR=EXPANDED_SYSCONFDIR
12277 FROM_VAR="$sysconfdir"
12279 prefix_save=$prefix
12280 exec_prefix_save=$exec_prefix
12282 if test "x$prefix" = "xNONE"; then
12283 prefix="$ac_default_prefix"
12285 if test "x$exec_prefix" = "xNONE"; then
12286 exec_prefix=$prefix
12289 full_var="$FROM_VAR"
12291 new_full_var="`eval echo $full_var`"
12292 if test "x$new_full_var" = "x$full_var"; then break; fi
12293 full_var=$new_full_var
12296 full_var=$new_full_var
12297 EXPANDED_SYSCONFDIR="$full_var"
12300 prefix=$prefix_save
12301 exec_prefix=$exec_prefix_save
12304 EXP_VAR=EXPANDED_BINDIR
12307 prefix_save=$prefix
12308 exec_prefix_save=$exec_prefix
12310 if test "x$prefix" = "xNONE"; then
12311 prefix="$ac_default_prefix"
12313 if test "x$exec_prefix" = "xNONE"; then
12314 exec_prefix=$prefix
12317 full_var="$FROM_VAR"
12319 new_full_var="`eval echo $full_var`"
12320 if test "x$new_full_var" = "x$full_var"; then break; fi
12321 full_var=$new_full_var
12324 full_var=$new_full_var
12325 EXPANDED_BINDIR="$full_var"
12328 prefix=$prefix_save
12329 exec_prefix=$exec_prefix_save
12332 EXP_VAR=EXPANDED_LIBDIR
12335 prefix_save=$prefix
12336 exec_prefix_save=$exec_prefix
12338 if test "x$prefix" = "xNONE"; then
12339 prefix="$ac_default_prefix"
12341 if test "x$exec_prefix" = "xNONE"; then
12342 exec_prefix=$prefix
12345 full_var="$FROM_VAR"
12347 new_full_var="`eval echo $full_var`"
12348 if test "x$new_full_var" = "x$full_var"; then break; fi
12349 full_var=$new_full_var
12352 full_var=$new_full_var
12353 EXPANDED_LIBDIR="$full_var"
12356 prefix=$prefix_save
12357 exec_prefix=$exec_prefix_save
12360 EXP_VAR=EXPANDED_LIBEXECDIR
12361 FROM_VAR="$libexecdir"
12363 prefix_save=$prefix
12364 exec_prefix_save=$exec_prefix
12366 if test "x$prefix" = "xNONE"; then
12367 prefix="$ac_default_prefix"
12369 if test "x$exec_prefix" = "xNONE"; then
12370 exec_prefix=$prefix
12373 full_var="$FROM_VAR"
12375 new_full_var="`eval echo $full_var`"
12376 if test "x$new_full_var" = "x$full_var"; then break; fi
12377 full_var=$new_full_var
12380 full_var=$new_full_var
12381 EXPANDED_LIBEXECDIR="$full_var"
12384 prefix=$prefix_save
12385 exec_prefix=$exec_prefix_save
12388 EXP_VAR=EXPANDED_DATADIR
12389 FROM_VAR="$datadir"
12391 prefix_save=$prefix
12392 exec_prefix_save=$exec_prefix
12394 if test "x$prefix" = "xNONE"; then
12395 prefix="$ac_default_prefix"
12397 if test "x$exec_prefix" = "xNONE"; then
12398 exec_prefix=$prefix
12401 full_var="$FROM_VAR"
12403 new_full_var="`eval echo $full_var`"
12404 if test "x$new_full_var" = "x$full_var"; then break; fi
12405 full_var=$new_full_var
12408 full_var=$new_full_var
12409 EXPANDED_DATADIR="$full_var"
12412 prefix=$prefix_save
12413 exec_prefix=$exec_prefix_save
12416 #### Directory to install the libexec binaries
12417 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12420 cat >>confdefs.h <<_ACEOF
12421 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12425 #### Directory to install the gir files
12426 GIR_SUFFIX="gir-1.0"
12429 cat >>confdefs.h <<_ACEOF
12430 #define GIR_SUFFIX "$GIR_SUFFIX"
12434 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12437 cat >>confdefs.h <<_ACEOF
12438 #define GIR_DIR "$GIR_DIR"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12445 $as_echo_n "checking for GLIB... " >&6; }
12447 if test -n "$GLIB_CFLAGS"; then
12448 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12449 elif test -n "$PKG_CONFIG"; then
12450 if test -n "$PKG_CONFIG" && \
12451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.29.7\""; } >&5
12452 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.29.7") 2>&5
12454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12455 test $ac_status = 0; }; then
12456 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.29.7" 2>/dev/null`
12463 if test -n "$GLIB_LIBS"; then
12464 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12465 elif test -n "$PKG_CONFIG"; then
12466 if test -n "$PKG_CONFIG" && \
12467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.29.7\""; } >&5
12468 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.29.7") 2>&5
12470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12471 test $ac_status = 0; }; then
12472 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.29.7" 2>/dev/null`
12482 if test $pkg_failed = yes; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12487 _pkg_short_errors_supported=yes
12489 _pkg_short_errors_supported=no
12491 if test $_pkg_short_errors_supported = yes; then
12492 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.29.7" 2>&1`
12494 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.29.7" 2>&1`
12496 # Put the nasty error message in config.log where it belongs
12497 echo "$GLIB_PKG_ERRORS" >&5
12499 as_fn_error $? "Package requirements (glib-2.0 >= 2.29.7) were not met:
12503 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12504 installed software in a non-standard prefix.
12506 Alternatively, you may set the environment variables GLIB_CFLAGS
12507 and GLIB_LIBS to avoid the need to call pkg-config.
12508 See the pkg-config man page for more details." "$LINENO" 5
12510 elif test $pkg_failed = untried; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512 $as_echo "no" >&6; }
12513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12515 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12516 is in your PATH or set the PKG_CONFIG environment variable to the full
12517 path to pkg-config.
12519 Alternatively, you may set the environment variables GLIB_CFLAGS
12520 and GLIB_LIBS to avoid the need to call pkg-config.
12521 See the pkg-config man page for more details.
12523 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12524 See \`config.log' for more details" "$LINENO" 5; }
12527 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12528 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12530 $as_echo "yes" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12536 $as_echo_n "checking for GOBJECT... " >&6; }
12538 if test -n "$GOBJECT_CFLAGS"; then
12539 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12540 elif test -n "$PKG_CONFIG"; then
12541 if test -n "$PKG_CONFIG" && \
12542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12543 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546 test $ac_status = 0; }; then
12547 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12554 if test -n "$GOBJECT_LIBS"; then
12555 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12556 elif test -n "$PKG_CONFIG"; then
12557 if test -n "$PKG_CONFIG" && \
12558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12559 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12562 test $ac_status = 0; }; then
12563 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12573 if test $pkg_failed = yes; then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12575 $as_echo "no" >&6; }
12577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12578 _pkg_short_errors_supported=yes
12580 _pkg_short_errors_supported=no
12582 if test $_pkg_short_errors_supported = yes; then
12583 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
12585 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
12587 # Put the nasty error message in config.log where it belongs
12588 echo "$GOBJECT_PKG_ERRORS" >&5
12590 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12592 $GOBJECT_PKG_ERRORS
12594 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12595 installed software in a non-standard prefix.
12597 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12598 and GOBJECT_LIBS to avoid the need to call pkg-config.
12599 See the pkg-config man page for more details." "$LINENO" 5
12601 elif test $pkg_failed = untried; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603 $as_echo "no" >&6; }
12604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12606 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12607 is in your PATH or set the PKG_CONFIG environment variable to the full
12608 path to pkg-config.
12610 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12611 and GOBJECT_LIBS to avoid the need to call pkg-config.
12612 See the pkg-config man page for more details.
12614 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12615 See \`config.log' for more details" "$LINENO" 5; }
12618 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12619 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12621 $as_echo "yes" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12627 $as_echo_n "checking for GMODULE... " >&6; }
12629 if test -n "$GMODULE_CFLAGS"; then
12630 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12631 elif test -n "$PKG_CONFIG"; then
12632 if test -n "$PKG_CONFIG" && \
12633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12634 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12637 test $ac_status = 0; }; then
12638 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12645 if test -n "$GMODULE_LIBS"; then
12646 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12647 elif test -n "$PKG_CONFIG"; then
12648 if test -n "$PKG_CONFIG" && \
12649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12650 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12653 test $ac_status = 0; }; then
12654 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12664 if test $pkg_failed = yes; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12669 _pkg_short_errors_supported=yes
12671 _pkg_short_errors_supported=no
12673 if test $_pkg_short_errors_supported = yes; then
12674 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
12676 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
12678 # Put the nasty error message in config.log where it belongs
12679 echo "$GMODULE_PKG_ERRORS" >&5
12681 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12683 $GMODULE_PKG_ERRORS
12685 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12686 installed software in a non-standard prefix.
12688 Alternatively, you may set the environment variables GMODULE_CFLAGS
12689 and GMODULE_LIBS to avoid the need to call pkg-config.
12690 See the pkg-config man page for more details." "$LINENO" 5
12692 elif test $pkg_failed = untried; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12694 $as_echo "no" >&6; }
12695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12697 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12698 is in your PATH or set the PKG_CONFIG environment variable to the full
12699 path to pkg-config.
12701 Alternatively, you may set the environment variables GMODULE_CFLAGS
12702 and GMODULE_LIBS to avoid the need to call pkg-config.
12703 See the pkg-config man page for more details.
12705 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12706 See \`config.log' for more details" "$LINENO" 5; }
12709 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12710 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12712 $as_echo "yes" >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12718 $as_echo_n "checking for GIO... " >&6; }
12720 if test -n "$GIO_CFLAGS"; then
12721 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12722 elif test -n "$PKG_CONFIG"; then
12723 if test -n "$PKG_CONFIG" && \
12724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12725 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12728 test $ac_status = 0; }; then
12729 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12736 if test -n "$GIO_LIBS"; then
12737 pkg_cv_GIO_LIBS="$GIO_LIBS"
12738 elif test -n "$PKG_CONFIG"; then
12739 if test -n "$PKG_CONFIG" && \
12740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12741 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744 test $ac_status = 0; }; then
12745 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12755 if test $pkg_failed = yes; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12760 _pkg_short_errors_supported=yes
12762 _pkg_short_errors_supported=no
12764 if test $_pkg_short_errors_supported = yes; then
12765 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
12767 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
12769 # Put the nasty error message in config.log where it belongs
12770 echo "$GIO_PKG_ERRORS" >&5
12772 as_fn_error $? "Package requirements (gio-2.0) were not met:
12776 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12777 installed software in a non-standard prefix.
12779 Alternatively, you may set the environment variables GIO_CFLAGS
12780 and GIO_LIBS to avoid the need to call pkg-config.
12781 See the pkg-config man page for more details." "$LINENO" 5
12783 elif test $pkg_failed = untried; then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12785 $as_echo "no" >&6; }
12786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12788 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12789 is in your PATH or set the PKG_CONFIG environment variable to the full
12790 path to pkg-config.
12792 Alternatively, you may set the environment variables GIO_CFLAGS
12793 and GIO_LIBS to avoid the need to call pkg-config.
12794 See the pkg-config man page for more details.
12796 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12797 See \`config.log' for more details" "$LINENO" 5; }
12800 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12801 GIO_LIBS=$pkg_cv_GIO_LIBS
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12803 $as_echo "yes" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
12809 $as_echo_n "checking for GIO_UNIX... " >&6; }
12811 if test -n "$GIO_UNIX_CFLAGS"; then
12812 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
12813 elif test -n "$PKG_CONFIG"; then
12814 if test -n "$PKG_CONFIG" && \
12815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12816 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819 test $ac_status = 0; }; then
12820 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
12827 if test -n "$GIO_UNIX_LIBS"; then
12828 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
12829 elif test -n "$PKG_CONFIG"; then
12830 if test -n "$PKG_CONFIG" && \
12831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12832 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12835 test $ac_status = 0; }; then
12836 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
12846 if test $pkg_failed = yes; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12848 $as_echo "no" >&6; }
12850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12851 _pkg_short_errors_supported=yes
12853 _pkg_short_errors_supported=no
12855 if test $_pkg_short_errors_supported = yes; then
12856 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-unix-2.0" 2>&1`
12858 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-unix-2.0" 2>&1`
12860 # Put the nasty error message in config.log where it belongs
12861 echo "$GIO_UNIX_PKG_ERRORS" >&5
12863 have_gio_unix=false
12864 elif test $pkg_failed = untried; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12867 have_gio_unix=false
12869 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
12870 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12872 $as_echo "yes" >&6; }
12875 if test x$have_gio_unix = xtrue; then
12876 HAVE_GIO_UNIX_TRUE=
12877 HAVE_GIO_UNIX_FALSE='#'
12879 HAVE_GIO_UNIX_TRUE='#'
12880 HAVE_GIO_UNIX_FALSE=
12884 # Check whether --enable-tests was given.
12885 if test "${enable_tests+set}" = set; then :
12886 enableval=$enable_tests; enable_tests=$enableval
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
12895 $as_echo_n "checking for CAIRO... " >&6; }
12897 if test -n "$CAIRO_CFLAGS"; then
12898 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
12899 elif test -n "$PKG_CONFIG"; then
12900 if test -n "$PKG_CONFIG" && \
12901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
12902 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
12904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12905 test $ac_status = 0; }; then
12906 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
12913 if test -n "$CAIRO_LIBS"; then
12914 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
12915 elif test -n "$PKG_CONFIG"; then
12916 if test -n "$PKG_CONFIG" && \
12917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
12918 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921 test $ac_status = 0; }; then
12922 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
12932 if test $pkg_failed = yes; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12937 _pkg_short_errors_supported=yes
12939 _pkg_short_errors_supported=no
12941 if test $_pkg_short_errors_supported = yes; then
12942 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo" 2>&1`
12944 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo" 2>&1`
12946 # Put the nasty error message in config.log where it belongs
12947 echo "$CAIRO_PKG_ERRORS" >&5
12950 elif test $pkg_failed = untried; then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952 $as_echo "no" >&6; }
12955 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
12956 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12958 $as_echo "yes" >&6; }
12961 if test x$have_cairo != xyes && test x$enable_tests != xno; then
12962 as_fn_error $? "Tests enabled but cairo not found; pass --disable-tests or install cairo" "$LINENO" 5
12965 have_cairo_gobject=no
12966 if test x$have_cairo = xyes; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_GOBJECT" >&5
12970 $as_echo_n "checking for CAIRO_GOBJECT... " >&6; }
12972 if test -n "$CAIRO_GOBJECT_CFLAGS"; then
12973 pkg_cv_CAIRO_GOBJECT_CFLAGS="$CAIRO_GOBJECT_CFLAGS"
12974 elif test -n "$PKG_CONFIG"; then
12975 if test -n "$PKG_CONFIG" && \
12976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-gobject\""; } >&5
12977 ($PKG_CONFIG --exists --print-errors "cairo-gobject") 2>&5
12979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12980 test $ac_status = 0; }; then
12981 pkg_cv_CAIRO_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "cairo-gobject" 2>/dev/null`
12988 if test -n "$CAIRO_GOBJECT_LIBS"; then
12989 pkg_cv_CAIRO_GOBJECT_LIBS="$CAIRO_GOBJECT_LIBS"
12990 elif test -n "$PKG_CONFIG"; then
12991 if test -n "$PKG_CONFIG" && \
12992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-gobject\""; } >&5
12993 ($PKG_CONFIG --exists --print-errors "cairo-gobject") 2>&5
12995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996 test $ac_status = 0; }; then
12997 pkg_cv_CAIRO_GOBJECT_LIBS=`$PKG_CONFIG --libs "cairo-gobject" 2>/dev/null`
13007 if test $pkg_failed = yes; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009 $as_echo "no" >&6; }
13011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13012 _pkg_short_errors_supported=yes
13014 _pkg_short_errors_supported=no
13016 if test $_pkg_short_errors_supported = yes; then
13017 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-gobject" 2>&1`
13019 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-gobject" 2>&1`
13021 # Put the nasty error message in config.log where it belongs
13022 echo "$CAIRO_GOBJECT_PKG_ERRORS" >&5
13024 have_cairo_gobject=no
13025 elif test $pkg_failed = untried; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 $as_echo "no" >&6; }
13028 have_cairo_gobject=no
13030 CAIRO_GOBJECT_CFLAGS=$pkg_cv_CAIRO_GOBJECT_CFLAGS
13031 CAIRO_GOBJECT_LIBS=$pkg_cv_CAIRO_GOBJECT_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13033 $as_echo "yes" >&6; }
13034 have_cairo_gobject=yes
13038 if test x$have_cairo_gobject = xyes; then
13041 CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13044 CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13047 CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13050 CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13053 CAIRO_GIR_PACKAGE="cairo-gobject"
13054 elif test x$have_cairo = xyes; then
13057 CAIRO_SHARED_LIBRARY="libcairo.2.dylib"
13060 CAIRO_SHARED_LIBRARY="libcairo-2.dll"
13063 CAIRO_SHARED_LIBRARY="libcairo.so"
13066 CAIRO_SHARED_LIBRARY="libcairo.so.2"
13069 CAIRO_GIR_PACKAGE="cairo"
13074 if test x$enable_tests != xno; then
13076 BUILD_TESTS_FALSE='#'
13078 BUILD_TESTS_TRUE='#'
13082 if test x$have_cairo != xno; then
13084 HAVE_CAIRO_FALSE='#'
13086 HAVE_CAIRO_TRUE='#'
13090 if test x$have_cairo_gobject != xno; then
13091 HAVE_CAIRO_GOBJECT_TRUE=
13092 HAVE_CAIRO_GOBJECT_FALSE='#'
13094 HAVE_CAIRO_GOBJECT_TRUE='#'
13095 HAVE_CAIRO_GOBJECT_FALSE=
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13102 $as_echo_n "checking for SCANNER... " >&6; }
13104 if test -n "$SCANNER_CFLAGS"; then
13105 pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13106 elif test -n "$PKG_CONFIG"; then
13107 if test -n "$PKG_CONFIG" && \
13108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gthread-2.0 gio-2.0\""; } >&5
13109 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gthread-2.0 gio-2.0") 2>&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112 test $ac_status = 0; }; then
13113 pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gthread-2.0 gio-2.0" 2>/dev/null`
13120 if test -n "$SCANNER_LIBS"; then
13121 pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13122 elif test -n "$PKG_CONFIG"; then
13123 if test -n "$PKG_CONFIG" && \
13124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gthread-2.0 gio-2.0\""; } >&5
13125 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gthread-2.0 gio-2.0") 2>&5
13127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128 test $ac_status = 0; }; then
13129 pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gthread-2.0 gio-2.0" 2>/dev/null`
13139 if test $pkg_failed = yes; then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13141 $as_echo "no" >&6; }
13143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13144 _pkg_short_errors_supported=yes
13146 _pkg_short_errors_supported=no
13148 if test $_pkg_short_errors_supported = yes; then
13149 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 gthread-2.0 gio-2.0" 2>&1`
13151 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 gthread-2.0 gio-2.0" 2>&1`
13153 # Put the nasty error message in config.log where it belongs
13154 echo "$SCANNER_PKG_ERRORS" >&5
13156 as_fn_error $? "Package requirements (gobject-2.0 gthread-2.0 gio-2.0) were not met:
13158 $SCANNER_PKG_ERRORS
13160 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13161 installed software in a non-standard prefix.
13163 Alternatively, you may set the environment variables SCANNER_CFLAGS
13164 and SCANNER_LIBS to avoid the need to call pkg-config.
13165 See the pkg-config man page for more details." "$LINENO" 5
13167 elif test $pkg_failed = untried; then
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169 $as_echo "no" >&6; }
13170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13172 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13173 is in your PATH or set the PKG_CONFIG environment variable to the full
13174 path to pkg-config.
13176 Alternatively, you may set the environment variables SCANNER_CFLAGS
13177 and SCANNER_LIBS to avoid the need to call pkg-config.
13178 See the pkg-config man page for more details.
13180 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13181 See \`config.log' for more details" "$LINENO" 5; }
13184 SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13185 SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13187 $as_echo "yes" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13194 $as_echo_n "checking for FFI... " >&6; }
13196 if test -n "$FFI_CFLAGS"; then
13197 pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13198 elif test -n "$PKG_CONFIG"; then
13199 if test -n "$PKG_CONFIG" && \
13200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13201 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
13212 if test -n "$FFI_LIBS"; then
13213 pkg_cv_FFI_LIBS="$FFI_LIBS"
13214 elif test -n "$PKG_CONFIG"; then
13215 if test -n "$PKG_CONFIG" && \
13216 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13217 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13220 test $ac_status = 0; }; then
13221 pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
13231 if test $pkg_failed = yes; then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233 $as_echo "no" >&6; }
13235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13236 _pkg_short_errors_supported=yes
13238 _pkg_short_errors_supported=no
13240 if test $_pkg_short_errors_supported = yes; then
13241 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
13243 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
13245 # Put the nasty error message in config.log where it belongs
13246 echo "$FFI_PKG_ERRORS" >&5
13248 have_ffi_pkgconfig=no
13249 elif test $pkg_failed = untried; then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13251 $as_echo "no" >&6; }
13252 have_ffi_pkgconfig=no
13254 FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13255 FFI_LIBS=$pkg_cv_FFI_LIBS
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13257 $as_echo "yes" >&6; }
13258 have_ffi_pkgconfig=yes
13263 if test x"$have_ffi_pkgconfig" = xyes ; then
13264 FFI_PC_PACKAGES="libffi"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13267 $as_echo_n "checking for ffi.h... " >&6; }
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13273 if ac_fn_c_try_cpp "$LINENO"; then :
13278 rm -f conftest.err conftest.i conftest.$ac_ext
13279 if test x"$have_ffi_h" = x"yes"; then
13282 if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13285 other_LIBS=$with_ffi
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13289 $as_echo_n "checking for library containing ffi_call... " >&6; }
13290 if ${ac_cv_search_ffi_call+:} false; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_func_search_save_LIBS=$LIBS
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13307 return ffi_call ();
13312 for ac_lib in '' ffi; do
13313 if test -z "$ac_lib"; then
13314 ac_res="none required"
13317 LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 ac_cv_search_ffi_call=$ac_res
13322 rm -f core conftest.err conftest.$ac_objext \
13324 if ${ac_cv_search_ffi_call+:} false; then :
13328 if ${ac_cv_search_ffi_call+:} false; then :
13331 ac_cv_search_ffi_call=no
13333 rm conftest.$ac_ext
13334 LIBS=$ac_func_search_save_LIBS
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13337 $as_echo "$ac_cv_search_ffi_call" >&6; }
13338 ac_res=$ac_cv_search_ffi_call
13339 if test "$ac_res" != no; then :
13340 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13343 as_fn_error $? "libffi not found" "$LINENO" 5
13346 if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13347 FFI_LIBS=$other_LIBS
13349 FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13354 if test x"$have_ffi_h" != x"yes" ; then
13355 as_fn_error $? "ffi.h not found" "$LINENO" 5
13358 FFI_PC_LIBS=$FFI_LIBS
13359 FFI_PC_CFLAGS=$FFI_CFLAGS
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13362 $as_echo "$have_ffi_h" >&6; }
13370 # The cast to long int works around a bug in the HP C Compiler
13371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13373 # This bug is HP SR number 8606223364.
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13375 $as_echo_n "checking size of char... " >&6; }
13376 if ${ac_cv_sizeof_char+:} false; then :
13377 $as_echo_n "(cached) " >&6
13379 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13382 if test "$ac_cv_type_char" = yes; then
13383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13385 as_fn_error 77 "cannot compute sizeof (char)
13386 See \`config.log' for more details" "$LINENO" 5; }
13388 ac_cv_sizeof_char=0
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13394 $as_echo "$ac_cv_sizeof_char" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SIZEOF_CHAR $ac_cv_sizeof_char
13403 # The cast to long int works around a bug in the HP C Compiler
13404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13406 # This bug is HP SR number 8606223364.
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13408 $as_echo_n "checking size of short... " >&6; }
13409 if ${ac_cv_sizeof_short+:} false; then :
13410 $as_echo_n "(cached) " >&6
13412 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13415 if test "$ac_cv_type_short" = yes; then
13416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13418 as_fn_error 77 "cannot compute sizeof (short)
13419 See \`config.log' for more details" "$LINENO" 5; }
13421 ac_cv_sizeof_short=0
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13427 $as_echo "$ac_cv_sizeof_short" >&6; }
13431 cat >>confdefs.h <<_ACEOF
13432 #define SIZEOF_SHORT $ac_cv_sizeof_short
13436 # The cast to long int works around a bug in the HP C Compiler
13437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13439 # This bug is HP SR number 8606223364.
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13441 $as_echo_n "checking size of int... " >&6; }
13442 if ${ac_cv_sizeof_int+:} false; then :
13443 $as_echo_n "(cached) " >&6
13445 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13448 if test "$ac_cv_type_int" = yes; then
13449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13451 as_fn_error 77 "cannot compute sizeof (int)
13452 See \`config.log' for more details" "$LINENO" 5; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13460 $as_echo "$ac_cv_sizeof_int" >&6; }
13464 cat >>confdefs.h <<_ACEOF
13465 #define SIZEOF_INT $ac_cv_sizeof_int
13469 # The cast to long int works around a bug in the HP C Compiler
13470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13472 # This bug is HP SR number 8606223364.
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13474 $as_echo_n "checking size of long... " >&6; }
13475 if ${ac_cv_sizeof_long+:} false; then :
13476 $as_echo_n "(cached) " >&6
13478 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13481 if test "$ac_cv_type_long" = yes; then
13482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13484 as_fn_error 77 "cannot compute sizeof (long)
13485 See \`config.log' for more details" "$LINENO" 5; }
13487 ac_cv_sizeof_long=0
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13493 $as_echo "$ac_cv_sizeof_long" >&6; }
13497 cat >>confdefs.h <<_ACEOF
13498 #define SIZEOF_LONG $ac_cv_sizeof_long
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13506 $as_echo_n "checking for GIREPO... " >&6; }
13508 if test -n "$GIREPO_CFLAGS"; then
13509 pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13510 elif test -n "$PKG_CONFIG"; then
13511 if test -n "$PKG_CONFIG" && \
13512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0\""; } >&5
13513 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13516 test $ac_status = 0; }; then
13517 pkg_cv_GIREPO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>/dev/null`
13524 if test -n "$GIREPO_LIBS"; then
13525 pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13526 elif test -n "$PKG_CONFIG"; then
13527 if test -n "$PKG_CONFIG" && \
13528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0\""; } >&5
13529 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13532 test $ac_status = 0; }; then
13533 pkg_cv_GIREPO_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>/dev/null`
13543 if test $pkg_failed = yes; then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13548 _pkg_short_errors_supported=yes
13550 _pkg_short_errors_supported=no
13552 if test $_pkg_short_errors_supported = yes; then
13553 GIREPO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13555 GIREPO_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13557 # Put the nasty error message in config.log where it belongs
13558 echo "$GIREPO_PKG_ERRORS" >&5
13560 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13564 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13565 installed software in a non-standard prefix.
13567 Alternatively, you may set the environment variables GIREPO_CFLAGS
13568 and GIREPO_LIBS to avoid the need to call pkg-config.
13569 See the pkg-config man page for more details." "$LINENO" 5
13571 elif test $pkg_failed = untried; then
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13573 $as_echo "no" >&6; }
13574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13576 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13577 is in your PATH or set the PKG_CONFIG environment variable to the full
13578 path to pkg-config.
13580 Alternatively, you may set the environment variables GIREPO_CFLAGS
13581 and GIREPO_LIBS to avoid the need to call pkg-config.
13582 See the pkg-config man page for more details.
13584 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13585 See \`config.log' for more details" "$LINENO" 5; }
13588 GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13589 GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13591 $as_echo "yes" >&6; }
13595 # if we ever remove manual check for ffi and require .pc file, then
13596 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13597 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13598 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13600 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13606 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13607 set dummy gtkdoc-check; ac_word=$2
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13609 $as_echo_n "checking for $ac_word... " >&6; }
13610 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13611 $as_echo_n "(cached) " >&6
13613 case $GTKDOC_CHECK in
13615 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13619 for as_dir in $PATH
13622 test -z "$as_dir" && as_dir=.
13623 for ac_exec_ext in '' $ac_executable_extensions; do
13624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13625 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13636 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13637 if test -n "$GTKDOC_CHECK"; then
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13639 $as_echo "$GTKDOC_CHECK" >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13642 $as_echo "no" >&6; }
13646 for ac_prog in gtkdoc-rebase
13648 # Extract the first word of "$ac_prog", so it can be a program name with args.
13649 set dummy $ac_prog; ac_word=$2
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13651 $as_echo_n "checking for $ac_word... " >&6; }
13652 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13653 $as_echo_n "(cached) " >&6
13655 case $GTKDOC_REBASE in
13657 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13661 for as_dir in $PATH
13664 test -z "$as_dir" && as_dir=.
13665 for ac_exec_ext in '' $ac_executable_extensions; do
13666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13667 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13678 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13679 if test -n "$GTKDOC_REBASE"; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13681 $as_echo "$GTKDOC_REBASE" >&6; }
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13684 $as_echo "no" >&6; }
13688 test -n "$GTKDOC_REBASE" && break
13690 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13692 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13693 set dummy gtkdoc-mkpdf; ac_word=$2
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13695 $as_echo_n "checking for $ac_word... " >&6; }
13696 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13697 $as_echo_n "(cached) " >&6
13699 case $GTKDOC_MKPDF in
13701 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13705 for as_dir in $PATH
13708 test -z "$as_dir" && as_dir=.
13709 for ac_exec_ext in '' $ac_executable_extensions; do
13710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13711 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13722 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13723 if test -n "$GTKDOC_MKPDF"; then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13725 $as_echo "$GTKDOC_MKPDF" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13734 # Check whether --with-html-dir was given.
13735 if test "${with_html_dir+set}" = set; then :
13736 withval=$with_html_dir;
13738 with_html_dir='${datadir}/gtk-doc/html'
13741 HTML_DIR="$with_html_dir"
13744 # Check whether --enable-gtk-doc was given.
13745 if test "${enable_gtk_doc+set}" = set; then :
13746 enableval=$enable_gtk_doc;
13752 if test x$enable_gtk_doc = xyes; then
13753 if test -n "$PKG_CONFIG" && \
13754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
13755 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }; then
13761 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
13763 if test "x$PACKAGE_NAME" != "xglib"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13767 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13769 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13770 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13771 elif test -n "$PKG_CONFIG"; then
13772 if test -n "$PKG_CONFIG" && \
13773 { { $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
13774 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 test $ac_status = 0; }; then
13778 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13785 if test -n "$GTKDOC_DEPS_LIBS"; then
13786 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13787 elif test -n "$PKG_CONFIG"; then
13788 if test -n "$PKG_CONFIG" && \
13789 { { $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
13790 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13793 test $ac_status = 0; }; then
13794 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13804 if test $pkg_failed = yes; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13806 $as_echo "no" >&6; }
13808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13809 _pkg_short_errors_supported=yes
13811 _pkg_short_errors_supported=no
13813 if test $_pkg_short_errors_supported = yes; then
13814 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13816 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13818 # Put the nasty error message in config.log where it belongs
13819 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13821 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13823 $GTKDOC_DEPS_PKG_ERRORS
13825 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13826 installed software in a non-standard prefix.
13828 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13829 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13830 See the pkg-config man page for more details." "$LINENO" 5
13832 elif test $pkg_failed = untried; then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834 $as_echo "no" >&6; }
13835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13837 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13838 is in your PATH or set the PKG_CONFIG environment variable to the full
13839 path to pkg-config.
13841 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13842 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13843 See the pkg-config man page for more details.
13845 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13846 See \`config.log' for more details" "$LINENO" 5; }
13849 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13850 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13852 $as_echo "yes" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13859 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13861 $as_echo "$enable_gtk_doc" >&6; }
13863 # Check whether --enable-gtk-doc-html was given.
13864 if test "${enable_gtk_doc_html+set}" = set; then :
13865 enableval=$enable_gtk_doc_html;
13867 enable_gtk_doc_html=yes
13870 # Check whether --enable-gtk-doc-pdf was given.
13871 if test "${enable_gtk_doc_pdf+set}" = set; then :
13872 enableval=$enable_gtk_doc_pdf;
13874 enable_gtk_doc_pdf=no
13878 if test -z "$GTKDOC_MKPDF"; then
13879 enable_gtk_doc_pdf=no
13883 if test x$enable_gtk_doc = xyes; then
13884 ENABLE_GTK_DOC_TRUE=
13885 ENABLE_GTK_DOC_FALSE='#'
13887 ENABLE_GTK_DOC_TRUE='#'
13888 ENABLE_GTK_DOC_FALSE=
13891 if test x$enable_gtk_doc_html = xyes; then
13892 GTK_DOC_BUILD_HTML_TRUE=
13893 GTK_DOC_BUILD_HTML_FALSE='#'
13895 GTK_DOC_BUILD_HTML_TRUE='#'
13896 GTK_DOC_BUILD_HTML_FALSE=
13899 if test x$enable_gtk_doc_pdf = xyes; then
13900 GTK_DOC_BUILD_PDF_TRUE=
13901 GTK_DOC_BUILD_PDF_FALSE='#'
13903 GTK_DOC_BUILD_PDF_TRUE='#'
13904 GTK_DOC_BUILD_PDF_FALSE=
13907 if test -n "$LIBTOOL"; then
13908 GTK_DOC_USE_LIBTOOL_TRUE=
13909 GTK_DOC_USE_LIBTOOL_FALSE='#'
13911 GTK_DOC_USE_LIBTOOL_TRUE='#'
13912 GTK_DOC_USE_LIBTOOL_FALSE=
13915 if test -n "$GTKDOC_REBASE"; then
13916 GTK_DOC_USE_REBASE_TRUE=
13917 GTK_DOC_USE_REBASE_FALSE='#'
13919 GTK_DOC_USE_REBASE_TRUE='#'
13920 GTK_DOC_USE_REBASE_FALSE=
13925 # Checks for header files.
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13927 $as_echo_n "checking for ANSI C header files... " >&6; }
13928 if ${ac_cv_header_stdc+:} false; then :
13929 $as_echo_n "(cached) " >&6
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 #include <stdlib.h>
13934 #include <stdarg.h>
13935 #include <string.h>
13946 if ac_fn_c_try_compile "$LINENO"; then :
13947 ac_cv_header_stdc=yes
13949 ac_cv_header_stdc=no
13951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13953 if test $ac_cv_header_stdc = yes; then
13954 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 #include <string.h>
13960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13961 $EGREP "memchr" >/dev/null 2>&1; then :
13964 ac_cv_header_stdc=no
13970 if test $ac_cv_header_stdc = yes; then
13971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 #include <stdlib.h>
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "free" >/dev/null 2>&1; then :
13981 ac_cv_header_stdc=no
13987 if test $ac_cv_header_stdc = yes; then
13988 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13989 if test "$cross_compiling" = yes; then :
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 #include <stdlib.h>
13996 #if ((' ' & 0x0FF) == 0x020)
13997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14000 # define ISLOWER(c) \
14001 (('a' <= (c) && (c) <= 'i') \
14002 || ('j' <= (c) && (c) <= 'r') \
14003 || ('s' <= (c) && (c) <= 'z'))
14004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14012 for (i = 0; i < 256; i++)
14013 if (XOR (islower (i), ISLOWER (i))
14014 || toupper (i) != TOUPPER (i))
14019 if ac_fn_c_try_run "$LINENO"; then :
14022 ac_cv_header_stdc=no
14024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14025 conftest.$ac_objext conftest.beam conftest.$ac_ext
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14031 $as_echo "$ac_cv_header_stdc" >&6; }
14032 if test $ac_cv_header_stdc = yes; then
14034 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14038 for ac_header in fcntl.h stdlib.h string.h
14040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14041 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14042 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14043 cat >>confdefs.h <<_ACEOF
14044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14052 # Checks for typedefs, structures, and compiler characteristics.
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14054 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14055 if ${ac_cv_c_const+:} false; then :
14056 $as_echo_n "(cached) " >&6
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14064 /* FIXME: Include the comments suggested by Paul. */
14065 #ifndef __cplusplus
14066 /* Ultrix mips cc rejects this. */
14067 typedef int charset[2];
14069 /* SunOS 4.1.1 cc rejects this. */
14070 char const *const *pcpcc;
14072 /* NEC SVR4.0.2 mips cc rejects this. */
14073 struct point {int x, y;};
14074 static struct point const zero = {0,0};
14075 /* AIX XL C 1.02.0.0 rejects this.
14076 It does not let you subtract one const X* pointer from another in
14077 an arm of an if-expression whose if-part is not a constant
14079 const char *g = "string";
14080 pcpcc = &g + (g ? g-g : 0);
14081 /* HPUX 7.0 cc rejects these. */
14083 ppc = (char**) pcpcc;
14084 pcpcc = (char const *const *) ppc;
14085 { /* SCO 3.2v4 cc rejects this. */
14087 char const *s = 0 ? (char *) 0 : (char const *) 0;
14092 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14093 int x[] = {25, 17};
14094 const int *foo = &x[0];
14097 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14098 typedef const int *iptr;
14102 { /* AIX XL C 1.02.0.0 rejects this saying
14103 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14104 struct s { int j; const int *ap[3]; };
14105 struct s *b; b->j = 5;
14107 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14108 const int foo = 10;
14109 if (!foo) return 0;
14111 return !cs[0] && !zero.x;
14118 if ac_fn_c_try_compile "$LINENO"; then :
14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14126 $as_echo "$ac_cv_c_const" >&6; }
14127 if test $ac_cv_c_const = no; then
14129 $as_echo "#define const /**/" >>confdefs.h
14134 # Checks for library functions.
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14136 $as_echo_n "checking for working strtod... " >&6; }
14137 if ${ac_cv_func_strtod+:} false; then :
14138 $as_echo_n "(cached) " >&6
14140 if test "$cross_compiling" = yes; then :
14141 ac_cv_func_strtod=no
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 $ac_includes_default
14154 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14155 char *string = " +69";
14158 value = strtod (string, &term);
14159 if (value != 69 || term != (string + 4))
14164 /* Under Solaris 2.4, strtod returns the wrong value for the
14165 terminating character under some conditions. */
14166 char *string = "NaN";
14168 strtod (string, &term);
14169 if (term != string && *(term - 1) == 0)
14176 if ac_fn_c_try_run "$LINENO"; then :
14177 ac_cv_func_strtod=yes
14179 ac_cv_func_strtod=no
14181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14182 conftest.$ac_objext conftest.beam conftest.$ac_ext
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14187 $as_echo "$ac_cv_func_strtod" >&6; }
14188 if test $ac_cv_func_strtod = no; then
14189 case " $LIBOBJS " in
14190 *" strtod.$ac_objext "* ) ;;
14191 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14195 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14196 if test "x$ac_cv_func_pow" = xyes; then :
14200 if test $ac_cv_func_pow = no; then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14202 $as_echo_n "checking for pow in -lm... " >&6; }
14203 if ${ac_cv_lib_m_pow+:} false; then :
14204 $as_echo_n "(cached) " >&6
14206 ac_check_lib_save_LIBS=$LIBS
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_lib_m_pow=yes
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 LIBS=$ac_check_lib_save_LIBS
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14236 $as_echo "$ac_cv_lib_m_pow" >&6; }
14237 if test "x$ac_cv_lib_m_pow" = xyes; then :
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14241 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14248 for ac_func in memchr strchr strspn strstr strtol strtoull
14250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14260 for ac_func in backtrace backtrace_symbols
14262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14265 cat >>confdefs.h <<_ACEOF
14266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14278 if test -n "$PYTHON"; then
14279 # If the user set $PYTHON, use it and don't search something else.
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
14281 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
14283 # split strings by '.' and convert to numeric. Append some zeros
14284 # because we need at least 4 digits for the hex conversion.
14285 # map returns an iterator in Python 3.0 and a list in 2.x
14286 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14288 # xrange is not present in Python 3.0 and range returns an iterator
14289 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14290 sys.exit(sys.hexversion < minverhex)"
14291 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14292 ($PYTHON -c "$prog") >&5 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; then :
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14297 $as_echo "yes" >&6; }
14299 as_fn_error $? "too old" "$LINENO" 5
14301 am_display_PYTHON=$PYTHON
14303 # Otherwise, try each interpreter until we find one that satisfies
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14306 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14307 if ${am_cv_pathless_PYTHON+:} false; then :
14308 $as_echo_n "(cached) " >&6
14311 for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14312 test "$am_cv_pathless_PYTHON" = none && break
14314 # split strings by '.' and convert to numeric. Append some zeros
14315 # because we need at least 4 digits for the hex conversion.
14316 # map returns an iterator in Python 3.0 and a list in 2.x
14317 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14319 # xrange is not present in Python 3.0 and range returns an iterator
14320 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14321 sys.exit(sys.hexversion < minverhex)"
14322 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14323 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; then :
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14332 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14333 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14334 if test "$am_cv_pathless_PYTHON" = none; then
14337 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14338 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14340 $as_echo_n "checking for $ac_word... " >&6; }
14341 if ${ac_cv_path_PYTHON+:} false; then :
14342 $as_echo_n "(cached) " >&6
14346 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14350 for as_dir in $PATH
14353 test -z "$as_dir" && as_dir=.
14354 for ac_exec_ext in '' $ac_executable_extensions; do
14355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14356 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14367 PYTHON=$ac_cv_path_PYTHON
14368 if test -n "$PYTHON"; then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14370 $as_echo "$PYTHON" >&6; }
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14373 $as_echo "no" >&6; }
14378 am_display_PYTHON=$am_cv_pathless_PYTHON
14382 if test "$PYTHON" = :; then
14383 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14388 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14389 if ${am_cv_python_version+:} false; then :
14390 $as_echo_n "(cached) " >&6
14392 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14395 $as_echo "$am_cv_python_version" >&6; }
14396 PYTHON_VERSION=$am_cv_python_version
14400 PYTHON_PREFIX='${prefix}'
14402 PYTHON_EXEC_PREFIX='${exec_prefix}'
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14407 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14408 if ${am_cv_python_platform+:} false; then :
14409 $as_echo_n "(cached) " >&6
14411 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14414 $as_echo "$am_cv_python_platform" >&6; }
14415 PYTHON_PLATFORM=$am_cv_python_platform
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14421 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14422 if ${am_cv_python_pythondir+:} false; then :
14423 $as_echo_n "(cached) " >&6
14425 if test "x$prefix" = xNONE
14427 am_py_prefix=$ac_default_prefix
14429 am_py_prefix=$prefix
14431 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14432 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14433 case $am_cv_python_pythondir in
14435 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14436 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14439 case $am_py_prefix in
14442 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14450 $as_echo "$am_cv_python_pythondir" >&6; }
14451 pythondir=$am_cv_python_pythondir
14455 pkgpythondir=\${pythondir}/$PACKAGE
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14459 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14460 if ${am_cv_python_pyexecdir+:} false; then :
14461 $as_echo_n "(cached) " >&6
14463 if test "x$exec_prefix" = xNONE
14465 am_py_exec_prefix=$am_py_prefix
14467 am_py_exec_prefix=$exec_prefix
14469 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14470 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14471 case $am_cv_python_pyexecdir in
14472 $am_py_exec_prefix*)
14473 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14474 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14477 case $am_py_exec_prefix in
14480 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14488 $as_echo "$am_cv_python_pyexecdir" >&6; }
14489 pyexecdir=$am_cv_python_pyexecdir
14493 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14502 # Change backslashes to forward slashes in pyexecdir to avoid
14504 pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14509 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14510 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
14511 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
14512 if test "x$PYTHON_INCLUDES" == x; then
14513 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14514 if test "$py_prefix" != "$py_exec_prefix"; then
14515 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14519 save_CPPFLAGS="$CPPFLAGS"
14520 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 #include <Python.h>
14525 if ac_fn_c_try_cpp "$LINENO"; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14527 $as_echo "found" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14531 $as_echo "not found" >&6; }
14532 as_fn_error $? "Python headers not found" "$LINENO" 5
14534 rm -f conftest.err conftest.i conftest.$ac_ext
14535 CPPFLAGS="$save_CPPFLAGS"
14537 if test "x$os_win32" = "xyes"; then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14540 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14541 if test "x$PYTHON_LIBS" == x; then
14542 PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
14544 if test "x$PYTHON_LIB_LOC" == x; then
14545 PYTHON_LIB_LOC="${py_prefix}/lib"
14550 LIBS="$LIBS $PYTHON_LIBS"
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14560 char Py_Initialize ();
14564 return Py_Initialize ();
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14571 $as_echo "found" >&6; };
14573 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14574 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14576 rm -f core conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14582 # Check whether --enable-doctool was given.
14583 if test "${enable_doctool+set}" = set; then :
14584 enableval=$enable_doctool; enable_doctool=$enableval
14589 if test x$enable_doctool != xno; then
14591 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14593 $as_echo_n "checking for python module mako... " >&6; }
14594 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14595 $as_echo_n "(cached) " >&6
14602 except ImportError:
14607 if $PYTHON -c "$prog" 1>&5 2>&5
14609 eval "py_cv_mod_$py_mod_var=yes"
14611 eval "py_cv_mod_$py_mod_var=no"
14616 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14617 if test "x$py_val" != xno; then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14619 $as_echo "yes" >&6; }
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14622 $as_echo "no" >&6; }
14623 as_fn_error $? "Could not find python module: mako" "$LINENO" 5
14627 if test x$enable_doctool != xno; then
14628 BUILD_DOCTOOL_TRUE=
14629 BUILD_DOCTOOL_FALSE='#'
14631 BUILD_DOCTOOL_TRUE='#'
14632 BUILD_DOCTOOL_FALSE=
14636 # Glib documentation
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14640 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14643 # Check whether --with-glib-src was given.
14644 if test "${with_glib_src+set}" = set; then :
14645 withval=$with_glib_src; GLIBSRC=$withval
14649 if test x"$GLIBSRC" != x; then
14651 WITH_GLIBSRC_FALSE='#'
14653 WITH_GLIBSRC_TRUE='#'
14654 WITH_GLIBSRC_FALSE=
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14659 $as_echo "$GLIBSRC" >&6; }
14663 ac_config_files="$ac_config_files Makefile m4/Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/repository/Makefile tests/warn/Makefile tests/doctool/Makefile docs/Makefile docs/reference/Makefile gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc"
14665 cat >confcache <<\_ACEOF
14666 # This file is a shell script that caches the results of configure
14667 # tests run on this system so they can be shared between configure
14668 # scripts and configure runs, see configure's option --config-cache.
14669 # It is not useful on other systems. If it contains results you don't
14670 # want to keep, you may remove or edit it.
14672 # config.status only pays attention to the cache file if you give it
14673 # the --recheck option to rerun configure.
14675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14677 # following values.
14681 # The following way of writing the cache mishandles newlines in values,
14682 # but we know of no workaround that is simple, portable, and efficient.
14683 # So, we kill variables containing newlines.
14684 # Ultrix sh set writes to stderr and can't be redirected directly,
14685 # and sets the high bit in the cache file unless we assign to the vars.
14687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14688 eval ac_val=\$$ac_var
14692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14696 _ | IFS | as_nl) ;; #(
14697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14698 *) { eval $ac_var=; unset $ac_var;} ;;
14704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14705 *${as_nl}ac_space=\ *)
14706 # `set' does not quote correctly, so add quotes: double-quote
14707 # substitution turns \\\\ into \\, and sed turns \\ into \.
14710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14713 # `set' quotes correctly as required by POSIX, so do not add quotes.
14714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14728 if test -w "$cache_file"; then
14729 if test "x$cache_file" != "x/dev/null"; then
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14731 $as_echo "$as_me: updating cache $cache_file" >&6;}
14732 if test ! -f "$cache_file" || test -h "$cache_file"; then
14733 cat confcache >"$cache_file"
14735 case $cache_file in #(
14737 mv -f confcache "$cache_file"$$ &&
14738 mv -f "$cache_file"$$ "$cache_file" ;; #(
14740 mv -f confcache "$cache_file" ;;
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14746 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14752 # Let make expand exec_prefix.
14753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14755 DEFS=-DHAVE_CONFIG_H
14760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14761 # 1. Remove the extension, and $U if already installed.
14762 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14763 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14765 # will be set to the directory where LIBOBJS objects are built.
14766 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14767 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14769 LIBOBJS=$ac_libobjs
14771 LTLIBOBJS=$ac_ltlibobjs
14774 if test -n "$EXEEXT"; then
14776 am__EXEEXT_FALSE='#'
14778 am__EXEEXT_TRUE='#'
14782 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14783 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14786 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14787 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14790 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14791 as_fn_error $? "conditional \"AMDEP\" was never defined.
14792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14794 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14795 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14798 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
14799 as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
14800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14802 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
14803 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
14804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
14807 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
14808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 if test -z "${HAVE_CAIRO_GOBJECT_TRUE}" && test -z "${HAVE_CAIRO_GOBJECT_FALSE}"; then
14811 as_fn_error $? "conditional \"HAVE_CAIRO_GOBJECT\" was never defined.
14812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14814 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14815 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14818 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14819 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14822 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14823 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14826 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14827 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14830 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14831 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14834 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
14835 as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
14836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
14839 as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
14840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14843 : "${CONFIG_STATUS=./config.status}"
14845 ac_clean_files_save=$ac_clean_files
14846 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14848 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14850 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14852 # Generated by $as_me.
14853 # Run this file to recreate the current configuration.
14854 # Compiler output produced by configure, useful for debugging
14855 # configure, is in config.log if it exists.
14858 ac_cs_recheck=false
14861 SHELL=\${CONFIG_SHELL-$SHELL}
14864 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14865 ## -------------------- ##
14866 ## M4sh Initialization. ##
14867 ## -------------------- ##
14869 # Be more Bourne compatible
14870 DUALCASE=1; export DUALCASE # for MKS sh
14871 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14874 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14875 # is contrary to our usage. Disable this feature.
14876 alias -g '${1+"$@"}'='"$@"'
14877 setopt NO_GLOB_SUBST
14879 case `(set -o) 2>/dev/null` in #(
14891 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14892 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14894 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14895 # Prefer a ksh shell builtin over an external printf program on Solaris,
14896 # but without wasting forks for bash or zsh.
14897 if test -z "$BASH_VERSION$ZSH_VERSION" \
14898 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14899 as_echo='print -r --'
14900 as_echo_n='print -rn --'
14901 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14902 as_echo='printf %s\n'
14903 as_echo_n='printf %s'
14905 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14906 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14907 as_echo_n='/usr/ucb/echo -n'
14909 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14910 as_echo_n_body='eval
14914 expr "X$arg" : "X\\(.*\\)$as_nl";
14915 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14917 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14919 export as_echo_n_body
14920 as_echo_n='sh -c $as_echo_n_body as_echo'
14922 export as_echo_body
14923 as_echo='sh -c $as_echo_body as_echo'
14926 # The user is always right.
14927 if test "${PATH_SEPARATOR+set}" != set; then
14929 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14930 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14937 # We need space, tab and new line, in precisely that order. Quoting is
14938 # there to prevent editors from complaining about space-tab.
14939 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14940 # splitting by setting IFS to empty value.)
14943 # Find who we are. Look in the path if we contain no directory separator.
14946 *[\\/]* ) as_myself=$0 ;;
14947 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14948 for as_dir in $PATH
14951 test -z "$as_dir" && as_dir=.
14952 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14958 # We did not find ourselves, most probably we were run as `sh COMMAND'
14959 # in which case we are not to be found in the path.
14960 if test "x$as_myself" = x; then
14963 if test ! -f "$as_myself"; then
14964 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14968 # Unset variables that we do not need and which cause bugs (e.g. in
14969 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14970 # suppresses any "Segmentation fault" message there. '((' could
14971 # trigger a bug in pdksh 5.2.14.
14972 for as_var in BASH_ENV ENV MAIL MAILPATH
14973 do eval test x\${$as_var+set} = xset \
14974 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14987 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14990 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14991 # ----------------------------------------
14992 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14993 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14994 # script with STATUS, using 1 if that was 0.
14997 as_status=$1; test $as_status -eq 0 && as_status=1
14999 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15000 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15002 $as_echo "$as_me: error: $2" >&2
15003 as_fn_exit $as_status
15007 # as_fn_set_status STATUS
15008 # -----------------------
15009 # Set $? to STATUS, without forking.
15010 as_fn_set_status ()
15013 } # as_fn_set_status
15015 # as_fn_exit STATUS
15016 # -----------------
15017 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15021 as_fn_set_status $1
15027 # Portably unset VAR.
15030 { eval $1=; unset $1;}
15032 as_unset=as_fn_unset
15033 # as_fn_append VAR VALUE
15034 # ----------------------
15035 # Append the text in VALUE to the end of the definition contained in VAR. Take
15036 # advantage of any shell optimizations that allow amortized linear growth over
15037 # repeated appends, instead of the typical quadratic growth present in naive
15039 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15040 eval 'as_fn_append ()
15051 # as_fn_arith ARG...
15052 # ------------------
15053 # Perform arithmetic evaluation on the ARGs, and store the result in the
15054 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15055 # must be portable across $(()) and expr.
15056 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15057 eval 'as_fn_arith ()
15064 as_val=`expr "$@" || test $? -eq 1`
15069 if expr a : '\(a\)' >/dev/null 2>&1 &&
15070 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15076 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15077 as_basename=basename
15082 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15088 as_me=`$as_basename -- "$0" ||
15089 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15090 X"$0" : 'X\(//\)$' \| \
15091 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15093 sed '/^.*\/\([^/][^/]*\)\/*$/{
15107 # Avoid depending upon Character Ranges.
15108 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15109 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15110 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15111 as_cr_digits='0123456789'
15112 as_cr_alnum=$as_cr_Letters$as_cr_digits
15114 ECHO_C= ECHO_N= ECHO_T=
15115 case `echo -n x` in #(((((
15117 case `echo 'xy\c'` in
15118 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15120 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15127 rm -f conf$$ conf$$.exe conf$$.file
15128 if test -d conf$$.dir; then
15129 rm -f conf$$.dir/conf$$.file
15132 mkdir conf$$.dir 2>/dev/null
15134 if (echo >conf$$.file) 2>/dev/null; then
15135 if ln -s conf$$.file conf$$ 2>/dev/null; then
15137 # ... but there are two gotchas:
15138 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15139 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15140 # In both cases, we have to default to `cp -p'.
15141 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15143 elif ln conf$$.file conf$$ 2>/dev/null; then
15151 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15152 rmdir conf$$.dir 2>/dev/null
15157 # Create "$as_dir" as a directory, including parents if necessary.
15162 -*) as_dir=./$as_dir;;
15164 test -d "$as_dir" || eval $as_mkdir_p || {
15168 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15169 *) as_qdir=$as_dir;;
15171 as_dirs="'$as_qdir' $as_dirs"
15172 as_dir=`$as_dirname -- "$as_dir" ||
15173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15174 X"$as_dir" : 'X\(//\)[^/]' \| \
15175 X"$as_dir" : 'X\(//\)$' \| \
15176 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15177 $as_echo X"$as_dir" |
15178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15182 /^X\(\/\/\)[^/].*/{
15195 test -d "$as_dir" && break
15197 test -z "$as_dirs" || eval "mkdir $as_dirs"
15198 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15202 if mkdir -p . 2>/dev/null; then
15203 as_mkdir_p='mkdir -p "$as_dir"'
15205 test -d ./-p && rmdir ./-p
15209 if test -x / >/dev/null 2>&1; then
15210 as_test_x='test -x'
15212 if ls -dL / >/dev/null 2>&1; then
15219 if test -d "$1"; then
15225 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15226 ???[sx]*):;;*)false;;esac;fi
15230 as_executable_p=$as_test_x
15232 # Sed expression to map a string onto a valid CPP name.
15233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15235 # Sed expression to map a string onto a valid variable name.
15236 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15240 ## ----------------------------------- ##
15241 ## Main body of $CONFIG_STATUS script. ##
15242 ## ----------------------------------- ##
15244 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15247 # Save the log message, to keep $0 and so on meaningful, and to
15248 # report actual input values of CONFIG_FILES etc. instead of their
15249 # values after options handling.
15251 This file was extended by gobject-introspection $as_me 1.32.1, which was
15252 generated by GNU Autoconf 2.68. Invocation command line was
15254 CONFIG_FILES = $CONFIG_FILES
15255 CONFIG_HEADERS = $CONFIG_HEADERS
15256 CONFIG_LINKS = $CONFIG_LINKS
15257 CONFIG_COMMANDS = $CONFIG_COMMANDS
15260 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15265 case $ac_config_files in *"
15266 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15269 case $ac_config_headers in *"
15270 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15275 # Files that config.status was made for.
15276 config_files="$ac_config_files"
15277 config_headers="$ac_config_headers"
15278 config_commands="$ac_config_commands"
15282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15284 \`$as_me' instantiates files and other configuration actions
15285 from templates according to the current configuration. Unless the files
15286 and actions are specified as TAGs, all are instantiated by default.
15288 Usage: $0 [OPTION]... [TAG]...
15290 -h, --help print this help, then exit
15291 -V, --version print version number and configuration settings, then exit
15292 --config print configuration, then exit
15293 -q, --quiet, --silent
15294 do not print progress messages
15295 -d, --debug don't remove temporary files
15296 --recheck update $as_me by reconfiguring in the same conditions
15297 --file=FILE[:TEMPLATE]
15298 instantiate the configuration file FILE
15299 --header=FILE[:TEMPLATE]
15300 instantiate the configuration header FILE
15302 Configuration files:
15305 Configuration headers:
15308 Configuration commands:
15311 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15315 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15317 gobject-introspection config.status 1.32.1
15318 configured by $0, generated by GNU Autoconf 2.68,
15319 with options \\"\$ac_cs_config\\"
15321 Copyright (C) 2010 Free Software Foundation, Inc.
15322 This config.status script is free software; the Free Software Foundation
15323 gives unlimited permission to copy, distribute and modify it."
15330 test -n "\$AWK" || AWK=awk
15333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15334 # The default lists apply if the user does not specify any file.
15340 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15341 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15345 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15357 # Handling of the options.
15358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15360 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15361 $as_echo "$ac_cs_version"; exit ;;
15362 --config | --confi | --conf | --con | --co | --c )
15363 $as_echo "$ac_cs_config"; exit ;;
15364 --debug | --debu | --deb | --de | --d | -d )
15366 --file | --fil | --fi | --f )
15369 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15370 '') as_fn_error $? "missing file argument" ;;
15372 as_fn_append CONFIG_FILES " '$ac_optarg'"
15373 ac_need_defaults=false;;
15374 --header | --heade | --head | --hea )
15377 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15379 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15380 ac_need_defaults=false;;
15382 # Conflict between --help and --header
15383 as_fn_error $? "ambiguous option: \`$1'
15384 Try \`$0 --help' for more information.";;
15385 --help | --hel | -h )
15386 $as_echo "$ac_cs_usage"; exit ;;
15387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15391 # This is an error.
15392 -*) as_fn_error $? "unrecognized option: \`$1'
15393 Try \`$0 --help' for more information." ;;
15395 *) as_fn_append ac_config_targets " $1"
15396 ac_need_defaults=false ;;
15402 ac_configure_extra_args=
15404 if $ac_cs_silent; then
15406 ac_configure_extra_args="$ac_configure_extra_args --silent"
15410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15411 if \$ac_cs_recheck; then
15412 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15414 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15415 CONFIG_SHELL='$SHELL'
15416 export CONFIG_SHELL
15421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15426 ## Running $as_me. ##
15432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15436 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15439 # The HP-UX ksh and POSIX shell print the target directory to stdout
15440 # if CDPATH is set.
15441 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15443 sed_quote_subst='$sed_quote_subst'
15444 double_quote_subst='$double_quote_subst'
15445 delay_variable_subst='$delay_variable_subst'
15446 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15447 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15448 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15449 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15450 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15451 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15452 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15453 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15454 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15455 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15456 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15457 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15458 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15459 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15460 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15461 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15462 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15463 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15464 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15465 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15466 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15467 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15468 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15469 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15470 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15471 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15472 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15473 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15474 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15475 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15476 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15477 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15478 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15479 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15480 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15481 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15482 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15483 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15484 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15485 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15486 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15487 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15488 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15489 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15490 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15491 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15492 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15493 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15494 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15495 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15496 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15497 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15498 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15499 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15500 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15501 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"`'
15502 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15503 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15504 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15505 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15506 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15507 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15508 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15509 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15510 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15511 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15512 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15513 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15514 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15515 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15516 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15517 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15518 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15519 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15520 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15521 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15522 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15523 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15524 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15525 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15526 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15527 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15528 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15529 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15530 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15531 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15532 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15533 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15534 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15535 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15536 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15537 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15538 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15539 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15540 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15541 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15542 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15543 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15544 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15545 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15546 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15547 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15548 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15549 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15550 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15551 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15552 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15553 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15554 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15555 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15556 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15557 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15558 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15559 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15560 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15561 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15562 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15563 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15564 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15565 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15566 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15567 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15568 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15569 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15570 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15571 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15572 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15573 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15574 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15575 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15578 LTCFLAGS='$LTCFLAGS'
15579 compiler='$compiler_DEFAULT'
15581 # A function that is used when there is no print builtin or printf.
15582 func_fallback_echo ()
15584 eval 'cat <<_LTECHO_EOF
15589 # Quote evaled strings.
15603 deplibs_check_method \
15608 sharedlib_from_linklib_cmd \
15611 archiver_list_spec \
15617 lt_cv_sys_global_symbol_pipe \
15618 lt_cv_sys_global_symbol_to_cdecl \
15619 lt_cv_sys_global_symbol_to_c_name_address \
15620 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15621 nm_file_list_spec \
15622 lt_prog_compiler_no_builtin_flag \
15623 lt_prog_compiler_pic \
15624 lt_prog_compiler_wl \
15625 lt_prog_compiler_static \
15626 lt_cv_prog_compiler_c_o \
15635 export_dynamic_flag_spec \
15636 whole_archive_flag_spec \
15637 compiler_needs_object \
15639 allow_undefined_flag \
15640 no_undefined_flag \
15641 hardcode_libdir_flag_spec \
15642 hardcode_libdir_flag_spec_ld \
15643 hardcode_libdir_separator \
15647 variables_saved_for_relink \
15649 library_names_spec \
15651 install_override_mode \
15655 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15656 *[\\\\\\\`\\"\\\$]*)
15657 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15660 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15665 # Double-quote double-evaled strings.
15666 for var in reload_cmds \
15667 old_postinstall_cmds \
15668 old_postuninstall_cmds \
15670 extract_expsyms_cmds \
15671 old_archive_from_new_cmds \
15672 old_archive_from_expsyms_cmds \
15674 archive_expsym_cmds \
15676 module_expsym_cmds \
15677 export_symbols_cmds \
15681 postuninstall_cmds \
15683 sys_lib_search_path_spec \
15684 sys_lib_dlsearch_path_spec; do
15685 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15686 *[\\\\\\\`\\"\\\$]*)
15687 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15690 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15695 ac_aux_dir='$ac_aux_dir'
15696 xsi_shell='$xsi_shell'
15697 lt_shell_append='$lt_shell_append'
15699 # See if we are running on zsh, and set the options which allow our
15700 # commands through without removal of \ escapes INIT.
15701 if test -n "\${ZSH_VERSION+set}" ; then
15702 setopt NO_GLOB_SUBST
15708 TIMESTAMP='$TIMESTAMP'
15717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15719 # Handling of arguments.
15720 for ac_config_target in $ac_config_targets
15722 case $ac_config_target in
15723 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15724 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15725 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15726 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15727 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15728 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15729 "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15730 "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15731 "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15732 "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15733 "tests/doctool/Makefile") CONFIG_FILES="$CONFIG_FILES tests/doctool/Makefile" ;;
15734 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15735 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15736 "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15737 "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15739 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15744 # If the user did not use the arguments to specify the items to instantiate,
15745 # then the envvar interface is used. Set only those that are not.
15746 # We use the long form for the default assignment because of an extremely
15747 # bizarre bug on SunOS 4.1.3.
15748 if $ac_need_defaults; then
15749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15751 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15754 # Have a temporary directory for convenience. Make it in the build tree
15755 # simply because there is no reason against having it here, and in addition,
15756 # creating and moving files from /tmp can sometimes cause problems.
15757 # Hook for its removal unless debugging.
15758 # Note that there is a small window in which the directory will not be cleaned:
15759 # after its creation but before its name has been assigned to `$tmp'.
15763 trap 'exit_status=$?
15764 : "${ac_tmp:=$tmp}"
15765 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15767 trap 'as_fn_exit 1' 1 2 13 15
15769 # Create a (secure) tmp directory for tmp files.
15772 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15776 tmp=./conf$$-$RANDOM
15777 (umask 077 && mkdir "$tmp")
15778 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15781 # Set up the scripts for CONFIG_FILES section.
15782 # No need to generate them if there are no CONFIG_FILES.
15783 # This happens for instance with `./config.status config.h'.
15784 if test -n "$CONFIG_FILES"; then
15787 ac_cr=`echo X | tr X '\015'`
15788 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15789 # But we know of no other shell where ac_cr would be empty at this
15790 # point, so we can use a bashism as a fallback.
15791 if test "x$ac_cr" = x; then
15792 eval ac_cr=\$\'\\r\'
15794 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15795 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15798 ac_cs_awk_cr=$ac_cr
15801 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15806 echo "cat >conf$$subs.awk <<_ACEOF" &&
15807 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15809 } >conf$$subs.sh ||
15810 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15811 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15813 for ac_last_try in false false false false false :; do
15814 . ./conf$$subs.sh ||
15815 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15817 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15818 if test $ac_delim_n = $ac_delim_num; then
15820 elif $ac_last_try; then
15821 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15823 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15826 rm -f conf$$subs.sh
15828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15833 s/^/S["/; s/!.*/"]=/
15843 s/\(.\{148\}\)..*/\1/
15845 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15850 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15857 s/\(.\{148\}\)..*/\1/
15859 s/["\\]/\\&/g; s/^/"/; s/$/"/
15863 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15868 ' <conf$$subs.awk | sed '
15873 ' >>$CONFIG_STATUS || ac_write_fail=1
15874 rm -f conf$$subs.awk
15875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15877 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15878 for (key in S) S_is_set[key] = 1
15884 nfields = split(line, field, "@")
15886 len = length(field[1])
15887 for (i = 2; i < nfields; i++) {
15889 keylen = length(key)
15890 if (S_is_set[key]) {
15892 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15893 len += length(value) + length(field[++i])
15904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15905 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15906 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15909 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15910 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15913 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15914 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15915 # trailing colons and then remove the whole line if VPATH becomes empty
15916 # (actually we leave an empty line to preserve line numbers).
15917 if test "x$srcdir" = x.; then
15918 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15937 fi # test -n "$CONFIG_FILES"
15939 # Set up the scripts for CONFIG_HEADERS section.
15940 # No need to generate them if there are no CONFIG_HEADERS.
15941 # This happens for instance with `./config.status Makefile'.
15942 if test -n "$CONFIG_HEADERS"; then
15943 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15947 # Transform confdefs.h into an awk script `defines.awk', embedded as
15948 # here-document in config.status, that substitutes the proper values into
15949 # config.h.in to produce config.h.
15951 # Create a delimiter string that does not exist in confdefs.h, to ease
15952 # handling of long lines.
15954 for ac_last_try in false false :; do
15955 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15956 if test -z "$ac_tt"; then
15958 elif $ac_last_try; then
15959 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15961 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15965 # For the awk script, D is an array of macro values keyed by name,
15966 # likewise P contains macro parameters if any. Preserve backslash
15967 # newline sequences.
15969 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15971 s/.\{148\}/&'"$ac_delim"'/g
15974 s/^[ ]*#[ ]*define[ ][ ]*/ /
15981 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15983 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15988 D["\1"]=" \3\\\\\\n"\\/p
15990 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15995 s/.\{148\}/&'"$ac_delim"'/g
16000 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16003 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16005 ' <confdefs.h | sed '
16006 s/'"$ac_delim"'/"\\\
16007 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16010 for (key in D) D_is_set[key] = 1
16013 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16015 split(line, arg, " ")
16016 if (arg[1] == "#") {
16020 defundef = substr(arg[1], 2)
16023 split(mac1, mac2, "(") #)
16025 prefix = substr(line, 1, index(line, defundef) - 1)
16026 if (D_is_set[macro]) {
16027 # Preserve the white space surrounding the "#".
16028 print prefix "define", macro P[macro] D[macro]
16031 # Replace #undef with comments. This is necessary, for example,
16032 # in the case of _POSIX_SOURCE, which is predefined and required
16033 # on some systems where configure will not decide to define it.
16034 if (defundef == "undef") {
16035 print "/*", prefix defundef, macro, "*/"
16043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16044 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16045 fi # test -n "$CONFIG_HEADERS"
16048 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16053 :[FHLC]) ac_mode=$ac_tag; continue;;
16055 case $ac_mode$ac_tag in
16057 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16058 :[FH]-) ac_tag=-:-;;
16059 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16076 -) ac_f="$ac_tmp/stdin";;
16077 *) # Look for the file first in the build tree, then in the source tree
16078 # (if the path is not absolute). The absolute path cannot be DOS-style,
16079 # because $ac_f cannot contain `:'.
16083 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16085 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16087 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16088 as_fn_append ac_file_inputs " '$ac_f'"
16091 # Let's still pretend it is `configure' which instantiates (i.e., don't
16092 # use $as_me), people would be surprised to read:
16093 # /* config.h. Generated by config.status. */
16094 configure_input='Generated from '`
16095 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16097 if test x"$ac_file" != x-; then
16098 configure_input="$ac_file. $configure_input"
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16100 $as_echo "$as_me: creating $ac_file" >&6;}
16102 # Neutralize special characters interpreted by sed in replacement strings.
16103 case $configure_input in #(
16104 *\&* | *\|* | *\\* )
16105 ac_sed_conf_input=`$as_echo "$configure_input" |
16106 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16107 *) ac_sed_conf_input=$configure_input;;
16111 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16117 ac_dir=`$as_dirname -- "$ac_file" ||
16118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16119 X"$ac_file" : 'X\(//\)[^/]' \| \
16120 X"$ac_file" : 'X\(//\)$' \| \
16121 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16122 $as_echo X"$ac_file" |
16123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16127 /^X\(\/\/\)[^/].*/{
16140 as_dir="$ac_dir"; as_fn_mkdir_p
16144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16147 # A ".." for each directory in $ac_dir_suffix.
16148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16149 case $ac_top_builddir_sub in
16150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16154 ac_abs_top_builddir=$ac_pwd
16155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16156 # for backward compatibility:
16157 ac_top_builddir=$ac_top_build_prefix
16160 .) # We are building in place.
16162 ac_top_srcdir=$ac_top_builddir_sub
16163 ac_abs_top_srcdir=$ac_pwd ;;
16164 [\\/]* | ?:[\\/]* ) # Absolute name.
16165 ac_srcdir=$srcdir$ac_dir_suffix;
16166 ac_top_srcdir=$srcdir
16167 ac_abs_top_srcdir=$srcdir ;;
16168 *) # Relative name.
16169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16170 ac_top_srcdir=$ac_top_build_prefix$srcdir
16171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16183 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16184 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16186 ac_MKDIR_P=$MKDIR_P
16188 [\\/$]* | ?:[\\/]* ) ;;
16189 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16194 # If the template does not know about datarootdir, expand it.
16195 # FIXME: This hack should be removed a few years after 2.60.
16196 ac_datarootdir_hack=; ac_datarootdir_seen=
16207 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16208 *datarootdir*) ac_datarootdir_seen=yes;;
16209 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16211 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16214 ac_datarootdir_hack='
16215 s&@datadir@&$datadir&g
16216 s&@docdir@&$docdir&g
16217 s&@infodir@&$infodir&g
16218 s&@localedir@&$localedir&g
16219 s&@mandir@&$mandir&g
16220 s&\\\${datarootdir}&$datarootdir&g' ;;
16224 # Neutralize VPATH when `$srcdir' = `.'.
16225 # Shell code in configure.ac might set extrasub.
16226 # FIXME: do we really want to maintain this feature?
16227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228 ac_sed_extra="$ac_vpsub
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16234 s|@configure_input@|$ac_sed_conf_input|;t t
16235 s&@top_builddir@&$ac_top_builddir_sub&;t t
16236 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16237 s&@srcdir@&$ac_srcdir&;t t
16238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16239 s&@top_srcdir@&$ac_top_srcdir&;t t
16240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16241 s&@builddir@&$ac_builddir&;t t
16242 s&@abs_builddir@&$ac_abs_builddir&;t t
16243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16244 s&@INSTALL@&$ac_INSTALL&;t t
16245 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16246 $ac_datarootdir_hack
16248 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16249 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16252 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16253 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16254 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16256 which seems to be undefined. Please make sure it is defined" >&5
16257 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16258 which seems to be undefined. Please make sure it is defined" >&2;}
16260 rm -f "$ac_tmp/stdin"
16262 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16263 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16271 if test x"$ac_file" != x-; then
16273 $as_echo "/* $configure_input */" \
16274 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16275 } >"$ac_tmp/config.h" \
16276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16277 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16279 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16282 mv "$ac_tmp/config.h" "$ac_file" \
16283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16286 $as_echo "/* $configure_input */" \
16287 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16288 || as_fn_error $? "could not create -" "$LINENO" 5
16290 # Compute "$ac_file"'s index in $config_headers.
16293 for _am_header in $config_headers :; do
16294 case $_am_header in
16295 $_am_arg | $_am_arg:* )
16298 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16301 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16302 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16303 X"$_am_arg" : 'X\(//\)[^/]' \| \
16304 X"$_am_arg" : 'X\(//\)$' \| \
16305 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16306 $as_echo X"$_am_arg" |
16307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16311 /^X\(\/\/\)[^/].*/{
16323 s/.*/./; q'`/stamp-h$_am_stamp_count
16326 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16327 $as_echo "$as_me: executing $ac_file commands" >&6;}
16332 case $ac_file$ac_mode in
16333 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16334 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16335 # are listed without --file. Let's play safe and only enable the eval
16336 # if we detect the quoting.
16337 case $CONFIG_FILES in
16338 *\'*) eval set x "$CONFIG_FILES" ;;
16339 *) set x $CONFIG_FILES ;;
16344 # Strip MF so we end up with the name of the file.
16345 mf=`echo "$mf" | sed -e 's/:.*$//'`
16346 # Check whether this is an Automake generated Makefile or not.
16347 # We used to match only the files named `Makefile.in', but
16348 # some people rename them; so instead we look at the file content.
16349 # Grep'ing the first line is not enough: some people post-process
16350 # each Makefile.in and add a new line on top of each file to say so.
16351 # Grep'ing the whole file is not good either: AIX grep has a line
16352 # limit of 2048, but all sed's we know have understand at least 4000.
16353 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16354 dirpart=`$as_dirname -- "$mf" ||
16355 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16356 X"$mf" : 'X\(//\)[^/]' \| \
16357 X"$mf" : 'X\(//\)$' \| \
16358 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16364 /^X\(\/\/\)[^/].*/{
16380 # Extract the definition of DEPDIR, am__include, and am__quote
16381 # from the Makefile without running `make'.
16382 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16383 test -z "$DEPDIR" && continue
16384 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16385 test -z "am__include" && continue
16386 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16387 # When using ansi2knr, U may be empty or an underscore; expand it
16388 U=`sed -n 's/^U = //p' < "$mf"`
16389 # Find all dependency output files, they are included files with
16390 # $(DEPDIR) in their names. We invoke sed twice because it is the
16391 # simplest approach to changing $(DEPDIR) to its actual value in the
16393 for file in `sed -n "
16394 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16395 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16396 # Make sure the directory exists.
16397 test -f "$dirpart/$file" && continue
16398 fdir=`$as_dirname -- "$file" ||
16399 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16400 X"$file" : 'X\(//\)[^/]' \| \
16401 X"$file" : 'X\(//\)$' \| \
16402 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16403 $as_echo X"$file" |
16404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16408 /^X\(\/\/\)[^/].*/{
16421 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16422 # echo "creating $dirpart/$file"
16423 echo '# dummy' > "$dirpart/$file"
16430 # See if we are running on zsh, and set the options which allow our
16431 # commands through without removal of \ escapes.
16432 if test -n "${ZSH_VERSION+set}" ; then
16433 setopt NO_GLOB_SUBST
16436 cfgfile="${ofile}T"
16437 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16440 cat <<_LT_EOF >> "$cfgfile"
16443 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16444 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16445 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16446 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16448 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16449 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16451 # Written by Gordon Matzigkeit, 1996
16453 # This file is part of GNU Libtool.
16455 # GNU Libtool is free software; you can redistribute it and/or
16456 # modify it under the terms of the GNU General Public License as
16457 # published by the Free Software Foundation; either version 2 of
16458 # the License, or (at your option) any later version.
16460 # As a special exception to the GNU General Public License,
16461 # if you distribute this file as part of a program or library that
16462 # is built using GNU Libtool, you may include this file under the
16463 # same distribution terms that you use for the rest of that program.
16465 # GNU Libtool is distributed in the hope that it will be useful,
16466 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16467 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16468 # GNU General Public License for more details.
16470 # You should have received a copy of the GNU General Public License
16471 # along with GNU Libtool; see the file COPYING. If not, a copy
16472 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16473 # obtained by writing to the Free Software Foundation, Inc.,
16474 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16477 # The names of the tagged configurations supported by this script.
16480 # ### BEGIN LIBTOOL CONFIG
16482 # Which release of libtool.m4 was used?
16483 macro_version=$macro_version
16484 macro_revision=$macro_revision
16486 # Whether or not to build shared libraries.
16487 build_libtool_libs=$enable_shared
16489 # Whether or not to build static libraries.
16490 build_old_libs=$enable_static
16492 # What type of objects to build.
16495 # Whether or not to optimize for fast installation.
16496 fast_install=$enable_fast_install
16498 # Shell to use when invoking shell scripts.
16501 # An echo program that protects backslashes.
16505 host_alias=$host_alias
16509 # The build system.
16510 build_alias=$build_alias
16514 # A sed program that does not truncate output.
16517 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16518 Xsed="\$SED -e 1s/^X//"
16520 # A grep program that handles long lines.
16526 # A literal string matcher.
16529 # A BSD- or MS-compatible name lister.
16532 # Whether we need soft or hard links.
16535 # What is the maximum length of a command?
16536 max_cmd_len=$max_cmd_len
16538 # Object file suffix (normally "o").
16541 # Executable file suffix (normally "").
16544 # whether the shell understands "unset".
16547 # turn spaces into newlines.
16550 # turn newlines into spaces.
16553 # convert \$build file names to \$host format.
16554 to_host_file_cmd=$lt_cv_to_host_file_cmd
16556 # convert \$build files to toolchain format.
16557 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16559 # An object symbol dumper.
16560 OBJDUMP=$lt_OBJDUMP
16562 # Method to check whether dependent libraries are shared objects.
16563 deplibs_check_method=$lt_deplibs_check_method
16565 # Command to use when deplibs_check_method = "file_magic".
16566 file_magic_cmd=$lt_file_magic_cmd
16568 # How to find potential files when deplibs_check_method = "file_magic".
16569 file_magic_glob=$lt_file_magic_glob
16571 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16572 want_nocaseglob=$lt_want_nocaseglob
16574 # DLL creation program.
16575 DLLTOOL=$lt_DLLTOOL
16577 # Command to associate shared and link libraries.
16578 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16583 # Flags to create an archive.
16584 AR_FLAGS=$lt_AR_FLAGS
16586 # How to feed a file listing to the archiver.
16587 archiver_list_spec=$lt_archiver_list_spec
16589 # A symbol stripping program.
16592 # Commands used to install an old-style archive.
16594 old_postinstall_cmds=$lt_old_postinstall_cmds
16595 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16597 # Whether to use a lock for old archive extraction.
16598 lock_old_archive_extraction=$lock_old_archive_extraction
16603 # LTCC compiler flags.
16604 LTCFLAGS=$lt_CFLAGS
16606 # Take the output of nm and produce a listing of raw symbols and C names.
16607 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16609 # Transform the output of nm in a proper C declaration.
16610 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16612 # Transform the output of nm in a C name address pair.
16613 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16615 # Transform the output of nm in a C name address pair when lib prefix is needed.
16616 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16618 # Specify filename containing input files for \$NM.
16619 nm_file_list_spec=$lt_nm_file_list_spec
16621 # The root where to search for dependent libraries,and in which our libraries should be installed.
16622 lt_sysroot=$lt_sysroot
16624 # The name of the directory that contains temporary libtool files.
16627 # Used to examine libraries when file_magic_cmd begins with "file".
16628 MAGIC_CMD=$MAGIC_CMD
16630 # Must we lock files when doing compilation?
16631 need_locks=$lt_need_locks
16634 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16636 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16637 DSYMUTIL=$lt_DSYMUTIL
16639 # Tool to change global to local symbols on Mac OS X.
16642 # Tool to manipulate fat objects and archives on Mac OS X.
16645 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16648 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16649 OTOOL64=$lt_OTOOL64
16651 # Old archive suffix (normally "a").
16654 # Shared library suffix (normally ".so").
16655 shrext_cmds=$lt_shrext_cmds
16657 # The commands to extract the exported symbol list from a shared archive.
16658 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16660 # Variables whose values should be saved in libtool wrapper scripts and
16661 # restored at link time.
16662 variables_saved_for_relink=$lt_variables_saved_for_relink
16664 # Do we need the "lib" prefix for modules?
16665 need_lib_prefix=$need_lib_prefix
16667 # Do we need a version for libraries?
16668 need_version=$need_version
16670 # Library versioning type.
16671 version_type=$version_type
16673 # Shared library runtime path variable.
16674 runpath_var=$runpath_var
16676 # Shared library path variable.
16677 shlibpath_var=$shlibpath_var
16679 # Is shlibpath searched before the hard-coded library search path?
16680 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16682 # Format of library name prefix.
16683 libname_spec=$lt_libname_spec
16685 # List of archive names. First name is the real one, the rest are links.
16686 # The last name is the one that the linker finds with -lNAME
16687 library_names_spec=$lt_library_names_spec
16689 # The coded name of the library, if different from the real name.
16690 soname_spec=$lt_soname_spec
16692 # Permission mode override for installation of shared libraries.
16693 install_override_mode=$lt_install_override_mode
16695 # Command to use after installation of a shared archive.
16696 postinstall_cmds=$lt_postinstall_cmds
16698 # Command to use after uninstallation of a shared archive.
16699 postuninstall_cmds=$lt_postuninstall_cmds
16701 # Commands used to finish a libtool library installation in a directory.
16702 finish_cmds=$lt_finish_cmds
16704 # As "finish_cmds", except a single script fragment to be evaled but
16706 finish_eval=$lt_finish_eval
16708 # Whether we should hardcode library paths into libraries.
16709 hardcode_into_libs=$hardcode_into_libs
16711 # Compile-time system search path for libraries.
16712 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16714 # Run-time system search path for libraries.
16715 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16717 # Whether dlopen is supported.
16718 dlopen_support=$enable_dlopen
16720 # Whether dlopen of programs is supported.
16721 dlopen_self=$enable_dlopen_self
16723 # Whether dlopen of statically linked programs is supported.
16724 dlopen_self_static=$enable_dlopen_self_static
16726 # Commands to strip libraries.
16727 old_striplib=$lt_old_striplib
16728 striplib=$lt_striplib
16731 # The linker used to build libraries.
16734 # How to create reloadable object files.
16735 reload_flag=$lt_reload_flag
16736 reload_cmds=$lt_reload_cmds
16738 # Commands used to build an old-style archive.
16739 old_archive_cmds=$lt_old_archive_cmds
16741 # A language specific compiler.
16744 # Is the compiler the GNU compiler?
16747 # Compiler flag to turn off builtin functions.
16748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16750 # Additional compiler flags for building library objects.
16751 pic_flag=$lt_lt_prog_compiler_pic
16753 # How to pass a linker flag through the compiler.
16754 wl=$lt_lt_prog_compiler_wl
16756 # Compiler flag to prevent dynamic linking.
16757 link_static_flag=$lt_lt_prog_compiler_static
16759 # Does compiler simultaneously support -c and -o options?
16760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16762 # Whether or not to add -lc for building shared libraries.
16763 build_libtool_need_lc=$archive_cmds_need_lc
16765 # Whether or not to disallow shared libs when runtime libs are static.
16766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16768 # Compiler flag to allow reflexive dlopens.
16769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16771 # Compiler flag to generate shared objects directly from archives.
16772 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16774 # Whether the compiler copes with passing no objects directly.
16775 compiler_needs_object=$lt_compiler_needs_object
16777 # Create an old-style archive from a shared archive.
16778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16780 # Create a temporary old-style archive to link instead of a shared archive.
16781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16783 # Commands used to build a shared archive.
16784 archive_cmds=$lt_archive_cmds
16785 archive_expsym_cmds=$lt_archive_expsym_cmds
16787 # Commands used to build a loadable module if different from building
16788 # a shared archive.
16789 module_cmds=$lt_module_cmds
16790 module_expsym_cmds=$lt_module_expsym_cmds
16792 # Whether we are building with GNU ld or not.
16793 with_gnu_ld=$lt_with_gnu_ld
16795 # Flag that allows shared libraries with undefined symbols to be built.
16796 allow_undefined_flag=$lt_allow_undefined_flag
16798 # Flag that enforces no undefined symbols.
16799 no_undefined_flag=$lt_no_undefined_flag
16801 # Flag to hardcode \$libdir into a binary during linking.
16802 # This must work even if \$libdir does not exist
16803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16805 # If ld is used when linking, flag to hardcode \$libdir into a binary
16806 # during linking. This must work even if \$libdir does not exist.
16807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16809 # Whether we need a single "-rpath" flag with a separated argument.
16810 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16813 # DIR into the resulting binary.
16814 hardcode_direct=$hardcode_direct
16816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16817 # DIR into the resulting binary and the resulting library dependency is
16818 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16819 # library is relocated.
16820 hardcode_direct_absolute=$hardcode_direct_absolute
16822 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16823 # into the resulting binary.
16824 hardcode_minus_L=$hardcode_minus_L
16826 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16827 # into the resulting binary.
16828 hardcode_shlibpath_var=$hardcode_shlibpath_var
16830 # Set to "yes" if building a shared library automatically hardcodes DIR
16831 # into the library and all subsequent libraries and executables linked
16833 hardcode_automatic=$hardcode_automatic
16835 # Set to yes if linker adds runtime paths of dependent libraries
16836 # to runtime path list.
16837 inherit_rpath=$inherit_rpath
16839 # Whether libtool must link a program against all its dependency libraries.
16840 link_all_deplibs=$link_all_deplibs
16842 # Set to "yes" if exported symbols are required.
16843 always_export_symbols=$always_export_symbols
16845 # The commands to list exported symbols.
16846 export_symbols_cmds=$lt_export_symbols_cmds
16848 # Symbols that should not be listed in the preloaded symbols.
16849 exclude_expsyms=$lt_exclude_expsyms
16851 # Symbols that must always be exported.
16852 include_expsyms=$lt_include_expsyms
16854 # Commands necessary for linking programs (against libraries) with templates.
16855 prelink_cmds=$lt_prelink_cmds
16857 # Commands necessary for finishing linking programs.
16858 postlink_cmds=$lt_postlink_cmds
16860 # Specify filename containing input files.
16861 file_list_spec=$lt_file_list_spec
16863 # How to hardcode a shared library path into an executable.
16864 hardcode_action=$hardcode_action
16866 # ### END LIBTOOL CONFIG
16872 cat <<\_LT_EOF >> "$cfgfile"
16873 # AIX sometimes has problems with the GCC collect2 program. For some
16874 # reason, if we set the COLLECT_NAMES environment variable, the problems
16875 # vanish in a puff of smoke.
16876 if test "X${COLLECT_NAMES+set}" != Xset; then
16878 export COLLECT_NAMES
16885 ltmain="$ac_aux_dir/ltmain.sh"
16888 # We use sed instead of cat because bash on DJGPP gets confused if
16889 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16890 # text mode, it properly converts lines to CR/LF. This bash problem
16891 # is reportedly fixed, but why not run on old versions too?
16892 sed '$q' "$ltmain" >> "$cfgfile" \
16893 || (rm -f "$cfgfile"; exit 1)
16895 if test x"$xsi_shell" = xyes; then
16896 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16900 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16901 \ * ) func_dirname_result="${3}" ;;\
16903 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16904 && mv -f "$cfgfile.tmp" "$cfgfile" \
16905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16906 test 0 -eq $? || _lt_function_replace_fail=:
16909 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16912 \ func_basename_result="${1##*/}"\
16913 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16914 && mv -f "$cfgfile.tmp" "$cfgfile" \
16915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16916 test 0 -eq $? || _lt_function_replace_fail=:
16919 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16920 func_dirname_and_basename ()\
16923 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16924 \ * ) func_dirname_result="${3}" ;;\
16926 \ func_basename_result="${1##*/}"\
16927 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16928 && mv -f "$cfgfile.tmp" "$cfgfile" \
16929 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16930 test 0 -eq $? || _lt_function_replace_fail=:
16933 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16936 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16937 \ # positional parameters, so assign one to ordinary parameter first.\
16938 \ func_stripname_result=${3}\
16939 \ func_stripname_result=${func_stripname_result#"${1}"}\
16940 \ func_stripname_result=${func_stripname_result%"${2}"}\
16941 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16942 && mv -f "$cfgfile.tmp" "$cfgfile" \
16943 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16944 test 0 -eq $? || _lt_function_replace_fail=:
16947 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16948 func_split_long_opt ()\
16950 \ func_split_long_opt_name=${1%%=*}\
16951 \ func_split_long_opt_arg=${1#*=}\
16952 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16953 && mv -f "$cfgfile.tmp" "$cfgfile" \
16954 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16955 test 0 -eq $? || _lt_function_replace_fail=:
16958 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16959 func_split_short_opt ()\
16961 \ func_split_short_opt_arg=${1#??}\
16962 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16963 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16964 && mv -f "$cfgfile.tmp" "$cfgfile" \
16965 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16966 test 0 -eq $? || _lt_function_replace_fail=:
16969 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16973 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16974 \ *) func_lo2o_result=${1} ;;\
16976 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16977 && mv -f "$cfgfile.tmp" "$cfgfile" \
16978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16979 test 0 -eq $? || _lt_function_replace_fail=:
16982 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16985 func_xform_result=${1%.*}.lo\
16986 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16987 && mv -f "$cfgfile.tmp" "$cfgfile" \
16988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16989 test 0 -eq $? || _lt_function_replace_fail=:
16992 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16995 func_arith_result=$(( $* ))\
16996 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16997 && mv -f "$cfgfile.tmp" "$cfgfile" \
16998 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16999 test 0 -eq $? || _lt_function_replace_fail=:
17002 sed -e '/^func_len ()$/,/^} # func_len /c\
17005 func_len_result=${#1}\
17006 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17007 && mv -f "$cfgfile.tmp" "$cfgfile" \
17008 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17009 test 0 -eq $? || _lt_function_replace_fail=:
17013 if test x"$lt_shell_append" = xyes; then
17014 sed -e '/^func_append ()$/,/^} # func_append /c\
17017 eval "${1}+=\\${2}"\
17018 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17019 && mv -f "$cfgfile.tmp" "$cfgfile" \
17020 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17021 test 0 -eq $? || _lt_function_replace_fail=:
17024 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17025 func_append_quoted ()\
17027 \ func_quote_for_eval "${2}"\
17028 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17029 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17030 && mv -f "$cfgfile.tmp" "$cfgfile" \
17031 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17032 test 0 -eq $? || _lt_function_replace_fail=:
17035 # Save a `func_append' function call where possible by direct use of '+='
17036 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17037 && mv -f "$cfgfile.tmp" "$cfgfile" \
17038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17039 test 0 -eq $? || _lt_function_replace_fail=:
17041 # Save a `func_append' function call even when '+=' is not available
17042 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17043 && mv -f "$cfgfile.tmp" "$cfgfile" \
17044 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17045 test 0 -eq $? || _lt_function_replace_fail=:
17048 if test x"$_lt_function_replace_fail" = x":"; then
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17050 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17054 mv -f "$cfgfile" "$ofile" ||
17055 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17066 ac_clean_files=$ac_clean_files_save
17068 test $ac_write_fail = 0 ||
17069 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17072 # configure is writing to config.log, and then calls config.status.
17073 # config.status does its own redirection, appending to config.log.
17074 # Unfortunately, on DOS this fails, as config.log is still kept open
17075 # by configure, so config.status won't be able to write to it; its
17076 # output is simply discarded. So we exec the FD to /dev/null,
17077 # effectively closing config.log, so it can be properly (re)opened and
17078 # appended to by config.status. When coming back to configure, we
17079 # need to make the FD available again.
17080 if test "$no_create" != yes; then
17082 ac_config_status_args=
17083 test "$silent" = yes &&
17084 ac_config_status_args="$ac_config_status_args --quiet"
17086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17089 # would make configure fail if this is the last instruction.
17090 $ac_cs_success || as_fn_exit 1
17092 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17094 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}