2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gobject-introspection 1.35.9.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='gobject-introspection'
593 PACKAGE_TARNAME='gobject-introspection'
594 PACKAGE_VERSION='1.35.9'
595 PACKAGE_STRING='gobject-introspection 1.35.9'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection'
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
657 GTK_DOC_USE_REBASE_FALSE
658 GTK_DOC_USE_REBASE_TRUE
659 GTK_DOC_USE_LIBTOOL_FALSE
660 GTK_DOC_USE_LIBTOOL_TRUE
661 GTK_DOC_BUILD_PDF_FALSE
662 GTK_DOC_BUILD_PDF_TRUE
663 GTK_DOC_BUILD_HTML_FALSE
664 GTK_DOC_BUILD_HTML_TRUE
702 GOBJECT_INTROSPECTION_LIBDIR
708 EXPANDED_LOCALSTATEDIR
766 MAINTAINER_MODE_FALSE
780 INSTALL_STRIP_PROGRAM
822 program_transform_name
835 enable_option_checking
837 enable_maintainer_mode
838 enable_dependency_tracking
855 ac_precious_vars='build_alias
890 # Initialize some variables set by options.
892 ac_init_version=false
893 ac_unrecognized_opts=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name=s,x,x,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\$ac_option
950 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966 -build | --build | --buil | --bui | --bu)
967 ac_prev=build_alias ;;
968 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969 build_alias=$ac_optarg ;;
971 -cache-file | --cache-file | --cache-fil | --cache-fi \
972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973 ac_prev=cache_file ;;
974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976 cache_file=$ac_optarg ;;
979 cache_file=config.cache ;;
981 -datadir | --datadir | --datadi | --datad)
983 -datadir=* | --datadir=* | --datadi=* | --datad=*)
984 datadir=$ac_optarg ;;
986 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987 | --dataroo | --dataro | --datar)
988 ac_prev=datarootdir ;;
989 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991 datarootdir=$ac_optarg ;;
993 -disable-* | --disable-*)
994 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997 as_fn_error $? "invalid feature name: $ac_useropt"
998 ac_useropt_orig=$ac_useropt
999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_$ac_useropt"
1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep=', ';;
1007 eval enable_$ac_useropt=no ;;
1009 -docdir | --docdir | --docdi | --doc | --do)
1011 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012 docdir=$ac_optarg ;;
1014 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017 dvidir=$ac_optarg ;;
1019 -enable-* | --enable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval enable_$ac_useropt=\$ac_optarg ;;
1035 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037 | --exec | --exe | --ex)
1038 ac_prev=exec_prefix ;;
1039 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041 | --exec=* | --exe=* | --ex=*)
1042 exec_prefix=$ac_optarg ;;
1044 -gas | --gas | --ga | --g)
1045 # Obsolete; use --with-gas.
1048 -help | --help | --hel | --he | -h)
1049 ac_init_help=long ;;
1050 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1051 ac_init_help=recursive ;;
1052 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1053 ac_init_help=short ;;
1055 -host | --host | --hos | --ho)
1056 ac_prev=host_alias ;;
1057 -host=* | --host=* | --hos=* | --ho=*)
1058 host_alias=$ac_optarg ;;
1060 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 htmldir=$ac_optarg ;;
1066 -includedir | --includedir | --includedi | --included | --include \
1067 | --includ | --inclu | --incl | --inc)
1068 ac_prev=includedir ;;
1069 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070 | --includ=* | --inclu=* | --incl=* | --inc=*)
1071 includedir=$ac_optarg ;;
1073 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076 infodir=$ac_optarg ;;
1078 -libdir | --libdir | --libdi | --libd)
1080 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081 libdir=$ac_optarg ;;
1083 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084 | --libexe | --libex | --libe)
1085 ac_prev=libexecdir ;;
1086 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087 | --libexe=* | --libex=* | --libe=*)
1088 libexecdir=$ac_optarg ;;
1090 -localedir | --localedir | --localedi | --localed | --locale)
1091 ac_prev=localedir ;;
1092 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093 localedir=$ac_optarg ;;
1095 -localstatedir | --localstatedir | --localstatedi | --localstated \
1096 | --localstate | --localstat | --localsta | --localst | --locals)
1097 ac_prev=localstatedir ;;
1098 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100 localstatedir=$ac_optarg ;;
1102 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105 mandir=$ac_optarg ;;
1107 -nfp | --nfp | --nf)
1108 # Obsolete; use --without-fp.
1111 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112 | --no-cr | --no-c | -n)
1115 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121 | --oldin | --oldi | --old | --ol | --o)
1122 ac_prev=oldincludedir ;;
1123 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126 oldincludedir=$ac_optarg ;;
1128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131 prefix=$ac_optarg ;;
1133 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134 | --program-pre | --program-pr | --program-p)
1135 ac_prev=program_prefix ;;
1136 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138 program_prefix=$ac_optarg ;;
1140 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141 | --program-suf | --program-su | --program-s)
1142 ac_prev=program_suffix ;;
1143 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145 program_suffix=$ac_optarg ;;
1147 -program-transform-name | --program-transform-name \
1148 | --program-transform-nam | --program-transform-na \
1149 | --program-transform-n | --program-transform- \
1150 | --program-transform | --program-transfor \
1151 | --program-transfo | --program-transf \
1152 | --program-trans | --program-tran \
1153 | --progr-tra | --program-tr | --program-t)
1154 ac_prev=program_transform_name ;;
1155 -program-transform-name=* | --program-transform-name=* \
1156 | --program-transform-nam=* | --program-transform-na=* \
1157 | --program-transform-n=* | --program-transform-=* \
1158 | --program-transform=* | --program-transfor=* \
1159 | --program-transfo=* | --program-transf=* \
1160 | --program-trans=* | --program-tran=* \
1161 | --progr-tra=* | --program-tr=* | --program-t=*)
1162 program_transform_name=$ac_optarg ;;
1164 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167 pdfdir=$ac_optarg ;;
1169 -psdir | --psdir | --psdi | --psd | --ps)
1171 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175 | -silent | --silent | --silen | --sile | --sil)
1178 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 sbindir=$ac_optarg ;;
1184 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186 | --sharedst | --shareds | --shared | --share | --shar \
1188 ac_prev=sharedstatedir ;;
1189 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 sharedstatedir=$ac_optarg ;;
1195 -site | --site | --sit)
1197 -site=* | --site=* | --sit=*)
1200 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203 srcdir=$ac_optarg ;;
1205 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206 | --syscon | --sysco | --sysc | --sys | --sy)
1207 ac_prev=sysconfdir ;;
1208 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210 sysconfdir=$ac_optarg ;;
1212 -target | --target | --targe | --targ | --tar | --ta | --t)
1213 ac_prev=target_alias ;;
1214 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215 target_alias=$ac_optarg ;;
1217 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1220 -version | --version | --versio | --versi | --vers | -V)
1221 ac_init_version=: ;;
1224 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227 as_fn_error $? "invalid package name: $ac_useropt"
1228 ac_useropt_orig=$ac_useropt
1229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep=', ';;
1237 eval with_$ac_useropt=\$ac_optarg ;;
1239 -without-* | --without-*)
1240 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243 as_fn_error $? "invalid package name: $ac_useropt"
1244 ac_useropt_orig=$ac_useropt
1245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep=', ';;
1253 eval with_$ac_useropt=no ;;
1256 # Obsolete; use --with-x.
1259 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260 | --x-incl | --x-inc | --x-in | --x-i)
1261 ac_prev=x_includes ;;
1262 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264 x_includes=$ac_optarg ;;
1266 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268 ac_prev=x_libraries ;;
1269 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271 x_libraries=$ac_optarg ;;
1273 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' | [0-9]* | *[!_$as_cr_alnum]* )
1282 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $? "missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val=\$$ac_var
1318 # Remove trailing slashes.
1321 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$]* | ?:[\\/]* ) continue;;
1327 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x; then
1341 if test "x$build_alias" = x; then
1342 cross_compiling=maybe
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1351 test "$silent" = yes && exec 6>/dev/null
1354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di=`ls -di .` &&
1356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357 as_fn_error $? "working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359 as_fn_error $? "pwd does not report name of working directory"
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$as_myself" : 'X\(//\)[^/]' \| \
1369 X"$as_myself" : 'X\(//\)$' \| \
1370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1400 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var in $ac_precious_vars; do
1415 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_${ac_var}_value=\$${ac_var}
1417 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures gobject-introspection 1.35.9 to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking ...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root
1477 [DATAROOTDIR/doc/gobject-introspection]
1478 --htmldir=DIR html documentation [DOCDIR]
1479 --dvidir=DIR dvi documentation [DOCDIR]
1480 --pdfdir=DIR pdf documentation [DOCDIR]
1481 --psdir=DIR ps documentation [DOCDIR]
1487 --program-prefix=PREFIX prepend PREFIX to installed program names
1488 --program-suffix=SUFFIX append SUFFIX to installed program names
1489 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1492 --build=BUILD configure for building on BUILD [guessed]
1493 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1497 if test -n "$ac_init_help"; then
1498 case $ac_init_help in
1499 short | recursive ) echo "Configuration of gobject-introspection 1.35.9:";;
1504 --disable-option-checking ignore unrecognized --enable/--with options
1505 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1506 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1507 --enable-silent-rules less verbose build output (undo: "make V=1")
1508 --disable-silent-rules verbose build output (undo: "make V=0")
1509 --disable-maintainer-mode
1510 disable make rules and dependencies not useful (and
1511 sometimes confusing) to the casual installer
1512 --enable-dependency-tracking
1513 do not reject slow dependency extractors
1514 --disable-dependency-tracking
1515 speeds up one-time build
1516 --enable-shared[=PKGS] build shared libraries [default=yes]
1517 --enable-static[=PKGS] build static libraries [default=yes]
1518 --enable-fast-install[=PKGS]
1519 optimize for fast installation [default=yes]
1520 --disable-libtool-lock avoid locking (might break parallel builds)
1521 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1522 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1523 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1524 --disable-doctool disable g-ir-doctool
1525 --disable-Bsymbolic avoid linking with -Bsymbolic
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1532 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1533 --with-sysroot=DIR Search for dependent libraries within DIR
1534 (or the compiler's sysroot if not specified).
1535 --with-cairo Use cairo [default=maybe]
1536 --with-html-dir=PATH path to installed docs
1537 --with-glib-src=PATH Source directory for glib - needed to add docs to gir
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1548 PKG_CONFIG path to pkg-config utility
1550 directories to add to pkg-config's search path
1552 path overriding pkg-config's built-in search path
1553 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1554 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1556 C compiler flags for GOBJECT, overriding pkg-config
1558 linker flags for GOBJECT, overriding pkg-config
1560 C compiler flags for GMODULE, overriding pkg-config
1562 linker flags for GMODULE, overriding pkg-config
1563 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1564 GIO_LIBS linker flags for GIO, overriding pkg-config
1566 C compiler flags for GIO_UNIX, overriding pkg-config
1568 linker flags for GIO_UNIX, overriding pkg-config
1570 C compiler flags for CAIRO, overriding pkg-config
1571 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1573 C compiler flags for SCANNER, overriding pkg-config
1575 linker flags for SCANNER, overriding pkg-config
1576 FFI_CFLAGS C compiler flags for FFI, overriding pkg-config
1577 FFI_LIBS linker flags for FFI, overriding pkg-config
1579 C compiler flags for GIREPO, overriding pkg-config
1580 GIREPO_LIBS linker flags for GIREPO, overriding pkg-config
1582 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1584 linker flags for GTKDOC_DEPS, overriding pkg-config
1585 PYTHON the Python interpreter
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1620 .) # We are building in place.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1653 gobject-introspection configure 1.35.9
1654 generated by GNU Autoconf 2.69
1656 Copyright (C) 2012 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext conftest$ac_exeext
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest$ac_exeext && {
1731 test "$cross_compiling" = yes ||
1732 test -x conftest$ac_exeext
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743 # interfere with the next link command; also delete a directory that is
1744 # left behind by Apple's compiler. We do this before executing the actions.
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_link
1751 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists and can be compiled using the include files in
1754 # INCLUDES, setting the cache variable VAR accordingly.
1755 ac_fn_c_check_header_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1768 if ac_fn_c_try_compile "$LINENO"; then :
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_header_compile
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } > conftest.i && {
1804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1819 # ac_fn_c_try_run LINENO
1820 # ----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1822 # that executables *can* be run.
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if { { ac_try="$ac_link"
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1837 { { case "(($ac_try" in
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_try") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; }; }; then :
1849 $as_echo "$as_me: program exited with status $ac_status" >&5
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1853 ac_retval=$ac_status
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1861 # ac_fn_c_check_func LINENO FUNC VAR
1862 # ----------------------------------
1863 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1864 ac_fn_c_check_func ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \${$3+:} false; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1876 #define $2 innocuous_$2
1878 /* System header to define __stub macros and hopefully few prototypes,
1879 which can conflict with char $2 (); below.
1880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1881 <limits.h> exists even on freestanding compilers. */
1884 # include <limits.h>
1886 # include <assert.h>
1891 /* Override any GCC internal prototype to avoid an error.
1892 Use char because int might match the return type of a GCC
1893 builtin and then its argument prototype would still apply. */
1898 /* The GNU C library defines this for functions which it implements
1899 to always fail with ENOSYS. Some functions are actually named
1900 something starting with __ and the normal name is an alias. */
1901 #if defined __stub_$2 || defined __stub___$2
1913 if ac_fn_c_try_link "$LINENO"; then :
1918 rm -f core conftest.err conftest.$ac_objext \
1919 conftest$ac_exeext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_func
1928 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1929 # --------------------------------------------
1930 # Tries to find the compile-time value of EXPR in a program that includes
1931 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1933 ac_fn_c_compute_int ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 if test "$cross_compiling" = yes; then
1937 # Depending upon the size, compute the lo and hi bounds.
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1944 static int test_array [1 - 2 * !(($2) >= 0)];
1946 return test_array [0];
1952 if ac_fn_c_try_compile "$LINENO"; then :
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1961 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1963 return test_array [0];
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970 ac_hi=$ac_mid; break
1972 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1973 if test $ac_lo -le $ac_mid; then
1977 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1988 static int test_array [1 - 2 * !(($2) < 0)];
1990 return test_array [0];
1996 if ac_fn_c_try_compile "$LINENO"; then :
1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2005 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2007 return test_array [0];
2013 if ac_fn_c_try_compile "$LINENO"; then :
2014 ac_lo=$ac_mid; break
2016 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2017 if test $ac_mid -le $ac_hi; then
2021 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 # Binary search between lo and hi bounds.
2032 while test "x$ac_lo" != "x$ac_hi"; do
2033 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2040 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2042 return test_array [0];
2048 if ac_fn_c_try_compile "$LINENO"; then :
2051 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2063 static long int longval () { return $2; }
2064 static unsigned long int ulongval () { return $2; }
2071 FILE *f = fopen ("conftest.val", "w");
2076 long int i = longval ();
2079 fprintf (f, "%ld", i);
2083 unsigned long int i = ulongval ();
2086 fprintf (f, "%lu", i);
2088 /* Do not output a trailing newline, as this causes \r\n confusion
2089 on some platforms. */
2090 return ferror (f) || fclose (f) != 0;
2096 if ac_fn_c_try_run "$LINENO"; then :
2097 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2102 conftest.$ac_objext conftest.beam conftest.$ac_ext
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 as_fn_set_status $ac_retval
2109 } # ac_fn_c_compute_int
2111 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 # -------------------------------------------------------
2113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 # the include files in INCLUDES and setting the cache variable VAR
2116 ac_fn_c_check_header_mongrel ()
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if eval \${$3+:} false; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2140 ac_header_compiler=no
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2153 if ac_fn_c_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2156 ac_header_preproc=no
2158 rm -f conftest.err conftest.i conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 ( $as_echo "## ------------------------------------------------------------------------------------------- ##
2182 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection ##
2183 ## ------------------------------------------------------------------------------------------- ##"
2184 ) | sed "s/^/$as_me: WARNING: /" >&2
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if eval \${$3+:} false; then :
2190 $as_echo_n "(cached) " >&6
2192 eval "$3=\$ac_header_compiler"
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200 } # ac_fn_c_check_header_mongrel
2201 cat >config.log <<_ACEOF
2202 This file contains any messages produced by compilers while
2203 running configure, to aid debugging if configure makes a mistake.
2205 It was created by gobject-introspection $as_me 1.35.9, which was
2206 generated by GNU Autoconf 2.69. Invocation command line was
2218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2230 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir=.
2242 $as_echo "PATH: $as_dir"
2258 # Keep a trace of the command line.
2259 # Strip out --no-create and --no-recursion so they do not pile up.
2260 # Strip out --silent because we don't want to record it for future runs.
2261 # Also quote any args containing shell meta-characters.
2262 # Make two passes to allow for proper duplicate-argument suppression.
2266 ac_must_keep_next=false
2272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274 | -silent | --silent | --silen | --sile | --sil)
2277 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2282 as_fn_append ac_configure_args1 " '$ac_arg'"
2283 if test $ac_must_keep_next = true; then
2284 ac_must_keep_next=false # Got value, back to normal.
2287 *=* | --config-cache | -C | -disable-* | --disable-* \
2288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2290 | -with-* | --with-* | -without-* | --without-* | --x)
2291 case "$ac_configure_args0 " in
2292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2295 -* ) ac_must_keep_next=true ;;
2298 as_fn_append ac_configure_args " '$ac_arg'"
2303 { ac_configure_args0=; unset ac_configure_args0;}
2304 { ac_configure_args1=; unset ac_configure_args1;}
2306 # When interrupted or exit'd, cleanup temporary files, and complete
2307 # config.log. We remove comments because anyway the quotes in there
2308 # would cause problems or look ugly.
2309 # WARNING: Use '\'' to represent an apostrophe within the trap.
2310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2311 trap 'exit_status=$?
2312 # Save into config.log some information that might help in debugging.
2316 $as_echo "## ---------------- ##
2317 ## Cache variables. ##
2318 ## ---------------- ##"
2320 # The following way of writing the cache mishandles newlines in values,
2322 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2323 eval ac_val=\$$ac_var
2327 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2331 _ | IFS | as_nl) ;; #(
2332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2333 *) { eval $ac_var=; unset $ac_var;} ;;
2338 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2339 *${as_nl}ac_space=\ *)
2341 "s/'\''/'\''\\\\'\'''\''/g;
2342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2352 $as_echo "## ----------------- ##
2353 ## Output variables. ##
2354 ## ----------------- ##"
2356 for ac_var in $ac_subst_vars
2358 eval ac_val=\$$ac_var
2360 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2362 $as_echo "$ac_var='\''$ac_val'\''"
2366 if test -n "$ac_subst_files"; then
2367 $as_echo "## ------------------- ##
2368 ## File substitutions. ##
2369 ## ------------------- ##"
2371 for ac_var in $ac_subst_files
2373 eval ac_val=\$$ac_var
2375 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2377 $as_echo "$ac_var='\''$ac_val'\''"
2382 if test -s confdefs.h; then
2383 $as_echo "## ----------- ##
2390 test "$ac_signal" != 0 &&
2391 $as_echo "$as_me: caught signal $ac_signal"
2392 $as_echo "$as_me: exit $exit_status"
2394 rm -f core *.core core.conftest.* &&
2395 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2398 for ac_signal in 1 2 13 15; do
2399 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2404 rm -f -r conftest* confdefs.h
2406 $as_echo "/* confdefs.h */" > confdefs.h
2408 # Predefined preprocessor variables.
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_NAME "$PACKAGE_NAME"
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_STRING "$PACKAGE_STRING"
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2430 cat >>confdefs.h <<_ACEOF
2431 #define PACKAGE_URL "$PACKAGE_URL"
2435 # Let the site file select an alternate cache file if it wants to.
2436 # Prefer an explicitly selected file to automatically selected ones.
2439 if test -n "$CONFIG_SITE"; then
2440 # We do not want a PATH search for config.site.
2441 case $CONFIG_SITE in #((
2442 -*) ac_site_file1=./$CONFIG_SITE;;
2443 */*) ac_site_file1=$CONFIG_SITE;;
2444 *) ac_site_file1=./$CONFIG_SITE;;
2446 elif test "x$prefix" != xNONE; then
2447 ac_site_file1=$prefix/share/config.site
2448 ac_site_file2=$prefix/etc/config.site
2450 ac_site_file1=$ac_default_prefix/share/config.site
2451 ac_site_file2=$ac_default_prefix/etc/config.site
2453 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2455 test "x$ac_site_file" = xNONE && continue
2456 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2458 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2459 sed 's/^/| /' "$ac_site_file" >&5
2461 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463 as_fn_error $? "failed to load site script $ac_site_file
2464 See \`config.log' for more details" "$LINENO" 5; }
2468 if test -r "$cache_file"; then
2469 # Some versions of bash will fail to source /dev/null (special files
2470 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2471 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2473 $as_echo "$as_me: loading cache $cache_file" >&6;}
2475 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2476 *) . "./$cache_file";;
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2481 $as_echo "$as_me: creating cache $cache_file" >&6;}
2485 # Check that the precious variables saved in the cache have kept the same
2487 ac_cache_corrupted=false
2488 for ac_var in $ac_precious_vars; do
2489 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2490 eval ac_new_set=\$ac_env_${ac_var}_set
2491 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2492 eval ac_new_val=\$ac_env_${ac_var}_value
2493 case $ac_old_set,$ac_new_set in
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2497 ac_cache_corrupted=: ;;
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2500 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2501 ac_cache_corrupted=: ;;
2504 if test "x$ac_old_val" != "x$ac_new_val"; then
2505 # differences in whitespace do not lead to failure.
2506 ac_old_val_w=`echo x $ac_old_val`
2507 ac_new_val_w=`echo x $ac_new_val`
2508 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2510 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2511 ac_cache_corrupted=:
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2514 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2515 eval $ac_var=\$ac_old_val
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2518 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2520 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2523 # Pass precious variables to config.status.
2524 if test "$ac_new_set" = set; then
2526 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2527 *) ac_arg=$ac_var=$ac_new_val ;;
2529 case " $ac_configure_args " in
2530 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2531 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2535 if $ac_cache_corrupted; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2539 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2540 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2542 ## -------------------- ##
2543 ## Main body of script. ##
2544 ## -------------------- ##
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 ac_config_headers="$ac_config_headers config.h"
2558 for ac_dir in build-aux "$srcdir"/build-aux; do
2559 if test -f "$ac_dir/install-sh"; then
2561 ac_install_sh="$ac_aux_dir/install-sh -c"
2563 elif test -f "$ac_dir/install.sh"; then
2565 ac_install_sh="$ac_aux_dir/install.sh -c"
2567 elif test -f "$ac_dir/shtool"; then
2569 ac_install_sh="$ac_aux_dir/shtool install -c"
2573 if test -z "$ac_aux_dir"; then
2574 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2577 # These three variables are undocumented and unsupported,
2578 # and are intended to be withdrawn in a future Autoconf release.
2579 # They can cause serious problems if a builder's source tree is in a directory
2580 # whose full name contains unusual characters.
2581 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2582 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2583 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2587 am__api_version='1.13'
2589 # Find a good install program. We prefer a C program (faster),
2590 # so one script is as good as another. But avoid the broken or
2591 # incompatible versions:
2592 # SysV /etc/install, /usr/sbin/install
2593 # SunOS /usr/etc/install
2594 # IRIX /sbin/install
2596 # AmigaOS /C/install, which installs bootblocks on floppy discs
2597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2600 # OS/2's system install, which has a completely different semantic
2601 # ./install, which can be erroneously created by make from ./install.sh.
2602 # Reject install programs that cannot install multiple files.
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2604 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2605 if test -z "$INSTALL"; then
2606 if ${ac_cv_path_install+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 # Account for people who put trailing slashes in PATH elements.
2615 case $as_dir/ in #((
2616 ./ | .// | /[cC]/* | \
2617 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2618 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2621 # OSF1 and SCO ODT 3.0 have their own names for install.
2622 # Don't use installbsd from OSF since it installs stuff as root
2624 for ac_prog in ginstall scoinst install; do
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2627 if test $ac_prog = install &&
2628 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2629 # AIX install. It has an incompatible calling convention.
2631 elif test $ac_prog = install &&
2632 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2633 # program-specific install script used by HP pwplus--don't use.
2636 rm -rf conftest.one conftest.two conftest.dir
2637 echo one > conftest.one
2638 echo two > conftest.two
2640 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2641 test -s conftest.one && test -s conftest.two &&
2642 test -s conftest.dir/conftest.one &&
2643 test -s conftest.dir/conftest.two
2645 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2658 rm -rf conftest.one conftest.two conftest.dir
2661 if test "${ac_cv_path_install+set}" = set; then
2662 INSTALL=$ac_cv_path_install
2664 # As a last resort, use the slow shell script. Don't cache a
2665 # value for INSTALL within a source directory, because that will
2666 # break other packages using the cache if that directory is
2667 # removed, or if the value is a relative name.
2668 INSTALL=$ac_install_sh
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2672 $as_echo "$INSTALL" >&6; }
2674 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2675 # It thinks the first close brace ends the variable substitution.
2676 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2678 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2680 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2683 $as_echo_n "checking whether build environment is sane... " >&6; }
2684 # Reject unsafe characters in $srcdir or the absolute working directory
2685 # name. Accept space and tab only in the latter.
2689 *[\\\"\#\$\&\'\`$am_lf]*)
2690 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2693 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2694 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2697 # Do 'set' in a subshell so we don't clobber the current shell's
2698 # arguments. Must try -L first in case configure is actually a
2699 # symlink; some systems play weird games with the mod time of symlinks
2700 # (eg FreeBSD returns the mod time of the symlink's containing
2704 for am_try in 1 2; do
2705 echo "timestamp, slept: $am_has_slept" > conftest.file
2706 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2707 if test "$*" = "X"; then
2709 set X `ls -t "$srcdir/configure" conftest.file`
2711 if test "$*" != "X $srcdir/configure conftest.file" \
2712 && test "$*" != "X conftest.file $srcdir/configure"; then
2714 # If neither matched, then we have a broken ls. This can happen
2715 # if, for instance, CONFIG_SHELL is bash and it inherits a
2716 # broken ls alias from the environment. This has actually
2717 # happened. Such a system could not be considered "sane".
2718 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2719 alias in your environment" "$LINENO" 5
2721 if test "$2" = conftest.file || test $am_try -eq 2; then
2728 test "$2" = conftest.file
2734 as_fn_error $? "newly created file is older than distributed files!
2735 Check your system clock" "$LINENO" 5
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2738 $as_echo "yes" >&6; }
2739 # If we didn't sleep, we still need to ensure time stamps of config.status and
2740 # generated files are strictly newer.
2742 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2749 test "$program_prefix" != NONE &&
2750 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2751 # Use a double $ so make ignores it.
2752 test "$program_suffix" != NONE &&
2753 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2754 # Double any \ or $.
2755 # By default was `s,x,x', remove it if useless.
2756 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2757 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2759 # expand $ac_aux_dir to an absolute path
2760 am_aux_dir=`cd $ac_aux_dir && pwd`
2762 if test x"${MISSING+set}" != xset; then
2765 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2767 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2770 # Use eval to expand $SHELL
2771 if eval "$MISSING --is-lightweight"; then
2772 am_missing_run="$MISSING "
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2776 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2779 if test x"${install_sh}" != xset; then
2782 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2784 install_sh="\${SHELL} $am_aux_dir/install-sh"
2788 # Installed binaries are usually stripped using 'strip' when the user
2789 # run "make install-strip". However 'strip' might not be the right
2790 # tool to use in cross-compilation environments, therefore Automake
2791 # will honor the 'STRIP' environment variable to overrule this program.
2792 if test "$cross_compiling" != no; then
2793 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2795 set dummy ${ac_tool_prefix}strip; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_STRIP+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$STRIP"; then
2802 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 STRIP=$ac_cv_prog_STRIP
2822 if test -n "$STRIP"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2824 $as_echo "$STRIP" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2832 if test -z "$ac_cv_prog_STRIP"; then
2834 # Extract the first word of "strip", so it can be a program name with args.
2835 set dummy strip; ac_word=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$ac_ct_STRIP"; then
2842 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_ac_ct_STRIP="strip"
2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2862 if test -n "$ac_ct_STRIP"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2864 $as_echo "$ac_ct_STRIP" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2870 if test "x$ac_ct_STRIP" = x; then
2873 case $cross_compiling:$ac_tool_warned in
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2877 ac_tool_warned=yes ;;
2882 STRIP="$ac_cv_prog_STRIP"
2886 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2889 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2890 if test -z "$MKDIR_P"; then
2891 if ${ac_cv_path_mkdir+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2898 test -z "$as_dir" && as_dir=.
2899 for ac_prog in mkdir gmkdir; do
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2902 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2903 'mkdir (GNU coreutils) '* | \
2904 'mkdir (coreutils) '* | \
2905 'mkdir (fileutils) '4.1*)
2906 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2916 test -d ./--version && rmdir ./--version
2917 if test "${ac_cv_path_mkdir+set}" = set; then
2918 MKDIR_P="$ac_cv_path_mkdir -p"
2920 # As a last resort, use the slow shell script. Don't cache a
2921 # value for MKDIR_P within a source directory, because that will
2922 # break other packages using the cache if that directory is
2923 # removed, or if the value is a relative name.
2924 MKDIR_P="$ac_install_sh -d"
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2928 $as_echo "$MKDIR_P" >&6; }
2930 for ac_prog in gawk mawk nawk awk
2932 # Extract the first word of "$ac_prog", so it can be a program name with args.
2933 set dummy $ac_prog; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_AWK+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$AWK"; then
2940 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_AWK="$ac_prog"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 if test -n "$AWK"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2962 $as_echo "$AWK" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2969 test -n "$AWK" && break
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2973 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2975 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2976 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 cat >conftest.make <<\_ACEOF
2982 @echo '@@@%%%=$(MAKE)=@@@%%%'
2984 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2985 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2987 eval ac_cv_prog_make_${ac_make}_set=yes;;
2989 eval ac_cv_prog_make_${ac_make}_set=no;;
2993 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2995 $as_echo "yes" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000 SET_MAKE="MAKE=${MAKE-make}"
3003 rm -rf .tst 2>/dev/null
3004 mkdir .tst 2>/dev/null
3005 if test -d .tst; then
3010 rmdir .tst 2>/dev/null
3012 # Check whether --enable-silent-rules was given.
3013 if test "${enable_silent_rules+set}" = set; then :
3014 enableval=$enable_silent_rules;
3017 case $enable_silent_rules in # (((
3018 yes) AM_DEFAULT_VERBOSITY=0;;
3019 no) AM_DEFAULT_VERBOSITY=1;;
3020 *) AM_DEFAULT_VERBOSITY=1;;
3022 am_make=${MAKE-make}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3024 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3025 if ${am_cv_make_support_nested_variables+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 if $as_echo 'TRUE=$(BAR$(V))
3034 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3035 am_cv_make_support_nested_variables=yes
3037 am_cv_make_support_nested_variables=no
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3041 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3042 if test $am_cv_make_support_nested_variables = yes; then
3044 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3046 AM_V=$AM_DEFAULT_VERBOSITY
3047 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3052 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3053 # is not polluted with repeated "-I."
3054 am__isrc=' -I$(srcdir)'
3055 # test to see if srcdir already configured
3056 if test -f $srcdir/config.status; then
3057 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3061 # test whether we have cygpath
3062 if test -z "$CYGPATH_W"; then
3063 if (cygpath --version) >/dev/null 2>/dev/null; then
3064 CYGPATH_W='cygpath -w'
3071 # Define the identity of the package.
3072 PACKAGE='gobject-introspection'
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE "$PACKAGE"
3081 cat >>confdefs.h <<_ACEOF
3082 #define VERSION "$VERSION"
3085 # Some tools Automake needs.
3087 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3090 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3093 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3096 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3099 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3101 # For better backward compatibility. To be removed once Automake 1.9.x
3102 # dies out for good. For more background, see:
3103 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3104 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3105 mkdir_p='$(MKDIR_P)'
3107 # We need awk for the "check" target. The system "awk" is bad on
3109 # Always define AMTAR for backward compatibility. Yes, it's still used
3110 # in the wild :-( We should find a proper way to deprecate it ...
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3115 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3116 # Loop over all known methods to create a tar archive until one works.
3117 _am_tools='gnutar plaintar pax cpio none'
3118 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3119 # Do not fold the above two line into one, because Tru64 sh and
3120 # Solaris sh will not grok spaces in the rhs of '-'.
3121 for _am_tool in $_am_tools
3125 for _am_tar in tar gnutar gtar;
3127 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3128 ($_am_tar --version) >&5 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } && break
3133 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3134 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3135 am__untar="$_am_tar -xf -"
3138 # Must skip GNU tar: if it does not support --format= it doesn't create
3139 # ustar tarball either.
3140 (tar --version) >/dev/null 2>&1 && continue
3141 am__tar='tar chf - "$$tardir"'
3142 am__tar_='tar chf - "$tardir"'
3143 am__untar='tar xf -'
3146 am__tar='pax -L -x ustar -w "$$tardir"'
3147 am__tar_='pax -L -x ustar -w "$tardir"'
3151 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3152 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3153 am__untar='cpio -i -H ustar -d'
3162 # If the value was cached, stop now. We just wanted to have am__tar
3163 # and am__untar set.
3164 test -n "${am_cv_prog_tar_ustar}" && break
3166 # tar/untar a dummy directory, and stop if the command works
3169 echo GrepMe > conftest.dir/file
3170 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3171 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }
3176 if test -s conftest.tar; then
3177 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3178 ($am__untar <conftest.tar) >&5 2>&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }
3182 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3187 if ${am_cv_prog_tar_ustar+:} false; then :
3188 $as_echo_n "(cached) " >&6
3190 am_cv_prog_tar_ustar=$_am_tool
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3194 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3202 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3203 # Check whether --enable-maintainer-mode was given.
3204 if test "${enable_maintainer_mode+set}" = set; then :
3205 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3207 USE_MAINTAINER_MODE=yes
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3211 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3212 if test $USE_MAINTAINER_MODE = yes; then
3213 MAINTAINER_MODE_TRUE=
3214 MAINTAINER_MODE_FALSE='#'
3216 MAINTAINER_MODE_TRUE='#'
3217 MAINTAINER_MODE_FALSE=
3220 MAINT=$MAINTAINER_MODE_TRUE
3224 # Check whether --enable-silent-rules was given.
3225 if test "${enable_silent_rules+set}" = set; then :
3226 enableval=$enable_silent_rules;
3229 case $enable_silent_rules in # (((
3230 yes) AM_DEFAULT_VERBOSITY=0;;
3231 no) AM_DEFAULT_VERBOSITY=1;;
3232 *) AM_DEFAULT_VERBOSITY=0;;
3234 am_make=${MAKE-make}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3236 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3237 if ${am_cv_make_support_nested_variables+:} false; then :
3238 $as_echo_n "(cached) " >&6
3240 if $as_echo 'TRUE=$(BAR$(V))
3246 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3247 am_cv_make_support_nested_variables=yes
3249 am_cv_make_support_nested_variables=no
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3253 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3254 if test $am_cv_make_support_nested_variables = yes; then
3256 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3258 AM_V=$AM_DEFAULT_VERBOSITY
3259 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3265 # Make sure we can run config.sub.
3266 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3267 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3270 $as_echo_n "checking build system type... " >&6; }
3271 if ${ac_cv_build+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 ac_build_alias=$build_alias
3275 test "x$ac_build_alias" = x &&
3276 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3277 test "x$ac_build_alias" = x &&
3278 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3279 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3280 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3284 $as_echo "$ac_cv_build" >&6; }
3285 case $ac_cv_build in
3287 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3290 ac_save_IFS=$IFS; IFS='-'
3296 # Remember, the first character of IFS is used to create $*,
3297 # except with old shells:
3300 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3304 $as_echo_n "checking host system type... " >&6; }
3305 if ${ac_cv_host+:} false; then :
3306 $as_echo_n "(cached) " >&6
3308 if test "x$host_alias" = x; then
3309 ac_cv_host=$ac_cv_build
3311 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3312 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3317 $as_echo "$ac_cv_host" >&6; }
3320 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3323 ac_save_IFS=$IFS; IFS='-'
3329 # Remember, the first character of IFS is used to create $*,
3330 # except with old shells:
3333 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3344 if test "x$os_win32" = "xyes"; then
3353 # Checks for programs.
3355 ac_cpp='$CPP $CPPFLAGS'
3356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 if test -n "$ac_tool_prefix"; then
3360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_CC+:} false; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$CC"; then
3368 ac_cv_prog_CC="$CC" # Let the user override the test.
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390 $as_echo "$CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3398 if test -z "$ac_cv_prog_CC"; then
3400 # Extract the first word of "gcc", so it can be a program name with args.
3401 set dummy gcc; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3405 $as_echo_n "(cached) " >&6
3407 if test -n "$ac_ct_CC"; then
3408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 ac_cv_prog_ac_ct_CC="gcc"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3428 if test -n "$ac_ct_CC"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3430 $as_echo "$ac_ct_CC" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3436 if test "x$ac_ct_CC" = x; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3451 if test -z "$CC"; then
3452 if test -n "$ac_tool_prefix"; then
3453 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3454 set dummy ${ac_tool_prefix}cc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if ${ac_cv_prog_CC+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$CC"; then
3461 ac_cv_prog_CC="$CC" # Let the user override the test.
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 test -z "$as_dir" && as_dir=.
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3470 ac_cv_prog_CC="${ac_tool_prefix}cc"
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 if test -n "$CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3492 if test -z "$CC"; then
3493 # Extract the first word of "cc", so it can be a program name with args.
3494 set dummy cc; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if ${ac_cv_prog_CC+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC="$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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3512 ac_prog_rejected=yes
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test $ac_prog_rejected = yes; then
3524 # We found a bogon in the path, so make sure we never use it.
3525 set dummy $ac_cv_prog_CC
3527 if test $# != 0; then
3528 # We chose a different compiler from the bogus one.
3529 # However, it has the same basename, so the bogon will be chosen
3530 # first if we set CC to just the basename; use the full file name.
3532 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$CC"; then
3549 if test -n "$ac_tool_prefix"; then
3550 for ac_prog in cl.exe
3552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_CC+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3589 test -n "$CC" && break
3592 if test -z "$CC"; then
3594 for ac_prog in cl.exe
3596 # Extract the first word of "$ac_prog", so it can be a program name with args.
3597 set dummy $ac_prog; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_ac_ct_CC="$ac_prog"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3633 test -n "$ac_ct_CC" && break
3636 if test "x$ac_ct_CC" = x; then
3639 case $cross_compiling:$ac_tool_warned in
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3652 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "no acceptable C compiler found in \$PATH
3655 See \`config.log' for more details" "$LINENO" 5; }
3657 # Provide some information about the compiler.
3658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3661 for ac_option in --version -v -V -qversion; do
3662 { { ac_try="$ac_compiler $ac_option >&5"
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 $as_echo "$ac_try_echo"; } >&5
3669 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3671 if test -s conftest.err; then
3673 ... rest of stderr output deleted ...
3674 10q' conftest.err >conftest.er1
3675 cat conftest.er1 >&5
3677 rm -f conftest.er1 conftest.err
3678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 test $ac_status = 0; }
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3693 ac_clean_files_save=$ac_clean_files
3694 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3695 # Try to create an executable without -o first, disregard a.out.
3696 # It will help us diagnose broken compilers, and finding out an intuition
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3699 $as_echo_n "checking whether the C compiler works... " >&6; }
3700 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3702 # The possible output files:
3703 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3706 for ac_file in $ac_files
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3710 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3715 if { { ac_try="$ac_link_default"
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_link_default") 2>&5
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }; then :
3726 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3727 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3728 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3729 # so that the user can short-circuit this test for compilers unknown to
3731 for ac_file in $ac_files ''
3733 test -f "$ac_file" || continue
3735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3738 # We found the default executable, but exeext='' is most
3742 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3744 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3746 # We set ac_cv_exeext here because the later test for it is not
3747 # safe: cross compilers may not add the suffix if given an `-o'
3748 # argument, so we may need to know it at that point already.
3749 # Even if this section looks crufty: it has the advantage of
3756 test "$ac_cv_exeext" = no && ac_cv_exeext=
3761 if test -z "$ac_file"; then :
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 $as_echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.$ac_ext >&5
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error 77 "C compiler cannot create executables
3770 See \`config.log' for more details" "$LINENO" 5; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773 $as_echo "yes" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3776 $as_echo_n "checking for C compiler default output file name... " >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3778 $as_echo "$ac_file" >&6; }
3779 ac_exeext=$ac_cv_exeext
3781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3782 ac_clean_files=$ac_clean_files_save
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3784 $as_echo_n "checking for suffix of executables... " >&6; }
3785 if { { ac_try="$ac_link"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792 (eval "$ac_link") 2>&5
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }; then :
3796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3798 # work properly (i.e., refer to `conftest.exe'), while it won't with
3800 for ac_file in conftest.exe conftest conftest.*; do
3801 test -f "$ac_file" || continue
3803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3813 See \`config.log' for more details" "$LINENO" 5; }
3815 rm -f conftest conftest$ac_cv_exeext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3817 $as_echo "$ac_cv_exeext" >&6; }
3819 rm -f conftest.$ac_ext
3820 EXEEXT=$ac_cv_exeext
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3828 FILE *f = fopen ("conftest.out", "w");
3829 return ferror (f) || fclose (f) != 0;
3835 ac_clean_files="$ac_clean_files conftest.out"
3836 # Check that the compiler produces executables we can run. If not, either
3837 # the compiler is broken, or we cross compile.
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3839 $as_echo_n "checking whether we are cross compiling... " >&6; }
3840 if test "$cross_compiling" != yes; then
3841 { { ac_try="$ac_link"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_link") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }
3852 if { ac_try='./conftest$ac_cv_exeext'
3853 { { case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_try") 2>&5
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }; }; then
3865 if test "$cross_compiling" = maybe; then
3868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 as_fn_error $? "cannot run C compiled programs.
3871 If you meant to cross compile, use \`--host'.
3872 See \`config.log' for more details" "$LINENO" 5; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3877 $as_echo "$cross_compiling" >&6; }
3879 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3880 ac_clean_files=$ac_clean_files_save
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3882 $as_echo_n "checking for suffix of object files... " >&6; }
3883 if ${ac_cv_objext+:} false; then :
3884 $as_echo_n "(cached) " >&6
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 rm -f conftest.o conftest.obj
3898 if { { ac_try="$ac_compile"
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_compile") 2>&5
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }; then :
3909 for ac_file in conftest.o conftest.obj conftest.*; do
3910 test -f "$ac_file" || continue;
3912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3918 $as_echo "$as_me: failed program was:" >&5
3919 sed 's/^/| /' conftest.$ac_ext >&5
3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error $? "cannot compute suffix of object files: cannot compile
3924 See \`config.log' for more details" "$LINENO" 5; }
3926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3929 $as_echo "$ac_cv_objext" >&6; }
3930 OBJEXT=$ac_cv_objext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3933 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3934 if ${ac_cv_c_compiler_gnu+:} false; then :
3935 $as_echo_n "(cached) " >&6
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3951 if ac_fn_c_try_compile "$LINENO"; then :
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3961 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3962 if test $ac_compiler_gnu = yes; then
3967 ac_test_CFLAGS=${CFLAGS+set}
3968 ac_save_CFLAGS=$CFLAGS
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3970 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3971 if ${ac_cv_prog_cc_g+:} false; then :
3972 $as_echo_n "(cached) " >&6
3974 ac_save_c_werror_flag=$ac_c_werror_flag
3975 ac_c_werror_flag=yes
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3989 if ac_fn_c_try_compile "$LINENO"; then :
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4004 if ac_fn_c_try_compile "$LINENO"; then :
4007 ac_c_werror_flag=$ac_save_c_werror_flag
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4020 if ac_fn_c_try_compile "$LINENO"; then :
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028 ac_c_werror_flag=$ac_save_c_werror_flag
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4031 $as_echo "$ac_cv_prog_cc_g" >&6; }
4032 if test "$ac_test_CFLAGS" = set; then
4033 CFLAGS=$ac_save_CFLAGS
4034 elif test $ac_cv_prog_cc_g = yes; then
4035 if test "$GCC" = yes; then
4041 if test "$GCC" = yes; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4048 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4049 if ${ac_cv_prog_cc_c89+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 ac_cv_prog_cc_c89=no
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4060 struct buf { int x; };
4061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4062 static char *e (p, i)
4068 static char *f (char * (*g) (char **, int), char **p, ...)
4073 s = g (p, va_arg (v,int));
4078 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4079 function prototypes and stuff, but not '\xHH' hex character constants.
4080 These don't provoke an error unfortunately, instead are silently treated
4081 as 'x'. The following induces an error, until -std is added to get
4082 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4083 array size at least. It's necessary to write '\x00'==0 to get something
4084 that's true only with -std. */
4085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4087 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4088 inside strings and character constants. */
4090 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4092 int test (int i, double x);
4093 struct s1 {int (*f) (int a);};
4094 struct s2 {int (*f) (double a);};
4095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4101 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4106 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4107 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4109 CC="$ac_save_CC $ac_arg"
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 ac_cv_prog_cc_c89=$ac_arg
4113 rm -f core conftest.err conftest.$ac_objext
4114 test "x$ac_cv_prog_cc_c89" != "xno" && break
4116 rm -f conftest.$ac_ext
4121 case "x$ac_cv_prog_cc_c89" in
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4124 $as_echo "none needed" >&6; } ;;
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4127 $as_echo "unsupported" >&6; } ;;
4129 CC="$CC $ac_cv_prog_cc_c89"
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4131 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4133 if test "x$ac_cv_prog_cc_c89" != xno; then :
4138 ac_cpp='$CPP $CPPFLAGS'
4139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 DEPDIR="${am__leading_dot}deps"
4144 ac_config_commands="$ac_config_commands depfiles"
4147 am_make=${MAKE-make}
4148 cat > confinc << 'END'
4150 @echo this is the am__doit target
4153 # If we don't find an include directive, just comment out the code.
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4155 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4159 # First try GNU make style include.
4160 echo "include confinc" > confmf
4161 # Ignore all kinds of additional output from 'make'.
4162 case `$am_make -s -f confmf 2> /dev/null` in #(
4163 *the\ am__doit\ target*)
4169 # Now try BSD make style include.
4170 if test "$am__include" = "#"; then
4171 echo '.include "confinc"' > confmf
4172 case `$am_make -s -f confmf 2> /dev/null` in #(
4173 *the\ am__doit\ target*)
4174 am__include=.include
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4183 $as_echo "$_am_result" >&6; }
4184 rm -f confinc confmf
4186 # Check whether --enable-dependency-tracking was given.
4187 if test "${enable_dependency_tracking+set}" = set; then :
4188 enableval=$enable_dependency_tracking;
4191 if test "x$enable_dependency_tracking" != xno; then
4192 am_depcomp="$ac_aux_dir/depcomp"
4196 if test "x$enable_dependency_tracking" != xno; then
4206 depcc="$CC" am_compiler_list=
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4209 $as_echo_n "checking dependency style of $depcc... " >&6; }
4210 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4214 # We make a subdir and do the tests there. Otherwise we can end up
4215 # making bogus files that we don't know about and never remove. For
4216 # instance it was reported that on HP-UX the gcc test will end up
4217 # making a dummy file named 'D' -- because '-MD' means "put the output
4221 # Copy depcomp to subdir because otherwise we won't find it if we're
4222 # using a relative directory.
4223 cp "$am_depcomp" conftest.dir
4225 # We will build objects and dependencies in a subdirectory because
4226 # it helps to detect inapplicable dependency modes. For instance
4227 # both Tru64's cc and ICC support -MD to output dependencies as a
4228 # side effect of compilation, but ICC will put the dependencies in
4229 # the current directory while Tru64 will put them in the object
4233 am_cv_CC_dependencies_compiler_type=none
4234 if test "$am_compiler_list" = ""; then
4235 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4238 case " $depcc " in #(
4239 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4242 for depmode in $am_compiler_list; do
4243 # Setup a source with many dependencies, because some compilers
4244 # like to wrap large dependency lists on column 80 (with \), and
4245 # we should not choose a depcomp mode which is confused by this.
4247 # We need to recreate these files for each test, as the compiler may
4248 # overwrite some of them when testing with obscure command lines.
4249 # This happens at least with the AIX C compiler.
4251 for i in 1 2 3 4 5 6; do
4252 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4253 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4254 # Solaris 10 /bin/sh.
4255 echo '/* dummy */' > sub/conftst$i.h
4257 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4259 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4260 # mode. It turns out that the SunPro C++ compiler does not properly
4261 # handle '-M -o', and we need to detect this. Also, some Intel
4262 # versions had trouble with output in subdirs.
4263 am__obj=sub/conftest.${OBJEXT-o}
4264 am__minus_obj="-o $am__obj"
4267 # This depmode causes a compiler race in universal mode.
4268 test "$am__universal" = false || continue
4271 # After this tag, mechanisms are not by side-effect, so they'll
4272 # only be used when explicitly requested.
4273 if test "x$enable_dependency_tracking" = xyes; then
4279 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4280 # This compiler won't grok '-c -o', but also, the minuso test has
4281 # not run yet. These depmodes are late enough in the game, and
4282 # so weak that their functioning should not be impacted.
4283 am__obj=conftest.${OBJEXT-o}
4288 if depmode=$depmode \
4289 source=sub/conftest.c object=$am__obj \
4290 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4291 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4292 >/dev/null 2>conftest.err &&
4293 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4294 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4295 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4296 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4297 # icc doesn't choke on unknown options, it will just issue warnings
4298 # or remarks (even with -Werror). So we grep stderr for any message
4299 # that says an option was ignored or not supported.
4300 # When given -MP, icc 7.0 and 7.1 complain thusly:
4301 # icc: Command line warning: ignoring option '-M'; no argument required
4302 # The diagnosis changed in icc 8.0:
4303 # icc: Command line remark: option '-MP' not supported
4304 if (grep 'ignoring option' conftest.err ||
4305 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4306 am_cv_CC_dependencies_compiler_type=$depmode
4315 am_cv_CC_dependencies_compiler_type=none
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4320 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4324 test "x$enable_dependency_tracking" != xno \
4325 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4327 am__fastdepCC_FALSE='#'
4329 am__fastdepCC_TRUE='#'
4330 am__fastdepCC_FALSE=
4334 if test "x$CC" != xcc; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4336 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4339 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4341 set dummy $CC; ac_cc=`$as_echo "$2" |
4342 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4343 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 # Make sure it works both with $CC and with simple cc.
4358 # We do the test twice because some compilers refuse to overwrite an
4359 # existing .o file with -o, though they will create one.
4360 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4362 if { { case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$ac_try_echo"; } >&5
4368 (eval "$ac_try") 2>&5
4370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4371 test $ac_status = 0; } &&
4372 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_try") 2>&5
4380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381 test $ac_status = 0; };
4383 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4384 if test "x$CC" != xcc; then
4385 # Test first that cc exists at all.
4386 if { ac_try='cc -c conftest.$ac_ext >&5'
4387 { { case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_try") 2>&5
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; }; then
4397 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4399 if { { case "(($ac_try" in
4400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401 *) ac_try_echo=$ac_try;;
4403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4404 $as_echo "$ac_try_echo"; } >&5
4405 (eval "$ac_try") 2>&5
4407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4408 test $ac_status = 0; } &&
4409 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_try") 2>&5
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; };
4423 # cc exists but doesn't like -o.
4424 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4429 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4431 rm -f core conftest*
4434 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4441 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4445 # FIXME: we rely on the cache variable name because
4446 # there is no other way.
4448 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4449 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4450 if test "$am_t" != yes; then
4451 # Losing compiler, so override with the script.
4452 # FIXME: It is wrong to rewrite CC.
4453 # But if we don't then we get into trouble of one sort or another.
4454 # A longer-term fix would be to have automake use am__CC in this case,
4455 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4456 CC="$am_aux_dir/compile $CC"
4462 # Initialize libtool
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4467 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4472 macro_version='2.4.2'
4473 macro_revision='1.3337'
4487 ltmain="$ac_aux_dir/ltmain.sh"
4489 # Backslashify metacharacters that are still active within
4490 # double-quoted strings.
4491 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4493 # Same as above, but do not quote variable references.
4494 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4496 # Sed substitution to delay expansion of an escaped shell variable in a
4497 # double_quote_subst'ed string.
4498 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4500 # Sed substitution to delay expansion of an escaped single quote.
4501 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4503 # Sed substitution to avoid accidental globbing in evaled expressions
4504 no_glob_subst='s/\*/\\\*/g'
4506 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4507 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4508 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4511 $as_echo_n "checking how to print strings... " >&6; }
4512 # Test print first, because it will be a builtin if present.
4513 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4514 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4516 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4519 # Use this function as a fallback that always works.
4520 func_fallback_echo ()
4522 eval 'cat <<_LTECHO_EOF
4526 ECHO='func_fallback_echo'
4529 # func_echo_all arg...
4530 # Invoke $ECHO with all args, space-separated.
4537 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4538 $as_echo "printf" >&6; } ;;
4539 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4540 $as_echo "print -r" >&6; } ;;
4541 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4542 $as_echo "cat" >&6; } ;;
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4559 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4560 if ${ac_cv_path_SED+:} false; then :
4561 $as_echo_n "(cached) " >&6
4563 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4564 for ac_i in 1 2 3 4 5 6 7; do
4565 ac_script="$ac_script$as_nl$ac_script"
4567 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4568 { ac_script=; unset ac_script;}
4569 if test -z "$SED"; then
4570 ac_path_SED_found=false
4571 # Loop through the user's path and test for each of PROGNAME-LIST
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_prog in sed gsed; do
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4580 as_fn_executable_p "$ac_path_SED" || continue
4581 # Check for GNU ac_path_SED and select it if it is found.
4582 # Check for GNU $ac_path_SED
4583 case `"$ac_path_SED" --version 2>&1` in
4585 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4588 $as_echo_n 0123456789 >"conftest.in"
4591 cat "conftest.in" "conftest.in" >"conftest.tmp"
4592 mv "conftest.tmp" "conftest.in"
4593 cp "conftest.in" "conftest.nl"
4594 $as_echo '' >> "conftest.nl"
4595 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597 as_fn_arith $ac_count + 1 && ac_count=$as_val
4598 if test $ac_count -gt ${ac_path_SED_max-0}; then
4599 # Best one so far, save it but keep looking for a better one
4600 ac_cv_path_SED="$ac_path_SED"
4601 ac_path_SED_max=$ac_count
4603 # 10*(2^10) chars as input seems more than enough
4604 test $ac_count -gt 10 && break
4606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4609 $ac_path_SED_found && break 3
4614 if test -z "$ac_cv_path_SED"; then
4615 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4623 $as_echo "$ac_cv_path_SED" >&6; }
4624 SED="$ac_cv_path_SED"
4627 test -z "$SED" && SED=sed
4628 Xsed="$SED -e 1s/^X//"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4642 if ${ac_cv_path_GREP+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -z "$GREP"; then
4646 ac_path_GREP_found=false
4647 # Loop through the user's path and test for each of PROGNAME-LIST
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4652 test -z "$as_dir" && as_dir=.
4653 for ac_prog in grep ggrep; do
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4656 as_fn_executable_p "$ac_path_GREP" || continue
4657 # Check for GNU ac_path_GREP and select it if it is found.
4658 # Check for GNU $ac_path_GREP
4659 case `"$ac_path_GREP" --version 2>&1` in
4661 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4664 $as_echo_n 0123456789 >"conftest.in"
4667 cat "conftest.in" "conftest.in" >"conftest.tmp"
4668 mv "conftest.tmp" "conftest.in"
4669 cp "conftest.in" "conftest.nl"
4670 $as_echo 'GREP' >> "conftest.nl"
4671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4673 as_fn_arith $ac_count + 1 && ac_count=$as_val
4674 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4675 # Best one so far, save it but keep looking for a better one
4676 ac_cv_path_GREP="$ac_path_GREP"
4677 ac_path_GREP_max=$ac_count
4679 # 10*(2^10) chars as input seems more than enough
4680 test $ac_count -gt 10 && break
4682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4685 $ac_path_GREP_found && break 3
4690 if test -z "$ac_cv_path_GREP"; then
4691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4694 ac_cv_path_GREP=$GREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4699 $as_echo "$ac_cv_path_GREP" >&6; }
4700 GREP="$ac_cv_path_GREP"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4704 $as_echo_n "checking for egrep... " >&6; }
4705 if ${ac_cv_path_EGREP+:} false; then :
4706 $as_echo_n "(cached) " >&6
4708 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4709 then ac_cv_path_EGREP="$GREP -E"
4711 if test -z "$EGREP"; then
4712 ac_path_EGREP_found=false
4713 # Loop through the user's path and test for each of PROGNAME-LIST
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4718 test -z "$as_dir" && as_dir=.
4719 for ac_prog in egrep; do
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4722 as_fn_executable_p "$ac_path_EGREP" || continue
4723 # Check for GNU ac_path_EGREP and select it if it is found.
4724 # Check for GNU $ac_path_EGREP
4725 case `"$ac_path_EGREP" --version 2>&1` in
4727 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4730 $as_echo_n 0123456789 >"conftest.in"
4733 cat "conftest.in" "conftest.in" >"conftest.tmp"
4734 mv "conftest.tmp" "conftest.in"
4735 cp "conftest.in" "conftest.nl"
4736 $as_echo 'EGREP' >> "conftest.nl"
4737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4739 as_fn_arith $ac_count + 1 && ac_count=$as_val
4740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4741 # Best one so far, save it but keep looking for a better one
4742 ac_cv_path_EGREP="$ac_path_EGREP"
4743 ac_path_EGREP_max=$ac_count
4745 # 10*(2^10) chars as input seems more than enough
4746 test $ac_count -gt 10 && break
4748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4751 $ac_path_EGREP_found && break 3
4756 if test -z "$ac_cv_path_EGREP"; then
4757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4760 ac_cv_path_EGREP=$EGREP
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4766 $as_echo "$ac_cv_path_EGREP" >&6; }
4767 EGREP="$ac_cv_path_EGREP"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4771 $as_echo_n "checking for fgrep... " >&6; }
4772 if ${ac_cv_path_FGREP+:} false; then :
4773 $as_echo_n "(cached) " >&6
4775 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4776 then ac_cv_path_FGREP="$GREP -F"
4778 if test -z "$FGREP"; then
4779 ac_path_FGREP_found=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4785 test -z "$as_dir" && as_dir=.
4786 for ac_prog in fgrep; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4789 as_fn_executable_p "$ac_path_FGREP" || continue
4790 # Check for GNU ac_path_FGREP and select it if it is found.
4791 # Check for GNU $ac_path_FGREP
4792 case `"$ac_path_FGREP" --version 2>&1` in
4794 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4797 $as_echo_n 0123456789 >"conftest.in"
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'FGREP' >> "conftest.nl"
4804 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4805 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4806 as_fn_arith $ac_count + 1 && ac_count=$as_val
4807 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_FGREP="$ac_path_FGREP"
4810 ac_path_FGREP_max=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4815 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4818 $ac_path_FGREP_found && break 3
4823 if test -z "$ac_cv_path_FGREP"; then
4824 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4827 ac_cv_path_FGREP=$FGREP
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4833 $as_echo "$ac_cv_path_FGREP" >&6; }
4834 FGREP="$ac_cv_path_FGREP"
4837 test -z "$GREP" && GREP=grep
4857 # Check whether --with-gnu-ld was given.
4858 if test "${with_gnu_ld+set}" = set; then :
4859 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4865 if test "$GCC" = yes; then
4866 # Check if gcc -print-prog-name=ld gives a path.
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4868 $as_echo_n "checking for ld used by $CC... " >&6; }
4871 # gcc leaves a trailing carriage return which upsets mingw
4872 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4874 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4877 # Accept absolute paths.
4879 re_direlt='/[^/][^/]*/\.\./'
4880 # Canonicalize the pathname of ld
4881 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4882 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4883 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4885 test -z "$LD" && LD="$ac_prog"
4888 # If it fails, then pretend we aren't using GCC.
4892 # If it is relative, then search for the first ld in PATH.
4896 elif test "$with_gnu_ld" = yes; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4898 $as_echo_n "checking for GNU ld... " >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4901 $as_echo_n "checking for non-GNU ld... " >&6; }
4903 if ${lt_cv_path_LD+:} false; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -z "$LD"; then
4907 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4908 for ac_dir in $PATH; do
4910 test -z "$ac_dir" && ac_dir=.
4911 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4912 lt_cv_path_LD="$ac_dir/$ac_prog"
4913 # Check to see if the program is GNU ld. I'd rather use --version,
4914 # but apparently some variants of GNU ld only accept -v.
4915 # Break only if it was the GNU/non-GNU ld that we prefer.
4916 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4917 *GNU* | *'with BFD'*)
4918 test "$with_gnu_ld" != no && break
4921 test "$with_gnu_ld" != yes && break
4928 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4933 if test -n "$LD"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4935 $as_echo "$LD" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4940 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4942 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4943 if ${lt_cv_prog_gnu_ld+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4947 case `$LD -v 2>&1 </dev/null` in
4948 *GNU* | *'with BFD'*)
4949 lt_cv_prog_gnu_ld=yes
4952 lt_cv_prog_gnu_ld=no
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4957 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4958 with_gnu_ld=$lt_cv_prog_gnu_ld
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4969 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4970 if ${lt_cv_path_NM+:} false; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$NM"; then
4974 # Let the user override the test.
4977 lt_nm_to_check="${ac_tool_prefix}nm"
4978 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4979 lt_nm_to_check="$lt_nm_to_check nm"
4981 for lt_tmp_nm in $lt_nm_to_check; do
4982 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4983 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4985 test -z "$ac_dir" && ac_dir=.
4986 tmp_nm="$ac_dir/$lt_tmp_nm"
4987 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4988 # Check to see if the nm accepts a BSD-compat flag.
4989 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4990 # nm: unknown option "B" ignored
4991 # Tru64's nm complains that /dev/null is an invalid object file
4992 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4993 */dev/null* | *'Invalid file or object type'*)
4994 lt_cv_path_NM="$tmp_nm -B"
4998 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5000 lt_cv_path_NM="$tmp_nm -p"
5004 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5005 continue # so that we can try to find one that supports BSD flags
5014 : ${lt_cv_path_NM=no}
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5018 $as_echo "$lt_cv_path_NM" >&6; }
5019 if test "$lt_cv_path_NM" != "no"; then
5022 # Didn't find any BSD compatible name lister, look for dumpbin.
5023 if test -n "$DUMPBIN"; then :
5024 # Let the user override the test.
5026 if test -n "$ac_tool_prefix"; then
5027 for ac_prog in dumpbin "link -dump"
5029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_DUMPBIN+:} false; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$DUMPBIN"; then
5037 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 DUMPBIN=$ac_cv_prog_DUMPBIN
5057 if test -n "$DUMPBIN"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5059 $as_echo "$DUMPBIN" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$DUMPBIN" && break
5069 if test -z "$DUMPBIN"; then
5070 ac_ct_DUMPBIN=$DUMPBIN
5071 for ac_prog in dumpbin "link -dump"
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy $ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$ac_ct_DUMPBIN"; then
5081 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5101 if test -n "$ac_ct_DUMPBIN"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5103 $as_echo "$ac_ct_DUMPBIN" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$ac_ct_DUMPBIN" && break
5113 if test "x$ac_ct_DUMPBIN" = x; then
5116 case $cross_compiling:$ac_tool_warned in
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5122 DUMPBIN=$ac_ct_DUMPBIN
5126 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5128 DUMPBIN="$DUMPBIN -symbols"
5136 if test "$DUMPBIN" != ":"; then
5140 test -z "$NM" && NM=nm
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5148 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5149 if ${lt_cv_nm_interface+:} false; then :
5150 $as_echo_n "(cached) " >&6
5152 lt_cv_nm_interface="BSD nm"
5153 echo "int some_variable = 0;" > conftest.$ac_ext
5154 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5155 (eval "$ac_compile" 2>conftest.err)
5156 cat conftest.err >&5
5157 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5158 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5159 cat conftest.err >&5
5160 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5161 cat conftest.out >&5
5162 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5163 lt_cv_nm_interface="MS dumpbin"
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5168 $as_echo "$lt_cv_nm_interface" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5171 $as_echo_n "checking whether ln -s works... " >&6; }
5173 if test "$LN_S" = "ln -s"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5175 $as_echo "yes" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5178 $as_echo "no, using $LN_S" >&6; }
5181 # find the maximum length of command line arguments
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5183 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5184 if ${lt_cv_sys_max_cmd_len+:} false; then :
5185 $as_echo_n "(cached) " >&6
5192 # On DJGPP, this test can blow up pretty badly due to problems in libc
5193 # (any single argument exceeding 2000 bytes causes a buffer overrun
5194 # during glob expansion). Even if it were fixed, the result of this
5195 # check would be larger than it should be.
5196 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5200 # Under GNU Hurd, this test is not required because there is
5201 # no limit to the length of command line arguments.
5202 # Libtool will interpret -1 as no limit whatsoever
5203 lt_cv_sys_max_cmd_len=-1;
5206 cygwin* | mingw* | cegcc*)
5207 # On Win9x/ME, this test blows up -- it succeeds, but takes
5208 # about 5 minutes as the teststring grows exponentially.
5209 # Worse, since 9x/ME are not pre-emptively multitasking,
5210 # you end up with a "frozen" computer, even though with patience
5211 # the test eventually succeeds (with a max line length of 256k).
5212 # Instead, let's just punt: use the minimum linelength reported by
5213 # all of the supported platforms: 8192 (on NT/2K/XP).
5214 lt_cv_sys_max_cmd_len=8192;
5218 # On MiNT this can take a long time and run out of memory.
5219 lt_cv_sys_max_cmd_len=8192;
5223 # On AmigaOS with pdksh, this test takes hours, literally.
5224 # So we just punt and use a minimum line length of 8192.
5225 lt_cv_sys_max_cmd_len=8192;
5228 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5229 # This has been around since 386BSD, at least. Likely further.
5230 if test -x /sbin/sysctl; then
5231 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5232 elif test -x /usr/sbin/sysctl; then
5233 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5235 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5237 # And add a safety zone
5238 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5239 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5243 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5244 lt_cv_sys_max_cmd_len=196608
5248 # The test takes a long time on OS/2.
5249 lt_cv_sys_max_cmd_len=8192
5253 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5254 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5255 # nice to cause kernel panics so lets avoid the loop below.
5256 # First set a reasonable default.
5257 lt_cv_sys_max_cmd_len=16384
5259 if test -x /sbin/sysconfig; then
5260 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5261 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5266 lt_cv_sys_max_cmd_len=102400
5268 sysv5* | sco5v6* | sysv4.2uw2*)
5269 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5270 if test -n "$kargmax"; then
5271 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5273 lt_cv_sys_max_cmd_len=32768
5277 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5278 if test -n "$lt_cv_sys_max_cmd_len"; then
5279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5280 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5282 # Make teststring a little bigger before we do anything with it.
5283 # a 1K string should be a reasonable start.
5284 for i in 1 2 3 4 5 6 7 8 ; do
5285 teststring=$teststring$teststring
5287 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5288 # If test is not a shell built-in, we'll probably end up computing a
5289 # maximum length that is only half of the actual maximum length, but
5291 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5292 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5293 test $i != 17 # 1/2 MB should be enough
5296 teststring=$teststring$teststring
5298 # Only check the string length outside the loop.
5299 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5301 # Add a significant safety factor because C++ compilers can tack on
5302 # massive amounts of additional arguments before passing them to the
5303 # linker. It appears as though 1/2 is a usable value.
5304 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5311 if test -n $lt_cv_sys_max_cmd_len ; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5313 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5316 $as_echo "none" >&6; }
5318 max_cmd_len=$lt_cv_sys_max_cmd_len
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5330 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5331 # Try some XSI features
5334 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5336 && eval 'test $(( 1 + 1 )) -eq 2 \
5337 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5340 $as_echo "$xsi_shell" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5344 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5346 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5348 && lt_shell_append=yes
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5350 $as_echo "$lt_shell_append" >&6; }
5353 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5363 # test EBCDIC or ASCII
5364 case `echo X|tr X '\101'` in
5365 A) # ASCII based system
5366 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5367 lt_SP2NL='tr \040 \012'
5368 lt_NL2SP='tr \015\012 \040\040'
5370 *) # EBCDIC based system
5371 lt_SP2NL='tr \100 \n'
5372 lt_NL2SP='tr \r\n \100\100'
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5385 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5386 if ${lt_cv_to_host_file_cmd+:} false; then :
5387 $as_echo_n "(cached) " >&6
5392 *-*-mingw* ) # actually msys
5393 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5396 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5398 * ) # otherwise, assume *nix
5399 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5405 *-*-mingw* ) # actually msys
5406 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5409 lt_cv_to_host_file_cmd=func_convert_file_noop
5411 * ) # otherwise, assume *nix
5412 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5416 * ) # unhandled hosts (and "normal" native builds)
5417 lt_cv_to_host_file_cmd=func_convert_file_noop
5423 to_host_file_cmd=$lt_cv_to_host_file_cmd
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5425 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5432 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5433 if ${lt_cv_to_tool_file_cmd+:} false; then :
5434 $as_echo_n "(cached) " >&6
5436 #assume ordinary cross tools, or native build.
5437 lt_cv_to_tool_file_cmd=func_convert_file_noop
5441 *-*-mingw* ) # actually msys
5442 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5450 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5452 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5459 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5460 if ${lt_cv_ld_reload_flag+:} false; then :
5461 $as_echo_n "(cached) " >&6
5463 lt_cv_ld_reload_flag='-r'
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5466 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5467 reload_flag=$lt_cv_ld_reload_flag
5468 case $reload_flag in
5470 *) reload_flag=" $reload_flag" ;;
5472 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 if test "$GCC" != yes; then
5480 if test "$GCC" = yes; then
5481 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5483 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_OBJDUMP+:} false; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$OBJDUMP"; then
5505 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 OBJDUMP=$ac_cv_prog_OBJDUMP
5525 if test -n "$OBJDUMP"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5527 $as_echo "$OBJDUMP" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5535 if test -z "$ac_cv_prog_OBJDUMP"; then
5536 ac_ct_OBJDUMP=$OBJDUMP
5537 # Extract the first word of "objdump", so it can be a program name with args.
5538 set dummy objdump; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$ac_ct_OBJDUMP"; then
5545 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5565 if test -n "$ac_ct_OBJDUMP"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5567 $as_echo "$ac_ct_OBJDUMP" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5573 if test "x$ac_ct_OBJDUMP" = x; then
5576 case $cross_compiling:$ac_tool_warned in
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5582 OBJDUMP=$ac_ct_OBJDUMP
5585 OBJDUMP="$ac_cv_prog_OBJDUMP"
5588 test -z "$OBJDUMP" && OBJDUMP=objdump
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5599 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5600 if ${lt_cv_deplibs_check_method+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 lt_cv_file_magic_cmd='$MAGIC_CMD'
5604 lt_cv_file_magic_test_file=
5605 lt_cv_deplibs_check_method='unknown'
5606 # Need to set the preceding variable on all platforms that support
5607 # interlibrary dependencies.
5608 # 'none' -- dependencies not supported.
5609 # `unknown' -- same as none, but documents that we really don't know.
5610 # 'pass_all' -- all dependencies passed with no checks.
5611 # 'test_compile' -- check by making test program.
5612 # 'file_magic [[regex]]' -- check by looking for files in library path
5613 # which responds to the $file_magic_cmd with a given extended regex.
5614 # If you have `file' or equivalent on your system and you're not sure
5615 # whether `pass_all' will *always* work, you probably want this one.
5619 lt_cv_deplibs_check_method=pass_all
5623 lt_cv_deplibs_check_method=pass_all
5627 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5628 lt_cv_file_magic_cmd='/usr/bin/file -L'
5629 lt_cv_file_magic_test_file=/shlib/libc.so
5633 # func_win32_libid is a shell function defined in ltmain.sh
5634 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5635 lt_cv_file_magic_cmd='func_win32_libid'
5639 # Base MSYS/MinGW do not provide the 'file' command needed by
5640 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5641 # unless we find 'file', for example because we are cross-compiling.
5642 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5643 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5644 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5645 lt_cv_file_magic_cmd='func_win32_libid'
5647 # Keep this pattern in sync with the one in func_win32_libid.
5648 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5649 lt_cv_file_magic_cmd='$OBJDUMP -f'
5654 # use the weaker test based on 'objdump'. See mingw*.
5655 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5656 lt_cv_file_magic_cmd='$OBJDUMP -f'
5659 darwin* | rhapsody*)
5660 lt_cv_deplibs_check_method=pass_all
5663 freebsd* | dragonfly*)
5664 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5667 # Not sure whether the presence of OpenBSD here was a mistake.
5668 # Let's accept both of them until this is cleared up.
5669 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5670 lt_cv_file_magic_cmd=/usr/bin/file
5671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5675 lt_cv_deplibs_check_method=pass_all
5680 lt_cv_deplibs_check_method=pass_all
5684 lt_cv_deplibs_check_method=pass_all
5687 hpux10.20* | hpux11*)
5688 lt_cv_file_magic_cmd=/usr/bin/file
5691 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5692 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5695 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]'
5696 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5699 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5700 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5706 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5707 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5710 irix5* | irix6* | nonstopux*)
5712 *-32|*"-32 ") libmagic=32-bit;;
5713 *-n32|*"-n32 ") libmagic=N32;;
5714 *-64|*"-64 ") libmagic=64-bit;;
5715 *) libmagic=never-match;;
5717 lt_cv_deplibs_check_method=pass_all
5720 # This must be glibc/ELF.
5721 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5722 lt_cv_deplibs_check_method=pass_all
5726 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5727 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5729 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5734 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5735 lt_cv_file_magic_cmd=/usr/bin/file
5736 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5740 lt_cv_deplibs_check_method=pass_all
5744 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5747 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5751 osf3* | osf4* | osf5*)
5752 lt_cv_deplibs_check_method=pass_all
5756 lt_cv_deplibs_check_method=pass_all
5760 lt_cv_deplibs_check_method=pass_all
5763 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5764 lt_cv_deplibs_check_method=pass_all
5768 case $host_vendor in
5770 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]'
5771 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5774 lt_cv_deplibs_check_method=pass_all
5777 lt_cv_file_magic_cmd='/bin/file'
5778 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5781 lt_cv_file_magic_cmd='/bin/file'
5782 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5783 lt_cv_file_magic_test_file=/lib/libc.so
5786 lt_cv_deplibs_check_method=pass_all
5789 lt_cv_deplibs_check_method=pass_all
5795 lt_cv_deplibs_check_method=pass_all
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5801 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5805 if test "$build" = "$host"; then
5808 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5811 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5817 file_magic_cmd=$lt_cv_file_magic_cmd
5818 deplibs_check_method=$lt_cv_deplibs_check_method
5819 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5842 if test -n "$ac_tool_prefix"; then
5843 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5844 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if ${ac_cv_prog_DLLTOOL+:} false; then :
5848 $as_echo_n "(cached) " >&6
5850 if test -n "$DLLTOOL"; then
5851 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 DLLTOOL=$ac_cv_prog_DLLTOOL
5871 if test -n "$DLLTOOL"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5873 $as_echo "$DLLTOOL" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5881 if test -z "$ac_cv_prog_DLLTOOL"; then
5882 ac_ct_DLLTOOL=$DLLTOOL
5883 # Extract the first word of "dlltool", so it can be a program name with args.
5884 set dummy dlltool; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -n "$ac_ct_DLLTOOL"; then
5891 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5911 if test -n "$ac_ct_DLLTOOL"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5913 $as_echo "$ac_ct_DLLTOOL" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5919 if test "x$ac_ct_DLLTOOL" = x; then
5922 case $cross_compiling:$ac_tool_warned in
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5926 ac_tool_warned=yes ;;
5928 DLLTOOL=$ac_ct_DLLTOOL
5931 DLLTOOL="$ac_cv_prog_DLLTOOL"
5934 test -z "$DLLTOOL" && DLLTOOL=dlltool
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5946 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5947 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5948 $as_echo_n "(cached) " >&6
5950 lt_cv_sharedlib_from_linklib_cmd='unknown'
5953 cygwin* | mingw* | pw32* | cegcc*)
5954 # two different shell functions defined in ltmain.sh
5955 # decide which to use based on capabilities of $DLLTOOL
5956 case `$DLLTOOL --help 2>&1` in
5957 *--identify-strict*)
5958 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5961 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5966 # fallback: assume linklib IS sharedlib
5967 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5973 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5974 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5975 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5984 if test -n "$ac_tool_prefix"; then
5987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_AR+:} false; then :
5992 $as_echo_n "(cached) " >&6
5994 if test -n "$AR"; then
5995 ac_cv_prog_AR="$AR" # Let the user override the test.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 if test -n "$AR"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6017 $as_echo "$AR" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$AR" && break
6027 if test -z "$AR"; then
6031 # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$ac_ct_AR"; then
6039 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_ac_ct_AR="$ac_prog"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6059 if test -n "$ac_ct_AR"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6061 $as_echo "$ac_ct_AR" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6068 test -n "$ac_ct_AR" && break
6071 if test "x$ac_ct_AR" = x; then
6074 case $cross_compiling:$ac_tool_warned in
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6078 ac_tool_warned=yes ;;
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6098 $as_echo_n "checking for archiver @FILE support... " >&6; }
6099 if ${lt_cv_ar_at_file+:} false; then :
6100 $as_echo_n "(cached) " >&6
6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6114 if ac_fn_c_try_compile "$LINENO"; then :
6115 echo conftest.$ac_objext > conftest.lst
6116 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6117 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6118 (eval $lt_ar_try) 2>&5
6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121 test $ac_status = 0; }
6122 if test "$ac_status" -eq 0; then
6123 # Ensure the archiver fails upon bogus file names.
6124 rm -f conftest.$ac_objext libconftest.a
6125 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6126 (eval $lt_ar_try) 2>&5
6128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6129 test $ac_status = 0; }
6130 if test "$ac_status" -ne 0; then
6134 rm -f conftest.* libconftest.a
6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6141 $as_echo "$lt_cv_ar_at_file" >&6; }
6143 if test "x$lt_cv_ar_at_file" = xno; then
6146 archiver_list_spec=$lt_cv_ar_at_file
6155 if test -n "$ac_tool_prefix"; then
6156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6157 set dummy ${ac_tool_prefix}strip; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_STRIP+:} false; then :
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$STRIP"; then
6164 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 STRIP=$ac_cv_prog_STRIP
6184 if test -n "$STRIP"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6186 $as_echo "$STRIP" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6194 if test -z "$ac_cv_prog_STRIP"; then
6196 # Extract the first word of "strip", so it can be a program name with args.
6197 set dummy strip; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6201 $as_echo_n "(cached) " >&6
6203 if test -n "$ac_ct_STRIP"; then
6204 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_STRIP="strip"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6224 if test -n "$ac_ct_STRIP"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6226 $as_echo "$ac_ct_STRIP" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6232 if test "x$ac_ct_STRIP" = x; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6244 STRIP="$ac_cv_prog_STRIP"
6247 test -z "$STRIP" && STRIP=:
6254 if test -n "$ac_tool_prefix"; then
6255 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6256 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_RANLIB+:} false; then :
6260 $as_echo_n "(cached) " >&6
6262 if test -n "$RANLIB"; then
6263 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6272 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 RANLIB=$ac_cv_prog_RANLIB
6283 if test -n "$RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6285 $as_echo "$RANLIB" >&6; }
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6293 if test -z "$ac_cv_prog_RANLIB"; then
6294 ac_ct_RANLIB=$RANLIB
6295 # Extract the first word of "ranlib", so it can be a program name with args.
6296 set dummy ranlib; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$ac_ct_RANLIB"; then
6303 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_prog_ac_ct_RANLIB="ranlib"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6323 if test -n "$ac_ct_RANLIB"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6325 $as_echo "$ac_ct_RANLIB" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6331 if test "x$ac_ct_RANLIB" = x; then
6334 case $cross_compiling:$ac_tool_warned in
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6338 ac_tool_warned=yes ;;
6340 RANLIB=$ac_ct_RANLIB
6343 RANLIB="$ac_cv_prog_RANLIB"
6346 test -z "$RANLIB" && RANLIB=:
6353 # Determine commands to create old-style static archives.
6354 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6355 old_postinstall_cmds='chmod 644 $oldlib'
6356 old_postuninstall_cmds=
6358 if test -n "$RANLIB"; then
6361 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6364 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6367 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6372 lock_old_archive_extraction=yes ;;
6374 lock_old_archive_extraction=no ;;
6415 # If no C compiler was specified, use CC.
6418 # If no C compiler flags were specified, use CFLAGS.
6419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6421 # Allow CC to be a program name with arguments.
6425 # Check for command to grab the raw symbol name followed by C symbol from nm.
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6427 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6428 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6429 $as_echo_n "(cached) " >&6
6432 # These are sane defaults that work on at least a few old systems.
6433 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6435 # Character class describing NM global symbol codes.
6436 symcode='[BCDEGRST]'
6438 # Regexp to match symbols that can be accessed directly from C.
6439 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6441 # Define system-specific variables.
6446 cygwin* | mingw* | pw32* | cegcc*)
6447 symcode='[ABCDGISTW]'
6450 if test "$host_cpu" = ia64; then
6451 symcode='[ABCDEGRST]'
6455 symcode='[BCDEGRST]'
6458 symcode='[BCDEGQRST]'
6469 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6477 # If we're using GNU nm, then use its standard symbol codes.
6478 case `$NM -V 2>&1` in
6479 *GNU* | *'with BFD'*)
6480 symcode='[ABCDGIRSTW]' ;;
6483 # Transform an extracted symbol line into a proper C declaration.
6484 # Some systems (esp. on ia64) link data and code symbols differently,
6485 # so use this general approach.
6486 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6488 # Transform an extracted symbol line into symbol name and symbol address
6489 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6490 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'"
6492 # Handle CRLF in mingw tool chain
6496 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6500 # Try without a prefix underscore, then with it.
6501 for ac_symprfx in "" "_"; do
6503 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6504 symxfrm="\\1 $ac_symprfx\\2 \\2"
6506 # Write the raw and C identifiers.
6507 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6508 # Fake it for dumpbin and say T for any non-static function
6509 # and D for any global variable.
6510 # Also find C++ and __fastcall symbols from MSVC++,
6511 # which start with @ or ?.
6512 lt_cv_sys_global_symbol_pipe="$AWK '"\
6513 " {last_section=section; section=\$ 3};"\
6514 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6515 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6516 " \$ 0!~/External *\|/{next};"\
6517 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6518 " {if(hide[section]) next};"\
6519 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6520 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6521 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6522 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6523 " ' prfx=^$ac_symprfx"
6525 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6527 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6529 # Check to see that the pipe works correctly.
6533 cat > conftest.$ac_ext <<_LT_EOF
6538 void nm_test_func(void);
6539 void nm_test_func(void){}
6543 int main(){nm_test_var='a';nm_test_func();return(0);}
6546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547 (eval $ac_compile) 2>&5
6549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550 test $ac_status = 0; }; then
6551 # Now try to grab the symbols.
6553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6554 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6557 test $ac_status = 0; } && test -s "$nlist"; then
6558 # Try sorting and uniquifying the output.
6559 if sort "$nlist" | uniq > "$nlist"T; then
6560 mv -f "$nlist"T "$nlist"
6565 # Make sure that we snagged all the symbols we need.
6566 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6567 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6568 cat <<_LT_EOF > conftest.$ac_ext
6569 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6570 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6571 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6572 relocations are performed -- see ld's documentation on pseudo-relocs. */
6573 # define LT_DLSYM_CONST
6574 #elif defined(__osf__)
6575 /* This system does not cope well with relocations in const data. */
6576 # define LT_DLSYM_CONST
6578 # define LT_DLSYM_CONST const
6586 # Now generate the symbol file.
6587 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6589 cat <<_LT_EOF >> conftest.$ac_ext
6591 /* The mapping between symbol names and symbols. */
6592 LT_DLSYM_CONST struct {
6596 lt__PROGRAM__LTX_preloaded_symbols[] =
6598 { "@PROGRAM@", (void *) 0 },
6600 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6601 cat <<\_LT_EOF >> conftest.$ac_ext
6605 /* This works around a problem in FreeBSD linker */
6606 #ifdef FREEBSD_WORKAROUND
6607 static const void *lt_preloaded_setup() {
6608 return lt__PROGRAM__LTX_preloaded_symbols;
6616 # Now try linking the two files.
6617 mv conftest.$ac_objext conftstm.$ac_objext
6618 lt_globsym_save_LIBS=$LIBS
6619 lt_globsym_save_CFLAGS=$CFLAGS
6620 LIBS="conftstm.$ac_objext"
6621 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6623 (eval $ac_link) 2>&5
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6629 LIBS=$lt_globsym_save_LIBS
6630 CFLAGS=$lt_globsym_save_CFLAGS
6632 echo "cannot find nm_test_func in $nlist" >&5
6635 echo "cannot find nm_test_var in $nlist" >&5
6638 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6641 echo "$progname: failed program was:" >&5
6642 cat conftest.$ac_ext >&5
6644 rm -rf conftest* conftst*
6646 # Do not use the global_symbol_pipe unless it works.
6647 if test "$pipe_works" = yes; then
6650 lt_cv_sys_global_symbol_pipe=
6656 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6657 lt_cv_sys_global_symbol_to_cdecl=
6659 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6661 $as_echo "failed" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6664 $as_echo "ok" >&6; }
6667 # Response file support.
6668 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6669 nm_file_list_spec='@'
6670 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6671 nm_file_list_spec='@'
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6701 $as_echo_n "checking for sysroot... " >&6; }
6703 # Check whether --with-sysroot was given.
6704 if test "${with_sysroot+set}" = set; then :
6705 withval=$with_sysroot;
6712 case ${with_sysroot} in #(
6714 if test "$GCC" = yes; then
6715 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6719 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6725 $as_echo "${with_sysroot}" >&6; }
6726 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6731 $as_echo "${lt_sysroot:-no}" >&6; }
6737 # Check whether --enable-libtool-lock was given.
6738 if test "${enable_libtool_lock+set}" = set; then :
6739 enableval=$enable_libtool_lock;
6742 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6744 # Some flags need to be propagated to the compiler or linker for good
6748 # Find out which ABI we are using.
6749 echo 'int i;' > conftest.$ac_ext
6750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6751 (eval $ac_compile) 2>&5
6753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754 test $ac_status = 0; }; then
6755 case `/usr/bin/file conftest.$ac_objext` in
6767 # Find out which ABI we are using.
6768 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770 (eval $ac_compile) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773 test $ac_status = 0; }; then
6774 if test "$lt_cv_prog_gnu_ld" = yes; then
6775 case `/usr/bin/file conftest.$ac_objext` in
6777 LD="${LD-ld} -melf32bsmip"
6780 LD="${LD-ld} -melf32bmipn32"
6783 LD="${LD-ld} -melf64bmip"
6787 case `/usr/bin/file conftest.$ac_objext` in
6803 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6804 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6805 # Find out which ABI we are using.
6806 echo 'int i;' > conftest.$ac_ext
6807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6808 (eval $ac_compile) 2>&5
6810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6811 test $ac_status = 0; }; then
6812 case `/usr/bin/file conftest.o` in
6815 x86_64-*kfreebsd*-gnu)
6816 LD="${LD-ld} -m elf_i386_fbsd"
6819 LD="${LD-ld} -m elf_i386"
6821 ppc64-*linux*|powerpc64-*linux*)
6822 LD="${LD-ld} -m elf32ppclinux"
6825 LD="${LD-ld} -m elf_s390"
6828 LD="${LD-ld} -m elf32_sparc"
6834 x86_64-*kfreebsd*-gnu)
6835 LD="${LD-ld} -m elf_x86_64_fbsd"
6838 LD="${LD-ld} -m elf_x86_64"
6840 ppc*-*linux*|powerpc*-*linux*)
6841 LD="${LD-ld} -m elf64ppc"
6843 s390*-*linux*|s390*-*tpf*)
6844 LD="${LD-ld} -m elf64_s390"
6847 LD="${LD-ld} -m elf64_sparc"
6857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6858 SAVE_CFLAGS="$CFLAGS"
6859 CFLAGS="$CFLAGS -belf"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6862 if ${lt_cv_cc_needs_belf+:} false; then :
6863 $as_echo_n "(cached) " >&6
6866 ac_cpp='$CPP $CPPFLAGS'
6867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6882 if ac_fn_c_try_link "$LINENO"; then :
6883 lt_cv_cc_needs_belf=yes
6885 lt_cv_cc_needs_belf=no
6887 rm -f core conftest.err conftest.$ac_objext \
6888 conftest$ac_exeext conftest.$ac_ext
6890 ac_cpp='$CPP $CPPFLAGS'
6891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6897 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6898 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6899 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6900 CFLAGS="$SAVE_CFLAGS"
6904 # Find out which ABI we are using.
6905 echo 'int i;' > conftest.$ac_ext
6906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6907 (eval $ac_compile) 2>&5
6909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6910 test $ac_status = 0; }; then
6911 case `/usr/bin/file conftest.o` in
6913 case $lt_cv_prog_gnu_ld in
6917 LD="${LD-ld} -m elf_x86_64"
6920 LD="${LD-ld} -m elf64_sparc"
6923 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6924 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6929 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6941 need_locks="$enable_libtool_lock"
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}mt; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$MANIFEST_TOOL"; then
6952 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6972 if test -n "$MANIFEST_TOOL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6974 $as_echo "$MANIFEST_TOOL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6982 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6983 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6984 # Extract the first word of "mt", so it can be a program name with args.
6985 set dummy mt; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$ac_ct_MANIFEST_TOOL"; then
6992 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7012 if test -n "$ac_ct_MANIFEST_TOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7014 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7020 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7029 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7032 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7035 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7037 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7038 if ${lt_cv_path_mainfest_tool+:} false; then :
7039 $as_echo_n "(cached) " >&6
7041 lt_cv_path_mainfest_tool=no
7042 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7043 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7044 cat conftest.err >&5
7045 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7046 lt_cv_path_mainfest_tool=yes
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7051 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7052 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7062 rhapsody* | darwin*)
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$DSYMUTIL"; then
7072 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7092 if test -n "$DSYMUTIL"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7094 $as_echo "$DSYMUTIL" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7102 if test -z "$ac_cv_prog_DSYMUTIL"; then
7103 ac_ct_DSYMUTIL=$DSYMUTIL
7104 # Extract the first word of "dsymutil", so it can be a program name with args.
7105 set dummy dsymutil; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$ac_ct_DSYMUTIL"; then
7112 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7132 if test -n "$ac_ct_DSYMUTIL"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7134 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7140 if test "x$ac_ct_DSYMUTIL" = x; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7149 DSYMUTIL=$ac_ct_DSYMUTIL
7152 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7155 if test -n "$ac_tool_prefix"; then
7156 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_NMEDIT+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$NMEDIT"; then
7164 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 NMEDIT=$ac_cv_prog_NMEDIT
7184 if test -n "$NMEDIT"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7186 $as_echo "$NMEDIT" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7194 if test -z "$ac_cv_prog_NMEDIT"; then
7195 ac_ct_NMEDIT=$NMEDIT
7196 # Extract the first word of "nmedit", so it can be a program name with args.
7197 set dummy nmedit; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$ac_ct_NMEDIT"; then
7204 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7224 if test -n "$ac_ct_NMEDIT"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7226 $as_echo "$ac_ct_NMEDIT" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7232 if test "x$ac_ct_NMEDIT" = x; then
7235 case $cross_compiling:$ac_tool_warned in
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7241 NMEDIT=$ac_ct_NMEDIT
7244 NMEDIT="$ac_cv_prog_NMEDIT"
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_LIPO+:} false; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$LIPO"; then
7256 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 LIPO=$ac_cv_prog_LIPO
7276 if test -n "$LIPO"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7278 $as_echo "$LIPO" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7286 if test -z "$ac_cv_prog_LIPO"; then
7288 # Extract the first word of "lipo", so it can be a program name with args.
7289 set dummy lipo; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$ac_ct_LIPO"; then
7296 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_ac_ct_LIPO="lipo"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7316 if test -n "$ac_ct_LIPO"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7318 $as_echo "$ac_ct_LIPO" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7324 if test "x$ac_ct_LIPO" = x; then
7327 case $cross_compiling:$ac_tool_warned in
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7336 LIPO="$ac_cv_prog_LIPO"
7339 if test -n "$ac_tool_prefix"; then
7340 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$OTOOL"; then
7348 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 OTOOL=$ac_cv_prog_OTOOL
7368 if test -n "$OTOOL"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7370 $as_echo "$OTOOL" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 if test -z "$ac_cv_prog_OTOOL"; then
7380 # Extract the first word of "otool", so it can be a program name with args.
7381 set dummy otool; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$ac_ct_OTOOL"; then
7388 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_ac_ct_OTOOL="otool"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7408 if test -n "$ac_ct_OTOOL"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7410 $as_echo "$ac_ct_OTOOL" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7416 if test "x$ac_ct_OTOOL" = x; then
7419 case $cross_compiling:$ac_tool_warned in
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7428 OTOOL="$ac_cv_prog_OTOOL"
7431 if test -n "$ac_tool_prefix"; then
7432 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7433 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_OTOOL64+:} false; then :
7437 $as_echo_n "(cached) " >&6
7439 if test -n "$OTOOL64"; then
7440 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 OTOOL64=$ac_cv_prog_OTOOL64
7460 if test -n "$OTOOL64"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7462 $as_echo "$OTOOL64" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7470 if test -z "$ac_cv_prog_OTOOL64"; then
7471 ac_ct_OTOOL64=$OTOOL64
7472 # Extract the first word of "otool64", so it can be a program name with args.
7473 set dummy otool64; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7477 $as_echo_n "(cached) " >&6
7479 if test -n "$ac_ct_OTOOL64"; then
7480 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7489 ac_cv_prog_ac_ct_OTOOL64="otool64"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7500 if test -n "$ac_ct_OTOOL64"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7502 $as_echo "$ac_ct_OTOOL64" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7508 if test "x$ac_ct_OTOOL64" = x; then
7511 case $cross_compiling:$ac_tool_warned in
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7515 ac_tool_warned=yes ;;
7517 OTOOL64=$ac_ct_OTOOL64
7520 OTOOL64="$ac_cv_prog_OTOOL64"
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7550 $as_echo_n "checking for -single_module linker flag... " >&6; }
7551 if ${lt_cv_apple_cc_single_mod+:} false; then :
7552 $as_echo_n "(cached) " >&6
7554 lt_cv_apple_cc_single_mod=no
7555 if test -z "${LT_MULTI_MODULE}"; then
7556 # By default we will add the -single_module flag. You can override
7557 # by either setting the environment variable LT_MULTI_MODULE
7558 # non-empty at configure time, or by adding -multi_module to the
7560 rm -rf libconftest.dylib*
7561 echo "int foo(void){return 1;}" > conftest.c
7562 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7563 -dynamiclib -Wl,-single_module conftest.c" >&5
7564 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7565 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7567 # If there is a non-empty error log, and "single_module"
7568 # appears in it, assume the flag caused a linker warning
7569 if test -s conftest.err && $GREP single_module conftest.err; then
7570 cat conftest.err >&5
7571 # Otherwise, if the output was created with a 0 exit code from
7572 # the compiler, it worked.
7573 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7574 lt_cv_apple_cc_single_mod=yes
7576 cat conftest.err >&5
7578 rm -rf libconftest.dylib*
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7583 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7586 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7587 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7588 $as_echo_n "(cached) " >&6
7590 lt_cv_ld_exported_symbols_list=no
7591 save_LDFLAGS=$LDFLAGS
7592 echo "_main" > conftest.sym
7593 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7605 if ac_fn_c_try_link "$LINENO"; then :
7606 lt_cv_ld_exported_symbols_list=yes
7608 lt_cv_ld_exported_symbols_list=no
7610 rm -f core conftest.err conftest.$ac_objext \
7611 conftest$ac_exeext conftest.$ac_ext
7612 LDFLAGS="$save_LDFLAGS"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7616 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7619 $as_echo_n "checking for -force_load linker flag... " >&6; }
7620 if ${lt_cv_ld_force_load+:} false; then :
7621 $as_echo_n "(cached) " >&6
7623 lt_cv_ld_force_load=no
7624 cat > conftest.c << _LT_EOF
7625 int forced_loaded() { return 2;}
7627 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7628 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7629 echo "$AR cru libconftest.a conftest.o" >&5
7630 $AR cru libconftest.a conftest.o 2>&5
7631 echo "$RANLIB libconftest.a" >&5
7632 $RANLIB libconftest.a 2>&5
7633 cat > conftest.c << _LT_EOF
7634 int main() { return 0;}
7636 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7637 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7639 if test -s conftest.err && $GREP force_load conftest.err; then
7640 cat conftest.err >&5
7641 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7642 lt_cv_ld_force_load=yes
7644 cat conftest.err >&5
7646 rm -f conftest.err libconftest.a conftest conftest.c
7647 rm -rf conftest.dSYM
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7651 $as_echo "$lt_cv_ld_force_load" >&6; }
7653 rhapsody* | darwin1.[012])
7654 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7656 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7657 darwin*) # darwin 5.x on
7658 # if running on 10.5 or later, the deployment target defaults
7659 # to the OS version, if on x86, and 10.4, the deployment
7660 # target defaults to 10.4. Don't you love it?
7661 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7662 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7663 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7665 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7667 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7671 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7672 _lt_dar_single_mod='$single_module'
7674 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7675 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7677 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7679 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7680 _lt_dsymutil='~$DSYMUTIL $lib || :'
7688 ac_cpp='$CPP $CPPFLAGS'
7689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7693 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7694 # On Suns, sometimes $CPP names a directory.
7695 if test -n "$CPP" && test -d "$CPP"; then
7698 if test -z "$CPP"; then
7699 if ${ac_cv_prog_CPP+:} false; then :
7700 $as_echo_n "(cached) " >&6
7702 # Double quotes because CPP needs to be expanded
7703 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7706 for ac_c_preproc_warn_flag in '' yes
7708 # Use a header file that comes with gcc, so configuring glibc
7709 # with a fresh cross-compiler works.
7710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7711 # <limits.h> exists even on freestanding compilers.
7712 # On the NeXT, cc -E runs the code through the compiler's parser,
7713 # not just through cpp. "Syntax error" is here to catch this case.
7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7717 # include <limits.h>
7719 # include <assert.h>
7723 if ac_fn_c_try_cpp "$LINENO"; then :
7726 # Broken: fails on valid input.
7729 rm -f conftest.err conftest.i conftest.$ac_ext
7731 # OK, works on sane cases. Now check whether nonexistent headers
7732 # can be detected and how.
7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7735 #include <ac_nonexistent.h>
7737 if ac_fn_c_try_cpp "$LINENO"; then :
7738 # Broken: success on invalid input.
7741 # Passes both tests.
7745 rm -f conftest.err conftest.i conftest.$ac_ext
7748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7749 rm -f conftest.i conftest.err conftest.$ac_ext
7750 if $ac_preproc_ok; then :
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7763 $as_echo "$CPP" >&6; }
7765 for ac_c_preproc_warn_flag in '' yes
7767 # Use a header file that comes with gcc, so configuring glibc
7768 # with a fresh cross-compiler works.
7769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7770 # <limits.h> exists even on freestanding compilers.
7771 # On the NeXT, cc -E runs the code through the compiler's parser,
7772 # not just through cpp. "Syntax error" is here to catch this case.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7776 # include <limits.h>
7778 # include <assert.h>
7782 if ac_fn_c_try_cpp "$LINENO"; then :
7785 # Broken: fails on valid input.
7788 rm -f conftest.err conftest.i conftest.$ac_ext
7790 # OK, works on sane cases. Now check whether nonexistent headers
7791 # can be detected and how.
7792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #include <ac_nonexistent.h>
7796 if ac_fn_c_try_cpp "$LINENO"; then :
7797 # Broken: success on invalid input.
7800 # Passes both tests.
7804 rm -f conftest.err conftest.i conftest.$ac_ext
7807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7808 rm -f conftest.i conftest.err conftest.$ac_ext
7809 if $ac_preproc_ok; then :
7812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7814 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7815 See \`config.log' for more details" "$LINENO" 5; }
7819 ac_cpp='$CPP $CPPFLAGS'
7820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7826 $as_echo_n "checking for ANSI C header files... " >&6; }
7827 if ${ac_cv_header_stdc+:} false; then :
7828 $as_echo_n "(cached) " >&6
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7845 if ac_fn_c_try_compile "$LINENO"; then :
7846 ac_cv_header_stdc=yes
7848 ac_cv_header_stdc=no
7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7852 if test $ac_cv_header_stdc = yes; then
7853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h. */
7859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7860 $EGREP "memchr" >/dev/null 2>&1; then :
7863 ac_cv_header_stdc=no
7869 if test $ac_cv_header_stdc = yes; then
7870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7877 $EGREP "free" >/dev/null 2>&1; then :
7880 ac_cv_header_stdc=no
7886 if test $ac_cv_header_stdc = yes; then
7887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7888 if test "$cross_compiling" = yes; then :
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7895 #if ((' ' & 0x0FF) == 0x020)
7896 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7897 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7899 # define ISLOWER(c) \
7900 (('a' <= (c) && (c) <= 'i') \
7901 || ('j' <= (c) && (c) <= 'r') \
7902 || ('s' <= (c) && (c) <= 'z'))
7903 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7911 for (i = 0; i < 256; i++)
7912 if (XOR (islower (i), ISLOWER (i))
7913 || toupper (i) != TOUPPER (i))
7918 if ac_fn_c_try_run "$LINENO"; then :
7921 ac_cv_header_stdc=no
7923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7924 conftest.$ac_objext conftest.beam conftest.$ac_ext
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7930 $as_echo "$ac_cv_header_stdc" >&6; }
7931 if test $ac_cv_header_stdc = yes; then
7933 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7938 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7939 inttypes.h stdint.h unistd.h
7941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7942 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7945 cat >>confdefs.h <<_ACEOF
7946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7954 for ac_header in dlfcn.h
7956 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7958 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7959 cat >>confdefs.h <<_ACEOF
7960 #define HAVE_DLFCN_H 1
7981 # Check whether --enable-shared was given.
7982 if test "${enable_shared+set}" = set; then :
7983 enableval=$enable_shared; p=${PACKAGE-default}
7985 yes) enable_shared=yes ;;
7986 no) enable_shared=no ;;
7989 # Look at the argument we got. We use all the common list separators.
7990 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7991 for pkg in $enableval; do
7993 if test "X$pkg" = "X$p"; then
8012 # Check whether --enable-static was given.
8013 if test "${enable_static+set}" = set; then :
8014 enableval=$enable_static; p=${PACKAGE-default}
8016 yes) enable_static=yes ;;
8017 no) enable_static=no ;;
8020 # Look at the argument we got. We use all the common list separators.
8021 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8022 for pkg in $enableval; do
8024 if test "X$pkg" = "X$p"; then
8044 # Check whether --with-pic was given.
8045 if test "${with_pic+set}" = set; then :
8046 withval=$with_pic; lt_p=${PACKAGE-default}
8048 yes|no) pic_mode=$withval ;;
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for lt_pkg in $withval; do
8055 if test "X$lt_pkg" = "X$lt_p"; then
8067 test -z "$pic_mode" && pic_mode=default
8075 # Check whether --enable-fast-install was given.
8076 if test "${enable_fast_install+set}" = set; then :
8077 enableval=$enable_fast_install; p=${PACKAGE-default}
8079 yes) enable_fast_install=yes ;;
8080 no) enable_fast_install=no ;;
8082 enable_fast_install=no
8083 # Look at the argument we got. We use all the common list separators.
8084 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8085 for pkg in $enableval; do
8087 if test "X$pkg" = "X$p"; then
8088 enable_fast_install=yes
8095 enable_fast_install=yes
8108 # This can be used to rebuild libtool when needed
8109 LIBTOOL_DEPS="$ltmain"
8111 # Always use our own libtool.
8112 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8143 test -z "$LN_S" && LN_S="ln -s"
8158 if test -n "${ZSH_VERSION+set}" ; then
8159 setopt NO_GLOB_SUBST
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8163 $as_echo_n "checking for objdir... " >&6; }
8164 if ${lt_cv_objdir+:} false; then :
8165 $as_echo_n "(cached) " >&6
8167 rm -f .libs 2>/dev/null
8168 mkdir .libs 2>/dev/null
8169 if test -d .libs; then
8172 # MS-DOS does not allow filenames that begin with a dot.
8175 rmdir .libs 2>/dev/null
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8178 $as_echo "$lt_cv_objdir" >&6; }
8179 objdir=$lt_cv_objdir
8185 cat >>confdefs.h <<_ACEOF
8186 #define LT_OBJDIR "$lt_cv_objdir/"
8194 # AIX sometimes has problems with the GCC collect2 program. For some
8195 # reason, if we set the COLLECT_NAMES environment variable, the problems
8196 # vanish in a puff of smoke.
8197 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 export COLLECT_NAMES
8206 can_build_shared=yes
8208 # All known linkers require a `.a' archive for static linking (except MSVC,
8209 # which needs '.lib').
8212 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215 old_CFLAGS="$CFLAGS"
8217 # Set sane defaults for various variables
8218 test -z "$CC" && CC=cc
8219 test -z "$LTCC" && LTCC=$CC
8220 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8221 test -z "$LD" && LD=ld
8222 test -z "$ac_objext" && ac_objext=o
8224 for cc_temp in $compiler""; do
8226 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8227 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8232 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8235 # Only perform the check for file, if the check method requires it
8236 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8237 case $deplibs_check_method in
8239 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8241 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8242 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8243 $as_echo_n "(cached) " >&6
8247 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8250 lt_save_MAGIC_CMD="$MAGIC_CMD"
8251 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8252 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8253 for ac_dir in $ac_dummy; do
8255 test -z "$ac_dir" && ac_dir=.
8256 if test -f $ac_dir/${ac_tool_prefix}file; then
8257 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8258 if test -n "$file_magic_test_file"; then
8259 case $deplibs_check_method in
8261 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8264 $EGREP "$file_magic_regex" > /dev/null; then
8269 *** Warning: the command libtool uses to detect shared libraries,
8270 *** $file_magic_cmd, produces output that libtool cannot recognize.
8271 *** The result is that libtool may fail to recognize shared libraries
8272 *** as such. This will affect the creation of libtool libraries that
8273 *** depend on shared libraries, but programs linked with such libtool
8274 *** libraries will work regardless of this problem. Nevertheless, you
8275 *** may want to report the problem to your system manager and/or to
8276 *** bug-libtool@gnu.org
8286 MAGIC_CMD="$lt_save_MAGIC_CMD"
8291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8292 if test -n "$MAGIC_CMD"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8294 $as_echo "$MAGIC_CMD" >&6; }
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8304 if test -z "$lt_cv_path_MAGIC_CMD"; then
8305 if test -n "$ac_tool_prefix"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8307 $as_echo_n "checking for file... " >&6; }
8308 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8309 $as_echo_n "(cached) " >&6
8313 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8316 lt_save_MAGIC_CMD="$MAGIC_CMD"
8317 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8318 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8319 for ac_dir in $ac_dummy; do
8321 test -z "$ac_dir" && ac_dir=.
8322 if test -f $ac_dir/file; then
8323 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8324 if test -n "$file_magic_test_file"; then
8325 case $deplibs_check_method in
8327 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8329 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8330 $EGREP "$file_magic_regex" > /dev/null; then
8335 *** Warning: the command libtool uses to detect shared libraries,
8336 *** $file_magic_cmd, produces output that libtool cannot recognize.
8337 *** The result is that libtool may fail to recognize shared libraries
8338 *** as such. This will affect the creation of libtool libraries that
8339 *** depend on shared libraries, but programs linked with such libtool
8340 *** libraries will work regardless of this problem. Nevertheless, you
8341 *** may want to report the problem to your system manager and/or to
8342 *** bug-libtool@gnu.org
8352 MAGIC_CMD="$lt_save_MAGIC_CMD"
8357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8358 if test -n "$MAGIC_CMD"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8360 $as_echo "$MAGIC_CMD" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8376 # Use C for the default configuration in the libtool script
8380 ac_cpp='$CPP $CPPFLAGS'
8381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8386 # Source file extension for C test sources.
8389 # Object file extension for compiled C test sources.
8393 # Code to be used in simple compile tests
8394 lt_simple_compile_test_code="int some_variable = 0;"
8396 # Code to be used in simple link tests
8397 lt_simple_link_test_code='int main(){return(0);}'
8405 # If no C compiler was specified, use CC.
8408 # If no C compiler flags were specified, use CFLAGS.
8409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8411 # Allow CC to be a program name with arguments.
8414 # Save the default compiler, since it gets overwritten when the other
8415 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8416 compiler_DEFAULT=$CC
8418 # save warnings/boilerplate of simple test code
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422 _lt_compiler_boilerplate=`cat conftest.err`
8425 ac_outfile=conftest.$ac_objext
8426 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428 _lt_linker_boilerplate=`cat conftest.err`
8433 ## There is no encapsulation within the following macros, do not change
8434 ## the running order or otherwise move them around unless you know exactly
8435 ## what you are doing...
8436 if test -n "$compiler"; then
8438 lt_prog_compiler_no_builtin_flag=
8440 if test "$GCC" = yes; then
8441 case $cc_basename in
8443 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8445 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8450 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8451 $as_echo_n "(cached) " >&6
8453 lt_cv_prog_compiler_rtti_exceptions=no
8454 ac_outfile=conftest.$ac_objext
8455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8456 lt_compiler_flag="-fno-rtti -fno-exceptions"
8457 # Insert the option either (1) after the last *FLAGS variable, or
8458 # (2) before a word containing "conftest.", or (3) at the end.
8459 # Note that $ac_compile itself does not contain backslashes and begins
8460 # with a dollar sign (not a hyphen), so the echo should work correctly.
8461 # The option is referenced via a variable to avoid confusing sed.
8462 lt_compile=`echo "$ac_compile" | $SED \
8463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465 -e 's:$: $lt_compiler_flag:'`
8466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8467 (eval "$lt_compile" 2>conftest.err)
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 if (exit $ac_status) && test -s "$ac_outfile"; then
8472 # The compiler can only warn and ignore the option if not recognized
8473 # So say no if there are warnings other than the usual output.
8474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8477 lt_cv_prog_compiler_rtti_exceptions=yes
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8486 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8487 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8499 lt_prog_compiler_wl=
8500 lt_prog_compiler_pic=
8501 lt_prog_compiler_static=
8504 if test "$GCC" = yes; then
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_static='-static'
8510 # All AIX code is PIC.
8511 if test "$host_cpu" = ia64; then
8512 # AIX 5 now supports IA64 processor
8513 lt_prog_compiler_static='-Bstatic'
8520 # see comment about AmigaOS4 .so support
8521 lt_prog_compiler_pic='-fPIC'
8524 # FIXME: we need at least 68020 code to build shared libraries, but
8525 # adding the `-m68020' flag to GCC prevents building anything better,
8527 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533 # PIC is the default for these OSes.
8536 mingw* | cygwin* | pw32* | os2* | cegcc*)
8537 # This hack is so that the source file can tell whether it is being
8538 # built for inclusion in a dll (and should export symbols for example).
8539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540 # (--disable-auto-import) libraries
8541 lt_prog_compiler_pic='-DDLL_EXPORT'
8544 darwin* | rhapsody*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic='-fno-common'
8551 # PIC is the default for Haiku.
8552 # The "-static" flag exists, but is broken.
8553 lt_prog_compiler_static=
8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8559 # sets the default TLS model and affects inlining.
8565 lt_prog_compiler_pic='-fPIC'
8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572 # Instead, we relocate shared libraries at runtime.
8576 # Just because we use GCC doesn't mean we suddenly get shared libraries
8577 # on systems that don't support them.
8578 lt_prog_compiler_can_build_shared=no
8583 # QNX uses GNU C++, but need to define -shared option too, otherwise
8585 lt_prog_compiler_pic='-fPIC -shared'
8589 if test -d /usr/nec; then
8590 lt_prog_compiler_pic=-Kconform_pic
8595 lt_prog_compiler_pic='-fPIC'
8599 case $cc_basename in
8600 nvcc*) # Cuda Compiler Driver 2.2
8601 lt_prog_compiler_wl='-Xlinker '
8602 if test -n "$lt_prog_compiler_pic"; then
8603 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8608 # PORTME Check for flag to pass linker flags through the system compiler.
8611 lt_prog_compiler_wl='-Wl,'
8612 if test "$host_cpu" = ia64; then
8613 # AIX 5 now supports IA64 processor
8614 lt_prog_compiler_static='-Bstatic'
8616 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8620 mingw* | cygwin* | pw32* | os2* | cegcc*)
8621 # This hack is so that the source file can tell whether it is being
8622 # built for inclusion in a dll (and should export symbols for example).
8623 lt_prog_compiler_pic='-DDLL_EXPORT'
8626 hpux9* | hpux10* | hpux11*)
8627 lt_prog_compiler_wl='-Wl,'
8628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8635 lt_prog_compiler_pic='+Z'
8638 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8639 lt_prog_compiler_static='${wl}-a ${wl}archive'
8642 irix5* | irix6* | nonstopux*)
8643 lt_prog_compiler_wl='-Wl,'
8644 # PIC (with -KPIC) is the default.
8645 lt_prog_compiler_static='-non_shared'
8648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8649 case $cc_basename in
8650 # old Intel for x86_64 which still supported -KPIC.
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_pic='-KPIC'
8654 lt_prog_compiler_static='-static'
8656 # icc used to be incompatible with GCC.
8657 # ICC 10 doesn't accept -KPIC any more.
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-fPIC'
8661 lt_prog_compiler_static='-static'
8663 # Lahey Fortran 8.1.
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='--shared'
8667 lt_prog_compiler_static='--static'
8670 # NAG Fortran compiler
8671 lt_prog_compiler_wl='-Wl,-Wl,,'
8672 lt_prog_compiler_pic='-PIC'
8673 lt_prog_compiler_static='-Bstatic'
8675 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8676 # Portland Group compilers (*not* the Pentium gcc compiler,
8677 # which looks to be a dead project)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-fpic'
8680 lt_prog_compiler_static='-Bstatic'
8683 lt_prog_compiler_wl='-Wl,'
8684 # All Alpha code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8687 xl* | bgxl* | bgf* | mpixl*)
8688 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_pic='-qpic'
8691 lt_prog_compiler_static='-qstaticlink'
8694 case `$CC -V 2>&1 | sed 5q` in
8695 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8696 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-Bstatic'
8699 lt_prog_compiler_wl=''
8701 *Sun\ F* | *Sun*Fortran*)
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8704 lt_prog_compiler_wl='-Qoption ld '
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 lt_prog_compiler_wl='-Wl,'
8712 *Intel*\ [CF]*Compiler*)
8713 lt_prog_compiler_wl='-Wl,'
8714 lt_prog_compiler_pic='-fPIC'
8715 lt_prog_compiler_static='-static'
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_pic='-fpic'
8720 lt_prog_compiler_static='-Bstatic'
8728 lt_prog_compiler_pic='-KPIC'
8729 lt_prog_compiler_static='-Bstatic'
8733 # QNX uses GNU C++, but need to define -shared option too, otherwise
8735 lt_prog_compiler_pic='-fPIC -shared'
8738 osf3* | osf4* | osf5*)
8739 lt_prog_compiler_wl='-Wl,'
8740 # All OSF/1 code is PIC.
8741 lt_prog_compiler_static='-non_shared'
8745 lt_prog_compiler_static='-non_shared'
8749 lt_prog_compiler_pic='-KPIC'
8750 lt_prog_compiler_static='-Bstatic'
8751 case $cc_basename in
8752 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8753 lt_prog_compiler_wl='-Qoption ld ';;
8755 lt_prog_compiler_wl='-Wl,';;
8760 lt_prog_compiler_wl='-Qoption ld '
8761 lt_prog_compiler_pic='-PIC'
8762 lt_prog_compiler_static='-Bstatic'
8765 sysv4 | sysv4.2uw2* | sysv4.3*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8772 if test -d /usr/nec ;then
8773 lt_prog_compiler_pic='-Kconform_pic'
8774 lt_prog_compiler_static='-Bstatic'
8778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-KPIC'
8781 lt_prog_compiler_static='-Bstatic'
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_can_build_shared=no
8790 lt_prog_compiler_pic='-pic'
8791 lt_prog_compiler_static='-Bstatic'
8795 lt_prog_compiler_can_build_shared=no
8801 # For platforms which do not support PIC, -DPIC is meaningless:
8803 lt_prog_compiler_pic=
8806 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8811 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8812 if ${lt_cv_prog_compiler_pic+:} false; then :
8813 $as_echo_n "(cached) " >&6
8815 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8818 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8819 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8822 # Check to make sure the PIC flag actually works.
8824 if test -n "$lt_prog_compiler_pic"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8827 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8828 $as_echo_n "(cached) " >&6
8830 lt_cv_prog_compiler_pic_works=no
8831 ac_outfile=conftest.$ac_objext
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8834 # Insert the option either (1) after the last *FLAGS variable, or
8835 # (2) before a word containing "conftest.", or (3) at the end.
8836 # Note that $ac_compile itself does not contain backslashes and begins
8837 # with a dollar sign (not a hyphen), so the echo should work correctly.
8838 # The option is referenced via a variable to avoid confusing sed.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>conftest.err)
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s "$ac_outfile"; then
8849 # The compiler can only warn and ignore the option if not recognized
8850 # So say no if there are warnings other than the usual output.
8851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_pic_works=yes
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8864 case $lt_prog_compiler_pic in
8866 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8869 lt_prog_compiler_pic=
8870 lt_prog_compiler_can_build_shared=no
8886 # Check to make sure the static flag actually works.
8888 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8890 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8891 if ${lt_cv_prog_compiler_static_works+:} false; then :
8892 $as_echo_n "(cached) " >&6
8894 lt_cv_prog_compiler_static_works=no
8895 save_LDFLAGS="$LDFLAGS"
8896 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8899 # The linker can only warn and ignore the option if not recognized
8900 # So say no if there are warnings
8901 if test -s conftest.err; then
8902 # Append any errors to the config.log.
8903 cat conftest.err 1>&5
8904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8906 if diff conftest.exp conftest.er2 >/dev/null; then
8907 lt_cv_prog_compiler_static_works=yes
8910 lt_cv_prog_compiler_static_works=yes
8914 LDFLAGS="$save_LDFLAGS"
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8920 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8923 lt_prog_compiler_static=
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if ${lt_cv_prog_compiler_c_o+:} false; then :
8935 $as_echo_n "(cached) " >&6
8937 lt_cv_prog_compiler_c_o=no
8938 $RM -r conftest 2>/dev/null
8942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8944 lt_compiler_flag="-o out/conftest2.$ac_objext"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 lt_compile=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>out/conftest.err)
8956 cat out/conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings
8962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8965 lt_cv_prog_compiler_c_o=yes
8970 # SGI C++ compiler will create directory out/ii_files/ for
8971 # template instantiation
8972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8973 $RM out/* && rmdir out
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8988 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8989 if ${lt_cv_prog_compiler_c_o+:} false; then :
8990 $as_echo_n "(cached) " >&6
8992 lt_cv_prog_compiler_c_o=no
8993 $RM -r conftest 2>/dev/null
8997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8999 lt_compiler_flag="-o out/conftest2.$ac_objext"
9000 # Insert the option either (1) after the last *FLAGS variable, or
9001 # (2) before a word containing "conftest.", or (3) at the end.
9002 # Note that $ac_compile itself does not contain backslashes and begins
9003 # with a dollar sign (not a hyphen), so the echo should work correctly.
9004 lt_compile=`echo "$ac_compile" | $SED \
9005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9007 -e 's:$: $lt_compiler_flag:'`
9008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9009 (eval "$lt_compile" 2>out/conftest.err)
9011 cat out/conftest.err >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9015 # The compiler can only warn and ignore the option if not recognized
9016 # So say no if there are warnings
9017 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9018 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9019 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9020 lt_cv_prog_compiler_c_o=yes
9025 # SGI C++ compiler will create directory out/ii_files/ for
9026 # template instantiation
9027 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9028 $RM out/* && rmdir out
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9035 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9040 hard_links="nottested"
9041 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9042 # do not overwrite the value of need_locks provided by the user
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9044 $as_echo_n "checking if we can lock with hard links... " >&6; }
9047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9049 ln conftest.a conftest.b 2>&5 || hard_links=no
9050 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9052 $as_echo "$hard_links" >&6; }
9053 if test "$hard_links" = no; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9055 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9068 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9071 allow_undefined_flag=
9072 always_export_symbols=no
9074 archive_expsym_cmds=
9075 compiler_needs_object=no
9076 enable_shared_with_static_runtimes=no
9077 export_dynamic_flag_spec=
9078 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9079 hardcode_automatic=no
9081 hardcode_direct_absolute=no
9082 hardcode_libdir_flag_spec=
9083 hardcode_libdir_separator=
9085 hardcode_shlibpath_var=unsupported
9087 link_all_deplibs=unknown
9090 old_archive_from_new_cmds=
9091 old_archive_from_expsyms_cmds=
9092 thread_safe_flag_spec=
9093 whole_archive_flag_spec=
9094 # include_expsyms should be a list of space-separated symbols to be *always*
9095 # included in the symbol list
9097 # exclude_expsyms can be an extended regexp of symbols to exclude
9098 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9099 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9100 # as well as any symbol that contains `d'.
9101 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9102 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9103 # platforms (ab)use it in PIC code, but their linkers get confused if
9104 # the symbol is explicitly referenced. Since portable code cannot
9105 # rely on this symbol name, it's probably fine to never include it in
9106 # preloaded symbol tables.
9107 # Exclude shared library initialization/finalization symbols.
9108 extract_expsyms_cmds=
9111 cygwin* | mingw* | pw32* | cegcc*)
9112 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9113 # When not using gcc, we currently assume that we are using
9114 # Microsoft Visual C++.
9115 if test "$GCC" != yes; then
9120 # we just hope/assume this is gcc and not c89 (= MSVC++)
9130 # On some targets, GNU ld is compatible enough with the native linker
9131 # that we're better off using the native interface for both.
9132 lt_use_gnu_ld_interface=no
9133 if test "$with_gnu_ld" = yes; then
9136 # The AIX port of GNU ld has always aspired to compatibility
9137 # with the native linker. However, as the warning in the GNU ld
9138 # block says, versions before 2.19.5* couldn't really create working
9139 # shared libraries, regardless of the interface used.
9140 case `$LD -v 2>&1` in
9141 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9142 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9143 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9145 lt_use_gnu_ld_interface=yes
9150 lt_use_gnu_ld_interface=yes
9155 if test "$lt_use_gnu_ld_interface" = yes; then
9156 # If archive_cmds runs LD, not CC, wlarc should be empty
9159 # Set some defaults for GNU ld with shared library support. These
9160 # are reset later if shared libraries are not supported. Putting them
9161 # here allows them to be overridden if necessary.
9162 runpath_var=LD_RUN_PATH
9163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9164 export_dynamic_flag_spec='${wl}--export-dynamic'
9165 # ancient GNU ld didn't support --whole-archive et. al.
9166 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9167 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9169 whole_archive_flag_spec=
9171 supports_anon_versioning=no
9172 case `$LD -v 2>&1` in
9173 *GNU\ gold*) supports_anon_versioning=yes ;;
9174 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9175 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9176 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9177 *\ 2.11.*) ;; # other 2.11 versions
9178 *) supports_anon_versioning=yes ;;
9181 # See if GNU ld supports shared libraries.
9184 # On AIX/PPC, the GNU linker is very broken
9185 if test "$host_cpu" != ia64; then
9189 *** Warning: the GNU linker, at least up to release 2.19, is reported
9190 *** to be unable to reliably create shared libraries on AIX.
9191 *** Therefore, libtool is disabling shared libraries support. If you
9192 *** really care for shared libraries, you may want to install binutils
9193 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9194 *** You will then need to restart the configuration process.
9203 # see comment about AmigaOS4 .so support
9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205 archive_expsym_cmds=''
9208 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)'
9209 hardcode_libdir_flag_spec='-L$libdir'
9210 hardcode_minus_L=yes
9216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9217 allow_undefined_flag=unsupported
9218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9219 # support --undefined. This deserves some investigation. FIXME
9220 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 cygwin* | mingw* | pw32* | cegcc*)
9227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9228 # as there is no search path for DLLs.
9229 hardcode_libdir_flag_spec='-L$libdir'
9230 export_dynamic_flag_spec='${wl}--export-all-symbols'
9231 allow_undefined_flag=unsupported
9232 always_export_symbols=no
9233 enable_shared_with_static_runtimes=yes
9234 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'
9235 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9237 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9238 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9239 # If the export-symbols file already is a .def file (1st line
9240 # is EXPORTS), use it as is; otherwise, prepend...
9241 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9242 cp $export_symbols $output_objdir/$soname.def;
9244 echo EXPORTS > $output_objdir/$soname.def;
9245 cat $export_symbols >> $output_objdir/$soname.def;
9247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 link_all_deplibs=yes
9260 hardcode_shlibpath_var=no
9261 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9262 export_dynamic_flag_spec='${wl}-E'
9263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264 # Instead, shared libraries are loaded at an image base (0x10000000 by
9265 # default) and relocated if they conflict, which is a slow very memory
9266 # consuming and fragmenting process. To avoid this, we pick a random,
9267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9269 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270 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'
9273 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9275 if test "$host_os" = linux-dietlibc; then
9276 case $cc_basename in
9277 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9280 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9281 && test "$tmp_diet" = no
9283 tmp_addflag=' $pic_flag'
9284 tmp_sharedflag='-shared'
9285 case $cc_basename,$host_cpu in
9286 pgcc*) # Portland Group C compiler
9287 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'
9288 tmp_addflag=' $pic_flag'
9290 pgf77* | pgf90* | pgf95* | pgfortran*)
9291 # Portland Group f77 and f90 compilers
9292 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'
9293 tmp_addflag=' $pic_flag -Mnomain' ;;
9294 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9295 tmp_addflag=' -i_dynamic' ;;
9296 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9297 tmp_addflag=' -i_dynamic -nofor_main' ;;
9298 ifc* | ifort*) # Intel Fortran compiler
9299 tmp_addflag=' -nofor_main' ;;
9300 lf95*) # Lahey Fortran 8.1
9301 whole_archive_flag_spec=
9302 tmp_sharedflag='--shared' ;;
9303 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9304 tmp_sharedflag='-qmkshrobj'
9306 nvcc*) # Cuda Compiler Driver 2.2
9307 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'
9308 compiler_needs_object=yes
9311 case `$CC -V 2>&1 | sed 5q` in
9312 *Sun\ C*) # Sun C 5.9
9313 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'
9314 compiler_needs_object=yes
9315 tmp_sharedflag='-G' ;;
9316 *Sun\ F*) # Sun Fortran 8.3
9317 tmp_sharedflag='-G' ;;
9319 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9321 if test "x$supports_anon_versioning" = xyes; then
9322 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324 echo "local: *; };" >> $output_objdir/$libname.ver~
9325 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9328 case $cc_basename in
9329 xlf* | bgf* | bgxlf* | mpixlf*)
9330 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9331 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9332 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9333 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9334 if test "x$supports_anon_versioning" = xyes; then
9335 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9336 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9337 echo "local: *; };" >> $output_objdir/$libname.ver~
9338 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9348 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9349 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9352 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9358 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9363 *** create shared libraries on Solaris systems. Therefore, libtool
9364 *** is disabling shared libraries support. We urge you to upgrade GNU
9365 *** binutils to release 2.9.1 or newer. Another option is to modify
9366 *** your PATH or compiler configuration so that the native linker is
9367 *** used, and then restart.
9370 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9379 case `$LD -v 2>&1` in
9380 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9385 *** reliably create shared libraries on SCO systems. Therefore, libtool
9386 *** is disabling shared libraries support. We urge you to upgrade GNU
9387 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9388 *** your PATH or compiler configuration so that the native linker is
9389 *** used, and then restart.
9394 # For security reasons, it is highly recommended that you always
9395 # use absolute paths for naming shared libraries, and exclude the
9396 # DT_RUNPATH tag from executables and libraries. But doing so
9397 # requires that you compile everything twice, which is a pain.
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9410 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9413 hardcode_shlibpath_var=no
9417 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9418 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9419 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9426 if test "$ld_shlibs" = no; then
9428 hardcode_libdir_flag_spec=
9429 export_dynamic_flag_spec=
9430 whole_archive_flag_spec=
9433 # PORTME fill in a description of your system's linker (not GNU ld)
9436 allow_undefined_flag=unsupported
9437 always_export_symbols=yes
9438 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'
9439 # Note: this linker hardcodes the directories in LIBPATH if there
9440 # are no directories specified by -L.
9441 hardcode_minus_L=yes
9442 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9443 # Neither direct hardcoding nor static linking is supported with a
9445 hardcode_direct=unsupported
9450 if test "$host_cpu" = ia64; then
9451 # On IA64, the linker does run time linking by default, so we don't
9452 # have to do anything special.
9453 aix_use_runtimelinking=no
9454 exp_sym_flag='-Bexport'
9457 # If we're using GNU nm, then we don't want the "-C" option.
9458 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9459 # Also, AIX nm treats weak defined symbols like other global
9460 # defined symbols, whereas GNU nm marks them as "W".
9461 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9462 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'
9464 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'
9466 aix_use_runtimelinking=no
9468 # Test if we are trying to use run time linking or normal
9469 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9470 # need to do runtime linking.
9471 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9472 for ld_flag in $LDFLAGS; do
9473 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9474 aix_use_runtimelinking=yes
9481 exp_sym_flag='-bexport'
9482 no_entry_flag='-bnoentry'
9485 # When large executables or shared objects are built, AIX ld can
9486 # have problems creating the table of contents. If linking a library
9487 # or program results in "error TOC overflow" add -mminimal-toc to
9488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9493 hardcode_direct_absolute=yes
9494 hardcode_libdir_separator=':'
9495 link_all_deplibs=yes
9496 file_list_spec='${wl}-f,'
9498 if test "$GCC" = yes; then
9499 case $host_os in aix4.[012]|aix4.[012].*)
9500 # We only want to do this on AIX 4.2 and lower, the check
9501 # below for broken collect2 doesn't work under 4.3+
9502 collect2name=`${CC} -print-prog-name=collect2`
9503 if test -f "$collect2name" &&
9504 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9506 # We have reworked collect2
9509 # We have old collect2
9510 hardcode_direct=unsupported
9511 # It fails to find uninstalled libraries when the uninstalled
9512 # path is not listed in the libpath. Setting hardcode_minus_L
9513 # to unsupported forces relinking
9514 hardcode_minus_L=yes
9515 hardcode_libdir_flag_spec='-L$libdir'
9516 hardcode_libdir_separator=
9520 shared_flag='-shared'
9521 if test "$aix_use_runtimelinking" = yes; then
9522 shared_flag="$shared_flag "'${wl}-G'
9526 if test "$host_cpu" = ia64; then
9527 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9528 # chokes on -Wl,-G. The following line is correct:
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag='${wl}-G'
9534 shared_flag='${wl}-bM:SRE'
9539 export_dynamic_flag_spec='${wl}-bexpall'
9540 # It seems that -bexpall does not export symbols beginning with
9541 # underscore (_), so it is better to generate a list of symbols to export.
9542 always_export_symbols=yes
9543 if test "$aix_use_runtimelinking" = yes; then
9544 # Warning - without using the other runtime loading flags (-brtl),
9545 # -berok will link without error, but may produce a broken library.
9546 allow_undefined_flag='-berok'
9547 # Determine the default libpath from the value encoded in an
9549 if test "${lt_cv_aix_libpath+set}" = set; then
9550 aix_libpath=$lt_cv_aix_libpath
9552 if ${lt_cv_aix_libpath_+:} false; then :
9553 $as_echo_n "(cached) " >&6
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9566 if ac_fn_c_try_link "$LINENO"; then :
9568 lt_aix_libpath_sed='
9569 /Import File Strings/,/^$/ {
9571 s/^0 *\([^ ]*\) *$/\1/
9575 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$lt_cv_aix_libpath_"; then
9578 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 if test -z "$lt_cv_aix_libpath_"; then
9584 lt_cv_aix_libpath_="/usr/lib:/lib"
9589 aix_libpath=$lt_cv_aix_libpath_
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9600 # Determine the default libpath from the value encoded in an
9602 if test "${lt_cv_aix_libpath+set}" = set; then
9603 aix_libpath=$lt_cv_aix_libpath
9605 if ${lt_cv_aix_libpath_+:} false; then :
9606 $as_echo_n "(cached) " >&6
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9619 if ac_fn_c_try_link "$LINENO"; then :
9621 lt_aix_libpath_sed='
9622 /Import File Strings/,/^$/ {
9624 s/^0 *\([^ ]*\) *$/\1/
9628 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 # Check for a 64-bit object if we didn't find anything.
9630 if test -z "$lt_cv_aix_libpath_"; then
9631 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 if test -z "$lt_cv_aix_libpath_"; then
9637 lt_cv_aix_libpath_="/usr/lib:/lib"
9642 aix_libpath=$lt_cv_aix_libpath_
9645 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9646 # Warning - without using the other run time loading flags,
9647 # -berok will link without error, but may produce a broken library.
9648 no_undefined_flag=' ${wl}-bernotok'
9649 allow_undefined_flag=' ${wl}-berok'
9650 if test "$with_gnu_ld" = yes; then
9651 # We only use this code for GNU lds that support --whole-archive.
9652 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9654 # Exported symbols can be pulled into shared objects from archives
9655 whole_archive_flag_spec='$convenience'
9657 archive_cmds_need_lc=yes
9658 # This is similar to how AIX traditionally builds its shared libraries.
9659 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'
9667 # see comment about AmigaOS4 .so support
9668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669 archive_expsym_cmds=''
9672 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)'
9673 hardcode_libdir_flag_spec='-L$libdir'
9674 hardcode_minus_L=yes
9680 export_dynamic_flag_spec=-rdynamic
9683 cygwin* | mingw* | pw32* | cegcc*)
9684 # When not using gcc, we currently assume that we are using
9685 # Microsoft Visual C++.
9686 # hardcode_libdir_flag_spec is actually meaningless, as there is
9687 # no search path for DLLs.
9688 case $cc_basename in
9691 hardcode_libdir_flag_spec=' '
9692 allow_undefined_flag=unsupported
9693 always_export_symbols=yes
9695 # Tell ltmain to make .lib files, not .a files.
9697 # Tell ltmain to make .dll files, not .so files.
9699 # FIXME: Setting linknames here is a bad hack.
9700 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9701 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9702 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9704 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9706 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9708 # The linker will not automatically build a static lib if we build a DLL.
9709 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9710 enable_shared_with_static_runtimes=yes
9711 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9712 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9714 old_postinstall_cmds='chmod 644 $oldlib'
9715 postlink_cmds='lt_outputfile="@OUTPUT@"~
9716 lt_tool_outputfile="@TOOL_OUTPUT@"~
9717 case $lt_outputfile in
9720 lt_outputfile="$lt_outputfile.exe"
9721 lt_tool_outputfile="$lt_tool_outputfile.exe"
9724 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9725 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9726 $RM "$lt_outputfile.manifest";
9730 # Assume MSVC wrapper
9731 hardcode_libdir_flag_spec=' '
9732 allow_undefined_flag=unsupported
9733 # Tell ltmain to make .lib files, not .a files.
9735 # Tell ltmain to make .dll files, not .so files.
9737 # FIXME: Setting linknames here is a bad hack.
9738 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9739 # The linker will automatically build a .lib file if we build a DLL.
9740 old_archive_from_new_cmds='true'
9741 # FIXME: Should let the user specify the lib program.
9742 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9743 enable_shared_with_static_runtimes=yes
9748 darwin* | rhapsody*)
9751 archive_cmds_need_lc=no
9753 hardcode_automatic=yes
9754 hardcode_shlibpath_var=unsupported
9755 if test "$lt_cv_ld_force_load" = "yes"; then
9756 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\"`'
9759 whole_archive_flag_spec=''
9761 link_all_deplibs=yes
9762 allow_undefined_flag="$_lt_dar_allow_undefined"
9763 case $cc_basename in
9764 ifort*) _lt_dar_can_shared=yes ;;
9765 *) _lt_dar_can_shared=$GCC ;;
9767 if test "$_lt_dar_can_shared" = "yes"; then
9768 output_verbose_link_cmd=func_echo_all
9769 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9770 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9771 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}"
9772 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}"
9781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_libdir_flag_spec='-L$libdir'
9783 hardcode_shlibpath_var=no
9786 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9787 # support. Future versions do this automatically, but an explicit c++rt0.o
9788 # does not break anything, and helps significantly (at the cost of a little
9791 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9792 hardcode_libdir_flag_spec='-R$libdir'
9794 hardcode_shlibpath_var=no
9797 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9799 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9801 hardcode_minus_L=yes
9802 hardcode_shlibpath_var=no
9805 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9806 freebsd* | dragonfly*)
9807 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9808 hardcode_libdir_flag_spec='-R$libdir'
9810 hardcode_shlibpath_var=no
9814 if test "$GCC" = yes; then
9815 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'
9817 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'
9819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820 hardcode_libdir_separator=:
9823 # hardcode_minus_L: Not really in the search PATH,
9824 # but as the default location of the library.
9825 hardcode_minus_L=yes
9826 export_dynamic_flag_spec='${wl}-E'
9830 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9831 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9835 if test "$with_gnu_ld" = no; then
9836 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9837 hardcode_libdir_separator=:
9839 hardcode_direct_absolute=yes
9840 export_dynamic_flag_spec='${wl}-E'
9841 # hardcode_minus_L: Not really in the search PATH,
9842 # but as the default location of the library.
9843 hardcode_minus_L=yes
9848 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9851 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9863 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 # Older versions of the 11.00 compiler do not understand -b yet
9871 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9873 $as_echo_n "checking if $CC understands -b... " >&6; }
9874 if ${lt_cv_prog_compiler__b+:} false; then :
9875 $as_echo_n "(cached) " >&6
9877 lt_cv_prog_compiler__b=no
9878 save_LDFLAGS="$LDFLAGS"
9879 LDFLAGS="$LDFLAGS -b"
9880 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9881 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9882 # The linker can only warn and ignore the option if not recognized
9883 # So say no if there are warnings
9884 if test -s conftest.err; then
9885 # Append any errors to the config.log.
9886 cat conftest.err 1>&5
9887 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9889 if diff conftest.exp conftest.er2 >/dev/null; then
9890 lt_cv_prog_compiler__b=yes
9893 lt_cv_prog_compiler__b=yes
9897 LDFLAGS="$save_LDFLAGS"
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9901 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9903 if test x"$lt_cv_prog_compiler__b" = xyes; then
9904 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9906 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9912 if test "$with_gnu_ld" = no; then
9913 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9914 hardcode_libdir_separator=:
9919 hardcode_shlibpath_var=no
9923 hardcode_direct_absolute=yes
9924 export_dynamic_flag_spec='${wl}-E'
9926 # hardcode_minus_L: Not really in the search PATH,
9927 # but as the default location of the library.
9928 hardcode_minus_L=yes
9934 irix5* | irix6* | nonstopux*)
9935 if test "$GCC" = yes; then
9936 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'
9937 # Try to use the -exported_symbol ld option, if it does not
9938 # work, assume that -exports_file does not work either and
9939 # implicitly export all symbols.
9940 # This should be the same for all languages, so no per-tag cache variable.
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9942 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9943 if ${lt_cv_irix_exported_symbol+:} false; then :
9944 $as_echo_n "(cached) " >&6
9946 save_LDFLAGS="$LDFLAGS"
9947 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int foo (void) { return 0; }
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 lt_cv_irix_exported_symbol=yes
9955 lt_cv_irix_exported_symbol=no
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LDFLAGS="$save_LDFLAGS"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9962 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9963 if test "$lt_cv_irix_exported_symbol" = yes; then
9964 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'
9967 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'
9968 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'
9970 archive_cmds_need_lc='no'
9971 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9972 hardcode_libdir_separator=:
9974 link_all_deplibs=yes
9978 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9979 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9981 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9983 hardcode_libdir_flag_spec='-R$libdir'
9985 hardcode_shlibpath_var=no
9989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9992 hardcode_libdir_separator=:
9993 hardcode_shlibpath_var=no
10000 if test -f /usr/libexec/ld.so; then
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10003 hardcode_direct_absolute=yes
10004 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10005 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10007 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10008 export_dynamic_flag_spec='${wl}-E'
10011 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10012 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-R$libdir'
10016 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10027 hardcode_libdir_flag_spec='-L$libdir'
10028 hardcode_minus_L=yes
10029 allow_undefined_flag=unsupported
10030 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'
10031 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10035 if test "$GCC" = yes; then
10036 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10037 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'
10039 allow_undefined_flag=' -expect_unresolved \*'
10040 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'
10042 archive_cmds_need_lc='no'
10043 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044 hardcode_libdir_separator=:
10047 osf4* | osf5*) # as osf3* with the addition of -msym flag
10048 if test "$GCC" = yes; then
10049 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050 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'
10051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10053 allow_undefined_flag=' -expect_unresolved \*'
10054 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'
10055 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~
10056 $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'
10058 # Both c and cxx compiler support -rpath directly
10059 hardcode_libdir_flag_spec='-rpath $libdir'
10061 archive_cmds_need_lc='no'
10062 hardcode_libdir_separator=:
10066 no_undefined_flag=' -z defs'
10067 if test "$GCC" = yes; then
10069 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10071 $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'
10073 case `$CC -V 2>&1` in
10076 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10082 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10088 hardcode_libdir_flag_spec='-R$libdir'
10089 hardcode_shlibpath_var=no
10091 solaris2.[0-5] | solaris2.[0-5].*) ;;
10093 # The compiler driver will combine and reorder linker options,
10094 # but understands `-z linker_flag'. GCC discards it without `$wl',
10095 # but is careful enough not to reorder.
10096 # Supported since Solaris 2.6 (maybe 2.5.1?)
10097 if test "$GCC" = yes; then
10098 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10100 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10104 link_all_deplibs=yes
10108 if test "x$host_vendor" = xsequent; then
10109 # Use $CC to link under sequent, because it throws in some extra .o
10110 # files that make .init and .fini sections work.
10111 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10113 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10115 hardcode_libdir_flag_spec='-L$libdir'
10116 hardcode_direct=yes
10117 hardcode_minus_L=yes
10118 hardcode_shlibpath_var=no
10122 case $host_vendor in
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_direct=yes # is this really true???
10128 ## LD is ld it makes a PLAMLIB
10129 ## CC just makes a GrossModule.
10130 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10131 reload_cmds='$CC -r -o $output$reload_objs'
10135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10139 runpath_var='LD_RUN_PATH'
10140 hardcode_shlibpath_var=no
10144 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145 hardcode_shlibpath_var=no
10146 export_dynamic_flag_spec='-Bexport'
10150 if test -d /usr/nec; then
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 runpath_var=LD_RUN_PATH
10154 hardcode_runpath_var=yes
10159 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10160 no_undefined_flag='${wl}-z,text'
10161 archive_cmds_need_lc=no
10162 hardcode_shlibpath_var=no
10163 runpath_var='LD_RUN_PATH'
10165 if test "$GCC" = yes; then
10166 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10167 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10169 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 sysv5* | sco3.2v5* | sco5v6*)
10175 # Note: We can NOT use -z defs as we might desire, because we do not
10176 # link with -lc, and that would cause any symbols used from libc to
10177 # always be unresolved, which means just about no library would
10178 # ever link correctly. If we're not using GNU ld we use -z text
10179 # though, which does catch some bad symbols but isn't as heavy-handed
10181 no_undefined_flag='${wl}-z,text'
10182 allow_undefined_flag='${wl}-z,nodefs'
10183 archive_cmds_need_lc=no
10184 hardcode_shlibpath_var=no
10185 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10186 hardcode_libdir_separator=':'
10187 link_all_deplibs=yes
10188 export_dynamic_flag_spec='${wl}-Bexport'
10189 runpath_var='LD_RUN_PATH'
10191 if test "$GCC" = yes; then
10192 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10193 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_libdir_flag_spec='-L$libdir'
10203 hardcode_shlibpath_var=no
10211 if test x$host_vendor = xsni; then
10213 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10214 export_dynamic_flag_spec='${wl}-Blargedynsym'
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10221 $as_echo "$ld_shlibs" >&6; }
10222 test "$ld_shlibs" = no && can_build_shared=no
10224 with_gnu_ld=$with_gnu_ld
10241 # Do we need to explicitly link libc?
10243 case "x$archive_cmds_need_lc" in
10245 # Assume -lc should be added
10246 archive_cmds_need_lc=yes
10248 if test "$enable_shared" = yes && test "$GCC" = yes; then
10249 case $archive_cmds in
10251 # FIXME: we may have to deal with multi-command sequences.
10254 # Test whether the compiler implicitly links with -lc since on some
10255 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10256 # to ld, don't add -lc before -lgcc.
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10258 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10259 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10260 $as_echo_n "(cached) " >&6
10263 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10266 (eval $ac_compile) 2>&5
10268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10269 test $ac_status = 0; } 2>conftest.err; then
10272 libobjs=conftest.$ac_objext
10274 wl=$lt_prog_compiler_wl
10275 pic_flag=$lt_prog_compiler_pic
10281 lt_save_allow_undefined_flag=$allow_undefined_flag
10282 allow_undefined_flag=
10283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10284 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287 test $ac_status = 0; }
10289 lt_cv_archive_cmds_need_lc=no
10291 lt_cv_archive_cmds_need_lc=yes
10293 allow_undefined_flag=$lt_save_allow_undefined_flag
10295 cat conftest.err 1>&5
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10301 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10302 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10461 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10463 if test "$GCC" = yes; then
10465 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10466 *) lt_awk_arg="/^libraries:/" ;;
10469 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10470 *) lt_sed_strip_eq="s,=/,/,g" ;;
10472 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10473 case $lt_search_path_spec in
10475 # if the path contains ";" then we assume it to be the separator
10476 # otherwise default to the standard path separator (i.e. ":") - it is
10477 # assumed that no part of a normal pathname contains ";" but that should
10478 # okay in the real world where ";" in dirpaths is itself problematic.
10479 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10482 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10485 # Ok, now we have the path, separated by spaces, we can step through it
10486 # and add multilib dir if necessary.
10487 lt_tmp_lt_search_path_spec=
10488 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10489 for lt_sys_path in $lt_search_path_spec; do
10490 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10491 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10493 test -d "$lt_sys_path" && \
10494 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10497 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10498 BEGIN {RS=" "; FS="/|\n";} {
10501 for (lt_i = NF; lt_i > 0; lt_i--) {
10502 if ($lt_i != "" && $lt_i != ".") {
10503 if ($lt_i == "..") {
10506 if (lt_count == 0) {
10507 lt_foo="/" $lt_i lt_foo;
10514 if (lt_foo != "") { lt_freq[lt_foo]++; }
10515 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10517 # AWK program above erroneously prepends '/' to C:/dos/paths
10520 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10521 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10523 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10525 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10527 library_names_spec=
10528 libname_spec='lib$name'
10532 postuninstall_cmds=
10536 shlibpath_overrides_runpath=unknown
10538 dynamic_linker="$host_os ld.so"
10539 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10540 need_lib_prefix=unknown
10541 hardcode_into_libs=no
10543 # when you set need_version to no, make sure it does not cause -set_version
10544 # flags to be left without arguments
10545 need_version=unknown
10549 version_type=linux # correct to gnu/linux during the next big refactor
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10551 shlibpath_var=LIBPATH
10553 # AIX 3 has no versioning support, so we append a major version to the name.
10554 soname_spec='${libname}${release}${shared_ext}$major'
10558 version_type=linux # correct to gnu/linux during the next big refactor
10561 hardcode_into_libs=yes
10562 if test "$host_cpu" = ia64; then
10563 # AIX 5 supports IA64
10564 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10565 shlibpath_var=LD_LIBRARY_PATH
10567 # With GCC up to 2.95.x, collect2 would create an import file
10568 # for dependence libraries. The import file would start with
10569 # the line `#! .'. This would cause the generated library to
10570 # depend on `.', always an invalid library. This was fixed in
10571 # development snapshots of GCC prior to 3.0.
10573 aix4 | aix4.[01] | aix4.[01].*)
10574 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10576 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10579 can_build_shared=no
10583 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10584 # soname into executable. Probably we can add versioning support to
10585 # collect2, so additional links can be useful in future.
10586 if test "$aix_use_runtimelinking" = yes; then
10587 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10588 # instead of lib<name>.a to let people know that these are not
10589 # typical AIX shared libraries.
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 # We preserve .a as extension for shared libraries through AIX4.2
10593 # and later when we are not doing run time linking.
10594 library_names_spec='${libname}${release}.a $libname.a'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10597 shlibpath_var=LIBPATH
10604 # Since July 2007 AmigaOS4 officially supports .so libraries.
10605 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 library_names_spec='$libname.ixlibrary $libname.a'
10610 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10611 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'
10617 library_names_spec='${libname}${shared_ext}'
10618 dynamic_linker="$host_os ld.so"
10619 shlibpath_var=LIBRARY_PATH
10623 version_type=linux # correct to gnu/linux during the next big refactor
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10630 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10631 # the default ld.so.conf also contains /usr/contrib/lib and
10632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10633 # libtool to hard-code these into programs
10636 cygwin* | mingw* | pw32* | cegcc*)
10637 version_type=windows
10642 case $GCC,$cc_basename in
10645 library_names_spec='$libname.dll.a'
10646 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10647 postinstall_cmds='base_file=`basename \${file}`~
10648 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10649 dldir=$destdir/`dirname \$dlpath`~
10650 test -d \$dldir || mkdir -p \$dldir~
10651 $install_prog $dir/$dlname \$dldir/$dlname~
10652 chmod a+x \$dldir/$dlname~
10653 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10654 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10656 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10657 dlpath=$dir/\$dldll~
10659 shlibpath_overrides_runpath=yes
10663 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10664 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10666 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10669 # MinGW DLLs use traditional 'lib' prefix
10670 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673 # pw32 DLLs use 'pw' prefix rather than 'lib'
10674 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677 dynamic_linker='Win32 ld.exe'
10682 libname_spec='$name'
10683 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 library_names_spec='${libname}.dll.lib'
10688 sys_lib_search_path_spec=
10691 for lt_path in $LIB
10694 # Let DOS variable expansion print the short 8.3 style file name.
10695 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10696 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10699 # Convert to MSYS style.
10700 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10703 # Convert to unix form, then to dos form, then back to unix form
10704 # but this time dos style (no spaces!) so that the unix form looks
10705 # like /cygdrive/c/PROGRA~1:/cygdr...
10706 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10707 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10708 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10711 sys_lib_search_path_spec="$LIB"
10712 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10713 # It is most probably a Windows format PATH.
10714 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10716 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10718 # FIXME: find the short name or the path components, as spaces are
10719 # common. (e.g. "Program Files" -> "PROGRA~1")
10723 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10724 postinstall_cmds='base_file=`basename \${file}`~
10725 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10726 dldir=$destdir/`dirname \$dlpath`~
10727 test -d \$dldir || mkdir -p \$dldir~
10728 $install_prog $dir/$dlname \$dldir/$dlname'
10729 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10730 dlpath=$dir/\$dldll~
10732 shlibpath_overrides_runpath=yes
10733 dynamic_linker='Win32 link.exe'
10737 # Assume MSVC wrapper
10738 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10739 dynamic_linker='Win32 ld.exe'
10742 # FIXME: first we should search . and the directory the executable is in
10746 darwin* | rhapsody*)
10747 dynamic_linker="$host_os dyld"
10748 version_type=darwin
10751 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10752 soname_spec='${libname}${release}${major}$shared_ext'
10753 shlibpath_overrides_runpath=yes
10754 shlibpath_var=DYLD_LIBRARY_PATH
10755 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10757 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10758 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10762 version_type=linux # correct to gnu/linux during the next big refactor
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 shlibpath_var=LD_LIBRARY_PATH
10770 freebsd* | dragonfly*)
10771 # DragonFly does not have aout. When/if they implement a new
10772 # versioning mechanism, adjust this.
10773 if test -x /usr/bin/objformat; then
10774 objformat=`/usr/bin/objformat`
10777 freebsd[23].*) objformat=aout ;;
10778 *) objformat=elf ;;
10781 version_type=freebsd-$objformat
10782 case $version_type in
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10793 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=yes
10798 freebsd3.[01]* | freebsdelf3.[01]*)
10799 shlibpath_overrides_runpath=yes
10800 hardcode_into_libs=yes
10802 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10803 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10804 shlibpath_overrides_runpath=no
10805 hardcode_into_libs=yes
10807 *) # from 4.6 on, and DragonFly
10808 shlibpath_overrides_runpath=yes
10809 hardcode_into_libs=yes
10815 version_type=linux # correct to gnu/linux during the next big refactor
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=no
10822 hardcode_into_libs=yes
10826 version_type=linux # correct to gnu/linux during the next big refactor
10829 dynamic_linker="$host_os runtime_loader"
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 shlibpath_var=LIBRARY_PATH
10833 shlibpath_overrides_runpath=yes
10834 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10835 hardcode_into_libs=yes
10838 hpux9* | hpux10* | hpux11*)
10839 # Give a soname corresponding to the major version so that dld.sl refuses to
10840 # link against other versions.
10847 hardcode_into_libs=yes
10848 dynamic_linker="$host_os dld.so"
10849 shlibpath_var=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 if test "X$HPUX_IA64_MODE" = X32; then
10854 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10856 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10858 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10862 hardcode_into_libs=yes
10863 dynamic_linker="$host_os dld.sl"
10864 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10865 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10869 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=SHLIB_PATH
10875 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10880 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10881 postinstall_cmds='chmod 555 $lib'
10882 # or fails outright, so override atomically:
10883 install_override_mode=555
10887 version_type=linux # correct to gnu/linux during the next big refactor
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=no
10895 hardcode_into_libs=yes
10898 irix5* | irix6* | nonstopux*)
10900 nonstopux*) version_type=nonstopux ;;
10902 if test "$lt_cv_prog_gnu_ld" = yes; then
10903 version_type=linux # correct to gnu/linux during the next big refactor
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10913 irix5* | nonstopux*)
10914 libsuff= shlibsuff=
10917 case $LD in # libtool.m4 will add one of these switches to LD
10918 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10919 libsuff= shlibsuff= libmagic=32-bit;;
10920 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10921 libsuff=32 shlibsuff=N32 libmagic=N32;;
10922 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10923 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10924 *) libsuff= shlibsuff= libmagic=never-match;;
10928 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10929 shlibpath_overrides_runpath=no
10930 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10931 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10932 hardcode_into_libs=yes
10935 # No shared lib support for Linux oldld, aout, or coff.
10936 linux*oldld* | linux*aout* | linux*coff*)
10940 # This must be glibc/ELF.
10941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10942 version_type=linux # correct to gnu/linux during the next big refactor
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=no
10951 # Some binutils ld are patched to set DT_RUNPATH
10952 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10953 $as_echo_n "(cached) " >&6
10955 lt_cv_shlibpath_overrides_runpath=no
10956 save_LDFLAGS=$LDFLAGS
10957 save_libdir=$libdir
10958 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10959 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10973 lt_cv_shlibpath_overrides_runpath=yes
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LDFLAGS=$save_LDFLAGS
10979 libdir=$save_libdir
10983 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10985 # This implies no fast_install, which is unacceptable.
10986 # Some rework will be needed to allow for fast_install
10987 # before this can be enabled.
10988 hardcode_into_libs=yes
10990 # Add ABI-specific directories to the system library path.
10991 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10993 # Append ld.so.conf contents to the search path
10994 if test -f /etc/ld.so.conf; then
10995 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' ' '`
10996 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11000 # We used to test for /lib/ld.so.1 and disable shared libraries on
11001 # powerpc, because MkLinux only supported shared libraries with the
11002 # GNU dynamic linker. Since this was broken with cross compilers,
11003 # most powerpc-linux boxes support dynamic linking these days and
11004 # people can always --disable-shared, the test was removed, and we
11005 # assume the GNU/Linux dynamic linker is in use.
11006 dynamic_linker='GNU/Linux ld.so'
11013 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016 dynamic_linker='NetBSD (a.out) ld.so'
11018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11019 soname_spec='${libname}${release}${shared_ext}$major'
11020 dynamic_linker='NetBSD ld.elf_so'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath=yes
11024 hardcode_into_libs=yes
11028 version_type=linux # correct to gnu/linux during the next big refactor
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030 shlibpath_var=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath=yes
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 soname_spec='${libname}${release}${shared_ext}$major'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=no
11042 hardcode_into_libs=yes
11043 dynamic_linker='ldqnx.so'
11048 sys_lib_dlsearch_path_spec="/usr/lib"
11050 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11052 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11053 *) need_version=no ;;
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11056 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11060 openbsd2.[89] | openbsd2.[89].*)
11061 shlibpath_overrides_runpath=no
11064 shlibpath_overrides_runpath=yes
11068 shlibpath_overrides_runpath=yes
11073 libname_spec='$name'
11076 library_names_spec='$libname${shared_ext} $libname.a'
11077 dynamic_linker='OS/2 ld.exe'
11078 shlibpath_var=LIBPATH
11081 osf3* | osf4* | osf5*)
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11089 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11097 version_type=linux # correct to gnu/linux during the next big refactor
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 soname_spec='${libname}${release}${shared_ext}$major'
11102 shlibpath_var=LD_LIBRARY_PATH
11103 shlibpath_overrides_runpath=yes
11104 hardcode_into_libs=yes
11105 # ldd complains unless libraries are executable
11106 postinstall_cmds='chmod +x $lib'
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11112 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11113 shlibpath_var=LD_LIBRARY_PATH
11114 shlibpath_overrides_runpath=yes
11115 if test "$with_gnu_ld" = yes; then
11122 version_type=linux # correct to gnu/linux during the next big refactor
11123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124 soname_spec='${libname}${release}${shared_ext}$major'
11125 shlibpath_var=LD_LIBRARY_PATH
11126 case $host_vendor in
11128 shlibpath_overrides_runpath=no
11130 runpath_var=LD_RUN_PATH
11138 shlibpath_overrides_runpath=no
11139 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11145 if test -d /usr/nec ;then
11146 version_type=linux # correct to gnu/linux during the next big refactor
11147 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11148 soname_spec='$libname${shared_ext}.$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11153 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11154 version_type=freebsd-elf
11157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11158 soname_spec='${libname}${release}${shared_ext}$major'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=yes
11161 hardcode_into_libs=yes
11162 if test "$with_gnu_ld" = yes; then
11163 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11165 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11168 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11172 sys_lib_dlsearch_path_spec='/usr/lib'
11176 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11177 version_type=linux # correct to gnu/linux during the next big refactor
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 shlibpath_overrides_runpath=no
11183 hardcode_into_libs=yes
11187 version_type=linux # correct to gnu/linux during the next big refactor
11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189 soname_spec='${libname}${release}${shared_ext}$major'
11190 shlibpath_var=LD_LIBRARY_PATH
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11198 $as_echo "$dynamic_linker" >&6; }
11199 test "$dynamic_linker" = no && can_build_shared=no
11201 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11202 if test "$GCC" = yes; then
11203 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11206 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11207 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11209 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11210 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11305 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11307 if test -n "$hardcode_libdir_flag_spec" ||
11308 test -n "$runpath_var" ||
11309 test "X$hardcode_automatic" = "Xyes" ; then
11311 # We can hardcode non-existent directories.
11312 if test "$hardcode_direct" != no &&
11313 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11314 # have to relink, otherwise we might link with an installed library
11315 # when we should be linking with a yet-to-be-installed one
11316 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11317 test "$hardcode_minus_L" != no; then
11318 # Linking always hardcodes the temporary library directory.
11319 hardcode_action=relink
11321 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11322 hardcode_action=immediate
11325 # We cannot hardcode anything, or else we can only hardcode existing
11327 hardcode_action=unsupported
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11330 $as_echo "$hardcode_action" >&6; }
11332 if test "$hardcode_action" = relink ||
11333 test "$inherit_rpath" = yes; then
11334 # Fast installation is not supported
11335 enable_fast_install=no
11336 elif test "$shlibpath_overrides_runpath" = yes ||
11337 test "$enable_shared" = no; then
11338 # Fast installation is not necessary
11339 enable_fast_install=needless
11347 if test "x$enable_dlopen" != xyes; then
11348 enable_dlopen=unknown
11349 enable_dlopen_self=unknown
11350 enable_dlopen_self_static=unknown
11357 lt_cv_dlopen="load_add_on"
11359 lt_cv_dlopen_self=yes
11362 mingw* | pw32* | cegcc*)
11363 lt_cv_dlopen="LoadLibrary"
11368 lt_cv_dlopen="dlopen"
11373 # if libdl is installed we need to link against it
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11375 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11376 if ${ac_cv_lib_dl_dlopen+:} false; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_lib_save_LIBS=$LIBS
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_dl_dlopen=yes
11402 ac_cv_lib_dl_dlopen=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11409 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11410 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11411 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11414 lt_cv_dlopen="dyld"
11416 lt_cv_dlopen_self=yes
11423 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11424 if test "x$ac_cv_func_shl_load" = xyes; then :
11425 lt_cv_dlopen="shl_load"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11428 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11429 if ${ac_cv_lib_dld_shl_load+:} false; then :
11430 $as_echo_n "(cached) " >&6
11432 ac_check_lib_save_LIBS=$LIBS
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11447 return shl_load ();
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dld_shl_load=yes
11455 ac_cv_lib_dld_shl_load=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11462 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11463 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11464 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11466 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11467 if test "x$ac_cv_func_dlopen" = xyes; then :
11468 lt_cv_dlopen="dlopen"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11471 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11472 if ${ac_cv_lib_dl_dlopen+:} false; then :
11473 $as_echo_n "(cached) " >&6
11475 ac_check_lib_save_LIBS=$LIBS
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 ac_cv_lib_dl_dlopen=yes
11498 ac_cv_lib_dl_dlopen=no
11500 rm -f core conftest.err conftest.$ac_objext \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_lib_save_LIBS
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11506 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11507 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11510 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11511 if ${ac_cv_lib_svld_dlopen+:} false; then :
11512 $as_echo_n "(cached) " >&6
11514 ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-lsvld $LIBS"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11534 if ac_fn_c_try_link "$LINENO"; then :
11535 ac_cv_lib_svld_dlopen=yes
11537 ac_cv_lib_svld_dlopen=no
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11544 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11545 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11546 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11549 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11550 if ${ac_cv_lib_dld_dld_link+:} false; then :
11551 $as_echo_n "(cached) " >&6
11553 ac_check_lib_save_LIBS=$LIBS
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11568 return dld_link ();
11573 if ac_fn_c_try_link "$LINENO"; then :
11574 ac_cv_lib_dld_dld_link=yes
11576 ac_cv_lib_dld_dld_link=no
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_lib_save_LIBS
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11583 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11584 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11585 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11606 if test "x$lt_cv_dlopen" != xno; then
11612 case $lt_cv_dlopen in
11614 save_CPPFLAGS="$CPPFLAGS"
11615 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11617 save_LDFLAGS="$LDFLAGS"
11618 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11621 LIBS="$lt_cv_dlopen_libs $LIBS"
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11624 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11625 if ${lt_cv_dlopen_self+:} false; then :
11626 $as_echo_n "(cached) " >&6
11628 if test "$cross_compiling" = yes; then :
11629 lt_cv_dlopen_self=cross
11631 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11632 lt_status=$lt_dlunknown
11633 cat > conftest.$ac_ext <<_LT_EOF
11634 #line $LINENO "configure"
11635 #include "confdefs.h"
11644 # define LT_DLGLOBAL RTLD_GLOBAL
11647 # define LT_DLGLOBAL DL_GLOBAL
11649 # define LT_DLGLOBAL 0
11653 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11654 find out it does not work in some platform. */
11655 #ifndef LT_DLLAZY_OR_NOW
11657 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11660 # define LT_DLLAZY_OR_NOW DL_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_NOW
11666 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # define LT_DLLAZY_OR_NOW 0
11675 /* When -fvisbility=hidden is used, assume the code has been annotated
11676 correspondingly for the symbols needed. */
11677 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11678 int fnord () __attribute__((visibility("default")));
11681 int fnord () { return 42; }
11684 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11685 int status = $lt_dlunknown;
11689 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11692 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11693 else puts (dlerror ());
11695 /* dlclose (self); */
11703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11704 (eval $ac_link) 2>&5
11706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11707 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11708 (./conftest; exit; ) >&5 2>/dev/null
11710 case x$lt_status in
11711 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11712 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11713 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11716 # compilation failed
11717 lt_cv_dlopen_self=no
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11725 $as_echo "$lt_cv_dlopen_self" >&6; }
11727 if test "x$lt_cv_dlopen_self" = xyes; then
11728 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11730 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11731 if ${lt_cv_dlopen_self_static+:} false; then :
11732 $as_echo_n "(cached) " >&6
11734 if test "$cross_compiling" = yes; then :
11735 lt_cv_dlopen_self_static=cross
11737 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11738 lt_status=$lt_dlunknown
11739 cat > conftest.$ac_ext <<_LT_EOF
11740 #line $LINENO "configure"
11741 #include "confdefs.h"
11750 # define LT_DLGLOBAL RTLD_GLOBAL
11753 # define LT_DLGLOBAL DL_GLOBAL
11755 # define LT_DLGLOBAL 0
11759 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11760 find out it does not work in some platform. */
11761 #ifndef LT_DLLAZY_OR_NOW
11763 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11766 # define LT_DLLAZY_OR_NOW DL_LAZY
11769 # define LT_DLLAZY_OR_NOW RTLD_NOW
11772 # define LT_DLLAZY_OR_NOW DL_NOW
11774 # define LT_DLLAZY_OR_NOW 0
11781 /* When -fvisbility=hidden is used, assume the code has been annotated
11782 correspondingly for the symbols needed. */
11783 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11784 int fnord () __attribute__((visibility("default")));
11787 int fnord () { return 42; }
11790 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11791 int status = $lt_dlunknown;
11795 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11798 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11799 else puts (dlerror ());
11801 /* dlclose (self); */
11809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11810 (eval $ac_link) 2>&5
11812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11813 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11814 (./conftest; exit; ) >&5 2>/dev/null
11816 case x$lt_status in
11817 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11818 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11819 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11822 # compilation failed
11823 lt_cv_dlopen_self_static=no
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11831 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11834 CPPFLAGS="$save_CPPFLAGS"
11835 LDFLAGS="$save_LDFLAGS"
11840 case $lt_cv_dlopen_self in
11841 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11842 *) enable_dlopen_self=unknown ;;
11845 case $lt_cv_dlopen_self_static in
11846 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11847 *) enable_dlopen_self_static=unknown ;;
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11870 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11871 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11872 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11873 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11877 # FIXME - insert some real tests, host_os isn't really good enough
11880 if test -n "$STRIP" ; then
11881 striplib="$STRIP -x"
11882 old_striplib="$STRIP -S"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11884 $as_echo "yes" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11892 $as_echo "no" >&6; }
11908 # Report which library types will actually be built
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11910 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11912 $as_echo "$can_build_shared" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11915 $as_echo_n "checking whether to build shared libraries... " >&6; }
11916 test "$can_build_shared" = "no" && enable_shared=no
11918 # On AIX, shared libraries and static libraries use the same namespace, and
11919 # are all built from PIC.
11922 test "$enable_shared" = yes && enable_static=no
11923 if test -n "$RANLIB"; then
11924 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11925 postinstall_cmds='$RANLIB $lib'
11930 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11931 test "$enable_shared" = yes && enable_static=no
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11936 $as_echo "$enable_shared" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11939 $as_echo_n "checking whether to build static libraries... " >&6; }
11940 # Make sure either enable_shared or enable_static is yes.
11941 test "$enable_shared" = yes || enable_static=yes
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11943 $as_echo "$enable_static" >&6; }
11950 ac_cpp='$CPP $CPPFLAGS'
11951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11971 ac_config_commands="$ac_config_commands libtool"
11976 # Only expand once:
11987 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11988 if test -n "$ac_tool_prefix"; then
11989 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11990 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11994 $as_echo_n "(cached) " >&6
11996 case $PKG_CONFIG in
11998 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $PATH
12005 test -z "$as_dir" && as_dir=.
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12008 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12020 if test -n "$PKG_CONFIG"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12022 $as_echo "$PKG_CONFIG" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12030 if test -z "$ac_cv_path_PKG_CONFIG"; then
12031 ac_pt_PKG_CONFIG=$PKG_CONFIG
12032 # Extract the first word of "pkg-config", so it can be a program name with args.
12033 set dummy pkg-config; ac_word=$2
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12035 $as_echo_n "checking for $ac_word... " >&6; }
12036 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12037 $as_echo_n "(cached) " >&6
12039 case $ac_pt_PKG_CONFIG in
12041 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12051 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12062 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12063 if test -n "$ac_pt_PKG_CONFIG"; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12065 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12071 if test "x$ac_pt_PKG_CONFIG" = x; then
12074 case $cross_compiling:$ac_tool_warned in
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12078 ac_tool_warned=yes ;;
12080 PKG_CONFIG=$ac_pt_PKG_CONFIG
12083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12087 if test -n "$PKG_CONFIG"; then
12088 _pkg_min_version=0.9.0
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12090 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12101 for ac_prog in flex lex
12103 # Extract the first word of "$ac_prog", so it can be a program name with args.
12104 set dummy $ac_prog; ac_word=$2
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 $as_echo_n "checking for $ac_word... " >&6; }
12107 if ${ac_cv_prog_LEX+:} false; then :
12108 $as_echo_n "(cached) " >&6
12110 if test -n "$LEX"; then
12111 ac_cv_prog_LEX="$LEX" # Let the user override the test.
12113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114 for as_dir in $PATH
12117 test -z "$as_dir" && as_dir=.
12118 for ac_exec_ext in '' $ac_executable_extensions; do
12119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12120 ac_cv_prog_LEX="$ac_prog"
12121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12130 LEX=$ac_cv_prog_LEX
12131 if test -n "$LEX"; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12133 $as_echo "$LEX" >&6; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12140 test -n "$LEX" && break
12142 test -n "$LEX" || LEX=":"
12144 if test "x$LEX" != "x:"; then
12145 cat >conftest.l <<_ACEOF
12151 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
12152 yyless ((input () != 0)); }
12153 f { unput (yytext[0]); }
12154 . { BEGIN INITIAL; }
12156 #ifdef YYTEXT_POINTER
12157 extern char *yytext;
12162 return ! yylex () + ! yywrap ();
12165 { { ac_try="$LEX conftest.l"
12166 case "(($ac_try" in
12167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12168 *) ac_try_echo=$ac_try;;
12170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12171 $as_echo "$ac_try_echo"; } >&5
12172 (eval "$LEX conftest.l") 2>&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12175 test $ac_status = 0; }
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12177 $as_echo_n "checking lex output file root... " >&6; }
12178 if ${ac_cv_prog_lex_root+:} false; then :
12179 $as_echo_n "(cached) " >&6
12182 if test -f lex.yy.c; then
12183 ac_cv_prog_lex_root=lex.yy
12184 elif test -f lexyy.c; then
12185 ac_cv_prog_lex_root=lexyy
12187 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12191 $as_echo "$ac_cv_prog_lex_root" >&6; }
12192 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12194 if test -z "${LEXLIB+set}"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12196 $as_echo_n "checking lex library... " >&6; }
12197 if ${ac_cv_lib_lex+:} false; then :
12198 $as_echo_n "(cached) " >&6
12202 ac_cv_lib_lex='none needed'
12203 for ac_lib in '' -lfl -ll; do
12204 LIBS="$ac_lib $ac_save_LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12207 `cat $LEX_OUTPUT_ROOT.c`
12209 if ac_fn_c_try_link "$LINENO"; then :
12210 ac_cv_lib_lex=$ac_lib
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 test "$ac_cv_lib_lex" != 'none needed' && break
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12220 $as_echo "$ac_cv_lib_lex" >&6; }
12221 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12226 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12227 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12228 $as_echo_n "(cached) " >&6
12230 # POSIX says lex can declare yytext either as a pointer or an array; the
12231 # default is implementation-dependent. Figure out which it is, since
12232 # not all implementations provide the %pointer and %array declarations.
12233 ac_cv_prog_lex_yytext_pointer=no
12235 LIBS="$LEXLIB $ac_save_LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 #define YYTEXT_POINTER 1
12240 `cat $LEX_OUTPUT_ROOT.c`
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 ac_cv_prog_lex_yytext_pointer=yes
12245 rm -f core conftest.err conftest.$ac_objext \
12246 conftest$ac_exeext conftest.$ac_ext
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12251 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12252 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12254 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12257 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12260 if test "$LEX" = :; then
12261 as_fn_error $? "flex not found but required" "$LINENO" 5
12264 for ac_prog in 'bison -y'
12266 # Extract the first word of "$ac_prog", so it can be a program name with args.
12267 set dummy $ac_prog; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12269 $as_echo_n "checking for $ac_word... " >&6; }
12270 if ${ac_cv_prog_YACC+:} false; then :
12271 $as_echo_n "(cached) " >&6
12273 if test -n "$YACC"; then
12274 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_YACC="$ac_prog"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12293 YACC=$ac_cv_prog_YACC
12294 if test -n "$YACC"; then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12296 $as_echo "$YACC" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12299 $as_echo "no" >&6; }
12303 test -n "$YACC" && break
12305 test -n "$YACC" || YACC=":"
12307 if test "$YACC" = :; then
12308 as_fn_error $? "bison not found but required" "$LINENO" 5
12316 case " ${result} " in
12317 *[\ \ ]${flag}[\ \ ]*) ;;
12318 *) result="${flag} ${result}" ;;
12324 if test "$GCC" = "yes"; then
12325 for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12326 -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12327 -Wsign-compare -fno-strict-aliasing;
12329 CFLAGS="$(ensureflag $flag $CFLAGS)"
12333 # Checks for libraries.
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12336 if ${ac_cv_lib_dl_dlopen+:} false; then :
12337 $as_echo_n "(cached) " >&6
12339 ac_check_lib_save_LIBS=$LIBS
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12359 if ac_fn_c_try_link "$LINENO"; then :
12360 ac_cv_lib_dl_dlopen=yes
12362 ac_cv_lib_dl_dlopen=no
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12369 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12370 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define HAVE_LIBDL 1
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12381 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12382 # libtool variables are immediately available since 2.0, prior to that we need
12383 # to call libtool --config explicitly
12384 if test "x$shrext_cmds" = x; then
12385 shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12388 eval std_shrext=$shrext_cmds
12389 # chop the initial dot
12390 SHLIB_SUFFIX=${std_shrext#.}
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12392 $as_echo ".$SHLIB_SUFFIX" >&6; }
12393 # any reason it may fail?
12394 if test "x$SHLIB_SUFFIX" = x; then
12395 as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12398 cat >>confdefs.h <<_ACEOF
12399 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12403 # Copied from dbus configure.in
12404 #### find the actual value for $prefix that we'll end up with
12405 ## (I know this is broken and should be done in the Makefile, but
12406 ## that's a major pain and almost nobody actually seems to care)
12408 EXP_VAR=EXPANDED_LOCALSTATEDIR
12409 FROM_VAR="$localstatedir"
12411 prefix_save=$prefix
12412 exec_prefix_save=$exec_prefix
12414 if test "x$prefix" = "xNONE"; then
12415 prefix="$ac_default_prefix"
12417 if test "x$exec_prefix" = "xNONE"; then
12418 exec_prefix=$prefix
12421 full_var="$FROM_VAR"
12423 new_full_var="`eval echo $full_var`"
12424 if test "x$new_full_var" = "x$full_var"; then break; fi
12425 full_var=$new_full_var
12428 full_var=$new_full_var
12429 EXPANDED_LOCALSTATEDIR="$full_var"
12432 prefix=$prefix_save
12433 exec_prefix=$exec_prefix_save
12436 EXP_VAR=EXPANDED_SYSCONFDIR
12437 FROM_VAR="$sysconfdir"
12439 prefix_save=$prefix
12440 exec_prefix_save=$exec_prefix
12442 if test "x$prefix" = "xNONE"; then
12443 prefix="$ac_default_prefix"
12445 if test "x$exec_prefix" = "xNONE"; then
12446 exec_prefix=$prefix
12449 full_var="$FROM_VAR"
12451 new_full_var="`eval echo $full_var`"
12452 if test "x$new_full_var" = "x$full_var"; then break; fi
12453 full_var=$new_full_var
12456 full_var=$new_full_var
12457 EXPANDED_SYSCONFDIR="$full_var"
12460 prefix=$prefix_save
12461 exec_prefix=$exec_prefix_save
12464 EXP_VAR=EXPANDED_BINDIR
12467 prefix_save=$prefix
12468 exec_prefix_save=$exec_prefix
12470 if test "x$prefix" = "xNONE"; then
12471 prefix="$ac_default_prefix"
12473 if test "x$exec_prefix" = "xNONE"; then
12474 exec_prefix=$prefix
12477 full_var="$FROM_VAR"
12479 new_full_var="`eval echo $full_var`"
12480 if test "x$new_full_var" = "x$full_var"; then break; fi
12481 full_var=$new_full_var
12484 full_var=$new_full_var
12485 EXPANDED_BINDIR="$full_var"
12488 prefix=$prefix_save
12489 exec_prefix=$exec_prefix_save
12492 EXP_VAR=EXPANDED_LIBDIR
12495 prefix_save=$prefix
12496 exec_prefix_save=$exec_prefix
12498 if test "x$prefix" = "xNONE"; then
12499 prefix="$ac_default_prefix"
12501 if test "x$exec_prefix" = "xNONE"; then
12502 exec_prefix=$prefix
12505 full_var="$FROM_VAR"
12507 new_full_var="`eval echo $full_var`"
12508 if test "x$new_full_var" = "x$full_var"; then break; fi
12509 full_var=$new_full_var
12512 full_var=$new_full_var
12513 EXPANDED_LIBDIR="$full_var"
12516 prefix=$prefix_save
12517 exec_prefix=$exec_prefix_save
12520 EXP_VAR=EXPANDED_LIBEXECDIR
12521 FROM_VAR="$libexecdir"
12523 prefix_save=$prefix
12524 exec_prefix_save=$exec_prefix
12526 if test "x$prefix" = "xNONE"; then
12527 prefix="$ac_default_prefix"
12529 if test "x$exec_prefix" = "xNONE"; then
12530 exec_prefix=$prefix
12533 full_var="$FROM_VAR"
12535 new_full_var="`eval echo $full_var`"
12536 if test "x$new_full_var" = "x$full_var"; then break; fi
12537 full_var=$new_full_var
12540 full_var=$new_full_var
12541 EXPANDED_LIBEXECDIR="$full_var"
12544 prefix=$prefix_save
12545 exec_prefix=$exec_prefix_save
12548 EXP_VAR=EXPANDED_DATADIR
12549 FROM_VAR="$datadir"
12551 prefix_save=$prefix
12552 exec_prefix_save=$exec_prefix
12554 if test "x$prefix" = "xNONE"; then
12555 prefix="$ac_default_prefix"
12557 if test "x$exec_prefix" = "xNONE"; then
12558 exec_prefix=$prefix
12561 full_var="$FROM_VAR"
12563 new_full_var="`eval echo $full_var`"
12564 if test "x$new_full_var" = "x$full_var"; then break; fi
12565 full_var=$new_full_var
12568 full_var=$new_full_var
12569 EXPANDED_DATADIR="$full_var"
12572 prefix=$prefix_save
12573 exec_prefix=$exec_prefix_save
12576 #### Directory to install the libexec binaries
12577 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12580 cat >>confdefs.h <<_ACEOF
12581 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12585 #### Directory to install the gir files
12586 GIR_SUFFIX="gir-1.0"
12589 cat >>confdefs.h <<_ACEOF
12590 #define GIR_SUFFIX "$GIR_SUFFIX"
12594 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12597 cat >>confdefs.h <<_ACEOF
12598 #define GIR_DIR "$GIR_DIR"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12605 $as_echo_n "checking for GLIB... " >&6; }
12607 if test -n "$GLIB_CFLAGS"; then
12608 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12609 elif test -n "$PKG_CONFIG"; then
12610 if test -n "$PKG_CONFIG" && \
12611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.9\""; } >&5
12612 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.9") 2>&5
12614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12615 test $ac_status = 0; }; then
12616 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.35.9" 2>/dev/null`
12617 test "x$?" != "x0" && pkg_failed=yes
12624 if test -n "$GLIB_LIBS"; then
12625 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12626 elif test -n "$PKG_CONFIG"; then
12627 if test -n "$PKG_CONFIG" && \
12628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.9\""; } >&5
12629 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.9") 2>&5
12631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12632 test $ac_status = 0; }; then
12633 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.35.9" 2>/dev/null`
12634 test "x$?" != "x0" && pkg_failed=yes
12644 if test $pkg_failed = yes; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12646 $as_echo "no" >&6; }
12648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12649 _pkg_short_errors_supported=yes
12651 _pkg_short_errors_supported=no
12653 if test $_pkg_short_errors_supported = yes; then
12654 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.35.9" 2>&1`
12656 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.35.9" 2>&1`
12658 # Put the nasty error message in config.log where it belongs
12659 echo "$GLIB_PKG_ERRORS" >&5
12661 as_fn_error $? "Package requirements (glib-2.0 >= 2.35.9) were not met:
12665 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12666 installed software in a non-standard prefix.
12668 Alternatively, you may set the environment variables GLIB_CFLAGS
12669 and GLIB_LIBS to avoid the need to call pkg-config.
12670 See the pkg-config man page for more details." "$LINENO" 5
12671 elif test $pkg_failed = untried; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12677 is in your PATH or set the PKG_CONFIG environment variable to the full
12678 path to pkg-config.
12680 Alternatively, you may set the environment variables GLIB_CFLAGS
12681 and GLIB_LIBS to avoid the need to call pkg-config.
12682 See the pkg-config man page for more details.
12684 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12685 See \`config.log' for more details" "$LINENO" 5; }
12687 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12688 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12690 $as_echo "yes" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12696 $as_echo_n "checking for GOBJECT... " >&6; }
12698 if test -n "$GOBJECT_CFLAGS"; then
12699 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12700 elif test -n "$PKG_CONFIG"; then
12701 if test -n "$PKG_CONFIG" && \
12702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12703 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12706 test $ac_status = 0; }; then
12707 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12708 test "x$?" != "x0" && pkg_failed=yes
12715 if test -n "$GOBJECT_LIBS"; then
12716 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12717 elif test -n "$PKG_CONFIG"; then
12718 if test -n "$PKG_CONFIG" && \
12719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12720 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12723 test $ac_status = 0; }; then
12724 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12725 test "x$?" != "x0" && pkg_failed=yes
12735 if test $pkg_failed = yes; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12740 _pkg_short_errors_supported=yes
12742 _pkg_short_errors_supported=no
12744 if test $_pkg_short_errors_supported = yes; then
12745 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12747 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12749 # Put the nasty error message in config.log where it belongs
12750 echo "$GOBJECT_PKG_ERRORS" >&5
12752 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12754 $GOBJECT_PKG_ERRORS
12756 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12757 installed software in a non-standard prefix.
12759 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12760 and GOBJECT_LIBS to avoid the need to call pkg-config.
12761 See the pkg-config man page for more details." "$LINENO" 5
12762 elif test $pkg_failed = untried; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12767 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12768 is in your PATH or set the PKG_CONFIG environment variable to the full
12769 path to pkg-config.
12771 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12772 and GOBJECT_LIBS to avoid the need to call pkg-config.
12773 See the pkg-config man page for more details.
12775 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12776 See \`config.log' for more details" "$LINENO" 5; }
12778 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12779 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12787 $as_echo_n "checking for GMODULE... " >&6; }
12789 if test -n "$GMODULE_CFLAGS"; then
12790 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12791 elif test -n "$PKG_CONFIG"; then
12792 if test -n "$PKG_CONFIG" && \
12793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12794 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797 test $ac_status = 0; }; then
12798 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12799 test "x$?" != "x0" && pkg_failed=yes
12806 if test -n "$GMODULE_LIBS"; then
12807 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12808 elif test -n "$PKG_CONFIG"; then
12809 if test -n "$PKG_CONFIG" && \
12810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12811 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12814 test $ac_status = 0; }; then
12815 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12816 test "x$?" != "x0" && pkg_failed=yes
12826 if test $pkg_failed = yes; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12831 _pkg_short_errors_supported=yes
12833 _pkg_short_errors_supported=no
12835 if test $_pkg_short_errors_supported = yes; then
12836 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12838 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12840 # Put the nasty error message in config.log where it belongs
12841 echo "$GMODULE_PKG_ERRORS" >&5
12843 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12845 $GMODULE_PKG_ERRORS
12847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12848 installed software in a non-standard prefix.
12850 Alternatively, you may set the environment variables GMODULE_CFLAGS
12851 and GMODULE_LIBS to avoid the need to call pkg-config.
12852 See the pkg-config man page for more details." "$LINENO" 5
12853 elif test $pkg_failed = untried; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12858 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12859 is in your PATH or set the PKG_CONFIG environment variable to the full
12860 path to pkg-config.
12862 Alternatively, you may set the environment variables GMODULE_CFLAGS
12863 and GMODULE_LIBS to avoid the need to call pkg-config.
12864 See the pkg-config man page for more details.
12866 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12867 See \`config.log' for more details" "$LINENO" 5; }
12869 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12870 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12872 $as_echo "yes" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12878 $as_echo_n "checking for GIO... " >&6; }
12880 if test -n "$GIO_CFLAGS"; then
12881 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12882 elif test -n "$PKG_CONFIG"; then
12883 if test -n "$PKG_CONFIG" && \
12884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12885 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12888 test $ac_status = 0; }; then
12889 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12890 test "x$?" != "x0" && pkg_failed=yes
12897 if test -n "$GIO_LIBS"; then
12898 pkg_cv_GIO_LIBS="$GIO_LIBS"
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 \"gio-2.0\""; } >&5
12902 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12905 test $ac_status = 0; }; then
12906 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12907 test "x$?" != "x0" && pkg_failed=yes
12917 if test $pkg_failed = yes; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12919 $as_echo "no" >&6; }
12921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12922 _pkg_short_errors_supported=yes
12924 _pkg_short_errors_supported=no
12926 if test $_pkg_short_errors_supported = yes; then
12927 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
12929 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
12931 # Put the nasty error message in config.log where it belongs
12932 echo "$GIO_PKG_ERRORS" >&5
12934 as_fn_error $? "Package requirements (gio-2.0) were not met:
12938 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12939 installed software in a non-standard prefix.
12941 Alternatively, you may set the environment variables GIO_CFLAGS
12942 and GIO_LIBS to avoid the need to call pkg-config.
12943 See the pkg-config man page for more details." "$LINENO" 5
12944 elif test $pkg_failed = untried; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12949 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12950 is in your PATH or set the PKG_CONFIG environment variable to the full
12951 path to pkg-config.
12953 Alternatively, you may set the environment variables GIO_CFLAGS
12954 and GIO_LIBS to avoid the need to call pkg-config.
12955 See the pkg-config man page for more details.
12957 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12958 See \`config.log' for more details" "$LINENO" 5; }
12960 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12961 GIO_LIBS=$pkg_cv_GIO_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12963 $as_echo "yes" >&6; }
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
12969 $as_echo_n "checking for GIO_UNIX... " >&6; }
12971 if test -n "$GIO_UNIX_CFLAGS"; then
12972 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
12973 elif test -n "$PKG_CONFIG"; then
12974 if test -n "$PKG_CONFIG" && \
12975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12976 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12979 test $ac_status = 0; }; then
12980 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
12981 test "x$?" != "x0" && pkg_failed=yes
12988 if test -n "$GIO_UNIX_LIBS"; then
12989 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_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 \"gio-unix-2.0\""; } >&5
12993 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996 test $ac_status = 0; }; then
12997 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
12998 test "x$?" != "x0" && pkg_failed=yes
13008 if test $pkg_failed = yes; then
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13010 $as_echo "no" >&6; }
13012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13013 _pkg_short_errors_supported=yes
13015 _pkg_short_errors_supported=no
13017 if test $_pkg_short_errors_supported = yes; then
13018 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13020 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13022 # Put the nasty error message in config.log where it belongs
13023 echo "$GIO_UNIX_PKG_ERRORS" >&5
13025 have_gio_unix=false
13026 elif test $pkg_failed = untried; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13029 have_gio_unix=false
13031 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
13032 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13034 $as_echo "yes" >&6; }
13037 if test x$have_gio_unix = xtrue; then
13038 HAVE_GIO_UNIX_TRUE=
13039 HAVE_GIO_UNIX_FALSE='#'
13041 HAVE_GIO_UNIX_TRUE='#'
13042 HAVE_GIO_UNIX_FALSE=
13046 # Prefer cairo-gobject if we have it
13048 # Check whether --with-cairo was given.
13049 if test "${with_cairo+set}" = set; then :
13050 withval=$with_cairo;
13056 if test x${with_cairo} != xno; then :
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13061 $as_echo_n "checking for CAIRO... " >&6; }
13063 if test -n "$CAIRO_CFLAGS"; then
13064 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13065 elif test -n "$PKG_CONFIG"; then
13066 if test -n "$PKG_CONFIG" && \
13067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13068 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071 test $ac_status = 0; }; then
13072 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13073 test "x$?" != "x0" && pkg_failed=yes
13080 if test -n "$CAIRO_LIBS"; then
13081 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13082 elif test -n "$PKG_CONFIG"; then
13083 if test -n "$PKG_CONFIG" && \
13084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13085 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13088 test $ac_status = 0; }; then
13089 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13090 test "x$?" != "x0" && pkg_failed=yes
13100 if test $pkg_failed = yes; then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102 $as_echo "no" >&6; }
13104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13105 _pkg_short_errors_supported=yes
13107 _pkg_short_errors_supported=no
13109 if test $_pkg_short_errors_supported = yes; then
13110 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13112 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13114 # Put the nasty error message in config.log where it belongs
13115 echo "$CAIRO_PKG_ERRORS" >&5
13118 elif test $pkg_failed = untried; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13123 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13124 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13126 $as_echo "yes" >&6; }
13129 if test x$have_cairo = xno && test x$with_cairo = xyes ; then :
13131 as_fn_error $? "cairo enabled but not found" "$LINENO" 5
13136 if test x$have_cairo = xyes; then
13138 HAVE_CAIRO_FALSE='#'
13140 HAVE_CAIRO_TRUE='#'
13147 CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13150 CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13153 CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13156 CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13159 CAIRO_GIR_PACKAGE="cairo-gobject"
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13168 $as_echo_n "checking for SCANNER... " >&6; }
13170 if test -n "$SCANNER_CFLAGS"; then
13171 pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13172 elif test -n "$PKG_CONFIG"; then
13173 if test -n "$PKG_CONFIG" && \
13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13175 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178 test $ac_status = 0; }; then
13179 pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gio-2.0" 2>/dev/null`
13180 test "x$?" != "x0" && pkg_failed=yes
13187 if test -n "$SCANNER_LIBS"; then
13188 pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13189 elif test -n "$PKG_CONFIG"; then
13190 if test -n "$PKG_CONFIG" && \
13191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13192 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 test $ac_status = 0; }; then
13196 pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gio-2.0" 2>/dev/null`
13197 test "x$?" != "x0" && pkg_failed=yes
13207 if test $pkg_failed = yes; then
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13209 $as_echo "no" >&6; }
13211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13212 _pkg_short_errors_supported=yes
13214 _pkg_short_errors_supported=no
13216 if test $_pkg_short_errors_supported = yes; then
13217 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13219 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13221 # Put the nasty error message in config.log where it belongs
13222 echo "$SCANNER_PKG_ERRORS" >&5
13224 as_fn_error $? "Package requirements (gobject-2.0 gio-2.0) were not met:
13226 $SCANNER_PKG_ERRORS
13228 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13229 installed software in a non-standard prefix.
13231 Alternatively, you may set the environment variables SCANNER_CFLAGS
13232 and SCANNER_LIBS to avoid the need to call pkg-config.
13233 See the pkg-config man page for more details." "$LINENO" 5
13234 elif test $pkg_failed = untried; then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 $as_echo "no" >&6; }
13237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13239 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13240 is in your PATH or set the PKG_CONFIG environment variable to the full
13241 path to pkg-config.
13243 Alternatively, you may set the environment variables SCANNER_CFLAGS
13244 and SCANNER_LIBS to avoid the need to call pkg-config.
13245 See the pkg-config man page for more details.
13247 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13248 See \`config.log' for more details" "$LINENO" 5; }
13250 SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13251 SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13253 $as_echo "yes" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13260 $as_echo_n "checking for FFI... " >&6; }
13262 if test -n "$FFI_CFLAGS"; then
13263 pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13264 elif test -n "$PKG_CONFIG"; then
13265 if test -n "$PKG_CONFIG" && \
13266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13267 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13270 test $ac_status = 0; }; then
13271 pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
13272 test "x$?" != "x0" && pkg_failed=yes
13279 if test -n "$FFI_LIBS"; then
13280 pkg_cv_FFI_LIBS="$FFI_LIBS"
13281 elif test -n "$PKG_CONFIG"; then
13282 if test -n "$PKG_CONFIG" && \
13283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13284 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13287 test $ac_status = 0; }; then
13288 pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
13289 test "x$?" != "x0" && pkg_failed=yes
13299 if test $pkg_failed = yes; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13304 _pkg_short_errors_supported=yes
13306 _pkg_short_errors_supported=no
13308 if test $_pkg_short_errors_supported = yes; then
13309 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
13311 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
13313 # Put the nasty error message in config.log where it belongs
13314 echo "$FFI_PKG_ERRORS" >&5
13316 have_ffi_pkgconfig=no
13317 elif test $pkg_failed = untried; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319 $as_echo "no" >&6; }
13320 have_ffi_pkgconfig=no
13322 FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13323 FFI_LIBS=$pkg_cv_FFI_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13325 $as_echo "yes" >&6; }
13326 have_ffi_pkgconfig=yes
13331 if test x"$have_ffi_pkgconfig" = xyes ; then
13332 FFI_PC_PACKAGES="libffi"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13335 $as_echo_n "checking for ffi.h... " >&6; }
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13341 if ac_fn_c_try_cpp "$LINENO"; then :
13346 rm -f conftest.err conftest.i conftest.$ac_ext
13347 if test x"$have_ffi_h" = x"yes"; then
13350 if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13353 other_LIBS=$with_ffi
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13357 $as_echo_n "checking for library containing ffi_call... " >&6; }
13358 if ${ac_cv_search_ffi_call+:} false; then :
13359 $as_echo_n "(cached) " >&6
13361 ac_func_search_save_LIBS=$LIBS
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13375 return ffi_call ();
13380 for ac_lib in '' ffi; do
13381 if test -z "$ac_lib"; then
13382 ac_res="none required"
13385 LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13387 if ac_fn_c_try_link "$LINENO"; then :
13388 ac_cv_search_ffi_call=$ac_res
13390 rm -f core conftest.err conftest.$ac_objext \
13392 if ${ac_cv_search_ffi_call+:} false; then :
13396 if ${ac_cv_search_ffi_call+:} false; then :
13399 ac_cv_search_ffi_call=no
13401 rm conftest.$ac_ext
13402 LIBS=$ac_func_search_save_LIBS
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13405 $as_echo "$ac_cv_search_ffi_call" >&6; }
13406 ac_res=$ac_cv_search_ffi_call
13407 if test "$ac_res" != no; then :
13408 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13411 as_fn_error $? "libffi not found" "$LINENO" 5
13414 if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13415 FFI_LIBS=$other_LIBS
13417 FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13422 if test x"$have_ffi_h" != x"yes" ; then
13423 as_fn_error $? "ffi.h not found" "$LINENO" 5
13426 FFI_PC_LIBS=$FFI_LIBS
13427 FFI_PC_CFLAGS=$FFI_CFLAGS
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13430 $as_echo "$have_ffi_h" >&6; }
13438 # The cast to long int works around a bug in the HP C Compiler
13439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13441 # This bug is HP SR number 8606223364.
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13443 $as_echo_n "checking size of char... " >&6; }
13444 if ${ac_cv_sizeof_char+:} false; then :
13445 $as_echo_n "(cached) " >&6
13447 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13450 if test "$ac_cv_type_char" = yes; then
13451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13453 as_fn_error 77 "cannot compute sizeof (char)
13454 See \`config.log' for more details" "$LINENO" 5; }
13456 ac_cv_sizeof_char=0
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13462 $as_echo "$ac_cv_sizeof_char" >&6; }
13466 cat >>confdefs.h <<_ACEOF
13467 #define SIZEOF_CHAR $ac_cv_sizeof_char
13471 # The cast to long int works around a bug in the HP C Compiler
13472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13474 # This bug is HP SR number 8606223364.
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13476 $as_echo_n "checking size of short... " >&6; }
13477 if ${ac_cv_sizeof_short+:} false; then :
13478 $as_echo_n "(cached) " >&6
13480 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13483 if test "$ac_cv_type_short" = yes; then
13484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13486 as_fn_error 77 "cannot compute sizeof (short)
13487 See \`config.log' for more details" "$LINENO" 5; }
13489 ac_cv_sizeof_short=0
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13495 $as_echo "$ac_cv_sizeof_short" >&6; }
13499 cat >>confdefs.h <<_ACEOF
13500 #define SIZEOF_SHORT $ac_cv_sizeof_short
13504 # The cast to long int works around a bug in the HP C Compiler
13505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13507 # This bug is HP SR number 8606223364.
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13509 $as_echo_n "checking size of int... " >&6; }
13510 if ${ac_cv_sizeof_int+:} false; then :
13511 $as_echo_n "(cached) " >&6
13513 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13516 if test "$ac_cv_type_int" = yes; then
13517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13519 as_fn_error 77 "cannot compute sizeof (int)
13520 See \`config.log' for more details" "$LINENO" 5; }
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13528 $as_echo "$ac_cv_sizeof_int" >&6; }
13532 cat >>confdefs.h <<_ACEOF
13533 #define SIZEOF_INT $ac_cv_sizeof_int
13537 # The cast to long int works around a bug in the HP C Compiler
13538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13540 # This bug is HP SR number 8606223364.
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13542 $as_echo_n "checking size of long... " >&6; }
13543 if ${ac_cv_sizeof_long+:} false; then :
13544 $as_echo_n "(cached) " >&6
13546 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13549 if test "$ac_cv_type_long" = yes; then
13550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13552 as_fn_error 77 "cannot compute sizeof (long)
13553 See \`config.log' for more details" "$LINENO" 5; }
13555 ac_cv_sizeof_long=0
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13561 $as_echo "$ac_cv_sizeof_long" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SIZEOF_LONG $ac_cv_sizeof_long
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13574 $as_echo_n "checking for GIREPO... " >&6; }
13576 if test -n "$GIREPO_CFLAGS"; then
13577 pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13578 elif test -n "$PKG_CONFIG"; then
13579 if test -n "$PKG_CONFIG" && \
13580 { { $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
13581 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13584 test $ac_status = 0; }; then
13585 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`
13586 test "x$?" != "x0" && pkg_failed=yes
13593 if test -n "$GIREPO_LIBS"; then
13594 pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13595 elif test -n "$PKG_CONFIG"; then
13596 if test -n "$PKG_CONFIG" && \
13597 { { $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
13598 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13601 test $ac_status = 0; }; then
13602 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`
13603 test "x$?" != "x0" && pkg_failed=yes
13613 if test $pkg_failed = yes; then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13615 $as_echo "no" >&6; }
13617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13618 _pkg_short_errors_supported=yes
13620 _pkg_short_errors_supported=no
13622 if test $_pkg_short_errors_supported = yes; then
13623 GIREPO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13625 GIREPO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13627 # Put the nasty error message in config.log where it belongs
13628 echo "$GIREPO_PKG_ERRORS" >&5
13630 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13634 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13635 installed software in a non-standard prefix.
13637 Alternatively, you may set the environment variables GIREPO_CFLAGS
13638 and GIREPO_LIBS to avoid the need to call pkg-config.
13639 See the pkg-config man page for more details." "$LINENO" 5
13640 elif test $pkg_failed = untried; then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13642 $as_echo "no" >&6; }
13643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13645 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13646 is in your PATH or set the PKG_CONFIG environment variable to the full
13647 path to pkg-config.
13649 Alternatively, you may set the environment variables GIREPO_CFLAGS
13650 and GIREPO_LIBS to avoid the need to call pkg-config.
13651 See the pkg-config man page for more details.
13653 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13654 See \`config.log' for more details" "$LINENO" 5; }
13656 GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13657 GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13659 $as_echo "yes" >&6; }
13663 # if we ever remove manual check for ffi and require .pc file, then
13664 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13665 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13666 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13668 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13671 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13672 # it on it's own line.
13677 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13678 set dummy gtkdoc-check; ac_word=$2
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13680 $as_echo_n "checking for $ac_word... " >&6; }
13681 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13682 $as_echo_n "(cached) " >&6
13684 case $GTKDOC_CHECK in
13686 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13690 for as_dir in $PATH
13693 test -z "$as_dir" && as_dir=.
13694 for ac_exec_ext in '' $ac_executable_extensions; do
13695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13696 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13707 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13708 if test -n "$GTKDOC_CHECK"; then
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13710 $as_echo "$GTKDOC_CHECK" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13717 for ac_prog in gtkdoc-rebase
13719 # Extract the first word of "$ac_prog", so it can be a program name with args.
13720 set dummy $ac_prog; ac_word=$2
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13722 $as_echo_n "checking for $ac_word... " >&6; }
13723 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13724 $as_echo_n "(cached) " >&6
13726 case $GTKDOC_REBASE in
13728 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13735 test -z "$as_dir" && as_dir=.
13736 for ac_exec_ext in '' $ac_executable_extensions; do
13737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13738 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13749 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13750 if test -n "$GTKDOC_REBASE"; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13752 $as_echo "$GTKDOC_REBASE" >&6; }
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13759 test -n "$GTKDOC_REBASE" && break
13761 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13763 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13764 set dummy gtkdoc-mkpdf; ac_word=$2
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13766 $as_echo_n "checking for $ac_word... " >&6; }
13767 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13768 $as_echo_n "(cached) " >&6
13770 case $GTKDOC_MKPDF in
13772 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13779 test -z "$as_dir" && as_dir=.
13780 for ac_exec_ext in '' $ac_executable_extensions; do
13781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13782 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13793 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13794 if test -n "$GTKDOC_MKPDF"; then
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13796 $as_echo "$GTKDOC_MKPDF" >&6; }
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13799 $as_echo "no" >&6; }
13805 # Check whether --with-html-dir was given.
13806 if test "${with_html_dir+set}" = set; then :
13807 withval=$with_html_dir;
13809 with_html_dir='${datadir}/gtk-doc/html'
13812 HTML_DIR="$with_html_dir"
13815 # Check whether --enable-gtk-doc was given.
13816 if test "${enable_gtk_doc+set}" = set; then :
13817 enableval=$enable_gtk_doc;
13823 if test x$enable_gtk_doc = xyes; then
13824 if test -n "$PKG_CONFIG" && \
13825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
13826 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13829 test $ac_status = 0; }; then
13832 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
13834 if test "x$PACKAGE_NAME" != "xglib"; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13838 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13840 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13841 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13842 elif test -n "$PKG_CONFIG"; then
13843 if test -n "$PKG_CONFIG" && \
13844 { { $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
13845 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848 test $ac_status = 0; }; then
13849 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13850 test "x$?" != "x0" && pkg_failed=yes
13857 if test -n "$GTKDOC_DEPS_LIBS"; then
13858 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13859 elif test -n "$PKG_CONFIG"; then
13860 if test -n "$PKG_CONFIG" && \
13861 { { $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
13862 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13865 test $ac_status = 0; }; then
13866 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13867 test "x$?" != "x0" && pkg_failed=yes
13877 if test $pkg_failed = yes; then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13879 $as_echo "no" >&6; }
13881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13882 _pkg_short_errors_supported=yes
13884 _pkg_short_errors_supported=no
13886 if test $_pkg_short_errors_supported = yes; then
13887 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13889 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13891 # Put the nasty error message in config.log where it belongs
13892 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13895 elif test $pkg_failed = untried; then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897 $as_echo "no" >&6; }
13900 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13901 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13903 $as_echo "yes" >&6; }
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13910 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13912 $as_echo "$enable_gtk_doc" >&6; }
13914 # Check whether --enable-gtk-doc-html was given.
13915 if test "${enable_gtk_doc_html+set}" = set; then :
13916 enableval=$enable_gtk_doc_html;
13918 enable_gtk_doc_html=yes
13921 # Check whether --enable-gtk-doc-pdf was given.
13922 if test "${enable_gtk_doc_pdf+set}" = set; then :
13923 enableval=$enable_gtk_doc_pdf;
13925 enable_gtk_doc_pdf=no
13929 if test -z "$GTKDOC_MKPDF"; then
13930 enable_gtk_doc_pdf=no
13933 if test -z "$AM_DEFAULT_VERBOSITY"; then
13934 AM_DEFAULT_VERBOSITY=1
13938 if test x$enable_gtk_doc = xyes; then
13939 ENABLE_GTK_DOC_TRUE=
13940 ENABLE_GTK_DOC_FALSE='#'
13942 ENABLE_GTK_DOC_TRUE='#'
13943 ENABLE_GTK_DOC_FALSE=
13946 if test x$enable_gtk_doc_html = xyes; then
13947 GTK_DOC_BUILD_HTML_TRUE=
13948 GTK_DOC_BUILD_HTML_FALSE='#'
13950 GTK_DOC_BUILD_HTML_TRUE='#'
13951 GTK_DOC_BUILD_HTML_FALSE=
13954 if test x$enable_gtk_doc_pdf = xyes; then
13955 GTK_DOC_BUILD_PDF_TRUE=
13956 GTK_DOC_BUILD_PDF_FALSE='#'
13958 GTK_DOC_BUILD_PDF_TRUE='#'
13959 GTK_DOC_BUILD_PDF_FALSE=
13962 if test -n "$LIBTOOL"; then
13963 GTK_DOC_USE_LIBTOOL_TRUE=
13964 GTK_DOC_USE_LIBTOOL_FALSE='#'
13966 GTK_DOC_USE_LIBTOOL_TRUE='#'
13967 GTK_DOC_USE_LIBTOOL_FALSE=
13970 if test -n "$GTKDOC_REBASE"; then
13971 GTK_DOC_USE_REBASE_TRUE=
13972 GTK_DOC_USE_REBASE_FALSE='#'
13974 GTK_DOC_USE_REBASE_TRUE='#'
13975 GTK_DOC_USE_REBASE_FALSE=
13981 # Checks for header files.
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13983 $as_echo_n "checking for ANSI C header files... " >&6; }
13984 if ${ac_cv_header_stdc+:} false; then :
13985 $as_echo_n "(cached) " >&6
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 #include <stdlib.h>
13990 #include <stdarg.h>
13991 #include <string.h>
14002 if ac_fn_c_try_compile "$LINENO"; then :
14003 ac_cv_header_stdc=yes
14005 ac_cv_header_stdc=no
14007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14009 if test $ac_cv_header_stdc = yes; then
14010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 #include <string.h>
14016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14017 $EGREP "memchr" >/dev/null 2>&1; then :
14020 ac_cv_header_stdc=no
14026 if test $ac_cv_header_stdc = yes; then
14027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14030 #include <stdlib.h>
14033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14034 $EGREP "free" >/dev/null 2>&1; then :
14037 ac_cv_header_stdc=no
14043 if test $ac_cv_header_stdc = yes; then
14044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14045 if test "$cross_compiling" = yes; then :
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 #include <stdlib.h>
14052 #if ((' ' & 0x0FF) == 0x020)
14053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14056 # define ISLOWER(c) \
14057 (('a' <= (c) && (c) <= 'i') \
14058 || ('j' <= (c) && (c) <= 'r') \
14059 || ('s' <= (c) && (c) <= 'z'))
14060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14068 for (i = 0; i < 256; i++)
14069 if (XOR (islower (i), ISLOWER (i))
14070 || toupper (i) != TOUPPER (i))
14075 if ac_fn_c_try_run "$LINENO"; then :
14078 ac_cv_header_stdc=no
14080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14081 conftest.$ac_objext conftest.beam conftest.$ac_ext
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14087 $as_echo "$ac_cv_header_stdc" >&6; }
14088 if test $ac_cv_header_stdc = yes; then
14090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14094 for ac_header in fcntl.h stdlib.h string.h
14096 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14099 cat >>confdefs.h <<_ACEOF
14100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14108 # Checks for typedefs, structures, and compiler characteristics.
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14110 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14111 if ${ac_cv_c_const+:} false; then :
14112 $as_echo_n "(cached) " >&6
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14121 #ifndef __cplusplus
14122 /* Ultrix mips cc rejects this sort of thing. */
14123 typedef int charset[2];
14124 const charset cs = { 0, 0 };
14125 /* SunOS 4.1.1 cc rejects this. */
14126 char const *const *pcpcc;
14128 /* NEC SVR4.0.2 mips cc rejects this. */
14129 struct point {int x, y;};
14130 static struct point const zero = {0,0};
14131 /* AIX XL C 1.02.0.0 rejects this.
14132 It does not let you subtract one const X* pointer from another in
14133 an arm of an if-expression whose if-part is not a constant
14135 const char *g = "string";
14136 pcpcc = &g + (g ? g-g : 0);
14137 /* HPUX 7.0 cc rejects these. */
14139 ppc = (char**) pcpcc;
14140 pcpcc = (char const *const *) ppc;
14141 { /* SCO 3.2v4 cc rejects this sort of thing. */
14144 char const *s = 0 ? (char *) 0 : (char const *) 0;
14149 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14150 int x[] = {25, 17};
14151 const int *foo = &x[0];
14154 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14155 typedef const int *iptr;
14159 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14160 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14161 struct s { int j; const int *ap[3]; } bx;
14162 struct s *b = &bx; b->j = 5;
14164 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14165 const int foo = 10;
14166 if (!foo) return 0;
14168 return !cs[0] && !zero.x;
14175 if ac_fn_c_try_compile "$LINENO"; then :
14180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14183 $as_echo "$ac_cv_c_const" >&6; }
14184 if test $ac_cv_c_const = no; then
14186 $as_echo "#define const /**/" >>confdefs.h
14191 # Checks for library functions.
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14193 $as_echo_n "checking for working strtod... " >&6; }
14194 if ${ac_cv_func_strtod+:} false; then :
14195 $as_echo_n "(cached) " >&6
14197 if test "$cross_compiling" = yes; then :
14198 ac_cv_func_strtod=no
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 $ac_includes_default
14211 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14212 char *string = " +69";
14215 value = strtod (string, &term);
14216 if (value != 69 || term != (string + 4))
14221 /* Under Solaris 2.4, strtod returns the wrong value for the
14222 terminating character under some conditions. */
14223 char *string = "NaN";
14225 strtod (string, &term);
14226 if (term != string && *(term - 1) == 0)
14233 if ac_fn_c_try_run "$LINENO"; then :
14234 ac_cv_func_strtod=yes
14236 ac_cv_func_strtod=no
14238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14239 conftest.$ac_objext conftest.beam conftest.$ac_ext
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14244 $as_echo "$ac_cv_func_strtod" >&6; }
14245 if test $ac_cv_func_strtod = no; then
14246 case " $LIBOBJS " in
14247 *" strtod.$ac_objext "* ) ;;
14248 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14252 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14253 if test "x$ac_cv_func_pow" = xyes; then :
14257 if test $ac_cv_func_pow = no; then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14259 $as_echo_n "checking for pow in -lm... " >&6; }
14260 if ${ac_cv_lib_m_pow+:} false; then :
14261 $as_echo_n "(cached) " >&6
14263 ac_check_lib_save_LIBS=$LIBS
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 ac_cv_lib_m_pow=yes
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 LIBS=$ac_check_lib_save_LIBS
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14293 $as_echo "$ac_cv_lib_m_pow" >&6; }
14294 if test "x$ac_cv_lib_m_pow" = xyes; then :
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14298 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14305 for ac_func in memchr strchr strspn strstr strtol strtoull
14307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14310 cat >>confdefs.h <<_ACEOF
14311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14317 for ac_func in backtrace backtrace_symbols
14319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14321 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14322 cat >>confdefs.h <<_ACEOF
14323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14337 if test -n "$PYTHON"; then
14338 # If the user set $PYTHON, use it and don't search something else.
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14340 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14342 # split strings by '.' and convert to numeric. Append some zeros
14343 # because we need at least 4 digits for the hex conversion.
14344 # map returns an iterator in Python 3.0 and a list in 2.x
14345 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14347 # xrange is not present in Python 3.0 and range returns an iterator
14348 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14349 sys.exit(sys.hexversion < minverhex)"
14350 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14351 ($PYTHON -c "$prog") >&5 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; then :
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14356 $as_echo "yes" >&6; }
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14360 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14362 am_display_PYTHON=$PYTHON
14364 # Otherwise, try each interpreter until we find one that satisfies
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14367 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14368 if ${am_cv_pathless_PYTHON+:} false; then :
14369 $as_echo_n "(cached) " >&6
14372 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14373 test "$am_cv_pathless_PYTHON" = none && break
14375 # split strings by '.' and convert to numeric. Append some zeros
14376 # because we need at least 4 digits for the hex conversion.
14377 # map returns an iterator in Python 3.0 and a list in 2.x
14378 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14380 # xrange is not present in Python 3.0 and range returns an iterator
14381 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14382 sys.exit(sys.hexversion < minverhex)"
14383 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14384 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; then :
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14393 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14394 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14395 if test "$am_cv_pathless_PYTHON" = none; then
14398 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14399 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14401 $as_echo_n "checking for $ac_word... " >&6; }
14402 if ${ac_cv_path_PYTHON+:} false; then :
14403 $as_echo_n "(cached) " >&6
14407 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14411 for as_dir in $PATH
14414 test -z "$as_dir" && as_dir=.
14415 for ac_exec_ext in '' $ac_executable_extensions; do
14416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14417 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14428 PYTHON=$ac_cv_path_PYTHON
14429 if test -n "$PYTHON"; then
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14431 $as_echo "$PYTHON" >&6; }
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14434 $as_echo "no" >&6; }
14439 am_display_PYTHON=$am_cv_pathless_PYTHON
14443 if test "$PYTHON" = :; then
14444 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14449 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14450 if ${am_cv_python_version+:} false; then :
14451 $as_echo_n "(cached) " >&6
14453 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14456 $as_echo "$am_cv_python_version" >&6; }
14457 PYTHON_VERSION=$am_cv_python_version
14461 PYTHON_PREFIX='${prefix}'
14463 PYTHON_EXEC_PREFIX='${exec_prefix}'
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14468 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14469 if ${am_cv_python_platform+:} false; then :
14470 $as_echo_n "(cached) " >&6
14472 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14475 $as_echo "$am_cv_python_platform" >&6; }
14476 PYTHON_PLATFORM=$am_cv_python_platform
14479 # Just factor out some code duplication.
14480 am_python_setup_sysconfig="\
14482 # Prefer sysconfig over distutils.sysconfig, for better compatibility
14483 # with python 3.x. See automake bug#10227.
14486 except ImportError:
14487 can_use_sysconfig = 0
14489 can_use_sysconfig = 1
14490 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
14491 # <https://github.com/pypa/virtualenv/issues/118>
14493 from platform import python_implementation
14494 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
14495 can_use_sysconfig = 0
14496 except ImportError:
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14501 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14502 if ${am_cv_python_pythondir+:} false; then :
14503 $as_echo_n "(cached) " >&6
14505 if test "x$prefix" = xNONE
14507 am_py_prefix=$ac_default_prefix
14509 am_py_prefix=$prefix
14511 am_cv_python_pythondir=`$PYTHON -c "
14512 $am_python_setup_sysconfig
14513 if can_use_sysconfig:
14514 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
14516 from distutils import sysconfig
14517 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
14518 sys.stdout.write(sitedir)"`
14519 case $am_cv_python_pythondir in
14521 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14522 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14525 case $am_py_prefix in
14528 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14536 $as_echo "$am_cv_python_pythondir" >&6; }
14537 pythondir=$am_cv_python_pythondir
14541 pkgpythondir=\${pythondir}/$PACKAGE
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14545 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14546 if ${am_cv_python_pyexecdir+:} false; then :
14547 $as_echo_n "(cached) " >&6
14549 if test "x$exec_prefix" = xNONE
14551 am_py_exec_prefix=$am_py_prefix
14553 am_py_exec_prefix=$exec_prefix
14555 am_cv_python_pyexecdir=`$PYTHON -c "
14556 $am_python_setup_sysconfig
14557 if can_use_sysconfig:
14558 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
14560 from distutils import sysconfig
14561 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
14562 sys.stdout.write(sitedir)"`
14563 case $am_cv_python_pyexecdir in
14564 $am_py_exec_prefix*)
14565 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14566 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14569 case $am_py_exec_prefix in
14572 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14580 $as_echo "$am_cv_python_pyexecdir" >&6; }
14581 pyexecdir=$am_cv_python_pyexecdir
14585 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14594 # Change backslashes to forward slashes in pyexecdir to avoid
14596 pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14601 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14602 PYTHON_INCLUDES=`$PYTHON-config --includes`
14604 save_CPPFLAGS="$CPPFLAGS"
14605 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14608 #include <Python.h>
14610 if ac_fn_c_try_cpp "$LINENO"; then :
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14612 $as_echo "found" >&6; }
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14616 $as_echo "not found" >&6; }
14617 as_fn_error $? "Python headers not found" "$LINENO" 5
14619 rm -f conftest.err conftest.i conftest.$ac_ext
14620 CPPFLAGS="$save_CPPFLAGS"
14622 if test "x$os_win32" = "xyes"; then
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14625 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14626 if test "x$PYTHON_LIBS" == x; then
14627 PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
14631 LIBS="$LIBS $PYTHON_LIBS"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14641 char Py_Initialize ();
14645 return Py_Initialize ();
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14652 $as_echo "found" >&6; };
14654 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14655 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14663 # Check whether --enable-doctool was given.
14664 if test "${enable_doctool+set}" = set; then :
14665 enableval=$enable_doctool;
14667 enable_doctool=auto
14670 if test x$enable_doctool != xno; then :
14673 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14675 $as_echo_n "checking for python module mako... " >&6; }
14676 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14677 $as_echo_n "(cached) " >&6
14684 except ImportError:
14689 if $PYTHON -c "$prog" 1>&5 2>&5
14691 eval "py_cv_mod_$py_mod_var=yes"
14693 eval "py_cv_mod_$py_mod_var=no"
14698 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14699 if test "x$py_val" != xno; then
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702 have_python_mako=yes
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14705 $as_echo "no" >&6; }
14706 have_python_mako=no
14711 if test x$enable_doctool = xauto && test x$have_python_mako = xyes ; then :
14713 elif test x$enable_doctool = xauto && test x$have_python_mako = xno ; then :
14715 elif test x$enable_doctool = xyes && test x$have_python_mako = xno ; then :
14716 as_fn_error $? "Python mako module not found" "$LINENO" 5
14718 if test x$enable_doctool != xno; then
14719 BUILD_DOCTOOL_TRUE=
14720 BUILD_DOCTOOL_FALSE='#'
14722 BUILD_DOCTOOL_TRUE='#'
14723 BUILD_DOCTOOL_FALSE=
14727 # Glib documentation
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14731 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14734 # Check whether --with-glib-src was given.
14735 if test "${with_glib_src+set}" = set; then :
14736 withval=$with_glib_src; GLIBSRC=$withval
14740 if test x"$GLIBSRC" != x; then
14742 WITH_GLIBSRC_FALSE='#'
14744 WITH_GLIBSRC_TRUE='#'
14745 WITH_GLIBSRC_FALSE=
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14750 $as_echo "$GLIBSRC" >&6; }
14752 # Check whether --enable-Bsymbolic was given.
14753 if test "${enable_Bsymbolic+set}" = set; then :
14754 enableval=$enable_Bsymbolic;
14756 SAVED_LDFLAGS="${LDFLAGS}"
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
14758 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
14759 LDFLAGS=-Wl,-Bsymbolic-functions
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14766 int main (void) { return 0; }
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14773 $as_echo "yes" >&6; }
14774 enable_Bsymbolic=yes
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14777 $as_echo "no" >&6; }
14778 enable_Bsymbolic=no
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LDFLAGS="${SAVED_LDFLAGS}"
14786 if test "x${enable_Bsymbolic}" = "xyes"; then
14787 EXTRA_LINK_FLAGS=-Wl,-Bsymbolic-functions
14792 ac_config_files="$ac_config_files Makefile m4/Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/repository/Makefile tests/warn/Makefile docs/Makefile docs/reference/Makefile gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc config.h.win32 build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile"
14794 cat >confcache <<\_ACEOF
14795 # This file is a shell script that caches the results of configure
14796 # tests run on this system so they can be shared between configure
14797 # scripts and configure runs, see configure's option --config-cache.
14798 # It is not useful on other systems. If it contains results you don't
14799 # want to keep, you may remove or edit it.
14801 # config.status only pays attention to the cache file if you give it
14802 # the --recheck option to rerun configure.
14804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14806 # following values.
14810 # The following way of writing the cache mishandles newlines in values,
14811 # but we know of no workaround that is simple, portable, and efficient.
14812 # So, we kill variables containing newlines.
14813 # Ultrix sh set writes to stderr and can't be redirected directly,
14814 # and sets the high bit in the cache file unless we assign to the vars.
14816 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14817 eval ac_val=\$$ac_var
14821 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14822 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14825 _ | IFS | as_nl) ;; #(
14826 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14827 *) { eval $ac_var=; unset $ac_var;} ;;
14833 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14834 *${as_nl}ac_space=\ *)
14835 # `set' does not quote correctly, so add quotes: double-quote
14836 # substitution turns \\\\ into \\, and sed turns \\ into \.
14839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14842 # `set' quotes correctly as required by POSIX, so do not add quotes.
14843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14852 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14854 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14856 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14857 if test -w "$cache_file"; then
14858 if test "x$cache_file" != "x/dev/null"; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14860 $as_echo "$as_me: updating cache $cache_file" >&6;}
14861 if test ! -f "$cache_file" || test -h "$cache_file"; then
14862 cat confcache >"$cache_file"
14864 case $cache_file in #(
14866 mv -f confcache "$cache_file"$$ &&
14867 mv -f "$cache_file"$$ "$cache_file" ;; #(
14869 mv -f confcache "$cache_file" ;;
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14875 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14880 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14881 # Let make expand exec_prefix.
14882 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14884 DEFS=-DHAVE_CONFIG_H
14889 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14890 # 1. Remove the extension, and $U if already installed.
14891 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14892 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14893 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14894 # will be set to the directory where LIBOBJS objects are built.
14895 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14896 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14898 LIBOBJS=$ac_libobjs
14900 LTLIBOBJS=$ac_ltlibobjs
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14904 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14905 if test -n "$am_sleep_pid"; then
14906 # Hide warnings about reused PIDs.
14907 wait $am_sleep_pid 2>/dev/null
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14910 $as_echo "done" >&6; }
14911 if test -n "$EXEEXT"; then
14913 am__EXEEXT_FALSE='#'
14915 am__EXEEXT_TRUE='#'
14919 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14920 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14923 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14924 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14927 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14928 as_fn_error $? "conditional \"AMDEP\" was never defined.
14929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14931 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14932 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14935 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
14936 as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
14937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14939 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
14940 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
14941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14943 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14944 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14947 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14948 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14951 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14952 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14955 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14956 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14959 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14960 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14963 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
14964 as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
14965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14967 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
14968 as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
14969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14972 : "${CONFIG_STATUS=./config.status}"
14974 ac_clean_files_save=$ac_clean_files
14975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14981 # Generated by $as_me.
14982 # Run this file to recreate the current configuration.
14983 # Compiler output produced by configure, useful for debugging
14984 # configure, is in config.log if it exists.
14987 ac_cs_recheck=false
14990 SHELL=\${CONFIG_SHELL-$SHELL}
14993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14994 ## -------------------- ##
14995 ## M4sh Initialization. ##
14996 ## -------------------- ##
14998 # Be more Bourne compatible
14999 DUALCASE=1; export DUALCASE # for MKS sh
15000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15003 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15004 # is contrary to our usage. Disable this feature.
15005 alias -g '${1+"$@"}'='"$@"'
15006 setopt NO_GLOB_SUBST
15008 case `(set -o) 2>/dev/null` in #(
15020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15021 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15024 # Prefer a ksh shell builtin over an external printf program on Solaris,
15025 # but without wasting forks for bash or zsh.
15026 if test -z "$BASH_VERSION$ZSH_VERSION" \
15027 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15028 as_echo='print -r --'
15029 as_echo_n='print -rn --'
15030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15031 as_echo='printf %s\n'
15032 as_echo_n='printf %s'
15034 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15035 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15036 as_echo_n='/usr/ucb/echo -n'
15038 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15039 as_echo_n_body='eval
15043 expr "X$arg" : "X\\(.*\\)$as_nl";
15044 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15046 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15048 export as_echo_n_body
15049 as_echo_n='sh -c $as_echo_n_body as_echo'
15051 export as_echo_body
15052 as_echo='sh -c $as_echo_body as_echo'
15055 # The user is always right.
15056 if test "${PATH_SEPARATOR+set}" != set; then
15058 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15059 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15066 # We need space, tab and new line, in precisely that order. Quoting is
15067 # there to prevent editors from complaining about space-tab.
15068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15069 # splitting by setting IFS to empty value.)
15072 # Find who we are. Look in the path if we contain no directory separator.
15075 *[\\/]* ) as_myself=$0 ;;
15076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15077 for as_dir in $PATH
15080 test -z "$as_dir" && as_dir=.
15081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15087 # We did not find ourselves, most probably we were run as `sh COMMAND'
15088 # in which case we are not to be found in the path.
15089 if test "x$as_myself" = x; then
15092 if test ! -f "$as_myself"; then
15093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15097 # Unset variables that we do not need and which cause bugs (e.g. in
15098 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15099 # suppresses any "Segmentation fault" message there. '((' could
15100 # trigger a bug in pdksh 5.2.14.
15101 for as_var in BASH_ENV ENV MAIL MAILPATH
15102 do eval test x\${$as_var+set} = xset \
15103 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15119 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15120 # ----------------------------------------
15121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15123 # script with STATUS, using 1 if that was 0.
15126 as_status=$1; test $as_status -eq 0 && as_status=1
15128 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15131 $as_echo "$as_me: error: $2" >&2
15132 as_fn_exit $as_status
15136 # as_fn_set_status STATUS
15137 # -----------------------
15138 # Set $? to STATUS, without forking.
15139 as_fn_set_status ()
15142 } # as_fn_set_status
15144 # as_fn_exit STATUS
15145 # -----------------
15146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15150 as_fn_set_status $1
15156 # Portably unset VAR.
15159 { eval $1=; unset $1;}
15161 as_unset=as_fn_unset
15162 # as_fn_append VAR VALUE
15163 # ----------------------
15164 # Append the text in VALUE to the end of the definition contained in VAR. Take
15165 # advantage of any shell optimizations that allow amortized linear growth over
15166 # repeated appends, instead of the typical quadratic growth present in naive
15168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15169 eval 'as_fn_append ()
15180 # as_fn_arith ARG...
15181 # ------------------
15182 # Perform arithmetic evaluation on the ARGs, and store the result in the
15183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15184 # must be portable across $(()) and expr.
15185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15186 eval 'as_fn_arith ()
15193 as_val=`expr "$@" || test $? -eq 1`
15198 if expr a : '\(a\)' >/dev/null 2>&1 &&
15199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15206 as_basename=basename
15211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15217 as_me=`$as_basename -- "$0" ||
15218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15219 X"$0" : 'X\(//\)$' \| \
15220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15222 sed '/^.*\/\([^/][^/]*\)\/*$/{
15236 # Avoid depending upon Character Ranges.
15237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15240 as_cr_digits='0123456789'
15241 as_cr_alnum=$as_cr_Letters$as_cr_digits
15243 ECHO_C= ECHO_N= ECHO_T=
15244 case `echo -n x` in #(((((
15246 case `echo 'xy\c'` in
15247 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15249 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15256 rm -f conf$$ conf$$.exe conf$$.file
15257 if test -d conf$$.dir; then
15258 rm -f conf$$.dir/conf$$.file
15261 mkdir conf$$.dir 2>/dev/null
15263 if (echo >conf$$.file) 2>/dev/null; then
15264 if ln -s conf$$.file conf$$ 2>/dev/null; then
15266 # ... but there are two gotchas:
15267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15269 # In both cases, we have to default to `cp -pR'.
15270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15272 elif ln conf$$.file conf$$ 2>/dev/null; then
15280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15281 rmdir conf$$.dir 2>/dev/null
15286 # Create "$as_dir" as a directory, including parents if necessary.
15291 -*) as_dir=./$as_dir;;
15293 test -d "$as_dir" || eval $as_mkdir_p || {
15297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15298 *) as_qdir=$as_dir;;
15300 as_dirs="'$as_qdir' $as_dirs"
15301 as_dir=`$as_dirname -- "$as_dir" ||
15302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15303 X"$as_dir" : 'X\(//\)[^/]' \| \
15304 X"$as_dir" : 'X\(//\)$' \| \
15305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15306 $as_echo X"$as_dir" |
15307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15311 /^X\(\/\/\)[^/].*/{
15324 test -d "$as_dir" && break
15326 test -z "$as_dirs" || eval "mkdir $as_dirs"
15327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15331 if mkdir -p . 2>/dev/null; then
15332 as_mkdir_p='mkdir -p "$as_dir"'
15334 test -d ./-p && rmdir ./-p
15339 # as_fn_executable_p FILE
15340 # -----------------------
15341 # Test if FILE is an executable regular file.
15342 as_fn_executable_p ()
15344 test -f "$1" && test -x "$1"
15345 } # as_fn_executable_p
15346 as_test_x='test -x'
15347 as_executable_p=as_fn_executable_p
15349 # Sed expression to map a string onto a valid CPP name.
15350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15352 # Sed expression to map a string onto a valid variable name.
15353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15357 ## ----------------------------------- ##
15358 ## Main body of $CONFIG_STATUS script. ##
15359 ## ----------------------------------- ##
15361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15364 # Save the log message, to keep $0 and so on meaningful, and to
15365 # report actual input values of CONFIG_FILES etc. instead of their
15366 # values after options handling.
15368 This file was extended by gobject-introspection $as_me 1.35.9, which was
15369 generated by GNU Autoconf 2.69. Invocation command line was
15371 CONFIG_FILES = $CONFIG_FILES
15372 CONFIG_HEADERS = $CONFIG_HEADERS
15373 CONFIG_LINKS = $CONFIG_LINKS
15374 CONFIG_COMMANDS = $CONFIG_COMMANDS
15377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15382 case $ac_config_files in *"
15383 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15386 case $ac_config_headers in *"
15387 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15392 # Files that config.status was made for.
15393 config_files="$ac_config_files"
15394 config_headers="$ac_config_headers"
15395 config_commands="$ac_config_commands"
15399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15401 \`$as_me' instantiates files and other configuration actions
15402 from templates according to the current configuration. Unless the files
15403 and actions are specified as TAGs, all are instantiated by default.
15405 Usage: $0 [OPTION]... [TAG]...
15407 -h, --help print this help, then exit
15408 -V, --version print version number and configuration settings, then exit
15409 --config print configuration, then exit
15410 -q, --quiet, --silent
15411 do not print progress messages
15412 -d, --debug don't remove temporary files
15413 --recheck update $as_me by reconfiguring in the same conditions
15414 --file=FILE[:TEMPLATE]
15415 instantiate the configuration file FILE
15416 --header=FILE[:TEMPLATE]
15417 instantiate the configuration header FILE
15419 Configuration files:
15422 Configuration headers:
15425 Configuration commands:
15428 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15432 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15434 gobject-introspection config.status 1.35.9
15435 configured by $0, generated by GNU Autoconf 2.69,
15436 with options \\"\$ac_cs_config\\"
15438 Copyright (C) 2012 Free Software Foundation, Inc.
15439 This config.status script is free software; the Free Software Foundation
15440 gives unlimited permission to copy, distribute and modify it."
15447 test -n "\$AWK" || AWK=awk
15450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15451 # The default lists apply if the user does not specify any file.
15457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15474 # Handling of the options.
15475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15478 $as_echo "$ac_cs_version"; exit ;;
15479 --config | --confi | --conf | --con | --co | --c )
15480 $as_echo "$ac_cs_config"; exit ;;
15481 --debug | --debu | --deb | --de | --d | -d )
15483 --file | --fil | --fi | --f )
15486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15487 '') as_fn_error $? "missing file argument" ;;
15489 as_fn_append CONFIG_FILES " '$ac_optarg'"
15490 ac_need_defaults=false;;
15491 --header | --heade | --head | --hea )
15494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15496 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15497 ac_need_defaults=false;;
15499 # Conflict between --help and --header
15500 as_fn_error $? "ambiguous option: \`$1'
15501 Try \`$0 --help' for more information.";;
15502 --help | --hel | -h )
15503 $as_echo "$ac_cs_usage"; exit ;;
15504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15505 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15508 # This is an error.
15509 -*) as_fn_error $? "unrecognized option: \`$1'
15510 Try \`$0 --help' for more information." ;;
15512 *) as_fn_append ac_config_targets " $1"
15513 ac_need_defaults=false ;;
15519 ac_configure_extra_args=
15521 if $ac_cs_silent; then
15523 ac_configure_extra_args="$ac_configure_extra_args --silent"
15527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15528 if \$ac_cs_recheck; then
15529 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15531 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15532 CONFIG_SHELL='$SHELL'
15533 export CONFIG_SHELL
15538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15543 ## Running $as_me. ##
15549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15553 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15556 # The HP-UX ksh and POSIX shell print the target directory to stdout
15557 # if CDPATH is set.
15558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15560 sed_quote_subst='$sed_quote_subst'
15561 double_quote_subst='$double_quote_subst'
15562 delay_variable_subst='$delay_variable_subst'
15563 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15564 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15565 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15566 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15567 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15568 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15569 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15570 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15571 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15572 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15573 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15574 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15575 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15576 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15577 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15578 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15579 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15580 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15581 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15582 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15583 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15584 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15585 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15586 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15587 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15588 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15589 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15590 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15591 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15592 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15593 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15594 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15595 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15596 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15597 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15598 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15599 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15600 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15601 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15602 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15603 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15604 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15605 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15606 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15607 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15608 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15609 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15610 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15611 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15612 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15613 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15614 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15615 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15616 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15617 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15618 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15619 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"`'
15620 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15621 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15622 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15623 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15624 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15625 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15626 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15627 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15628 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15629 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15630 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15631 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15632 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15633 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15634 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15635 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15636 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15637 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15638 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15639 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15640 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15641 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15642 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15643 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15644 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15645 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15646 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15647 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15648 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15649 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15650 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15651 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15652 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15653 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15654 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15655 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15656 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15657 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15658 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15659 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15660 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15661 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15662 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15663 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15664 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15665 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15666 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15667 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15668 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15669 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15670 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15671 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15672 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15673 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15674 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15675 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15676 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15677 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15678 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15679 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15680 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15681 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15682 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15683 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15684 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15685 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15686 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15687 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15688 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15689 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15690 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15691 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15692 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15695 LTCFLAGS='$LTCFLAGS'
15696 compiler='$compiler_DEFAULT'
15698 # A function that is used when there is no print builtin or printf.
15699 func_fallback_echo ()
15701 eval 'cat <<_LTECHO_EOF
15706 # Quote evaled strings.
15721 deplibs_check_method \
15726 sharedlib_from_linklib_cmd \
15729 archiver_list_spec \
15735 lt_cv_sys_global_symbol_pipe \
15736 lt_cv_sys_global_symbol_to_cdecl \
15737 lt_cv_sys_global_symbol_to_c_name_address \
15738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15739 nm_file_list_spec \
15740 lt_prog_compiler_no_builtin_flag \
15741 lt_prog_compiler_pic \
15742 lt_prog_compiler_wl \
15743 lt_prog_compiler_static \
15744 lt_cv_prog_compiler_c_o \
15753 export_dynamic_flag_spec \
15754 whole_archive_flag_spec \
15755 compiler_needs_object \
15757 allow_undefined_flag \
15758 no_undefined_flag \
15759 hardcode_libdir_flag_spec \
15760 hardcode_libdir_separator \
15764 variables_saved_for_relink \
15766 library_names_spec \
15768 install_override_mode \
15772 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15773 *[\\\\\\\`\\"\\\$]*)
15774 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15777 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15782 # Double-quote double-evaled strings.
15783 for var in reload_cmds \
15784 old_postinstall_cmds \
15785 old_postuninstall_cmds \
15787 extract_expsyms_cmds \
15788 old_archive_from_new_cmds \
15789 old_archive_from_expsyms_cmds \
15791 archive_expsym_cmds \
15793 module_expsym_cmds \
15794 export_symbols_cmds \
15798 postuninstall_cmds \
15800 sys_lib_search_path_spec \
15801 sys_lib_dlsearch_path_spec; do
15802 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15803 *[\\\\\\\`\\"\\\$]*)
15804 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15807 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15812 ac_aux_dir='$ac_aux_dir'
15813 xsi_shell='$xsi_shell'
15814 lt_shell_append='$lt_shell_append'
15816 # See if we are running on zsh, and set the options which allow our
15817 # commands through without removal of \ escapes INIT.
15818 if test -n "\${ZSH_VERSION+set}" ; then
15819 setopt NO_GLOB_SUBST
15825 TIMESTAMP='$TIMESTAMP'
15834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15836 # Handling of arguments.
15837 for ac_config_target in $ac_config_targets
15839 case $ac_config_target in
15840 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15841 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15842 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15843 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15844 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15845 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15846 "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15847 "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15848 "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15849 "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15850 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15851 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15852 "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15853 "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15854 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
15855 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15856 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
15857 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
15858 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
15860 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15865 # If the user did not use the arguments to specify the items to instantiate,
15866 # then the envvar interface is used. Set only those that are not.
15867 # We use the long form for the default assignment because of an extremely
15868 # bizarre bug on SunOS 4.1.3.
15869 if $ac_need_defaults; then
15870 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15871 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15872 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15875 # Have a temporary directory for convenience. Make it in the build tree
15876 # simply because there is no reason against having it here, and in addition,
15877 # creating and moving files from /tmp can sometimes cause problems.
15878 # Hook for its removal unless debugging.
15879 # Note that there is a small window in which the directory will not be cleaned:
15880 # after its creation but before its name has been assigned to `$tmp'.
15884 trap 'exit_status=$?
15885 : "${ac_tmp:=$tmp}"
15886 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15888 trap 'as_fn_exit 1' 1 2 13 15
15890 # Create a (secure) tmp directory for tmp files.
15893 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15897 tmp=./conf$$-$RANDOM
15898 (umask 077 && mkdir "$tmp")
15899 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15902 # Set up the scripts for CONFIG_FILES section.
15903 # No need to generate them if there are no CONFIG_FILES.
15904 # This happens for instance with `./config.status config.h'.
15905 if test -n "$CONFIG_FILES"; then
15908 ac_cr=`echo X | tr X '\015'`
15909 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15910 # But we know of no other shell where ac_cr would be empty at this
15911 # point, so we can use a bashism as a fallback.
15912 if test "x$ac_cr" = x; then
15913 eval ac_cr=\$\'\\r\'
15915 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15916 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15919 ac_cs_awk_cr=$ac_cr
15922 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15927 echo "cat >conf$$subs.awk <<_ACEOF" &&
15928 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15930 } >conf$$subs.sh ||
15931 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15932 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15934 for ac_last_try in false false false false false :; do
15935 . ./conf$$subs.sh ||
15936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15938 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15939 if test $ac_delim_n = $ac_delim_num; then
15941 elif $ac_last_try; then
15942 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15944 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15947 rm -f conf$$subs.sh
15949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15950 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15954 s/^/S["/; s/!.*/"]=/
15964 s/\(.\{148\}\)..*/\1/
15966 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15971 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15978 s/\(.\{148\}\)..*/\1/
15980 s/["\\]/\\&/g; s/^/"/; s/$/"/
15984 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15989 ' <conf$$subs.awk | sed '
15994 ' >>$CONFIG_STATUS || ac_write_fail=1
15995 rm -f conf$$subs.awk
15996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15998 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15999 for (key in S) S_is_set[key] = 1
16005 nfields = split(line, field, "@")
16007 len = length(field[1])
16008 for (i = 2; i < nfields; i++) {
16010 keylen = length(key)
16011 if (S_is_set[key]) {
16013 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16014 len += length(value) + length(field[++i])
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16026 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16027 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16030 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16031 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16034 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16035 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16036 # trailing colons and then remove the whole line if VPATH becomes empty
16037 # (actually we leave an empty line to preserve line numbers).
16038 if test "x$srcdir" = x.; then
16039 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16058 fi # test -n "$CONFIG_FILES"
16060 # Set up the scripts for CONFIG_HEADERS section.
16061 # No need to generate them if there are no CONFIG_HEADERS.
16062 # This happens for instance with `./config.status Makefile'.
16063 if test -n "$CONFIG_HEADERS"; then
16064 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16068 # Transform confdefs.h into an awk script `defines.awk', embedded as
16069 # here-document in config.status, that substitutes the proper values into
16070 # config.h.in to produce config.h.
16072 # Create a delimiter string that does not exist in confdefs.h, to ease
16073 # handling of long lines.
16075 for ac_last_try in false false :; do
16076 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16077 if test -z "$ac_tt"; then
16079 elif $ac_last_try; then
16080 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16086 # For the awk script, D is an array of macro values keyed by name,
16087 # likewise P contains macro parameters if any. Preserve backslash
16088 # newline sequences.
16090 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16092 s/.\{148\}/&'"$ac_delim"'/g
16095 s/^[ ]*#[ ]*define[ ][ ]*/ /
16102 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16104 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16108 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16109 D["\1"]=" \3\\\\\\n"\\/p
16111 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16116 s/.\{148\}/&'"$ac_delim"'/g
16121 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16124 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16126 ' <confdefs.h | sed '
16127 s/'"$ac_delim"'/"\\\
16128 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16131 for (key in D) D_is_set[key] = 1
16134 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16136 split(line, arg, " ")
16137 if (arg[1] == "#") {
16141 defundef = substr(arg[1], 2)
16144 split(mac1, mac2, "(") #)
16146 prefix = substr(line, 1, index(line, defundef) - 1)
16147 if (D_is_set[macro]) {
16148 # Preserve the white space surrounding the "#".
16149 print prefix "define", macro P[macro] D[macro]
16152 # Replace #undef with comments. This is necessary, for example,
16153 # in the case of _POSIX_SOURCE, which is predefined and required
16154 # on some systems where configure will not decide to define it.
16155 if (defundef == "undef") {
16156 print "/*", prefix defundef, macro, "*/"
16164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16165 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16166 fi # test -n "$CONFIG_HEADERS"
16169 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16174 :[FHLC]) ac_mode=$ac_tag; continue;;
16176 case $ac_mode$ac_tag in
16178 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16179 :[FH]-) ac_tag=-:-;;
16180 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16197 -) ac_f="$ac_tmp/stdin";;
16198 *) # Look for the file first in the build tree, then in the source tree
16199 # (if the path is not absolute). The absolute path cannot be DOS-style,
16200 # because $ac_f cannot contain `:'.
16204 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16206 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16208 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16209 as_fn_append ac_file_inputs " '$ac_f'"
16212 # Let's still pretend it is `configure' which instantiates (i.e., don't
16213 # use $as_me), people would be surprised to read:
16214 # /* config.h. Generated by config.status. */
16215 configure_input='Generated from '`
16216 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16218 if test x"$ac_file" != x-; then
16219 configure_input="$ac_file. $configure_input"
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16221 $as_echo "$as_me: creating $ac_file" >&6;}
16223 # Neutralize special characters interpreted by sed in replacement strings.
16224 case $configure_input in #(
16225 *\&* | *\|* | *\\* )
16226 ac_sed_conf_input=`$as_echo "$configure_input" |
16227 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16228 *) ac_sed_conf_input=$configure_input;;
16232 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16238 ac_dir=`$as_dirname -- "$ac_file" ||
16239 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16240 X"$ac_file" : 'X\(//\)[^/]' \| \
16241 X"$ac_file" : 'X\(//\)$' \| \
16242 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16243 $as_echo X"$ac_file" |
16244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16248 /^X\(\/\/\)[^/].*/{
16261 as_dir="$ac_dir"; as_fn_mkdir_p
16265 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16267 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16268 # A ".." for each directory in $ac_dir_suffix.
16269 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16270 case $ac_top_builddir_sub in
16271 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16272 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16275 ac_abs_top_builddir=$ac_pwd
16276 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16277 # for backward compatibility:
16278 ac_top_builddir=$ac_top_build_prefix
16281 .) # We are building in place.
16283 ac_top_srcdir=$ac_top_builddir_sub
16284 ac_abs_top_srcdir=$ac_pwd ;;
16285 [\\/]* | ?:[\\/]* ) # Absolute name.
16286 ac_srcdir=$srcdir$ac_dir_suffix;
16287 ac_top_srcdir=$srcdir
16288 ac_abs_top_srcdir=$srcdir ;;
16289 *) # Relative name.
16290 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16291 ac_top_srcdir=$ac_top_build_prefix$srcdir
16292 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16294 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16304 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16305 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16307 ac_MKDIR_P=$MKDIR_P
16309 [\\/$]* | ?:[\\/]* ) ;;
16310 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16315 # If the template does not know about datarootdir, expand it.
16316 # FIXME: This hack should be removed a few years after 2.60.
16317 ac_datarootdir_hack=; ac_datarootdir_seen=
16328 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16329 *datarootdir*) ac_datarootdir_seen=yes;;
16330 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16332 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16335 ac_datarootdir_hack='
16336 s&@datadir@&$datadir&g
16337 s&@docdir@&$docdir&g
16338 s&@infodir@&$infodir&g
16339 s&@localedir@&$localedir&g
16340 s&@mandir@&$mandir&g
16341 s&\\\${datarootdir}&$datarootdir&g' ;;
16345 # Neutralize VPATH when `$srcdir' = `.'.
16346 # Shell code in configure.ac might set extrasub.
16347 # FIXME: do we really want to maintain this feature?
16348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16349 ac_sed_extra="$ac_vpsub
16352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16355 s|@configure_input@|$ac_sed_conf_input|;t t
16356 s&@top_builddir@&$ac_top_builddir_sub&;t t
16357 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16358 s&@srcdir@&$ac_srcdir&;t t
16359 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16360 s&@top_srcdir@&$ac_top_srcdir&;t t
16361 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16362 s&@builddir@&$ac_builddir&;t t
16363 s&@abs_builddir@&$ac_abs_builddir&;t t
16364 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16365 s&@INSTALL@&$ac_INSTALL&;t t
16366 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16367 $ac_datarootdir_hack
16369 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16370 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16372 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16373 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16374 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16375 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16377 which seems to be undefined. Please make sure it is defined" >&5
16378 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16379 which seems to be undefined. Please make sure it is defined" >&2;}
16381 rm -f "$ac_tmp/stdin"
16383 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16384 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16386 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16392 if test x"$ac_file" != x-; then
16394 $as_echo "/* $configure_input */" \
16395 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16396 } >"$ac_tmp/config.h" \
16397 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16398 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16400 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16403 mv "$ac_tmp/config.h" "$ac_file" \
16404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16407 $as_echo "/* $configure_input */" \
16408 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16409 || as_fn_error $? "could not create -" "$LINENO" 5
16411 # Compute "$ac_file"'s index in $config_headers.
16414 for _am_header in $config_headers :; do
16415 case $_am_header in
16416 $_am_arg | $_am_arg:* )
16419 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16422 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16423 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16424 X"$_am_arg" : 'X\(//\)[^/]' \| \
16425 X"$_am_arg" : 'X\(//\)$' \| \
16426 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16427 $as_echo X"$_am_arg" |
16428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16432 /^X\(\/\/\)[^/].*/{
16444 s/.*/./; q'`/stamp-h$_am_stamp_count
16447 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16448 $as_echo "$as_me: executing $ac_file commands" >&6;}
16453 case $ac_file$ac_mode in
16454 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16455 # Older Autoconf quotes --file arguments for eval, but not when files
16456 # are listed without --file. Let's play safe and only enable the eval
16457 # if we detect the quoting.
16458 case $CONFIG_FILES in
16459 *\'*) eval set x "$CONFIG_FILES" ;;
16460 *) set x $CONFIG_FILES ;;
16465 # Strip MF so we end up with the name of the file.
16466 mf=`echo "$mf" | sed -e 's/:.*$//'`
16467 # Check whether this is an Automake generated Makefile or not.
16468 # We used to match only the files named 'Makefile.in', but
16469 # some people rename them; so instead we look at the file content.
16470 # Grep'ing the first line is not enough: some people post-process
16471 # each Makefile.in and add a new line on top of each file to say so.
16472 # Grep'ing the whole file is not good either: AIX grep has a line
16473 # limit of 2048, but all sed's we know have understand at least 4000.
16474 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16475 dirpart=`$as_dirname -- "$mf" ||
16476 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16477 X"$mf" : 'X\(//\)[^/]' \| \
16478 X"$mf" : 'X\(//\)$' \| \
16479 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16485 /^X\(\/\/\)[^/].*/{
16501 # Extract the definition of DEPDIR, am__include, and am__quote
16502 # from the Makefile without running 'make'.
16503 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16504 test -z "$DEPDIR" && continue
16505 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16506 test -z "am__include" && continue
16507 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16508 # Find all dependency output files, they are included files with
16509 # $(DEPDIR) in their names. We invoke sed twice because it is the
16510 # simplest approach to changing $(DEPDIR) to its actual value in the
16512 for file in `sed -n "
16513 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16514 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16515 # Make sure the directory exists.
16516 test -f "$dirpart/$file" && continue
16517 fdir=`$as_dirname -- "$file" ||
16518 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16519 X"$file" : 'X\(//\)[^/]' \| \
16520 X"$file" : 'X\(//\)$' \| \
16521 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16522 $as_echo X"$file" |
16523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16527 /^X\(\/\/\)[^/].*/{
16540 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16541 # echo "creating $dirpart/$file"
16542 echo '# dummy' > "$dirpart/$file"
16549 # See if we are running on zsh, and set the options which allow our
16550 # commands through without removal of \ escapes.
16551 if test -n "${ZSH_VERSION+set}" ; then
16552 setopt NO_GLOB_SUBST
16555 cfgfile="${ofile}T"
16556 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16559 cat <<_LT_EOF >> "$cfgfile"
16562 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16563 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16564 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16565 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16567 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16568 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16570 # Written by Gordon Matzigkeit, 1996
16572 # This file is part of GNU Libtool.
16574 # GNU Libtool is free software; you can redistribute it and/or
16575 # modify it under the terms of the GNU General Public License as
16576 # published by the Free Software Foundation; either version 2 of
16577 # the License, or (at your option) any later version.
16579 # As a special exception to the GNU General Public License,
16580 # if you distribute this file as part of a program or library that
16581 # is built using GNU Libtool, you may include this file under the
16582 # same distribution terms that you use for the rest of that program.
16584 # GNU Libtool is distributed in the hope that it will be useful,
16585 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16586 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16587 # GNU General Public License for more details.
16589 # You should have received a copy of the GNU General Public License
16590 # along with GNU Libtool; see the file COPYING. If not, a copy
16591 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16592 # obtained by writing to the Free Software Foundation, Inc.,
16593 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16596 # The names of the tagged configurations supported by this script.
16599 # ### BEGIN LIBTOOL CONFIG
16601 # Which release of libtool.m4 was used?
16602 macro_version=$macro_version
16603 macro_revision=$macro_revision
16605 # Whether or not to build shared libraries.
16606 build_libtool_libs=$enable_shared
16608 # Whether or not to build static libraries.
16609 build_old_libs=$enable_static
16611 # What type of objects to build.
16614 # Whether or not to optimize for fast installation.
16615 fast_install=$enable_fast_install
16617 # Shell to use when invoking shell scripts.
16620 # An echo program that protects backslashes.
16623 # The PATH separator for the build system.
16624 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16627 host_alias=$host_alias
16631 # The build system.
16632 build_alias=$build_alias
16636 # A sed program that does not truncate output.
16639 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16640 Xsed="\$SED -e 1s/^X//"
16642 # A grep program that handles long lines.
16648 # A literal string matcher.
16651 # A BSD- or MS-compatible name lister.
16654 # Whether we need soft or hard links.
16657 # What is the maximum length of a command?
16658 max_cmd_len=$max_cmd_len
16660 # Object file suffix (normally "o").
16663 # Executable file suffix (normally "").
16666 # whether the shell understands "unset".
16669 # turn spaces into newlines.
16672 # turn newlines into spaces.
16675 # convert \$build file names to \$host format.
16676 to_host_file_cmd=$lt_cv_to_host_file_cmd
16678 # convert \$build files to toolchain format.
16679 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16681 # An object symbol dumper.
16682 OBJDUMP=$lt_OBJDUMP
16684 # Method to check whether dependent libraries are shared objects.
16685 deplibs_check_method=$lt_deplibs_check_method
16687 # Command to use when deplibs_check_method = "file_magic".
16688 file_magic_cmd=$lt_file_magic_cmd
16690 # How to find potential files when deplibs_check_method = "file_magic".
16691 file_magic_glob=$lt_file_magic_glob
16693 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16694 want_nocaseglob=$lt_want_nocaseglob
16696 # DLL creation program.
16697 DLLTOOL=$lt_DLLTOOL
16699 # Command to associate shared and link libraries.
16700 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16705 # Flags to create an archive.
16706 AR_FLAGS=$lt_AR_FLAGS
16708 # How to feed a file listing to the archiver.
16709 archiver_list_spec=$lt_archiver_list_spec
16711 # A symbol stripping program.
16714 # Commands used to install an old-style archive.
16716 old_postinstall_cmds=$lt_old_postinstall_cmds
16717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16719 # Whether to use a lock for old archive extraction.
16720 lock_old_archive_extraction=$lock_old_archive_extraction
16725 # LTCC compiler flags.
16726 LTCFLAGS=$lt_CFLAGS
16728 # Take the output of nm and produce a listing of raw symbols and C names.
16729 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16731 # Transform the output of nm in a proper C declaration.
16732 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16734 # Transform the output of nm in a C name address pair.
16735 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16737 # Transform the output of nm in a C name address pair when lib prefix is needed.
16738 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16740 # Specify filename containing input files for \$NM.
16741 nm_file_list_spec=$lt_nm_file_list_spec
16743 # The root where to search for dependent libraries,and in which our libraries should be installed.
16744 lt_sysroot=$lt_sysroot
16746 # The name of the directory that contains temporary libtool files.
16749 # Used to examine libraries when file_magic_cmd begins with "file".
16750 MAGIC_CMD=$MAGIC_CMD
16752 # Must we lock files when doing compilation?
16753 need_locks=$lt_need_locks
16756 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16758 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16759 DSYMUTIL=$lt_DSYMUTIL
16761 # Tool to change global to local symbols on Mac OS X.
16764 # Tool to manipulate fat objects and archives on Mac OS X.
16767 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16770 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16771 OTOOL64=$lt_OTOOL64
16773 # Old archive suffix (normally "a").
16776 # Shared library suffix (normally ".so").
16777 shrext_cmds=$lt_shrext_cmds
16779 # The commands to extract the exported symbol list from a shared archive.
16780 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16782 # Variables whose values should be saved in libtool wrapper scripts and
16783 # restored at link time.
16784 variables_saved_for_relink=$lt_variables_saved_for_relink
16786 # Do we need the "lib" prefix for modules?
16787 need_lib_prefix=$need_lib_prefix
16789 # Do we need a version for libraries?
16790 need_version=$need_version
16792 # Library versioning type.
16793 version_type=$version_type
16795 # Shared library runtime path variable.
16796 runpath_var=$runpath_var
16798 # Shared library path variable.
16799 shlibpath_var=$shlibpath_var
16801 # Is shlibpath searched before the hard-coded library search path?
16802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16804 # Format of library name prefix.
16805 libname_spec=$lt_libname_spec
16807 # List of archive names. First name is the real one, the rest are links.
16808 # The last name is the one that the linker finds with -lNAME
16809 library_names_spec=$lt_library_names_spec
16811 # The coded name of the library, if different from the real name.
16812 soname_spec=$lt_soname_spec
16814 # Permission mode override for installation of shared libraries.
16815 install_override_mode=$lt_install_override_mode
16817 # Command to use after installation of a shared archive.
16818 postinstall_cmds=$lt_postinstall_cmds
16820 # Command to use after uninstallation of a shared archive.
16821 postuninstall_cmds=$lt_postuninstall_cmds
16823 # Commands used to finish a libtool library installation in a directory.
16824 finish_cmds=$lt_finish_cmds
16826 # As "finish_cmds", except a single script fragment to be evaled but
16828 finish_eval=$lt_finish_eval
16830 # Whether we should hardcode library paths into libraries.
16831 hardcode_into_libs=$hardcode_into_libs
16833 # Compile-time system search path for libraries.
16834 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16836 # Run-time system search path for libraries.
16837 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16839 # Whether dlopen is supported.
16840 dlopen_support=$enable_dlopen
16842 # Whether dlopen of programs is supported.
16843 dlopen_self=$enable_dlopen_self
16845 # Whether dlopen of statically linked programs is supported.
16846 dlopen_self_static=$enable_dlopen_self_static
16848 # Commands to strip libraries.
16849 old_striplib=$lt_old_striplib
16850 striplib=$lt_striplib
16853 # The linker used to build libraries.
16856 # How to create reloadable object files.
16857 reload_flag=$lt_reload_flag
16858 reload_cmds=$lt_reload_cmds
16860 # Commands used to build an old-style archive.
16861 old_archive_cmds=$lt_old_archive_cmds
16863 # A language specific compiler.
16866 # Is the compiler the GNU compiler?
16869 # Compiler flag to turn off builtin functions.
16870 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16872 # Additional compiler flags for building library objects.
16873 pic_flag=$lt_lt_prog_compiler_pic
16875 # How to pass a linker flag through the compiler.
16876 wl=$lt_lt_prog_compiler_wl
16878 # Compiler flag to prevent dynamic linking.
16879 link_static_flag=$lt_lt_prog_compiler_static
16881 # Does compiler simultaneously support -c and -o options?
16882 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16884 # Whether or not to add -lc for building shared libraries.
16885 build_libtool_need_lc=$archive_cmds_need_lc
16887 # Whether or not to disallow shared libs when runtime libs are static.
16888 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16890 # Compiler flag to allow reflexive dlopens.
16891 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16893 # Compiler flag to generate shared objects directly from archives.
16894 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16896 # Whether the compiler copes with passing no objects directly.
16897 compiler_needs_object=$lt_compiler_needs_object
16899 # Create an old-style archive from a shared archive.
16900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16902 # Create a temporary old-style archive to link instead of a shared archive.
16903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16905 # Commands used to build a shared archive.
16906 archive_cmds=$lt_archive_cmds
16907 archive_expsym_cmds=$lt_archive_expsym_cmds
16909 # Commands used to build a loadable module if different from building
16910 # a shared archive.
16911 module_cmds=$lt_module_cmds
16912 module_expsym_cmds=$lt_module_expsym_cmds
16914 # Whether we are building with GNU ld or not.
16915 with_gnu_ld=$lt_with_gnu_ld
16917 # Flag that allows shared libraries with undefined symbols to be built.
16918 allow_undefined_flag=$lt_allow_undefined_flag
16920 # Flag that enforces no undefined symbols.
16921 no_undefined_flag=$lt_no_undefined_flag
16923 # Flag to hardcode \$libdir into a binary during linking.
16924 # This must work even if \$libdir does not exist
16925 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16927 # Whether we need a single "-rpath" flag with a separated argument.
16928 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16931 # DIR into the resulting binary.
16932 hardcode_direct=$hardcode_direct
16934 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16935 # DIR into the resulting binary and the resulting library dependency is
16936 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16937 # library is relocated.
16938 hardcode_direct_absolute=$hardcode_direct_absolute
16940 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16941 # into the resulting binary.
16942 hardcode_minus_L=$hardcode_minus_L
16944 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16945 # into the resulting binary.
16946 hardcode_shlibpath_var=$hardcode_shlibpath_var
16948 # Set to "yes" if building a shared library automatically hardcodes DIR
16949 # into the library and all subsequent libraries and executables linked
16951 hardcode_automatic=$hardcode_automatic
16953 # Set to yes if linker adds runtime paths of dependent libraries
16954 # to runtime path list.
16955 inherit_rpath=$inherit_rpath
16957 # Whether libtool must link a program against all its dependency libraries.
16958 link_all_deplibs=$link_all_deplibs
16960 # Set to "yes" if exported symbols are required.
16961 always_export_symbols=$always_export_symbols
16963 # The commands to list exported symbols.
16964 export_symbols_cmds=$lt_export_symbols_cmds
16966 # Symbols that should not be listed in the preloaded symbols.
16967 exclude_expsyms=$lt_exclude_expsyms
16969 # Symbols that must always be exported.
16970 include_expsyms=$lt_include_expsyms
16972 # Commands necessary for linking programs (against libraries) with templates.
16973 prelink_cmds=$lt_prelink_cmds
16975 # Commands necessary for finishing linking programs.
16976 postlink_cmds=$lt_postlink_cmds
16978 # Specify filename containing input files.
16979 file_list_spec=$lt_file_list_spec
16981 # How to hardcode a shared library path into an executable.
16982 hardcode_action=$hardcode_action
16984 # ### END LIBTOOL CONFIG
16990 cat <<\_LT_EOF >> "$cfgfile"
16991 # AIX sometimes has problems with the GCC collect2 program. For some
16992 # reason, if we set the COLLECT_NAMES environment variable, the problems
16993 # vanish in a puff of smoke.
16994 if test "X${COLLECT_NAMES+set}" != Xset; then
16996 export COLLECT_NAMES
17003 ltmain="$ac_aux_dir/ltmain.sh"
17006 # We use sed instead of cat because bash on DJGPP gets confused if
17007 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17008 # text mode, it properly converts lines to CR/LF. This bash problem
17009 # is reportedly fixed, but why not run on old versions too?
17010 sed '$q' "$ltmain" >> "$cfgfile" \
17011 || (rm -f "$cfgfile"; exit 1)
17013 if test x"$xsi_shell" = xyes; then
17014 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17018 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17019 \ * ) func_dirname_result="${3}" ;;\
17021 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17022 && mv -f "$cfgfile.tmp" "$cfgfile" \
17023 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17024 test 0 -eq $? || _lt_function_replace_fail=:
17027 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17030 \ func_basename_result="${1##*/}"\
17031 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17032 && mv -f "$cfgfile.tmp" "$cfgfile" \
17033 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17034 test 0 -eq $? || _lt_function_replace_fail=:
17037 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17038 func_dirname_and_basename ()\
17041 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17042 \ * ) func_dirname_result="${3}" ;;\
17044 \ func_basename_result="${1##*/}"\
17045 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17046 && mv -f "$cfgfile.tmp" "$cfgfile" \
17047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17051 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17054 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17055 \ # positional parameters, so assign one to ordinary parameter first.\
17056 \ func_stripname_result=${3}\
17057 \ func_stripname_result=${func_stripname_result#"${1}"}\
17058 \ func_stripname_result=${func_stripname_result%"${2}"}\
17059 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17060 && mv -f "$cfgfile.tmp" "$cfgfile" \
17061 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17062 test 0 -eq $? || _lt_function_replace_fail=:
17065 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17066 func_split_long_opt ()\
17068 \ func_split_long_opt_name=${1%%=*}\
17069 \ func_split_long_opt_arg=${1#*=}\
17070 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17071 && mv -f "$cfgfile.tmp" "$cfgfile" \
17072 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17073 test 0 -eq $? || _lt_function_replace_fail=:
17076 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17077 func_split_short_opt ()\
17079 \ func_split_short_opt_arg=${1#??}\
17080 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17081 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17082 && mv -f "$cfgfile.tmp" "$cfgfile" \
17083 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17084 test 0 -eq $? || _lt_function_replace_fail=:
17087 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17091 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17092 \ *) func_lo2o_result=${1} ;;\
17094 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17095 && mv -f "$cfgfile.tmp" "$cfgfile" \
17096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17097 test 0 -eq $? || _lt_function_replace_fail=:
17100 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17103 func_xform_result=${1%.*}.lo\
17104 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17105 && mv -f "$cfgfile.tmp" "$cfgfile" \
17106 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17107 test 0 -eq $? || _lt_function_replace_fail=:
17110 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17113 func_arith_result=$(( $* ))\
17114 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17115 && mv -f "$cfgfile.tmp" "$cfgfile" \
17116 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17117 test 0 -eq $? || _lt_function_replace_fail=:
17120 sed -e '/^func_len ()$/,/^} # func_len /c\
17123 func_len_result=${#1}\
17124 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17125 && mv -f "$cfgfile.tmp" "$cfgfile" \
17126 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17127 test 0 -eq $? || _lt_function_replace_fail=:
17131 if test x"$lt_shell_append" = xyes; then
17132 sed -e '/^func_append ()$/,/^} # func_append /c\
17135 eval "${1}+=\\${2}"\
17136 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17137 && mv -f "$cfgfile.tmp" "$cfgfile" \
17138 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17139 test 0 -eq $? || _lt_function_replace_fail=:
17142 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17143 func_append_quoted ()\
17145 \ func_quote_for_eval "${2}"\
17146 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17147 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17148 && mv -f "$cfgfile.tmp" "$cfgfile" \
17149 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17150 test 0 -eq $? || _lt_function_replace_fail=:
17153 # Save a `func_append' function call where possible by direct use of '+='
17154 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17155 && mv -f "$cfgfile.tmp" "$cfgfile" \
17156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17157 test 0 -eq $? || _lt_function_replace_fail=:
17159 # Save a `func_append' function call even when '+=' is not available
17160 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17161 && mv -f "$cfgfile.tmp" "$cfgfile" \
17162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17163 test 0 -eq $? || _lt_function_replace_fail=:
17166 if test x"$_lt_function_replace_fail" = x":"; then
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17168 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17172 mv -f "$cfgfile" "$ofile" ||
17173 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17184 ac_clean_files=$ac_clean_files_save
17186 test $ac_write_fail = 0 ||
17187 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17190 # configure is writing to config.log, and then calls config.status.
17191 # config.status does its own redirection, appending to config.log.
17192 # Unfortunately, on DOS this fails, as config.log is still kept open
17193 # by configure, so config.status won't be able to write to it; its
17194 # output is simply discarded. So we exec the FD to /dev/null,
17195 # effectively closing config.log, so it can be properly (re)opened and
17196 # appended to by config.status. When coming back to configure, we
17197 # need to make the FD available again.
17198 if test "$no_create" != yes; then
17200 ac_config_status_args=
17201 test "$silent" = yes &&
17202 ac_config_status_args="$ac_config_status_args --quiet"
17204 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17206 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17207 # would make configure fail if this is the last instruction.
17208 $ac_cs_success || as_fn_exit 1
17210 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17212 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17217 gobject-introspection $VERSION
17220 tests: ${enable_tests}