2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gobject-introspection 1.35.8.
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.8'
595 PACKAGE_STRING='gobject-introspection 1.35.8'
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
770 MAINTAINER_MODE_FALSE
780 INSTALL_STRIP_PROGRAM
822 program_transform_name
835 enable_option_checking
836 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.8 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.8:";;
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 --disable-maintainer-mode
1508 disable make rules and dependencies not useful (and
1509 sometimes confusing) to the casual installer
1510 --enable-silent-rules less verbose build output (undo: "make V=1")
1511 --disable-silent-rules verbose build output (undo: "make V=0")
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.8
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.8, 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.12'
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 --run true"; then
2772 am_missing_run="$MISSING --run "
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 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3013 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3014 # is not polluted with repeated "-I."
3015 am__isrc=' -I$(srcdir)'
3016 # test to see if srcdir already configured
3017 if test -f $srcdir/config.status; then
3018 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3022 # test whether we have cygpath
3023 if test -z "$CYGPATH_W"; then
3024 if (cygpath --version) >/dev/null 2>/dev/null; then
3025 CYGPATH_W='cygpath -w'
3032 # Define the identity of the package.
3033 PACKAGE='gobject-introspection'
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE "$PACKAGE"
3042 cat >>confdefs.h <<_ACEOF
3043 #define VERSION "$VERSION"
3046 # Some tools Automake needs.
3048 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3051 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3054 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3057 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3060 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3062 # For better backward compatibility. To be removed once Automake 1.9.x
3063 # dies out for good. For more background, see:
3064 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3065 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3066 mkdir_p='$(MKDIR_P)'
3068 # We need awk for the "check" target. The system "awk" is bad on
3070 # Always define AMTAR for backward compatibility. Yes, it's still used
3071 # in the wild :-( We should find a proper way to deprecate it ...
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3076 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3077 # Loop over all known methods to create a tar archive until one works.
3078 _am_tools='gnutar plaintar pax cpio none'
3079 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3080 # Do not fold the above two line into one, because Tru64 sh and
3081 # Solaris sh will not grok spaces in the rhs of '-'.
3082 for _am_tool in $_am_tools
3086 for _am_tar in tar gnutar gtar;
3088 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3089 ($_am_tar --version) >&5 2>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } && break
3094 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3095 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3096 am__untar="$_am_tar -xf -"
3099 # Must skip GNU tar: if it does not support --format= it doesn't create
3100 # ustar tarball either.
3101 (tar --version) >/dev/null 2>&1 && continue
3102 am__tar='tar chf - "$$tardir"'
3103 am__tar_='tar chf - "$tardir"'
3104 am__untar='tar xf -'
3107 am__tar='pax -L -x ustar -w "$$tardir"'
3108 am__tar_='pax -L -x ustar -w "$tardir"'
3112 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3113 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3114 am__untar='cpio -i -H ustar -d'
3123 # If the value was cached, stop now. We just wanted to have am__tar
3124 # and am__untar set.
3125 test -n "${am_cv_prog_tar_ustar}" && break
3127 # tar/untar a dummy directory, and stop if the command works
3130 echo GrepMe > conftest.dir/file
3131 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3132 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }
3137 if test -s conftest.tar; then
3138 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3139 ($am__untar <conftest.tar) >&5 2>&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }
3143 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3148 if ${am_cv_prog_tar_ustar+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 am_cv_prog_tar_ustar=$_am_tool
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3155 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3163 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3164 # Check whether --enable-maintainer-mode was given.
3165 if test "${enable_maintainer_mode+set}" = set; then :
3166 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3168 USE_MAINTAINER_MODE=yes
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3172 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3173 if test $USE_MAINTAINER_MODE = yes; then
3174 MAINTAINER_MODE_TRUE=
3175 MAINTAINER_MODE_FALSE='#'
3177 MAINTAINER_MODE_TRUE='#'
3178 MAINTAINER_MODE_FALSE=
3181 MAINT=$MAINTAINER_MODE_TRUE
3185 # Check whether --enable-silent-rules was given.
3186 if test "${enable_silent_rules+set}" = set; then :
3187 enableval=$enable_silent_rules;
3190 case $enable_silent_rules in # (((
3191 yes) AM_DEFAULT_VERBOSITY=0;;
3192 no) AM_DEFAULT_VERBOSITY=1;;
3193 *) AM_DEFAULT_VERBOSITY=0;;
3195 am_make=${MAKE-make}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3197 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3198 if ${am_cv_make_support_nested_variables+:} false; then :
3199 $as_echo_n "(cached) " >&6
3201 if $as_echo 'TRUE=$(BAR$(V))
3207 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3208 am_cv_make_support_nested_variables=yes
3210 am_cv_make_support_nested_variables=no
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3214 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3215 if test $am_cv_make_support_nested_variables = yes; then
3217 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3219 AM_V=$AM_DEFAULT_VERBOSITY
3220 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3226 # Make sure we can run config.sub.
3227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3228 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3231 $as_echo_n "checking build system type... " >&6; }
3232 if ${ac_cv_build+:} false; then :
3233 $as_echo_n "(cached) " >&6
3235 ac_build_alias=$build_alias
3236 test "x$ac_build_alias" = x &&
3237 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3238 test "x$ac_build_alias" = x &&
3239 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3241 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3245 $as_echo "$ac_cv_build" >&6; }
3246 case $ac_cv_build in
3248 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3251 ac_save_IFS=$IFS; IFS='-'
3257 # Remember, the first character of IFS is used to create $*,
3258 # except with old shells:
3261 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3265 $as_echo_n "checking host system type... " >&6; }
3266 if ${ac_cv_host+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 if test "x$host_alias" = x; then
3270 ac_cv_host=$ac_cv_build
3272 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3273 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3278 $as_echo "$ac_cv_host" >&6; }
3281 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3284 ac_save_IFS=$IFS; IFS='-'
3290 # Remember, the first character of IFS is used to create $*,
3291 # except with old shells:
3294 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3305 if test "x$os_win32" = "xyes"; then
3314 # Checks for programs.
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 if test -n "$ac_tool_prefix"; then
3321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326 $as_echo_n "(cached) " >&6
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC="$CC" # Let the user override the test.
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3359 if test -z "$ac_cv_prog_CC"; then
3361 # Extract the first word of "gcc", so it can be a program name with args.
3362 set dummy gcc; ac_word=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$ac_ct_CC"; then
3369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir=.
3376 for ac_exec_ext in '' $ac_executable_extensions; do
3377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3378 ac_cv_prog_ac_ct_CC="gcc"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3389 if test -n "$ac_ct_CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3391 $as_echo "$ac_ct_CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3397 if test "x$ac_ct_CC" = x; then
3400 case $cross_compiling:$ac_tool_warned in
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3404 ac_tool_warned=yes ;;
3412 if test -z "$CC"; then
3413 if test -n "$ac_tool_prefix"; then
3414 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}cc; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_CC+:} false; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$CC"; then
3422 ac_cv_prog_CC="$CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_CC="${ac_tool_prefix}cc"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 if test -n "$CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3453 if test -z "$CC"; then
3454 # Extract the first word of "cc", so it can be a program name with args.
3455 set dummy cc; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_CC+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 if test -n "$CC"; then
3462 ac_cv_prog_CC="$CC" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3473 ac_prog_rejected=yes
3477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 if test $ac_prog_rejected = yes; then
3485 # We found a bogon in the path, so make sure we never use it.
3486 set dummy $ac_cv_prog_CC
3488 if test $# != 0; then
3489 # We chose a different compiler from the bogus one.
3490 # However, it has the same basename, so the bogon will be chosen
3491 # first if we set CC to just the basename; use the full file name.
3493 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3499 if test -n "$CC"; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3501 $as_echo "$CC" >&6; }
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504 $as_echo "no" >&6; }
3509 if test -z "$CC"; then
3510 if test -n "$ac_tool_prefix"; then
3511 for ac_prog in cl.exe
3513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if ${ac_cv_prog_CC+:} false; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC="$CC" # Let the user override the test.
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir=.
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3550 test -n "$CC" && break
3553 if test -z "$CC"; then
3555 for ac_prog in cl.exe
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy $ac_prog; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$ac_ct_CC"; then
3565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_ac_ct_CC="$ac_prog"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3594 test -n "$ac_ct_CC" && break
3597 if test "x$ac_ct_CC" = x; then
3600 case $cross_compiling:$ac_tool_warned in
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3604 ac_tool_warned=yes ;;
3613 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "no acceptable C compiler found in \$PATH
3616 See \`config.log' for more details" "$LINENO" 5; }
3618 # Provide some information about the compiler.
3619 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3622 for ac_option in --version -v -V -qversion; do
3623 { { ac_try="$ac_compiler $ac_option >&5"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629 $as_echo "$ac_try_echo"; } >&5
3630 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3632 if test -s conftest.err; then
3634 ... rest of stderr output deleted ...
3635 10q' conftest.err >conftest.er1
3636 cat conftest.er1 >&5
3638 rm -f conftest.er1 conftest.err
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; }
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3654 ac_clean_files_save=$ac_clean_files
3655 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3656 # Try to create an executable without -o first, disregard a.out.
3657 # It will help us diagnose broken compilers, and finding out an intuition
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3660 $as_echo_n "checking whether the C compiler works... " >&6; }
3661 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3663 # The possible output files:
3664 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3667 for ac_file in $ac_files
3670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3671 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3676 if { { ac_try="$ac_link_default"
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_link_default") 2>&5
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; }; then :
3687 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3688 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3689 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3690 # so that the user can short-circuit this test for compilers unknown to
3692 for ac_file in $ac_files ''
3694 test -f "$ac_file" || continue
3696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3699 # We found the default executable, but exeext='' is most
3703 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3705 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3707 # We set ac_cv_exeext here because the later test for it is not
3708 # safe: cross compilers may not add the suffix if given an `-o'
3709 # argument, so we may need to know it at that point already.
3710 # Even if this section looks crufty: it has the advantage of
3717 test "$ac_cv_exeext" = no && ac_cv_exeext=
3722 if test -z "$ac_file"; then :
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 $as_echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.$ac_ext >&5
3728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error 77 "C compiler cannot create executables
3731 See \`config.log' for more details" "$LINENO" 5; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 $as_echo "yes" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737 $as_echo_n "checking for C compiler default output file name... " >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3739 $as_echo "$ac_file" >&6; }
3740 ac_exeext=$ac_cv_exeext
3742 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3743 ac_clean_files=$ac_clean_files_save
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3745 $as_echo_n "checking for suffix of executables... " >&6; }
3746 if { { ac_try="$ac_link"
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 $as_echo "$ac_try_echo"; } >&5
3753 (eval "$ac_link") 2>&5
3755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756 test $ac_status = 0; }; then :
3757 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3758 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3759 # work properly (i.e., refer to `conftest.exe'), while it won't with
3761 for ac_file in conftest.exe conftest conftest.*; do
3762 test -f "$ac_file" || continue
3764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3765 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3774 See \`config.log' for more details" "$LINENO" 5; }
3776 rm -f conftest conftest$ac_cv_exeext
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3778 $as_echo "$ac_cv_exeext" >&6; }
3780 rm -f conftest.$ac_ext
3781 EXEEXT=$ac_cv_exeext
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3789 FILE *f = fopen ("conftest.out", "w");
3790 return ferror (f) || fclose (f) != 0;
3796 ac_clean_files="$ac_clean_files conftest.out"
3797 # Check that the compiler produces executables we can run. If not, either
3798 # the compiler is broken, or we cross compile.
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3800 $as_echo_n "checking whether we are cross compiling... " >&6; }
3801 if test "$cross_compiling" != yes; then
3802 { { ac_try="$ac_link"
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 $as_echo "$ac_try_echo"; } >&5
3809 (eval "$ac_link") 2>&5
3811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3812 test $ac_status = 0; }
3813 if { ac_try='./conftest$ac_cv_exeext'
3814 { { case "(($ac_try" in
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820 (eval "$ac_try") 2>&5
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }; }; then
3826 if test "$cross_compiling" = maybe; then
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error $? "cannot run C compiled programs.
3832 If you meant to cross compile, use \`--host'.
3833 See \`config.log' for more details" "$LINENO" 5; }
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3838 $as_echo "$cross_compiling" >&6; }
3840 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3841 ac_clean_files=$ac_clean_files_save
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3843 $as_echo_n "checking for suffix of object files... " >&6; }
3844 if ${ac_cv_objext+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3858 rm -f conftest.o conftest.obj
3859 if { { ac_try="$ac_compile"
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compile") 2>&5
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }; then :
3870 for ac_file in conftest.o conftest.obj conftest.*; do
3871 test -f "$ac_file" || continue;
3873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3874 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3879 $as_echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error $? "cannot compute suffix of object files: cannot compile
3885 See \`config.log' for more details" "$LINENO" 5; }
3887 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3890 $as_echo "$ac_cv_objext" >&6; }
3891 OBJEXT=$ac_cv_objext
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3894 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3895 if ${ac_cv_c_compiler_gnu+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3912 if ac_fn_c_try_compile "$LINENO"; then :
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3922 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3923 if test $ac_compiler_gnu = yes; then
3928 ac_test_CFLAGS=${CFLAGS+set}
3929 ac_save_CFLAGS=$CFLAGS
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3931 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3932 if ${ac_cv_prog_cc_g+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 ac_save_c_werror_flag=$ac_c_werror_flag
3936 ac_c_werror_flag=yes
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3950 if ac_fn_c_try_compile "$LINENO"; then :
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3965 if ac_fn_c_try_compile "$LINENO"; then :
3968 ac_c_werror_flag=$ac_save_c_werror_flag
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"; then :
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989 ac_c_werror_flag=$ac_save_c_werror_flag
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3992 $as_echo "$ac_cv_prog_cc_g" >&6; }
3993 if test "$ac_test_CFLAGS" = set; then
3994 CFLAGS=$ac_save_CFLAGS
3995 elif test $ac_cv_prog_cc_g = yes; then
3996 if test "$GCC" = yes; then
4002 if test "$GCC" = yes; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4009 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4010 if ${ac_cv_prog_cc_c89+:} false; then :
4011 $as_echo_n "(cached) " >&6
4013 ac_cv_prog_cc_c89=no
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4021 struct buf { int x; };
4022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4023 static char *e (p, i)
4029 static char *f (char * (*g) (char **, int), char **p, ...)
4034 s = g (p, va_arg (v,int));
4039 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4040 function prototypes and stuff, but not '\xHH' hex character constants.
4041 These don't provoke an error unfortunately, instead are silently treated
4042 as 'x'. The following induces an error, until -std is added to get
4043 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4044 array size at least. It's necessary to write '\x00'==0 to get something
4045 that's true only with -std. */
4046 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4048 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4049 inside strings and character constants. */
4051 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4053 int test (int i, double x);
4054 struct s1 {int (*f) (int a);};
4055 struct s2 {int (*f) (double a);};
4056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4062 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4067 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4068 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4070 CC="$ac_save_CC $ac_arg"
4071 if ac_fn_c_try_compile "$LINENO"; then :
4072 ac_cv_prog_cc_c89=$ac_arg
4074 rm -f core conftest.err conftest.$ac_objext
4075 test "x$ac_cv_prog_cc_c89" != "xno" && break
4077 rm -f conftest.$ac_ext
4082 case "x$ac_cv_prog_cc_c89" in
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4085 $as_echo "none needed" >&6; } ;;
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4088 $as_echo "unsupported" >&6; } ;;
4090 CC="$CC $ac_cv_prog_cc_c89"
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4092 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4094 if test "x$ac_cv_prog_cc_c89" != xno; then :
4099 ac_cpp='$CPP $CPPFLAGS'
4100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4103 DEPDIR="${am__leading_dot}deps"
4105 ac_config_commands="$ac_config_commands depfiles"
4108 am_make=${MAKE-make}
4109 cat > confinc << 'END'
4111 @echo this is the am__doit target
4114 # If we don't find an include directive, just comment out the code.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4116 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4120 # First try GNU make style include.
4121 echo "include confinc" > confmf
4122 # Ignore all kinds of additional output from 'make'.
4123 case `$am_make -s -f confmf 2> /dev/null` in #(
4124 *the\ am__doit\ target*)
4130 # Now try BSD make style include.
4131 if test "$am__include" = "#"; then
4132 echo '.include "confinc"' > confmf
4133 case `$am_make -s -f confmf 2> /dev/null` in #(
4134 *the\ am__doit\ target*)
4135 am__include=.include
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4144 $as_echo "$_am_result" >&6; }
4145 rm -f confinc confmf
4147 # Check whether --enable-dependency-tracking was given.
4148 if test "${enable_dependency_tracking+set}" = set; then :
4149 enableval=$enable_dependency_tracking;
4152 if test "x$enable_dependency_tracking" != xno; then
4153 am_depcomp="$ac_aux_dir/depcomp"
4157 if test "x$enable_dependency_tracking" != xno; then
4167 depcc="$CC" am_compiler_list=
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4170 $as_echo_n "checking dependency style of $depcc... " >&6; }
4171 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4175 # We make a subdir and do the tests there. Otherwise we can end up
4176 # making bogus files that we don't know about and never remove. For
4177 # instance it was reported that on HP-UX the gcc test will end up
4178 # making a dummy file named 'D' -- because '-MD' means "put the output
4182 # Copy depcomp to subdir because otherwise we won't find it if we're
4183 # using a relative directory.
4184 cp "$am_depcomp" conftest.dir
4186 # We will build objects and dependencies in a subdirectory because
4187 # it helps to detect inapplicable dependency modes. For instance
4188 # both Tru64's cc and ICC support -MD to output dependencies as a
4189 # side effect of compilation, but ICC will put the dependencies in
4190 # the current directory while Tru64 will put them in the object
4194 am_cv_CC_dependencies_compiler_type=none
4195 if test "$am_compiler_list" = ""; then
4196 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4199 case " $depcc " in #(
4200 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4203 for depmode in $am_compiler_list; do
4204 # Setup a source with many dependencies, because some compilers
4205 # like to wrap large dependency lists on column 80 (with \), and
4206 # we should not choose a depcomp mode which is confused by this.
4208 # We need to recreate these files for each test, as the compiler may
4209 # overwrite some of them when testing with obscure command lines.
4210 # This happens at least with the AIX C compiler.
4212 for i in 1 2 3 4 5 6; do
4213 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4214 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4215 # Solaris 10 /bin/sh.
4216 echo '/* dummy */' > sub/conftst$i.h
4218 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4220 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4221 # mode. It turns out that the SunPro C++ compiler does not properly
4222 # handle '-M -o', and we need to detect this. Also, some Intel
4223 # versions had trouble with output in subdirs.
4224 am__obj=sub/conftest.${OBJEXT-o}
4225 am__minus_obj="-o $am__obj"
4228 # This depmode causes a compiler race in universal mode.
4229 test "$am__universal" = false || continue
4232 # After this tag, mechanisms are not by side-effect, so they'll
4233 # only be used when explicitly requested.
4234 if test "x$enable_dependency_tracking" = xyes; then
4240 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4241 # This compiler won't grok '-c -o', but also, the minuso test has
4242 # not run yet. These depmodes are late enough in the game, and
4243 # so weak that their functioning should not be impacted.
4244 am__obj=conftest.${OBJEXT-o}
4249 if depmode=$depmode \
4250 source=sub/conftest.c object=$am__obj \
4251 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4252 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4253 >/dev/null 2>conftest.err &&
4254 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4255 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4256 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4257 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4258 # icc doesn't choke on unknown options, it will just issue warnings
4259 # or remarks (even with -Werror). So we grep stderr for any message
4260 # that says an option was ignored or not supported.
4261 # When given -MP, icc 7.0 and 7.1 complain thusly:
4262 # icc: Command line warning: ignoring option '-M'; no argument required
4263 # The diagnosis changed in icc 8.0:
4264 # icc: Command line remark: option '-MP' not supported
4265 if (grep 'ignoring option' conftest.err ||
4266 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4267 am_cv_CC_dependencies_compiler_type=$depmode
4276 am_cv_CC_dependencies_compiler_type=none
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4281 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4282 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4285 test "x$enable_dependency_tracking" != xno \
4286 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4288 am__fastdepCC_FALSE='#'
4290 am__fastdepCC_TRUE='#'
4291 am__fastdepCC_FALSE=
4295 if test "x$CC" != xcc; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4297 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4300 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4302 set dummy $CC; ac_cc=`$as_echo "$2" |
4303 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4304 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4318 # Make sure it works both with $CC and with simple cc.
4319 # We do the test twice because some compilers refuse to overwrite an
4320 # existing .o file with -o, though they will create one.
4321 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4323 if { { case "(($ac_try" in
4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_try") 2>&5
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; } &&
4333 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_try") 2>&5
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; };
4344 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4345 if test "x$CC" != xcc; then
4346 # Test first that cc exists at all.
4347 if { ac_try='cc -c conftest.$ac_ext >&5'
4348 { { case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; }; then
4358 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4360 if { { case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_try") 2>&5
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; } &&
4370 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376 (eval "$ac_try") 2>&5
4378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379 test $ac_status = 0; };
4384 # cc exists but doesn't like -o.
4385 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4390 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4392 rm -f core conftest*
4395 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4402 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4406 # FIXME: we rely on the cache variable name because
4407 # there is no other way.
4409 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4410 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4411 if test "$am_t" != yes; then
4412 # Losing compiler, so override with the script.
4413 # FIXME: It is wrong to rewrite CC.
4414 # But if we don't then we get into trouble of one sort or another.
4415 # A longer-term fix would be to have automake use am__CC in this case,
4416 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4417 CC="$am_aux_dir/compile $CC"
4423 # Initialize libtool
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4428 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4433 macro_version='2.4.2'
4434 macro_revision='1.3337'
4448 ltmain="$ac_aux_dir/ltmain.sh"
4450 # Backslashify metacharacters that are still active within
4451 # double-quoted strings.
4452 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4454 # Same as above, but do not quote variable references.
4455 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4457 # Sed substitution to delay expansion of an escaped shell variable in a
4458 # double_quote_subst'ed string.
4459 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4461 # Sed substitution to delay expansion of an escaped single quote.
4462 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4464 # Sed substitution to avoid accidental globbing in evaled expressions
4465 no_glob_subst='s/\*/\\\*/g'
4467 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4468 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4472 $as_echo_n "checking how to print strings... " >&6; }
4473 # Test print first, because it will be a builtin if present.
4474 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4475 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4477 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4480 # Use this function as a fallback that always works.
4481 func_fallback_echo ()
4483 eval 'cat <<_LTECHO_EOF
4487 ECHO='func_fallback_echo'
4490 # func_echo_all arg...
4491 # Invoke $ECHO with all args, space-separated.
4498 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4499 $as_echo "printf" >&6; } ;;
4500 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4501 $as_echo "print -r" >&6; } ;;
4502 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4503 $as_echo "cat" >&6; } ;;
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4520 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4521 if ${ac_cv_path_SED+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4525 for ac_i in 1 2 3 4 5 6 7; do
4526 ac_script="$ac_script$as_nl$ac_script"
4528 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4529 { ac_script=; unset ac_script;}
4530 if test -z "$SED"; then
4531 ac_path_SED_found=false
4532 # Loop through the user's path and test for each of PROGNAME-LIST
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir=.
4538 for ac_prog in sed gsed; do
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4541 as_fn_executable_p "$ac_path_SED" || continue
4542 # Check for GNU ac_path_SED and select it if it is found.
4543 # Check for GNU $ac_path_SED
4544 case `"$ac_path_SED" --version 2>&1` in
4546 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4549 $as_echo_n 0123456789 >"conftest.in"
4552 cat "conftest.in" "conftest.in" >"conftest.tmp"
4553 mv "conftest.tmp" "conftest.in"
4554 cp "conftest.in" "conftest.nl"
4555 $as_echo '' >> "conftest.nl"
4556 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4557 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4558 as_fn_arith $ac_count + 1 && ac_count=$as_val
4559 if test $ac_count -gt ${ac_path_SED_max-0}; then
4560 # Best one so far, save it but keep looking for a better one
4561 ac_cv_path_SED="$ac_path_SED"
4562 ac_path_SED_max=$ac_count
4564 # 10*(2^10) chars as input seems more than enough
4565 test $ac_count -gt 10 && break
4567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4570 $ac_path_SED_found && break 3
4575 if test -z "$ac_cv_path_SED"; then
4576 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4584 $as_echo "$ac_cv_path_SED" >&6; }
4585 SED="$ac_cv_path_SED"
4588 test -z "$SED" && SED=sed
4589 Xsed="$SED -e 1s/^X//"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4603 if ${ac_cv_path_GREP+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -z "$GREP"; then
4607 ac_path_GREP_found=false
4608 # Loop through the user's path and test for each of PROGNAME-LIST
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4613 test -z "$as_dir" && as_dir=.
4614 for ac_prog in grep ggrep; do
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4617 as_fn_executable_p "$ac_path_GREP" || continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619 # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4622 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4625 $as_echo_n 0123456789 >"conftest.in"
4628 cat "conftest.in" "conftest.in" >"conftest.tmp"
4629 mv "conftest.tmp" "conftest.in"
4630 cp "conftest.in" "conftest.nl"
4631 $as_echo 'GREP' >> "conftest.nl"
4632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4634 as_fn_arith $ac_count + 1 && ac_count=$as_val
4635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636 # Best one so far, save it but keep looking for a better one
4637 ac_cv_path_GREP="$ac_path_GREP"
4638 ac_path_GREP_max=$ac_count
4640 # 10*(2^10) chars as input seems more than enough
4641 test $ac_count -gt 10 && break
4643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4646 $ac_path_GREP_found && break 3
4651 if test -z "$ac_cv_path_GREP"; then
4652 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655 ac_cv_path_GREP=$GREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4660 $as_echo "$ac_cv_path_GREP" >&6; }
4661 GREP="$ac_cv_path_GREP"
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4665 $as_echo_n "checking for egrep... " >&6; }
4666 if ${ac_cv_path_EGREP+:} false; then :
4667 $as_echo_n "(cached) " >&6
4669 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4670 then ac_cv_path_EGREP="$GREP -E"
4672 if test -z "$EGREP"; then
4673 ac_path_EGREP_found=false
4674 # Loop through the user's path and test for each of PROGNAME-LIST
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4679 test -z "$as_dir" && as_dir=.
4680 for ac_prog in egrep; do
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4683 as_fn_executable_p "$ac_path_EGREP" || continue
4684 # Check for GNU ac_path_EGREP and select it if it is found.
4685 # Check for GNU $ac_path_EGREP
4686 case `"$ac_path_EGREP" --version 2>&1` in
4688 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4691 $as_echo_n 0123456789 >"conftest.in"
4694 cat "conftest.in" "conftest.in" >"conftest.tmp"
4695 mv "conftest.tmp" "conftest.in"
4696 cp "conftest.in" "conftest.nl"
4697 $as_echo 'EGREP' >> "conftest.nl"
4698 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4700 as_fn_arith $ac_count + 1 && ac_count=$as_val
4701 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4702 # Best one so far, save it but keep looking for a better one
4703 ac_cv_path_EGREP="$ac_path_EGREP"
4704 ac_path_EGREP_max=$ac_count
4706 # 10*(2^10) chars as input seems more than enough
4707 test $ac_count -gt 10 && break
4709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4712 $ac_path_EGREP_found && break 3
4717 if test -z "$ac_cv_path_EGREP"; then
4718 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721 ac_cv_path_EGREP=$EGREP
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4727 $as_echo "$ac_cv_path_EGREP" >&6; }
4728 EGREP="$ac_cv_path_EGREP"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4732 $as_echo_n "checking for fgrep... " >&6; }
4733 if ${ac_cv_path_FGREP+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4737 then ac_cv_path_FGREP="$GREP -F"
4739 if test -z "$FGREP"; then
4740 ac_path_FGREP_found=false
4741 # Loop through the user's path and test for each of PROGNAME-LIST
4742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4746 test -z "$as_dir" && as_dir=.
4747 for ac_prog in fgrep; do
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4750 as_fn_executable_p "$ac_path_FGREP" || continue
4751 # Check for GNU ac_path_FGREP and select it if it is found.
4752 # Check for GNU $ac_path_FGREP
4753 case `"$ac_path_FGREP" --version 2>&1` in
4755 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4758 $as_echo_n 0123456789 >"conftest.in"
4761 cat "conftest.in" "conftest.in" >"conftest.tmp"
4762 mv "conftest.tmp" "conftest.in"
4763 cp "conftest.in" "conftest.nl"
4764 $as_echo 'FGREP' >> "conftest.nl"
4765 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4766 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4767 as_fn_arith $ac_count + 1 && ac_count=$as_val
4768 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4769 # Best one so far, save it but keep looking for a better one
4770 ac_cv_path_FGREP="$ac_path_FGREP"
4771 ac_path_FGREP_max=$ac_count
4773 # 10*(2^10) chars as input seems more than enough
4774 test $ac_count -gt 10 && break
4776 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4779 $ac_path_FGREP_found && break 3
4784 if test -z "$ac_cv_path_FGREP"; then
4785 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788 ac_cv_path_FGREP=$FGREP
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4794 $as_echo "$ac_cv_path_FGREP" >&6; }
4795 FGREP="$ac_cv_path_FGREP"
4798 test -z "$GREP" && GREP=grep
4818 # Check whether --with-gnu-ld was given.
4819 if test "${with_gnu_ld+set}" = set; then :
4820 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4826 if test "$GCC" = yes; then
4827 # Check if gcc -print-prog-name=ld gives a path.
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4829 $as_echo_n "checking for ld used by $CC... " >&6; }
4832 # gcc leaves a trailing carriage return which upsets mingw
4833 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4835 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4838 # Accept absolute paths.
4840 re_direlt='/[^/][^/]*/\.\./'
4841 # Canonicalize the pathname of ld
4842 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4843 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4844 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4846 test -z "$LD" && LD="$ac_prog"
4849 # If it fails, then pretend we aren't using GCC.
4853 # If it is relative, then search for the first ld in PATH.
4857 elif test "$with_gnu_ld" = yes; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4859 $as_echo_n "checking for GNU ld... " >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4862 $as_echo_n "checking for non-GNU ld... " >&6; }
4864 if ${lt_cv_path_LD+:} false; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -z "$LD"; then
4868 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4869 for ac_dir in $PATH; do
4871 test -z "$ac_dir" && ac_dir=.
4872 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4873 lt_cv_path_LD="$ac_dir/$ac_prog"
4874 # Check to see if the program is GNU ld. I'd rather use --version,
4875 # but apparently some variants of GNU ld only accept -v.
4876 # Break only if it was the GNU/non-GNU ld that we prefer.
4877 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4878 *GNU* | *'with BFD'*)
4879 test "$with_gnu_ld" != no && break
4882 test "$with_gnu_ld" != yes && break
4889 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4894 if test -n "$LD"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4896 $as_echo "$LD" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4904 if ${lt_cv_prog_gnu_ld+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4908 case `$LD -v 2>&1 </dev/null` in
4909 *GNU* | *'with BFD'*)
4910 lt_cv_prog_gnu_ld=yes
4913 lt_cv_prog_gnu_ld=no
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4919 with_gnu_ld=$lt_cv_prog_gnu_ld
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4930 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4931 if ${lt_cv_path_NM+:} false; then :
4932 $as_echo_n "(cached) " >&6
4934 if test -n "$NM"; then
4935 # Let the user override the test.
4938 lt_nm_to_check="${ac_tool_prefix}nm"
4939 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4940 lt_nm_to_check="$lt_nm_to_check nm"
4942 for lt_tmp_nm in $lt_nm_to_check; do
4943 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4944 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4946 test -z "$ac_dir" && ac_dir=.
4947 tmp_nm="$ac_dir/$lt_tmp_nm"
4948 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4949 # Check to see if the nm accepts a BSD-compat flag.
4950 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4951 # nm: unknown option "B" ignored
4952 # Tru64's nm complains that /dev/null is an invalid object file
4953 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4954 */dev/null* | *'Invalid file or object type'*)
4955 lt_cv_path_NM="$tmp_nm -B"
4959 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4961 lt_cv_path_NM="$tmp_nm -p"
4965 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4966 continue # so that we can try to find one that supports BSD flags
4975 : ${lt_cv_path_NM=no}
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4979 $as_echo "$lt_cv_path_NM" >&6; }
4980 if test "$lt_cv_path_NM" != "no"; then
4983 # Didn't find any BSD compatible name lister, look for dumpbin.
4984 if test -n "$DUMPBIN"; then :
4985 # Let the user override the test.
4987 if test -n "$ac_tool_prefix"; then
4988 for ac_prog in dumpbin "link -dump"
4990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_DUMPBIN+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$DUMPBIN"; then
4998 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 DUMPBIN=$ac_cv_prog_DUMPBIN
5018 if test -n "$DUMPBIN"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5020 $as_echo "$DUMPBIN" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5027 test -n "$DUMPBIN" && break
5030 if test -z "$DUMPBIN"; then
5031 ac_ct_DUMPBIN=$DUMPBIN
5032 for ac_prog in dumpbin "link -dump"
5034 # Extract the first word of "$ac_prog", so it can be a program name with args.
5035 set dummy $ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$ac_ct_DUMPBIN"; then
5042 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5062 if test -n "$ac_ct_DUMPBIN"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5064 $as_echo "$ac_ct_DUMPBIN" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$ac_ct_DUMPBIN" && break
5074 if test "x$ac_ct_DUMPBIN" = x; then
5077 case $cross_compiling:$ac_tool_warned in
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5081 ac_tool_warned=yes ;;
5083 DUMPBIN=$ac_ct_DUMPBIN
5087 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5089 DUMPBIN="$DUMPBIN -symbols"
5097 if test "$DUMPBIN" != ":"; then
5101 test -z "$NM" && NM=nm
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5109 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5110 if ${lt_cv_nm_interface+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 lt_cv_nm_interface="BSD nm"
5114 echo "int some_variable = 0;" > conftest.$ac_ext
5115 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5116 (eval "$ac_compile" 2>conftest.err)
5117 cat conftest.err >&5
5118 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5119 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5120 cat conftest.err >&5
5121 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5122 cat conftest.out >&5
5123 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5124 lt_cv_nm_interface="MS dumpbin"
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5129 $as_echo "$lt_cv_nm_interface" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5132 $as_echo_n "checking whether ln -s works... " >&6; }
5134 if test "$LN_S" = "ln -s"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5139 $as_echo "no, using $LN_S" >&6; }
5142 # find the maximum length of command line arguments
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5144 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5145 if ${lt_cv_sys_max_cmd_len+:} false; then :
5146 $as_echo_n "(cached) " >&6
5153 # On DJGPP, this test can blow up pretty badly due to problems in libc
5154 # (any single argument exceeding 2000 bytes causes a buffer overrun
5155 # during glob expansion). Even if it were fixed, the result of this
5156 # check would be larger than it should be.
5157 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5161 # Under GNU Hurd, this test is not required because there is
5162 # no limit to the length of command line arguments.
5163 # Libtool will interpret -1 as no limit whatsoever
5164 lt_cv_sys_max_cmd_len=-1;
5167 cygwin* | mingw* | cegcc*)
5168 # On Win9x/ME, this test blows up -- it succeeds, but takes
5169 # about 5 minutes as the teststring grows exponentially.
5170 # Worse, since 9x/ME are not pre-emptively multitasking,
5171 # you end up with a "frozen" computer, even though with patience
5172 # the test eventually succeeds (with a max line length of 256k).
5173 # Instead, let's just punt: use the minimum linelength reported by
5174 # all of the supported platforms: 8192 (on NT/2K/XP).
5175 lt_cv_sys_max_cmd_len=8192;
5179 # On MiNT this can take a long time and run out of memory.
5180 lt_cv_sys_max_cmd_len=8192;
5184 # On AmigaOS with pdksh, this test takes hours, literally.
5185 # So we just punt and use a minimum line length of 8192.
5186 lt_cv_sys_max_cmd_len=8192;
5189 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5190 # This has been around since 386BSD, at least. Likely further.
5191 if test -x /sbin/sysctl; then
5192 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5193 elif test -x /usr/sbin/sysctl; then
5194 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5196 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5198 # And add a safety zone
5199 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5204 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5205 lt_cv_sys_max_cmd_len=196608
5209 # The test takes a long time on OS/2.
5210 lt_cv_sys_max_cmd_len=8192
5214 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5215 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5216 # nice to cause kernel panics so lets avoid the loop below.
5217 # First set a reasonable default.
5218 lt_cv_sys_max_cmd_len=16384
5220 if test -x /sbin/sysconfig; then
5221 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5222 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5227 lt_cv_sys_max_cmd_len=102400
5229 sysv5* | sco5v6* | sysv4.2uw2*)
5230 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5231 if test -n "$kargmax"; then
5232 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5234 lt_cv_sys_max_cmd_len=32768
5238 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5239 if test -n "$lt_cv_sys_max_cmd_len"; then
5240 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5241 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5243 # Make teststring a little bigger before we do anything with it.
5244 # a 1K string should be a reasonable start.
5245 for i in 1 2 3 4 5 6 7 8 ; do
5246 teststring=$teststring$teststring
5248 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5249 # If test is not a shell built-in, we'll probably end up computing a
5250 # maximum length that is only half of the actual maximum length, but
5252 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5253 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5254 test $i != 17 # 1/2 MB should be enough
5257 teststring=$teststring$teststring
5259 # Only check the string length outside the loop.
5260 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5262 # Add a significant safety factor because C++ compilers can tack on
5263 # massive amounts of additional arguments before passing them to the
5264 # linker. It appears as though 1/2 is a usable value.
5265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5272 if test -n $lt_cv_sys_max_cmd_len ; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5274 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5277 $as_echo "none" >&6; }
5279 max_cmd_len=$lt_cv_sys_max_cmd_len
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5291 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5292 # Try some XSI features
5295 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5297 && eval 'test $(( 1 + 1 )) -eq 2 \
5298 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5301 $as_echo "$xsi_shell" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5305 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5307 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5309 && lt_shell_append=yes
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5311 $as_echo "$lt_shell_append" >&6; }
5314 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5324 # test EBCDIC or ASCII
5325 case `echo X|tr X '\101'` in
5326 A) # ASCII based system
5327 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5328 lt_SP2NL='tr \040 \012'
5329 lt_NL2SP='tr \015\012 \040\040'
5331 *) # EBCDIC based system
5332 lt_SP2NL='tr \100 \n'
5333 lt_NL2SP='tr \r\n \100\100'
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5346 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5347 if ${lt_cv_to_host_file_cmd+:} false; then :
5348 $as_echo_n "(cached) " >&6
5353 *-*-mingw* ) # actually msys
5354 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5357 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5359 * ) # otherwise, assume *nix
5360 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5366 *-*-mingw* ) # actually msys
5367 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5370 lt_cv_to_host_file_cmd=func_convert_file_noop
5372 * ) # otherwise, assume *nix
5373 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5377 * ) # unhandled hosts (and "normal" native builds)
5378 lt_cv_to_host_file_cmd=func_convert_file_noop
5384 to_host_file_cmd=$lt_cv_to_host_file_cmd
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5386 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5393 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5394 if ${lt_cv_to_tool_file_cmd+:} false; then :
5395 $as_echo_n "(cached) " >&6
5397 #assume ordinary cross tools, or native build.
5398 lt_cv_to_tool_file_cmd=func_convert_file_noop
5402 *-*-mingw* ) # actually msys
5403 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5411 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5413 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5420 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5421 if ${lt_cv_ld_reload_flag+:} false; then :
5422 $as_echo_n "(cached) " >&6
5424 lt_cv_ld_reload_flag='-r'
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5427 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5428 reload_flag=$lt_cv_ld_reload_flag
5429 case $reload_flag in
5431 *) reload_flag=" $reload_flag" ;;
5433 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5435 cygwin* | mingw* | pw32* | cegcc*)
5436 if test "$GCC" != yes; then
5441 if test "$GCC" = yes; then
5442 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5444 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_OBJDUMP+:} false; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -n "$OBJDUMP"; then
5466 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 OBJDUMP=$ac_cv_prog_OBJDUMP
5486 if test -n "$OBJDUMP"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5488 $as_echo "$OBJDUMP" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$ac_cv_prog_OBJDUMP"; then
5497 ac_ct_OBJDUMP=$OBJDUMP
5498 # Extract the first word of "objdump", so it can be a program name with args.
5499 set dummy objdump; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$ac_ct_OBJDUMP"; then
5506 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5526 if test -n "$ac_ct_OBJDUMP"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5528 $as_echo "$ac_ct_OBJDUMP" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5534 if test "x$ac_ct_OBJDUMP" = x; then
5537 case $cross_compiling:$ac_tool_warned in
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5543 OBJDUMP=$ac_ct_OBJDUMP
5546 OBJDUMP="$ac_cv_prog_OBJDUMP"
5549 test -z "$OBJDUMP" && OBJDUMP=objdump
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5560 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5561 if ${lt_cv_deplibs_check_method+:} false; then :
5562 $as_echo_n "(cached) " >&6
5564 lt_cv_file_magic_cmd='$MAGIC_CMD'
5565 lt_cv_file_magic_test_file=
5566 lt_cv_deplibs_check_method='unknown'
5567 # Need to set the preceding variable on all platforms that support
5568 # interlibrary dependencies.
5569 # 'none' -- dependencies not supported.
5570 # `unknown' -- same as none, but documents that we really don't know.
5571 # 'pass_all' -- all dependencies passed with no checks.
5572 # 'test_compile' -- check by making test program.
5573 # 'file_magic [[regex]]' -- check by looking for files in library path
5574 # which responds to the $file_magic_cmd with a given extended regex.
5575 # If you have `file' or equivalent on your system and you're not sure
5576 # whether `pass_all' will *always* work, you probably want this one.
5580 lt_cv_deplibs_check_method=pass_all
5584 lt_cv_deplibs_check_method=pass_all
5588 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5589 lt_cv_file_magic_cmd='/usr/bin/file -L'
5590 lt_cv_file_magic_test_file=/shlib/libc.so
5594 # func_win32_libid is a shell function defined in ltmain.sh
5595 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5596 lt_cv_file_magic_cmd='func_win32_libid'
5600 # Base MSYS/MinGW do not provide the 'file' command needed by
5601 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5602 # unless we find 'file', for example because we are cross-compiling.
5603 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5604 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5605 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5606 lt_cv_file_magic_cmd='func_win32_libid'
5608 # Keep this pattern in sync with the one in func_win32_libid.
5609 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5610 lt_cv_file_magic_cmd='$OBJDUMP -f'
5615 # use the weaker test based on 'objdump'. See mingw*.
5616 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5617 lt_cv_file_magic_cmd='$OBJDUMP -f'
5620 darwin* | rhapsody*)
5621 lt_cv_deplibs_check_method=pass_all
5624 freebsd* | dragonfly*)
5625 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5628 # Not sure whether the presence of OpenBSD here was a mistake.
5629 # Let's accept both of them until this is cleared up.
5630 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5631 lt_cv_file_magic_cmd=/usr/bin/file
5632 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5636 lt_cv_deplibs_check_method=pass_all
5641 lt_cv_deplibs_check_method=pass_all
5645 lt_cv_deplibs_check_method=pass_all
5648 hpux10.20* | hpux11*)
5649 lt_cv_file_magic_cmd=/usr/bin/file
5652 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5653 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5656 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]'
5657 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5660 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5661 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5667 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5668 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5671 irix5* | irix6* | nonstopux*)
5673 *-32|*"-32 ") libmagic=32-bit;;
5674 *-n32|*"-n32 ") libmagic=N32;;
5675 *-64|*"-64 ") libmagic=64-bit;;
5676 *) libmagic=never-match;;
5678 lt_cv_deplibs_check_method=pass_all
5681 # This must be glibc/ELF.
5682 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5683 lt_cv_deplibs_check_method=pass_all
5687 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5690 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5695 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5696 lt_cv_file_magic_cmd=/usr/bin/file
5697 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5701 lt_cv_deplibs_check_method=pass_all
5705 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5706 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5708 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5712 osf3* | osf4* | osf5*)
5713 lt_cv_deplibs_check_method=pass_all
5717 lt_cv_deplibs_check_method=pass_all
5721 lt_cv_deplibs_check_method=pass_all
5724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5725 lt_cv_deplibs_check_method=pass_all
5729 case $host_vendor in
5731 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]'
5732 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5735 lt_cv_deplibs_check_method=pass_all
5738 lt_cv_file_magic_cmd='/bin/file'
5739 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5742 lt_cv_file_magic_cmd='/bin/file'
5743 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5744 lt_cv_file_magic_test_file=/lib/libc.so
5747 lt_cv_deplibs_check_method=pass_all
5750 lt_cv_deplibs_check_method=pass_all
5756 lt_cv_deplibs_check_method=pass_all
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5762 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5766 if test "$build" = "$host"; then
5769 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5772 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5778 file_magic_cmd=$lt_cv_file_magic_cmd
5779 deplibs_check_method=$lt_cv_deplibs_check_method
5780 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5803 if test -n "$ac_tool_prefix"; then
5804 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5805 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if ${ac_cv_prog_DLLTOOL+:} false; then :
5809 $as_echo_n "(cached) " >&6
5811 if test -n "$DLLTOOL"; then
5812 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5821 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 DLLTOOL=$ac_cv_prog_DLLTOOL
5832 if test -n "$DLLTOOL"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5834 $as_echo "$DLLTOOL" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5842 if test -z "$ac_cv_prog_DLLTOOL"; then
5843 ac_ct_DLLTOOL=$DLLTOOL
5844 # Extract the first word of "dlltool", so it can be a program name with args.
5845 set dummy dlltool; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5849 $as_echo_n "(cached) " >&6
5851 if test -n "$ac_ct_DLLTOOL"; then
5852 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5872 if test -n "$ac_ct_DLLTOOL"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5874 $as_echo "$ac_ct_DLLTOOL" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5880 if test "x$ac_ct_DLLTOOL" = x; then
5883 case $cross_compiling:$ac_tool_warned in
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5887 ac_tool_warned=yes ;;
5889 DLLTOOL=$ac_ct_DLLTOOL
5892 DLLTOOL="$ac_cv_prog_DLLTOOL"
5895 test -z "$DLLTOOL" && DLLTOOL=dlltool
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5907 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5908 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5909 $as_echo_n "(cached) " >&6
5911 lt_cv_sharedlib_from_linklib_cmd='unknown'
5914 cygwin* | mingw* | pw32* | cegcc*)
5915 # two different shell functions defined in ltmain.sh
5916 # decide which to use based on capabilities of $DLLTOOL
5917 case `$DLLTOOL --help 2>&1` in
5918 *--identify-strict*)
5919 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5922 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5927 # fallback: assume linklib IS sharedlib
5928 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5934 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5935 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5936 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5945 if test -n "$ac_tool_prefix"; then
5948 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5949 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_AR+:} false; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$AR"; then
5956 ac_cv_prog_AR="$AR" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 if test -n "$AR"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5978 $as_echo "$AR" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$AR" && break
5988 if test -z "$AR"; then
5992 # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -n "$ac_ct_AR"; then
6000 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_ac_ct_AR="$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6020 if test -n "$ac_ct_AR"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6022 $as_echo "$ac_ct_AR" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$ac_ct_AR" && break
6032 if test "x$ac_ct_AR" = x; then
6035 case $cross_compiling:$ac_tool_warned in
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039 ac_tool_warned=yes ;;
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6059 $as_echo_n "checking for archiver @FILE support... " >&6; }
6060 if ${lt_cv_ar_at_file+:} false; then :
6061 $as_echo_n "(cached) " >&6
6064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6075 if ac_fn_c_try_compile "$LINENO"; then :
6076 echo conftest.$ac_objext > conftest.lst
6077 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6078 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6079 (eval $lt_ar_try) 2>&5
6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082 test $ac_status = 0; }
6083 if test "$ac_status" -eq 0; then
6084 # Ensure the archiver fails upon bogus file names.
6085 rm -f conftest.$ac_objext libconftest.a
6086 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6087 (eval $lt_ar_try) 2>&5
6089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6090 test $ac_status = 0; }
6091 if test "$ac_status" -ne 0; then
6095 rm -f conftest.* libconftest.a
6098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6102 $as_echo "$lt_cv_ar_at_file" >&6; }
6104 if test "x$lt_cv_ar_at_file" = xno; then
6107 archiver_list_spec=$lt_cv_ar_at_file
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}strip; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_STRIP+:} false; then :
6122 $as_echo_n "(cached) " >&6
6124 if test -n "$STRIP"; then
6125 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 STRIP=$ac_cv_prog_STRIP
6145 if test -n "$STRIP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6147 $as_echo "$STRIP" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test -z "$ac_cv_prog_STRIP"; then
6157 # Extract the first word of "strip", so it can be a program name with args.
6158 set dummy strip; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6162 $as_echo_n "(cached) " >&6
6164 if test -n "$ac_ct_STRIP"; then
6165 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_ac_ct_STRIP="strip"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6185 if test -n "$ac_ct_STRIP"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6187 $as_echo "$ac_ct_STRIP" >&6; }
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6193 if test "x$ac_ct_STRIP" = x; then
6196 case $cross_compiling:$ac_tool_warned in
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6205 STRIP="$ac_cv_prog_STRIP"
6208 test -z "$STRIP" && STRIP=:
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_RANLIB+:} false; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$RANLIB"; then
6224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 RANLIB=$ac_cv_prog_RANLIB
6244 if test -n "$RANLIB"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6246 $as_echo "$RANLIB" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6254 if test -z "$ac_cv_prog_RANLIB"; then
6255 ac_ct_RANLIB=$RANLIB
6256 # Extract the first word of "ranlib", so it can be a program name with args.
6257 set dummy ranlib; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$ac_ct_RANLIB"; then
6264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273 ac_cv_prog_ac_ct_RANLIB="ranlib"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6284 if test -n "$ac_ct_RANLIB"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6286 $as_echo "$ac_ct_RANLIB" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6292 if test "x$ac_ct_RANLIB" = x; then
6295 case $cross_compiling:$ac_tool_warned in
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned=yes ;;
6301 RANLIB=$ac_ct_RANLIB
6304 RANLIB="$ac_cv_prog_RANLIB"
6307 test -z "$RANLIB" && RANLIB=:
6314 # Determine commands to create old-style static archives.
6315 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6316 old_postinstall_cmds='chmod 644 $oldlib'
6317 old_postuninstall_cmds=
6319 if test -n "$RANLIB"; then
6322 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6325 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6328 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6333 lock_old_archive_extraction=yes ;;
6335 lock_old_archive_extraction=no ;;
6376 # If no C compiler was specified, use CC.
6379 # If no C compiler flags were specified, use CFLAGS.
6380 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6382 # Allow CC to be a program name with arguments.
6386 # Check for command to grab the raw symbol name followed by C symbol from nm.
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6388 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6389 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6390 $as_echo_n "(cached) " >&6
6393 # These are sane defaults that work on at least a few old systems.
6394 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6396 # Character class describing NM global symbol codes.
6397 symcode='[BCDEGRST]'
6399 # Regexp to match symbols that can be accessed directly from C.
6400 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6402 # Define system-specific variables.
6407 cygwin* | mingw* | pw32* | cegcc*)
6408 symcode='[ABCDGISTW]'
6411 if test "$host_cpu" = ia64; then
6412 symcode='[ABCDEGRST]'
6416 symcode='[BCDEGRST]'
6419 symcode='[BCDEGQRST]'
6430 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6438 # If we're using GNU nm, then use its standard symbol codes.
6439 case `$NM -V 2>&1` in
6440 *GNU* | *'with BFD'*)
6441 symcode='[ABCDGIRSTW]' ;;
6444 # Transform an extracted symbol line into a proper C declaration.
6445 # Some systems (esp. on ia64) link data and code symbols differently,
6446 # so use this general approach.
6447 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6449 # Transform an extracted symbol line into symbol name and symbol address
6450 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6451 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'"
6453 # Handle CRLF in mingw tool chain
6457 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6461 # Try without a prefix underscore, then with it.
6462 for ac_symprfx in "" "_"; do
6464 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6465 symxfrm="\\1 $ac_symprfx\\2 \\2"
6467 # Write the raw and C identifiers.
6468 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6469 # Fake it for dumpbin and say T for any non-static function
6470 # and D for any global variable.
6471 # Also find C++ and __fastcall symbols from MSVC++,
6472 # which start with @ or ?.
6473 lt_cv_sys_global_symbol_pipe="$AWK '"\
6474 " {last_section=section; section=\$ 3};"\
6475 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6476 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6477 " \$ 0!~/External *\|/{next};"\
6478 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6479 " {if(hide[section]) next};"\
6480 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6481 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6482 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6483 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6484 " ' prfx=^$ac_symprfx"
6486 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6488 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6490 # Check to see that the pipe works correctly.
6494 cat > conftest.$ac_ext <<_LT_EOF
6499 void nm_test_func(void);
6500 void nm_test_func(void){}
6504 int main(){nm_test_var='a';nm_test_func();return(0);}
6507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508 (eval $ac_compile) 2>&5
6510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511 test $ac_status = 0; }; then
6512 # Now try to grab the symbols.
6514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6515 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518 test $ac_status = 0; } && test -s "$nlist"; then
6519 # Try sorting and uniquifying the output.
6520 if sort "$nlist" | uniq > "$nlist"T; then
6521 mv -f "$nlist"T "$nlist"
6526 # Make sure that we snagged all the symbols we need.
6527 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6528 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6529 cat <<_LT_EOF > conftest.$ac_ext
6530 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6531 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6532 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6533 relocations are performed -- see ld's documentation on pseudo-relocs. */
6534 # define LT_DLSYM_CONST
6535 #elif defined(__osf__)
6536 /* This system does not cope well with relocations in const data. */
6537 # define LT_DLSYM_CONST
6539 # define LT_DLSYM_CONST const
6547 # Now generate the symbol file.
6548 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6550 cat <<_LT_EOF >> conftest.$ac_ext
6552 /* The mapping between symbol names and symbols. */
6553 LT_DLSYM_CONST struct {
6557 lt__PROGRAM__LTX_preloaded_symbols[] =
6559 { "@PROGRAM@", (void *) 0 },
6561 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6562 cat <<\_LT_EOF >> conftest.$ac_ext
6566 /* This works around a problem in FreeBSD linker */
6567 #ifdef FREEBSD_WORKAROUND
6568 static const void *lt_preloaded_setup() {
6569 return lt__PROGRAM__LTX_preloaded_symbols;
6577 # Now try linking the two files.
6578 mv conftest.$ac_objext conftstm.$ac_objext
6579 lt_globsym_save_LIBS=$LIBS
6580 lt_globsym_save_CFLAGS=$CFLAGS
6581 LIBS="conftstm.$ac_objext"
6582 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6584 (eval $ac_link) 2>&5
6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6590 LIBS=$lt_globsym_save_LIBS
6591 CFLAGS=$lt_globsym_save_CFLAGS
6593 echo "cannot find nm_test_func in $nlist" >&5
6596 echo "cannot find nm_test_var in $nlist" >&5
6599 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6602 echo "$progname: failed program was:" >&5
6603 cat conftest.$ac_ext >&5
6605 rm -rf conftest* conftst*
6607 # Do not use the global_symbol_pipe unless it works.
6608 if test "$pipe_works" = yes; then
6611 lt_cv_sys_global_symbol_pipe=
6617 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6618 lt_cv_sys_global_symbol_to_cdecl=
6620 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6622 $as_echo "failed" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6625 $as_echo "ok" >&6; }
6628 # Response file support.
6629 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6630 nm_file_list_spec='@'
6631 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6632 nm_file_list_spec='@'
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6662 $as_echo_n "checking for sysroot... " >&6; }
6664 # Check whether --with-sysroot was given.
6665 if test "${with_sysroot+set}" = set; then :
6666 withval=$with_sysroot;
6673 case ${with_sysroot} in #(
6675 if test "$GCC" = yes; then
6676 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6680 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6686 $as_echo "${with_sysroot}" >&6; }
6687 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6692 $as_echo "${lt_sysroot:-no}" >&6; }
6698 # Check whether --enable-libtool-lock was given.
6699 if test "${enable_libtool_lock+set}" = set; then :
6700 enableval=$enable_libtool_lock;
6703 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6705 # Some flags need to be propagated to the compiler or linker for good
6709 # Find out which ABI we are using.
6710 echo 'int i;' > conftest.$ac_ext
6711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6712 (eval $ac_compile) 2>&5
6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 test $ac_status = 0; }; then
6716 case `/usr/bin/file conftest.$ac_objext` in
6728 # Find out which ABI we are using.
6729 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731 (eval $ac_compile) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; }; then
6735 if test "$lt_cv_prog_gnu_ld" = yes; then
6736 case `/usr/bin/file conftest.$ac_objext` in
6738 LD="${LD-ld} -melf32bsmip"
6741 LD="${LD-ld} -melf32bmipn32"
6744 LD="${LD-ld} -melf64bmip"
6748 case `/usr/bin/file conftest.$ac_objext` in
6764 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6765 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6766 # Find out which ABI we are using.
6767 echo 'int i;' > conftest.$ac_ext
6768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6769 (eval $ac_compile) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772 test $ac_status = 0; }; then
6773 case `/usr/bin/file conftest.o` in
6776 x86_64-*kfreebsd*-gnu)
6777 LD="${LD-ld} -m elf_i386_fbsd"
6780 LD="${LD-ld} -m elf_i386"
6782 ppc64-*linux*|powerpc64-*linux*)
6783 LD="${LD-ld} -m elf32ppclinux"
6786 LD="${LD-ld} -m elf_s390"
6789 LD="${LD-ld} -m elf32_sparc"
6795 x86_64-*kfreebsd*-gnu)
6796 LD="${LD-ld} -m elf_x86_64_fbsd"
6799 LD="${LD-ld} -m elf_x86_64"
6801 ppc*-*linux*|powerpc*-*linux*)
6802 LD="${LD-ld} -m elf64ppc"
6804 s390*-*linux*|s390*-*tpf*)
6805 LD="${LD-ld} -m elf64_s390"
6808 LD="${LD-ld} -m elf64_sparc"
6818 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6819 SAVE_CFLAGS="$CFLAGS"
6820 CFLAGS="$CFLAGS -belf"
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6822 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6823 if ${lt_cv_cc_needs_belf+:} false; then :
6824 $as_echo_n "(cached) " >&6
6827 ac_cpp='$CPP $CPPFLAGS'
6828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6843 if ac_fn_c_try_link "$LINENO"; then :
6844 lt_cv_cc_needs_belf=yes
6846 lt_cv_cc_needs_belf=no
6848 rm -f core conftest.err conftest.$ac_objext \
6849 conftest$ac_exeext conftest.$ac_ext
6851 ac_cpp='$CPP $CPPFLAGS'
6852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6858 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6861 CFLAGS="$SAVE_CFLAGS"
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871 test $ac_status = 0; }; then
6872 case `/usr/bin/file conftest.o` in
6874 case $lt_cv_prog_gnu_ld in
6878 LD="${LD-ld} -m elf_x86_64"
6881 LD="${LD-ld} -m elf64_sparc"
6884 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6885 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6890 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6902 need_locks="$enable_libtool_lock"
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}mt; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6910 $as_echo_n "(cached) " >&6
6912 if test -n "$MANIFEST_TOOL"; then
6913 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6933 if test -n "$MANIFEST_TOOL"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6935 $as_echo "$MANIFEST_TOOL" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6943 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6944 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6945 # Extract the first word of "mt", so it can be a program name with args.
6946 set dummy mt; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$ac_ct_MANIFEST_TOOL"; then
6953 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6973 if test -n "$ac_ct_MANIFEST_TOOL"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6975 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6981 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6988 ac_tool_warned=yes ;;
6990 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6993 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6996 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6998 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6999 if ${lt_cv_path_mainfest_tool+:} false; then :
7000 $as_echo_n "(cached) " >&6
7002 lt_cv_path_mainfest_tool=no
7003 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7004 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7005 cat conftest.err >&5
7006 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7007 lt_cv_path_mainfest_tool=yes
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7012 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7013 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7023 rhapsody* | darwin*)
7024 if test -n "$ac_tool_prefix"; then
7025 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7026 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028 $as_echo_n "checking for $ac_word... " >&6; }
7029 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7030 $as_echo_n "(cached) " >&6
7032 if test -n "$DSYMUTIL"; then
7033 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 test -z "$as_dir" && as_dir=.
7040 for ac_exec_ext in '' $ac_executable_extensions; do
7041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7042 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7052 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7053 if test -n "$DSYMUTIL"; then
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7055 $as_echo "$DSYMUTIL" >&6; }
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058 $as_echo "no" >&6; }
7063 if test -z "$ac_cv_prog_DSYMUTIL"; then
7064 ac_ct_DSYMUTIL=$DSYMUTIL
7065 # Extract the first word of "dsymutil", so it can be a program name with args.
7066 set dummy dsymutil; ac_word=$2
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 $as_echo_n "checking for $ac_word... " >&6; }
7069 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7070 $as_echo_n "(cached) " >&6
7072 if test -n "$ac_ct_DSYMUTIL"; then
7073 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 test -z "$as_dir" && as_dir=.
7080 for ac_exec_ext in '' $ac_executable_extensions; do
7081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7093 if test -n "$ac_ct_DSYMUTIL"; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7095 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098 $as_echo "no" >&6; }
7101 if test "x$ac_ct_DSYMUTIL" = x; then
7104 case $cross_compiling:$ac_tool_warned in
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7108 ac_tool_warned=yes ;;
7110 DSYMUTIL=$ac_ct_DSYMUTIL
7113 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7116 if test -n "$ac_tool_prefix"; then
7117 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7118 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_NMEDIT+:} false; then :
7122 $as_echo_n "(cached) " >&6
7124 if test -n "$NMEDIT"; then
7125 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 NMEDIT=$ac_cv_prog_NMEDIT
7145 if test -n "$NMEDIT"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7147 $as_echo "$NMEDIT" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7155 if test -z "$ac_cv_prog_NMEDIT"; then
7156 ac_ct_NMEDIT=$NMEDIT
7157 # Extract the first word of "nmedit", so it can be a program name with args.
7158 set dummy nmedit; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7162 $as_echo_n "(cached) " >&6
7164 if test -n "$ac_ct_NMEDIT"; then
7165 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 test -z "$as_dir" && as_dir=.
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7185 if test -n "$ac_ct_NMEDIT"; then
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7187 $as_echo "$ac_ct_NMEDIT" >&6; }
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7193 if test "x$ac_ct_NMEDIT" = x; then
7196 case $cross_compiling:$ac_tool_warned in
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7200 ac_tool_warned=yes ;;
7202 NMEDIT=$ac_ct_NMEDIT
7205 NMEDIT="$ac_cv_prog_NMEDIT"
7208 if test -n "$ac_tool_prefix"; then
7209 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7210 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_LIPO+:} false; then :
7214 $as_echo_n "(cached) " >&6
7216 if test -n "$LIPO"; then
7217 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir=.
7224 for ac_exec_ext in '' $ac_executable_extensions; do
7225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 LIPO=$ac_cv_prog_LIPO
7237 if test -n "$LIPO"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7239 $as_echo "$LIPO" >&6; }
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7247 if test -z "$ac_cv_prog_LIPO"; then
7249 # Extract the first word of "lipo", so it can be a program name with args.
7250 set dummy lipo; ac_word=$2
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 $as_echo_n "checking for $ac_word... " >&6; }
7253 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7254 $as_echo_n "(cached) " >&6
7256 if test -n "$ac_ct_LIPO"; then
7257 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263 test -z "$as_dir" && as_dir=.
7264 for ac_exec_ext in '' $ac_executable_extensions; do
7265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266 ac_cv_prog_ac_ct_LIPO="lipo"
7267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7277 if test -n "$ac_ct_LIPO"; then
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7279 $as_echo "$ac_ct_LIPO" >&6; }
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7285 if test "x$ac_ct_LIPO" = x; then
7288 case $cross_compiling:$ac_tool_warned in
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7292 ac_tool_warned=yes ;;
7297 LIPO="$ac_cv_prog_LIPO"
7300 if test -n "$ac_tool_prefix"; then
7301 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7302 set dummy ${ac_tool_prefix}otool; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_prog_OTOOL+:} false; then :
7306 $as_echo_n "(cached) " >&6
7308 if test -n "$OTOOL"; then
7309 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 test -z "$as_dir" && as_dir=.
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7318 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 OTOOL=$ac_cv_prog_OTOOL
7329 if test -n "$OTOOL"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7331 $as_echo "$OTOOL" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7339 if test -z "$ac_cv_prog_OTOOL"; then
7341 # Extract the first word of "otool", so it can be a program name with args.
7342 set dummy otool; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7346 $as_echo_n "(cached) " >&6
7348 if test -n "$ac_ct_OTOOL"; then
7349 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_ac_ct_OTOOL="otool"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7369 if test -n "$ac_ct_OTOOL"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7371 $as_echo "$ac_ct_OTOOL" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7377 if test "x$ac_ct_OTOOL" = x; then
7380 case $cross_compiling:$ac_tool_warned in
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7384 ac_tool_warned=yes ;;
7389 OTOOL="$ac_cv_prog_OTOOL"
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_OTOOL64+:} false; then :
7398 $as_echo_n "(cached) " >&6
7400 if test -n "$OTOOL64"; then
7401 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 OTOOL64=$ac_cv_prog_OTOOL64
7421 if test -n "$OTOOL64"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7423 $as_echo "$OTOOL64" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_OTOOL64"; then
7432 ac_ct_OTOOL64=$OTOOL64
7433 # Extract the first word of "otool64", so it can be a program name with args.
7434 set dummy otool64; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 if test -n "$ac_ct_OTOOL64"; then
7441 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_OTOOL64="otool64"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7461 if test -n "$ac_ct_OTOOL64"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7463 $as_echo "$ac_ct_OTOOL64" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_OTOOL64" = x; then
7472 case $cross_compiling:$ac_tool_warned in
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7478 OTOOL64=$ac_ct_OTOOL64
7481 OTOOL64="$ac_cv_prog_OTOOL64"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7511 $as_echo_n "checking for -single_module linker flag... " >&6; }
7512 if ${lt_cv_apple_cc_single_mod+:} false; then :
7513 $as_echo_n "(cached) " >&6
7515 lt_cv_apple_cc_single_mod=no
7516 if test -z "${LT_MULTI_MODULE}"; then
7517 # By default we will add the -single_module flag. You can override
7518 # by either setting the environment variable LT_MULTI_MODULE
7519 # non-empty at configure time, or by adding -multi_module to the
7521 rm -rf libconftest.dylib*
7522 echo "int foo(void){return 1;}" > conftest.c
7523 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7524 -dynamiclib -Wl,-single_module conftest.c" >&5
7525 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7526 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7528 # If there is a non-empty error log, and "single_module"
7529 # appears in it, assume the flag caused a linker warning
7530 if test -s conftest.err && $GREP single_module conftest.err; then
7531 cat conftest.err >&5
7532 # Otherwise, if the output was created with a 0 exit code from
7533 # the compiler, it worked.
7534 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7535 lt_cv_apple_cc_single_mod=yes
7537 cat conftest.err >&5
7539 rm -rf libconftest.dylib*
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7544 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7547 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7548 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7549 $as_echo_n "(cached) " >&6
7551 lt_cv_ld_exported_symbols_list=no
7552 save_LDFLAGS=$LDFLAGS
7553 echo "_main" > conftest.sym
7554 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h. */
7566 if ac_fn_c_try_link "$LINENO"; then :
7567 lt_cv_ld_exported_symbols_list=yes
7569 lt_cv_ld_exported_symbols_list=no
7571 rm -f core conftest.err conftest.$ac_objext \
7572 conftest$ac_exeext conftest.$ac_ext
7573 LDFLAGS="$save_LDFLAGS"
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7577 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7580 $as_echo_n "checking for -force_load linker flag... " >&6; }
7581 if ${lt_cv_ld_force_load+:} false; then :
7582 $as_echo_n "(cached) " >&6
7584 lt_cv_ld_force_load=no
7585 cat > conftest.c << _LT_EOF
7586 int forced_loaded() { return 2;}
7588 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7589 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7590 echo "$AR cru libconftest.a conftest.o" >&5
7591 $AR cru libconftest.a conftest.o 2>&5
7592 echo "$RANLIB libconftest.a" >&5
7593 $RANLIB libconftest.a 2>&5
7594 cat > conftest.c << _LT_EOF
7595 int main() { return 0;}
7597 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7598 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7600 if test -s conftest.err && $GREP force_load conftest.err; then
7601 cat conftest.err >&5
7602 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7603 lt_cv_ld_force_load=yes
7605 cat conftest.err >&5
7607 rm -f conftest.err libconftest.a conftest conftest.c
7608 rm -rf conftest.dSYM
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7612 $as_echo "$lt_cv_ld_force_load" >&6; }
7614 rhapsody* | darwin1.[012])
7615 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7617 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7618 darwin*) # darwin 5.x on
7619 # if running on 10.5 or later, the deployment target defaults
7620 # to the OS version, if on x86, and 10.4, the deployment
7621 # target defaults to 10.4. Don't you love it?
7622 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7623 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7624 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7626 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7628 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7632 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7633 _lt_dar_single_mod='$single_module'
7635 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7636 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7638 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7640 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7641 _lt_dsymutil='~$DSYMUTIL $lib || :'
7649 ac_cpp='$CPP $CPPFLAGS'
7650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7654 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7655 # On Suns, sometimes $CPP names a directory.
7656 if test -n "$CPP" && test -d "$CPP"; then
7659 if test -z "$CPP"; then
7660 if ${ac_cv_prog_CPP+:} false; then :
7661 $as_echo_n "(cached) " >&6
7663 # Double quotes because CPP needs to be expanded
7664 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7667 for ac_c_preproc_warn_flag in '' yes
7669 # Use a header file that comes with gcc, so configuring glibc
7670 # with a fresh cross-compiler works.
7671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672 # <limits.h> exists even on freestanding compilers.
7673 # On the NeXT, cc -E runs the code through the compiler's parser,
7674 # not just through cpp. "Syntax error" is here to catch this case.
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7678 # include <limits.h>
7680 # include <assert.h>
7684 if ac_fn_c_try_cpp "$LINENO"; then :
7687 # Broken: fails on valid input.
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7692 # OK, works on sane cases. Now check whether nonexistent headers
7693 # can be detected and how.
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7696 #include <ac_nonexistent.h>
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7699 # Broken: success on invalid input.
7702 # Passes both tests.
7706 rm -f conftest.err conftest.i conftest.$ac_ext
7709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7710 rm -f conftest.i conftest.err conftest.$ac_ext
7711 if $ac_preproc_ok; then :
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7724 $as_echo "$CPP" >&6; }
7726 for ac_c_preproc_warn_flag in '' yes
7728 # Use a header file that comes with gcc, so configuring glibc
7729 # with a fresh cross-compiler works.
7730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7731 # <limits.h> exists even on freestanding compilers.
7732 # On the NeXT, cc -E runs the code through the compiler's parser,
7733 # not just through cpp. "Syntax error" is here to catch this case.
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7737 # include <limits.h>
7739 # include <assert.h>
7743 if ac_fn_c_try_cpp "$LINENO"; then :
7746 # Broken: fails on valid input.
7749 rm -f conftest.err conftest.i conftest.$ac_ext
7751 # OK, works on sane cases. Now check whether nonexistent headers
7752 # can be detected and how.
7753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7754 /* end confdefs.h. */
7755 #include <ac_nonexistent.h>
7757 if ac_fn_c_try_cpp "$LINENO"; then :
7758 # Broken: success on invalid input.
7761 # Passes both tests.
7765 rm -f conftest.err conftest.i conftest.$ac_ext
7768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7769 rm -f conftest.i conftest.err conftest.$ac_ext
7770 if $ac_preproc_ok; then :
7773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7775 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7776 See \`config.log' for more details" "$LINENO" 5; }
7780 ac_cpp='$CPP $CPPFLAGS'
7781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7787 $as_echo_n "checking for ANSI C header files... " >&6; }
7788 if ${ac_cv_header_stdc+:} false; then :
7789 $as_echo_n "(cached) " >&6
7791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7806 if ac_fn_c_try_compile "$LINENO"; then :
7807 ac_cv_header_stdc=yes
7809 ac_cv_header_stdc=no
7811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7813 if test $ac_cv_header_stdc = yes; then
7814 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7821 $EGREP "memchr" >/dev/null 2>&1; then :
7824 ac_cv_header_stdc=no
7830 if test $ac_cv_header_stdc = yes; then
7831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 $EGREP "free" >/dev/null 2>&1; then :
7841 ac_cv_header_stdc=no
7847 if test $ac_cv_header_stdc = yes; then
7848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7849 if test "$cross_compiling" = yes; then :
7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7856 #if ((' ' & 0x0FF) == 0x020)
7857 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7858 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7860 # define ISLOWER(c) \
7861 (('a' <= (c) && (c) <= 'i') \
7862 || ('j' <= (c) && (c) <= 'r') \
7863 || ('s' <= (c) && (c) <= 'z'))
7864 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7867 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7872 for (i = 0; i < 256; i++)
7873 if (XOR (islower (i), ISLOWER (i))
7874 || toupper (i) != TOUPPER (i))
7879 if ac_fn_c_try_run "$LINENO"; then :
7882 ac_cv_header_stdc=no
7884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7885 conftest.$ac_objext conftest.beam conftest.$ac_ext
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7891 $as_echo "$ac_cv_header_stdc" >&6; }
7892 if test $ac_cv_header_stdc = yes; then
7894 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7898 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7899 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7900 inttypes.h stdint.h unistd.h
7902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7903 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7905 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7915 for ac_header in dlfcn.h
7917 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7919 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7920 cat >>confdefs.h <<_ACEOF
7921 #define HAVE_DLFCN_H 1
7942 # Check whether --enable-shared was given.
7943 if test "${enable_shared+set}" = set; then :
7944 enableval=$enable_shared; p=${PACKAGE-default}
7946 yes) enable_shared=yes ;;
7947 no) enable_shared=no ;;
7950 # Look at the argument we got. We use all the common list separators.
7951 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7952 for pkg in $enableval; do
7954 if test "X$pkg" = "X$p"; then
7973 # Check whether --enable-static was given.
7974 if test "${enable_static+set}" = set; then :
7975 enableval=$enable_static; p=${PACKAGE-default}
7977 yes) enable_static=yes ;;
7978 no) enable_static=no ;;
7981 # Look at the argument we got. We use all the common list separators.
7982 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983 for pkg in $enableval; do
7985 if test "X$pkg" = "X$p"; then
8005 # Check whether --with-pic was given.
8006 if test "${with_pic+set}" = set; then :
8007 withval=$with_pic; lt_p=${PACKAGE-default}
8009 yes|no) pic_mode=$withval ;;
8012 # Look at the argument we got. We use all the common list separators.
8013 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014 for lt_pkg in $withval; do
8016 if test "X$lt_pkg" = "X$lt_p"; then
8028 test -z "$pic_mode" && pic_mode=default
8036 # Check whether --enable-fast-install was given.
8037 if test "${enable_fast_install+set}" = set; then :
8038 enableval=$enable_fast_install; p=${PACKAGE-default}
8040 yes) enable_fast_install=yes ;;
8041 no) enable_fast_install=no ;;
8043 enable_fast_install=no
8044 # Look at the argument we got. We use all the common list separators.
8045 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8046 for pkg in $enableval; do
8048 if test "X$pkg" = "X$p"; then
8049 enable_fast_install=yes
8056 enable_fast_install=yes
8069 # This can be used to rebuild libtool when needed
8070 LIBTOOL_DEPS="$ltmain"
8072 # Always use our own libtool.
8073 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8104 test -z "$LN_S" && LN_S="ln -s"
8119 if test -n "${ZSH_VERSION+set}" ; then
8120 setopt NO_GLOB_SUBST
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8124 $as_echo_n "checking for objdir... " >&6; }
8125 if ${lt_cv_objdir+:} false; then :
8126 $as_echo_n "(cached) " >&6
8128 rm -f .libs 2>/dev/null
8129 mkdir .libs 2>/dev/null
8130 if test -d .libs; then
8133 # MS-DOS does not allow filenames that begin with a dot.
8136 rmdir .libs 2>/dev/null
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8139 $as_echo "$lt_cv_objdir" >&6; }
8140 objdir=$lt_cv_objdir
8146 cat >>confdefs.h <<_ACEOF
8147 #define LT_OBJDIR "$lt_cv_objdir/"
8155 # AIX sometimes has problems with the GCC collect2 program. For some
8156 # reason, if we set the COLLECT_NAMES environment variable, the problems
8157 # vanish in a puff of smoke.
8158 if test "X${COLLECT_NAMES+set}" != Xset; then
8160 export COLLECT_NAMES
8167 can_build_shared=yes
8169 # All known linkers require a `.a' archive for static linking (except MSVC,
8170 # which needs '.lib').
8173 with_gnu_ld="$lt_cv_prog_gnu_ld"
8176 old_CFLAGS="$CFLAGS"
8178 # Set sane defaults for various variables
8179 test -z "$CC" && CC=cc
8180 test -z "$LTCC" && LTCC=$CC
8181 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8182 test -z "$LD" && LD=ld
8183 test -z "$ac_objext" && ac_objext=o
8185 for cc_temp in $compiler""; do
8187 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8188 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8193 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8196 # Only perform the check for file, if the check method requires it
8197 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8198 case $deplibs_check_method in
8200 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8202 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8203 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8204 $as_echo_n "(cached) " >&6
8208 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8211 lt_save_MAGIC_CMD="$MAGIC_CMD"
8212 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8213 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8214 for ac_dir in $ac_dummy; do
8216 test -z "$ac_dir" && ac_dir=.
8217 if test -f $ac_dir/${ac_tool_prefix}file; then
8218 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8219 if test -n "$file_magic_test_file"; then
8220 case $deplibs_check_method in
8222 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8223 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8224 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8225 $EGREP "$file_magic_regex" > /dev/null; then
8230 *** Warning: the command libtool uses to detect shared libraries,
8231 *** $file_magic_cmd, produces output that libtool cannot recognize.
8232 *** The result is that libtool may fail to recognize shared libraries
8233 *** as such. This will affect the creation of libtool libraries that
8234 *** depend on shared libraries, but programs linked with such libtool
8235 *** libraries will work regardless of this problem. Nevertheless, you
8236 *** may want to report the problem to your system manager and/or to
8237 *** bug-libtool@gnu.org
8247 MAGIC_CMD="$lt_save_MAGIC_CMD"
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if test -n "$MAGIC_CMD"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8255 $as_echo "$MAGIC_CMD" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8265 if test -z "$lt_cv_path_MAGIC_CMD"; then
8266 if test -n "$ac_tool_prefix"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8268 $as_echo_n "checking for file... " >&6; }
8269 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8270 $as_echo_n "(cached) " >&6
8274 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8277 lt_save_MAGIC_CMD="$MAGIC_CMD"
8278 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8279 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8280 for ac_dir in $ac_dummy; do
8282 test -z "$ac_dir" && ac_dir=.
8283 if test -f $ac_dir/file; then
8284 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8285 if test -n "$file_magic_test_file"; then
8286 case $deplibs_check_method in
8288 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8289 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8291 $EGREP "$file_magic_regex" > /dev/null; then
8296 *** Warning: the command libtool uses to detect shared libraries,
8297 *** $file_magic_cmd, produces output that libtool cannot recognize.
8298 *** The result is that libtool may fail to recognize shared libraries
8299 *** as such. This will affect the creation of libtool libraries that
8300 *** depend on shared libraries, but programs linked with such libtool
8301 *** libraries will work regardless of this problem. Nevertheless, you
8302 *** may want to report the problem to your system manager and/or to
8303 *** bug-libtool@gnu.org
8313 MAGIC_CMD="$lt_save_MAGIC_CMD"
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if test -n "$MAGIC_CMD"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8321 $as_echo "$MAGIC_CMD" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8337 # Use C for the default configuration in the libtool script
8341 ac_cpp='$CPP $CPPFLAGS'
8342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8347 # Source file extension for C test sources.
8350 # Object file extension for compiled C test sources.
8354 # Code to be used in simple compile tests
8355 lt_simple_compile_test_code="int some_variable = 0;"
8357 # Code to be used in simple link tests
8358 lt_simple_link_test_code='int main(){return(0);}'
8366 # If no C compiler was specified, use CC.
8369 # If no C compiler flags were specified, use CFLAGS.
8370 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8372 # Allow CC to be a program name with arguments.
8375 # Save the default compiler, since it gets overwritten when the other
8376 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8377 compiler_DEFAULT=$CC
8379 # save warnings/boilerplate of simple test code
8380 ac_outfile=conftest.$ac_objext
8381 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8382 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8383 _lt_compiler_boilerplate=`cat conftest.err`
8386 ac_outfile=conftest.$ac_objext
8387 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8388 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8389 _lt_linker_boilerplate=`cat conftest.err`
8394 ## There is no encapsulation within the following macros, do not change
8395 ## the running order or otherwise move them around unless you know exactly
8396 ## what you are doing...
8397 if test -n "$compiler"; then
8399 lt_prog_compiler_no_builtin_flag=
8401 if test "$GCC" = yes; then
8402 case $cc_basename in
8404 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8406 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8410 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8411 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8412 $as_echo_n "(cached) " >&6
8414 lt_cv_prog_compiler_rtti_exceptions=no
8415 ac_outfile=conftest.$ac_objext
8416 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8417 lt_compiler_flag="-fno-rtti -fno-exceptions"
8418 # Insert the option either (1) after the last *FLAGS variable, or
8419 # (2) before a word containing "conftest.", or (3) at the end.
8420 # Note that $ac_compile itself does not contain backslashes and begins
8421 # with a dollar sign (not a hyphen), so the echo should work correctly.
8422 # The option is referenced via a variable to avoid confusing sed.
8423 lt_compile=`echo "$ac_compile" | $SED \
8424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8426 -e 's:$: $lt_compiler_flag:'`
8427 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8428 (eval "$lt_compile" 2>conftest.err)
8430 cat conftest.err >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 if (exit $ac_status) && test -s "$ac_outfile"; then
8433 # The compiler can only warn and ignore the option if not recognized
8434 # So say no if there are warnings other than the usual output.
8435 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8436 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8437 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8438 lt_cv_prog_compiler_rtti_exceptions=yes
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8445 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8447 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8448 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8460 lt_prog_compiler_wl=
8461 lt_prog_compiler_pic=
8462 lt_prog_compiler_static=
8465 if test "$GCC" = yes; then
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_static='-static'
8471 # All AIX code is PIC.
8472 if test "$host_cpu" = ia64; then
8473 # AIX 5 now supports IA64 processor
8474 lt_prog_compiler_static='-Bstatic'
8481 # see comment about AmigaOS4 .so support
8482 lt_prog_compiler_pic='-fPIC'
8485 # FIXME: we need at least 68020 code to build shared libraries, but
8486 # adding the `-m68020' flag to GCC prevents building anything better,
8488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8494 # PIC is the default for these OSes.
8497 mingw* | cygwin* | pw32* | os2* | cegcc*)
8498 # This hack is so that the source file can tell whether it is being
8499 # built for inclusion in a dll (and should export symbols for example).
8500 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8501 # (--disable-auto-import) libraries
8502 lt_prog_compiler_pic='-DDLL_EXPORT'
8505 darwin* | rhapsody*)
8506 # PIC is the default on this platform
8507 # Common symbols not allowed in MH_DYLIB files
8508 lt_prog_compiler_pic='-fno-common'
8512 # PIC is the default for Haiku.
8513 # The "-static" flag exists, but is broken.
8514 lt_prog_compiler_static=
8518 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8519 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8520 # sets the default TLS model and affects inlining.
8526 lt_prog_compiler_pic='-fPIC'
8532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8533 # Instead, we relocate shared libraries at runtime.
8537 # Just because we use GCC doesn't mean we suddenly get shared libraries
8538 # on systems that don't support them.
8539 lt_prog_compiler_can_build_shared=no
8544 # QNX uses GNU C++, but need to define -shared option too, otherwise
8546 lt_prog_compiler_pic='-fPIC -shared'
8550 if test -d /usr/nec; then
8551 lt_prog_compiler_pic=-Kconform_pic
8556 lt_prog_compiler_pic='-fPIC'
8560 case $cc_basename in
8561 nvcc*) # Cuda Compiler Driver 2.2
8562 lt_prog_compiler_wl='-Xlinker '
8563 if test -n "$lt_prog_compiler_pic"; then
8564 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8569 # PORTME Check for flag to pass linker flags through the system compiler.
8572 lt_prog_compiler_wl='-Wl,'
8573 if test "$host_cpu" = ia64; then
8574 # AIX 5 now supports IA64 processor
8575 lt_prog_compiler_static='-Bstatic'
8577 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8581 mingw* | cygwin* | pw32* | os2* | cegcc*)
8582 # This hack is so that the source file can tell whether it is being
8583 # built for inclusion in a dll (and should export symbols for example).
8584 lt_prog_compiler_pic='-DDLL_EXPORT'
8587 hpux9* | hpux10* | hpux11*)
8588 lt_prog_compiler_wl='-Wl,'
8589 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8596 lt_prog_compiler_pic='+Z'
8599 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8600 lt_prog_compiler_static='${wl}-a ${wl}archive'
8603 irix5* | irix6* | nonstopux*)
8604 lt_prog_compiler_wl='-Wl,'
8605 # PIC (with -KPIC) is the default.
8606 lt_prog_compiler_static='-non_shared'
8609 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8610 case $cc_basename in
8611 # old Intel for x86_64 which still supported -KPIC.
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_pic='-KPIC'
8615 lt_prog_compiler_static='-static'
8617 # icc used to be incompatible with GCC.
8618 # ICC 10 doesn't accept -KPIC any more.
8620 lt_prog_compiler_wl='-Wl,'
8621 lt_prog_compiler_pic='-fPIC'
8622 lt_prog_compiler_static='-static'
8624 # Lahey Fortran 8.1.
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_pic='--shared'
8628 lt_prog_compiler_static='--static'
8631 # NAG Fortran compiler
8632 lt_prog_compiler_wl='-Wl,-Wl,,'
8633 lt_prog_compiler_pic='-PIC'
8634 lt_prog_compiler_static='-Bstatic'
8636 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8637 # Portland Group compilers (*not* the Pentium gcc compiler,
8638 # which looks to be a dead project)
8639 lt_prog_compiler_wl='-Wl,'
8640 lt_prog_compiler_pic='-fpic'
8641 lt_prog_compiler_static='-Bstatic'
8644 lt_prog_compiler_wl='-Wl,'
8645 # All Alpha code is PIC.
8646 lt_prog_compiler_static='-non_shared'
8648 xl* | bgxl* | bgf* | mpixl*)
8649 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8650 lt_prog_compiler_wl='-Wl,'
8651 lt_prog_compiler_pic='-qpic'
8652 lt_prog_compiler_static='-qstaticlink'
8655 case `$CC -V 2>&1 | sed 5q` in
8656 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8657 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8658 lt_prog_compiler_pic='-KPIC'
8659 lt_prog_compiler_static='-Bstatic'
8660 lt_prog_compiler_wl=''
8662 *Sun\ F* | *Sun*Fortran*)
8663 lt_prog_compiler_pic='-KPIC'
8664 lt_prog_compiler_static='-Bstatic'
8665 lt_prog_compiler_wl='-Qoption ld '
8669 lt_prog_compiler_pic='-KPIC'
8670 lt_prog_compiler_static='-Bstatic'
8671 lt_prog_compiler_wl='-Wl,'
8673 *Intel*\ [CF]*Compiler*)
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_pic='-fPIC'
8676 lt_prog_compiler_static='-static'
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='-fpic'
8681 lt_prog_compiler_static='-Bstatic'
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 osf3* | osf4* | osf5*)
8700 lt_prog_compiler_wl='-Wl,'
8701 # All OSF/1 code is PIC.
8702 lt_prog_compiler_static='-non_shared'
8706 lt_prog_compiler_static='-non_shared'
8710 lt_prog_compiler_pic='-KPIC'
8711 lt_prog_compiler_static='-Bstatic'
8712 case $cc_basename in
8713 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8714 lt_prog_compiler_wl='-Qoption ld ';;
8716 lt_prog_compiler_wl='-Wl,';;
8721 lt_prog_compiler_wl='-Qoption ld '
8722 lt_prog_compiler_pic='-PIC'
8723 lt_prog_compiler_static='-Bstatic'
8726 sysv4 | sysv4.2uw2* | sysv4.3*)
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-KPIC'
8729 lt_prog_compiler_static='-Bstatic'
8733 if test -d /usr/nec ;then
8734 lt_prog_compiler_pic='-Kconform_pic'
8735 lt_prog_compiler_static='-Bstatic'
8739 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8740 lt_prog_compiler_wl='-Wl,'
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_can_build_shared=no
8751 lt_prog_compiler_pic='-pic'
8752 lt_prog_compiler_static='-Bstatic'
8756 lt_prog_compiler_can_build_shared=no
8762 # For platforms which do not support PIC, -DPIC is meaningless:
8764 lt_prog_compiler_pic=
8767 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8772 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8773 if ${lt_cv_prog_compiler_pic+:} false; then :
8774 $as_echo_n "(cached) " >&6
8776 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8779 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8780 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8783 # Check to make sure the PIC flag actually works.
8785 if test -n "$lt_prog_compiler_pic"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8787 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8788 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8789 $as_echo_n "(cached) " >&6
8791 lt_cv_prog_compiler_pic_works=no
8792 ac_outfile=conftest.$ac_objext
8793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8794 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8795 # Insert the option either (1) after the last *FLAGS variable, or
8796 # (2) before a word containing "conftest.", or (3) at the end.
8797 # Note that $ac_compile itself does not contain backslashes and begins
8798 # with a dollar sign (not a hyphen), so the echo should work correctly.
8799 # The option is referenced via a variable to avoid confusing sed.
8800 lt_compile=`echo "$ac_compile" | $SED \
8801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8803 -e 's:$: $lt_compiler_flag:'`
8804 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8805 (eval "$lt_compile" 2>conftest.err)
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 if (exit $ac_status) && test -s "$ac_outfile"; then
8810 # The compiler can only warn and ignore the option if not recognized
8811 # So say no if there are warnings other than the usual output.
8812 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8814 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8815 lt_cv_prog_compiler_pic_works=yes
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8822 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8824 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8825 case $lt_prog_compiler_pic in
8827 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8830 lt_prog_compiler_pic=
8831 lt_prog_compiler_can_build_shared=no
8847 # Check to make sure the static flag actually works.
8849 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8851 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8852 if ${lt_cv_prog_compiler_static_works+:} false; then :
8853 $as_echo_n "(cached) " >&6
8855 lt_cv_prog_compiler_static_works=no
8856 save_LDFLAGS="$LDFLAGS"
8857 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8858 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8859 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8860 # The linker can only warn and ignore the option if not recognized
8861 # So say no if there are warnings
8862 if test -s conftest.err; then
8863 # Append any errors to the config.log.
8864 cat conftest.err 1>&5
8865 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_static_works=yes
8871 lt_cv_prog_compiler_static_works=yes
8875 LDFLAGS="$save_LDFLAGS"
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8879 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8881 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8884 lt_prog_compiler_static=
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8894 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8895 if ${lt_cv_prog_compiler_c_o+:} false; then :
8896 $as_echo_n "(cached) " >&6
8898 lt_cv_prog_compiler_c_o=no
8899 $RM -r conftest 2>/dev/null
8903 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8905 lt_compiler_flag="-o out/conftest2.$ac_objext"
8906 # Insert the option either (1) after the last *FLAGS variable, or
8907 # (2) before a word containing "conftest.", or (3) at the end.
8908 # Note that $ac_compile itself does not contain backslashes and begins
8909 # with a dollar sign (not a hyphen), so the echo should work correctly.
8910 lt_compile=`echo "$ac_compile" | $SED \
8911 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8913 -e 's:$: $lt_compiler_flag:'`
8914 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8915 (eval "$lt_compile" 2>out/conftest.err)
8917 cat out/conftest.err >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8921 # The compiler can only warn and ignore the option if not recognized
8922 # So say no if there are warnings
8923 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8924 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8925 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8926 lt_cv_prog_compiler_c_o=yes
8931 # SGI C++ compiler will create directory out/ii_files/ for
8932 # template instantiation
8933 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8934 $RM out/* && rmdir out
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8941 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8949 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8950 if ${lt_cv_prog_compiler_c_o+:} false; then :
8951 $as_echo_n "(cached) " >&6
8953 lt_cv_prog_compiler_c_o=no
8954 $RM -r conftest 2>/dev/null
8958 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8960 lt_compiler_flag="-o out/conftest2.$ac_objext"
8961 # Insert the option either (1) after the last *FLAGS variable, or
8962 # (2) before a word containing "conftest.", or (3) at the end.
8963 # Note that $ac_compile itself does not contain backslashes and begins
8964 # with a dollar sign (not a hyphen), so the echo should work correctly.
8965 lt_compile=`echo "$ac_compile" | $SED \
8966 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8968 -e 's:$: $lt_compiler_flag:'`
8969 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8970 (eval "$lt_compile" 2>out/conftest.err)
8972 cat out/conftest.err >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8976 # The compiler can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8979 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8980 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8981 lt_cv_prog_compiler_c_o=yes
8986 # SGI C++ compiler will create directory out/ii_files/ for
8987 # template instantiation
8988 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8989 $RM out/* && rmdir out
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8996 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 hard_links="nottested"
9002 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9003 # do not overwrite the value of need_locks provided by the user
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9005 $as_echo_n "checking if we can lock with hard links... " >&6; }
9008 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9010 ln conftest.a conftest.b 2>&5 || hard_links=no
9011 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9013 $as_echo "$hard_links" >&6; }
9014 if test "$hard_links" = no; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9016 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9029 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9032 allow_undefined_flag=
9033 always_export_symbols=no
9035 archive_expsym_cmds=
9036 compiler_needs_object=no
9037 enable_shared_with_static_runtimes=no
9038 export_dynamic_flag_spec=
9039 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9040 hardcode_automatic=no
9042 hardcode_direct_absolute=no
9043 hardcode_libdir_flag_spec=
9044 hardcode_libdir_separator=
9046 hardcode_shlibpath_var=unsupported
9048 link_all_deplibs=unknown
9051 old_archive_from_new_cmds=
9052 old_archive_from_expsyms_cmds=
9053 thread_safe_flag_spec=
9054 whole_archive_flag_spec=
9055 # include_expsyms should be a list of space-separated symbols to be *always*
9056 # included in the symbol list
9058 # exclude_expsyms can be an extended regexp of symbols to exclude
9059 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9060 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9061 # as well as any symbol that contains `d'.
9062 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9063 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9064 # platforms (ab)use it in PIC code, but their linkers get confused if
9065 # the symbol is explicitly referenced. Since portable code cannot
9066 # rely on this symbol name, it's probably fine to never include it in
9067 # preloaded symbol tables.
9068 # Exclude shared library initialization/finalization symbols.
9069 extract_expsyms_cmds=
9072 cygwin* | mingw* | pw32* | cegcc*)
9073 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9074 # When not using gcc, we currently assume that we are using
9075 # Microsoft Visual C++.
9076 if test "$GCC" != yes; then
9081 # we just hope/assume this is gcc and not c89 (= MSVC++)
9091 # On some targets, GNU ld is compatible enough with the native linker
9092 # that we're better off using the native interface for both.
9093 lt_use_gnu_ld_interface=no
9094 if test "$with_gnu_ld" = yes; then
9097 # The AIX port of GNU ld has always aspired to compatibility
9098 # with the native linker. However, as the warning in the GNU ld
9099 # block says, versions before 2.19.5* couldn't really create working
9100 # shared libraries, regardless of the interface used.
9101 case `$LD -v 2>&1` in
9102 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9103 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9104 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9106 lt_use_gnu_ld_interface=yes
9111 lt_use_gnu_ld_interface=yes
9116 if test "$lt_use_gnu_ld_interface" = yes; then
9117 # If archive_cmds runs LD, not CC, wlarc should be empty
9120 # Set some defaults for GNU ld with shared library support. These
9121 # are reset later if shared libraries are not supported. Putting them
9122 # here allows them to be overridden if necessary.
9123 runpath_var=LD_RUN_PATH
9124 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125 export_dynamic_flag_spec='${wl}--export-dynamic'
9126 # ancient GNU ld didn't support --whole-archive et. al.
9127 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9128 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9130 whole_archive_flag_spec=
9132 supports_anon_versioning=no
9133 case `$LD -v 2>&1` in
9134 *GNU\ gold*) supports_anon_versioning=yes ;;
9135 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9136 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9137 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9138 *\ 2.11.*) ;; # other 2.11 versions
9139 *) supports_anon_versioning=yes ;;
9142 # See if GNU ld supports shared libraries.
9145 # On AIX/PPC, the GNU linker is very broken
9146 if test "$host_cpu" != ia64; then
9150 *** Warning: the GNU linker, at least up to release 2.19, is reported
9151 *** to be unable to reliably create shared libraries on AIX.
9152 *** Therefore, libtool is disabling shared libraries support. If you
9153 *** really care for shared libraries, you may want to install binutils
9154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9155 *** You will then need to restart the configuration process.
9164 # see comment about AmigaOS4 .so support
9165 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 archive_expsym_cmds=''
9169 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)'
9170 hardcode_libdir_flag_spec='-L$libdir'
9171 hardcode_minus_L=yes
9177 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9178 allow_undefined_flag=unsupported
9179 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9180 # support --undefined. This deserves some investigation. FIXME
9181 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 cygwin* | mingw* | pw32* | cegcc*)
9188 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9189 # as there is no search path for DLLs.
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 export_dynamic_flag_spec='${wl}--export-all-symbols'
9192 allow_undefined_flag=unsupported
9193 always_export_symbols=no
9194 enable_shared_with_static_runtimes=yes
9195 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'
9196 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200 # If the export-symbols file already is a .def file (1st line
9201 # is EXPORTS), use it as is; otherwise, prepend...
9202 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203 cp $export_symbols $output_objdir/$soname.def;
9205 echo EXPORTS > $output_objdir/$soname.def;
9206 cat $export_symbols >> $output_objdir/$soname.def;
9208 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9215 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216 link_all_deplibs=yes
9221 hardcode_shlibpath_var=no
9222 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9223 export_dynamic_flag_spec='${wl}-E'
9224 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9225 # Instead, shared libraries are loaded at an image base (0x10000000 by
9226 # default) and relocated if they conflict, which is a slow very memory
9227 # consuming and fragmenting process. To avoid this, we pick a random,
9228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9231 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'
9234 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9236 if test "$host_os" = linux-dietlibc; then
9237 case $cc_basename in
9238 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9241 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9242 && test "$tmp_diet" = no
9244 tmp_addflag=' $pic_flag'
9245 tmp_sharedflag='-shared'
9246 case $cc_basename,$host_cpu in
9247 pgcc*) # Portland Group C compiler
9248 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'
9249 tmp_addflag=' $pic_flag'
9251 pgf77* | pgf90* | pgf95* | pgfortran*)
9252 # Portland Group f77 and f90 compilers
9253 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'
9254 tmp_addflag=' $pic_flag -Mnomain' ;;
9255 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9256 tmp_addflag=' -i_dynamic' ;;
9257 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9258 tmp_addflag=' -i_dynamic -nofor_main' ;;
9259 ifc* | ifort*) # Intel Fortran compiler
9260 tmp_addflag=' -nofor_main' ;;
9261 lf95*) # Lahey Fortran 8.1
9262 whole_archive_flag_spec=
9263 tmp_sharedflag='--shared' ;;
9264 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9265 tmp_sharedflag='-qmkshrobj'
9267 nvcc*) # Cuda Compiler Driver 2.2
9268 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'
9269 compiler_needs_object=yes
9272 case `$CC -V 2>&1 | sed 5q` in
9273 *Sun\ C*) # Sun C 5.9
9274 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'
9275 compiler_needs_object=yes
9276 tmp_sharedflag='-G' ;;
9277 *Sun\ F*) # Sun Fortran 8.3
9278 tmp_sharedflag='-G' ;;
9280 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 if test "x$supports_anon_versioning" = xyes; then
9283 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9284 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9285 echo "local: *; };" >> $output_objdir/$libname.ver~
9286 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9289 case $cc_basename in
9290 xlf* | bgf* | bgxlf* | mpixlf*)
9291 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9292 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9294 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9295 if test "x$supports_anon_versioning" = xyes; then
9296 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9298 echo "local: *; };" >> $output_objdir/$libname.ver~
9299 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9309 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9310 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9313 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9324 *** create shared libraries on Solaris systems. Therefore, libtool
9325 *** is disabling shared libraries support. We urge you to upgrade GNU
9326 *** binutils to release 2.9.1 or newer. Another option is to modify
9327 *** your PATH or compiler configuration so that the native linker is
9328 *** used, and then restart.
9331 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9332 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9340 case `$LD -v 2>&1` in
9341 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9346 *** reliably create shared libraries on SCO systems. Therefore, libtool
9347 *** is disabling shared libraries support. We urge you to upgrade GNU
9348 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9349 *** your PATH or compiler configuration so that the native linker is
9350 *** used, and then restart.
9355 # For security reasons, it is highly recommended that you always
9356 # use absolute paths for naming shared libraries, and exclude the
9357 # DT_RUNPATH tag from executables and libraries. But doing so
9358 # requires that you compile everything twice, which is a pain.
9359 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9361 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9374 hardcode_shlibpath_var=no
9378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9379 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9387 if test "$ld_shlibs" = no; then
9389 hardcode_libdir_flag_spec=
9390 export_dynamic_flag_spec=
9391 whole_archive_flag_spec=
9394 # PORTME fill in a description of your system's linker (not GNU ld)
9397 allow_undefined_flag=unsupported
9398 always_export_symbols=yes
9399 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'
9400 # Note: this linker hardcodes the directories in LIBPATH if there
9401 # are no directories specified by -L.
9402 hardcode_minus_L=yes
9403 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9404 # Neither direct hardcoding nor static linking is supported with a
9406 hardcode_direct=unsupported
9411 if test "$host_cpu" = ia64; then
9412 # On IA64, the linker does run time linking by default, so we don't
9413 # have to do anything special.
9414 aix_use_runtimelinking=no
9415 exp_sym_flag='-Bexport'
9418 # If we're using GNU nm, then we don't want the "-C" option.
9419 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9420 # Also, AIX nm treats weak defined symbols like other global
9421 # defined symbols, whereas GNU nm marks them as "W".
9422 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9423 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'
9425 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'
9427 aix_use_runtimelinking=no
9429 # Test if we are trying to use run time linking or normal
9430 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9431 # need to do runtime linking.
9432 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9433 for ld_flag in $LDFLAGS; do
9434 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9435 aix_use_runtimelinking=yes
9442 exp_sym_flag='-bexport'
9443 no_entry_flag='-bnoentry'
9446 # When large executables or shared objects are built, AIX ld can
9447 # have problems creating the table of contents. If linking a library
9448 # or program results in "error TOC overflow" add -mminimal-toc to
9449 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9450 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9454 hardcode_direct_absolute=yes
9455 hardcode_libdir_separator=':'
9456 link_all_deplibs=yes
9457 file_list_spec='${wl}-f,'
9459 if test "$GCC" = yes; then
9460 case $host_os in aix4.[012]|aix4.[012].*)
9461 # We only want to do this on AIX 4.2 and lower, the check
9462 # below for broken collect2 doesn't work under 4.3+
9463 collect2name=`${CC} -print-prog-name=collect2`
9464 if test -f "$collect2name" &&
9465 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9467 # We have reworked collect2
9470 # We have old collect2
9471 hardcode_direct=unsupported
9472 # It fails to find uninstalled libraries when the uninstalled
9473 # path is not listed in the libpath. Setting hardcode_minus_L
9474 # to unsupported forces relinking
9475 hardcode_minus_L=yes
9476 hardcode_libdir_flag_spec='-L$libdir'
9477 hardcode_libdir_separator=
9481 shared_flag='-shared'
9482 if test "$aix_use_runtimelinking" = yes; then
9483 shared_flag="$shared_flag "'${wl}-G'
9487 if test "$host_cpu" = ia64; then
9488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9489 # chokes on -Wl,-G. The following line is correct:
9492 if test "$aix_use_runtimelinking" = yes; then
9493 shared_flag='${wl}-G'
9495 shared_flag='${wl}-bM:SRE'
9500 export_dynamic_flag_spec='${wl}-bexpall'
9501 # It seems that -bexpall does not export symbols beginning with
9502 # underscore (_), so it is better to generate a list of symbols to export.
9503 always_export_symbols=yes
9504 if test "$aix_use_runtimelinking" = yes; then
9505 # Warning - without using the other runtime loading flags (-brtl),
9506 # -berok will link without error, but may produce a broken library.
9507 allow_undefined_flag='-berok'
9508 # Determine the default libpath from the value encoded in an
9510 if test "${lt_cv_aix_libpath+set}" = set; then
9511 aix_libpath=$lt_cv_aix_libpath
9513 if ${lt_cv_aix_libpath_+:} false; then :
9514 $as_echo_n "(cached) " >&6
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9527 if ac_fn_c_try_link "$LINENO"; then :
9529 lt_aix_libpath_sed='
9530 /Import File Strings/,/^$/ {
9532 s/^0 *\([^ ]*\) *$/\1/
9536 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 # Check for a 64-bit object if we didn't find anything.
9538 if test -z "$lt_cv_aix_libpath_"; then
9539 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 if test -z "$lt_cv_aix_libpath_"; then
9545 lt_cv_aix_libpath_="/usr/lib:/lib"
9550 aix_libpath=$lt_cv_aix_libpath_
9553 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554 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"
9556 if test "$host_cpu" = ia64; then
9557 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9558 allow_undefined_flag="-z nodefs"
9559 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"
9561 # Determine the default libpath from the value encoded in an
9563 if test "${lt_cv_aix_libpath+set}" = set; then
9564 aix_libpath=$lt_cv_aix_libpath
9566 if ${lt_cv_aix_libpath_+:} false; then :
9567 $as_echo_n "(cached) " >&6
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9580 if ac_fn_c_try_link "$LINENO"; then :
9582 lt_aix_libpath_sed='
9583 /Import File Strings/,/^$/ {
9585 s/^0 *\([^ ]*\) *$/\1/
9589 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 # Check for a 64-bit object if we didn't find anything.
9591 if test -z "$lt_cv_aix_libpath_"; then
9592 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 if test -z "$lt_cv_aix_libpath_"; then
9598 lt_cv_aix_libpath_="/usr/lib:/lib"
9603 aix_libpath=$lt_cv_aix_libpath_
9606 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607 # Warning - without using the other run time loading flags,
9608 # -berok will link without error, but may produce a broken library.
9609 no_undefined_flag=' ${wl}-bernotok'
9610 allow_undefined_flag=' ${wl}-berok'
9611 if test "$with_gnu_ld" = yes; then
9612 # We only use this code for GNU lds that support --whole-archive.
9613 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9615 # Exported symbols can be pulled into shared objects from archives
9616 whole_archive_flag_spec='$convenience'
9618 archive_cmds_need_lc=yes
9619 # This is similar to how AIX traditionally builds its shared libraries.
9620 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'
9628 # see comment about AmigaOS4 .so support
9629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 archive_expsym_cmds=''
9633 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)'
9634 hardcode_libdir_flag_spec='-L$libdir'
9635 hardcode_minus_L=yes
9641 export_dynamic_flag_spec=-rdynamic
9644 cygwin* | mingw* | pw32* | cegcc*)
9645 # When not using gcc, we currently assume that we are using
9646 # Microsoft Visual C++.
9647 # hardcode_libdir_flag_spec is actually meaningless, as there is
9648 # no search path for DLLs.
9649 case $cc_basename in
9652 hardcode_libdir_flag_spec=' '
9653 allow_undefined_flag=unsupported
9654 always_export_symbols=yes
9656 # Tell ltmain to make .lib files, not .a files.
9658 # Tell ltmain to make .dll files, not .so files.
9660 # FIXME: Setting linknames here is a bad hack.
9661 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9662 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9663 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9665 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9667 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9669 # The linker will not automatically build a static lib if we build a DLL.
9670 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9671 enable_shared_with_static_runtimes=yes
9672 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9673 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9675 old_postinstall_cmds='chmod 644 $oldlib'
9676 postlink_cmds='lt_outputfile="@OUTPUT@"~
9677 lt_tool_outputfile="@TOOL_OUTPUT@"~
9678 case $lt_outputfile in
9681 lt_outputfile="$lt_outputfile.exe"
9682 lt_tool_outputfile="$lt_tool_outputfile.exe"
9685 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9686 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9687 $RM "$lt_outputfile.manifest";
9691 # Assume MSVC wrapper
9692 hardcode_libdir_flag_spec=' '
9693 allow_undefined_flag=unsupported
9694 # Tell ltmain to make .lib files, not .a files.
9696 # Tell ltmain to make .dll files, not .so files.
9698 # FIXME: Setting linknames here is a bad hack.
9699 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9700 # The linker will automatically build a .lib file if we build a DLL.
9701 old_archive_from_new_cmds='true'
9702 # FIXME: Should let the user specify the lib program.
9703 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9704 enable_shared_with_static_runtimes=yes
9709 darwin* | rhapsody*)
9712 archive_cmds_need_lc=no
9714 hardcode_automatic=yes
9715 hardcode_shlibpath_var=unsupported
9716 if test "$lt_cv_ld_force_load" = "yes"; then
9717 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\"`'
9720 whole_archive_flag_spec=''
9722 link_all_deplibs=yes
9723 allow_undefined_flag="$_lt_dar_allow_undefined"
9724 case $cc_basename in
9725 ifort*) _lt_dar_can_shared=yes ;;
9726 *) _lt_dar_can_shared=$GCC ;;
9728 if test "$_lt_dar_can_shared" = "yes"; then
9729 output_verbose_link_cmd=func_echo_all
9730 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9731 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9732 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}"
9733 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}"
9742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743 hardcode_libdir_flag_spec='-L$libdir'
9744 hardcode_shlibpath_var=no
9747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9748 # support. Future versions do this automatically, but an explicit c++rt0.o
9749 # does not break anything, and helps significantly (at the cost of a little
9752 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9753 hardcode_libdir_flag_spec='-R$libdir'
9755 hardcode_shlibpath_var=no
9758 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9760 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_minus_L=yes
9763 hardcode_shlibpath_var=no
9766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9767 freebsd* | dragonfly*)
9768 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9769 hardcode_libdir_flag_spec='-R$libdir'
9771 hardcode_shlibpath_var=no
9775 if test "$GCC" = yes; then
9776 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'
9778 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'
9780 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9781 hardcode_libdir_separator=:
9784 # hardcode_minus_L: Not really in the search PATH,
9785 # but as the default location of the library.
9786 hardcode_minus_L=yes
9787 export_dynamic_flag_spec='${wl}-E'
9791 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9792 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796 if test "$with_gnu_ld" = no; then
9797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798 hardcode_libdir_separator=:
9800 hardcode_direct_absolute=yes
9801 export_dynamic_flag_spec='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L=yes
9809 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9812 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9831 # Older versions of the 11.00 compiler do not understand -b yet
9832 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9834 $as_echo_n "checking if $CC understands -b... " >&6; }
9835 if ${lt_cv_prog_compiler__b+:} false; then :
9836 $as_echo_n "(cached) " >&6
9838 lt_cv_prog_compiler__b=no
9839 save_LDFLAGS="$LDFLAGS"
9840 LDFLAGS="$LDFLAGS -b"
9841 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9842 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9843 # The linker can only warn and ignore the option if not recognized
9844 # So say no if there are warnings
9845 if test -s conftest.err; then
9846 # Append any errors to the config.log.
9847 cat conftest.err 1>&5
9848 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9850 if diff conftest.exp conftest.er2 >/dev/null; then
9851 lt_cv_prog_compiler__b=yes
9854 lt_cv_prog_compiler__b=yes
9858 LDFLAGS="$save_LDFLAGS"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9862 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9864 if test x"$lt_cv_prog_compiler__b" = xyes; then
9865 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9873 if test "$with_gnu_ld" = no; then
9874 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9875 hardcode_libdir_separator=:
9880 hardcode_shlibpath_var=no
9884 hardcode_direct_absolute=yes
9885 export_dynamic_flag_spec='${wl}-E'
9887 # hardcode_minus_L: Not really in the search PATH,
9888 # but as the default location of the library.
9889 hardcode_minus_L=yes
9895 irix5* | irix6* | nonstopux*)
9896 if test "$GCC" = yes; then
9897 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'
9898 # Try to use the -exported_symbol ld option, if it does not
9899 # work, assume that -exports_file does not work either and
9900 # implicitly export all symbols.
9901 # This should be the same for all languages, so no per-tag cache variable.
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9903 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9904 if ${lt_cv_irix_exported_symbol+:} false; then :
9905 $as_echo_n "(cached) " >&6
9907 save_LDFLAGS="$LDFLAGS"
9908 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 int foo (void) { return 0; }
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 lt_cv_irix_exported_symbol=yes
9916 lt_cv_irix_exported_symbol=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LDFLAGS="$save_LDFLAGS"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9923 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9924 if test "$lt_cv_irix_exported_symbol" = yes; then
9925 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'
9928 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'
9929 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'
9931 archive_cmds_need_lc='no'
9932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933 hardcode_libdir_separator=:
9935 link_all_deplibs=yes
9939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9940 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9942 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9944 hardcode_libdir_flag_spec='-R$libdir'
9946 hardcode_shlibpath_var=no
9950 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9953 hardcode_libdir_separator=:
9954 hardcode_shlibpath_var=no
9961 if test -f /usr/libexec/ld.so; then
9963 hardcode_shlibpath_var=no
9964 hardcode_direct_absolute=yes
9965 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9966 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9968 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9969 export_dynamic_flag_spec='${wl}-E'
9972 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9973 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9974 hardcode_libdir_flag_spec='-R$libdir'
9977 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9978 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9988 hardcode_libdir_flag_spec='-L$libdir'
9989 hardcode_minus_L=yes
9990 allow_undefined_flag=unsupported
9991 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'
9992 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9996 if test "$GCC" = yes; then
9997 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9998 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'
10000 allow_undefined_flag=' -expect_unresolved \*'
10001 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'
10003 archive_cmds_need_lc='no'
10004 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10005 hardcode_libdir_separator=:
10008 osf4* | osf5*) # as osf3* with the addition of -msym flag
10009 if test "$GCC" = yes; then
10010 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10011 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'
10012 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014 allow_undefined_flag=' -expect_unresolved \*'
10015 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'
10016 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~
10017 $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'
10019 # Both c and cxx compiler support -rpath directly
10020 hardcode_libdir_flag_spec='-rpath $libdir'
10022 archive_cmds_need_lc='no'
10023 hardcode_libdir_separator=:
10027 no_undefined_flag=' -z defs'
10028 if test "$GCC" = yes; then
10030 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10032 $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'
10034 case `$CC -V 2>&1` in
10037 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10039 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10043 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10045 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10049 hardcode_libdir_flag_spec='-R$libdir'
10050 hardcode_shlibpath_var=no
10052 solaris2.[0-5] | solaris2.[0-5].*) ;;
10054 # The compiler driver will combine and reorder linker options,
10055 # but understands `-z linker_flag'. GCC discards it without `$wl',
10056 # but is careful enough not to reorder.
10057 # Supported since Solaris 2.6 (maybe 2.5.1?)
10058 if test "$GCC" = yes; then
10059 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10061 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10065 link_all_deplibs=yes
10069 if test "x$host_vendor" = xsequent; then
10070 # Use $CC to link under sequent, because it throws in some extra .o
10071 # files that make .init and .fini sections work.
10072 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_libdir_flag_spec='-L$libdir'
10077 hardcode_direct=yes
10078 hardcode_minus_L=yes
10079 hardcode_shlibpath_var=no
10083 case $host_vendor in
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_direct=yes # is this really true???
10089 ## LD is ld it makes a PLAMLIB
10090 ## CC just makes a GrossModule.
10091 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10092 reload_cmds='$CC -r -o $output$reload_objs'
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10100 runpath_var='LD_RUN_PATH'
10101 hardcode_shlibpath_var=no
10105 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10106 hardcode_shlibpath_var=no
10107 export_dynamic_flag_spec='-Bexport'
10111 if test -d /usr/nec; then
10112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10113 hardcode_shlibpath_var=no
10114 runpath_var=LD_RUN_PATH
10115 hardcode_runpath_var=yes
10120 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10121 no_undefined_flag='${wl}-z,text'
10122 archive_cmds_need_lc=no
10123 hardcode_shlibpath_var=no
10124 runpath_var='LD_RUN_PATH'
10126 if test "$GCC" = yes; then
10127 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 sysv5* | sco3.2v5* | sco5v6*)
10136 # Note: We can NOT use -z defs as we might desire, because we do not
10137 # link with -lc, and that would cause any symbols used from libc to
10138 # always be unresolved, which means just about no library would
10139 # ever link correctly. If we're not using GNU ld we use -z text
10140 # though, which does catch some bad symbols but isn't as heavy-handed
10142 no_undefined_flag='${wl}-z,text'
10143 allow_undefined_flag='${wl}-z,nodefs'
10144 archive_cmds_need_lc=no
10145 hardcode_shlibpath_var=no
10146 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10147 hardcode_libdir_separator=':'
10148 link_all_deplibs=yes
10149 export_dynamic_flag_spec='${wl}-Bexport'
10150 runpath_var='LD_RUN_PATH'
10152 if test "$GCC" = yes; then
10153 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10157 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_libdir_flag_spec='-L$libdir'
10164 hardcode_shlibpath_var=no
10172 if test x$host_vendor = xsni; then
10174 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10175 export_dynamic_flag_spec='${wl}-Blargedynsym'
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10182 $as_echo "$ld_shlibs" >&6; }
10183 test "$ld_shlibs" = no && can_build_shared=no
10185 with_gnu_ld=$with_gnu_ld
10202 # Do we need to explicitly link libc?
10204 case "x$archive_cmds_need_lc" in
10206 # Assume -lc should be added
10207 archive_cmds_need_lc=yes
10209 if test "$enable_shared" = yes && test "$GCC" = yes; then
10210 case $archive_cmds in
10212 # FIXME: we may have to deal with multi-command sequences.
10215 # Test whether the compiler implicitly links with -lc since on some
10216 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10217 # to ld, don't add -lc before -lgcc.
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10219 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10220 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10221 $as_echo_n "(cached) " >&6
10224 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10227 (eval $ac_compile) 2>&5
10229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10230 test $ac_status = 0; } 2>conftest.err; then
10233 libobjs=conftest.$ac_objext
10235 wl=$lt_prog_compiler_wl
10236 pic_flag=$lt_prog_compiler_pic
10242 lt_save_allow_undefined_flag=$allow_undefined_flag
10243 allow_undefined_flag=
10244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10245 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10248 test $ac_status = 0; }
10250 lt_cv_archive_cmds_need_lc=no
10252 lt_cv_archive_cmds_need_lc=yes
10254 allow_undefined_flag=$lt_save_allow_undefined_flag
10256 cat conftest.err 1>&5
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10262 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10263 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10422 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10424 if test "$GCC" = yes; then
10426 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10427 *) lt_awk_arg="/^libraries:/" ;;
10430 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10431 *) lt_sed_strip_eq="s,=/,/,g" ;;
10433 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10434 case $lt_search_path_spec in
10436 # if the path contains ";" then we assume it to be the separator
10437 # otherwise default to the standard path separator (i.e. ":") - it is
10438 # assumed that no part of a normal pathname contains ";" but that should
10439 # okay in the real world where ";" in dirpaths is itself problematic.
10440 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10443 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10446 # Ok, now we have the path, separated by spaces, we can step through it
10447 # and add multilib dir if necessary.
10448 lt_tmp_lt_search_path_spec=
10449 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10450 for lt_sys_path in $lt_search_path_spec; do
10451 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10452 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10454 test -d "$lt_sys_path" && \
10455 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10458 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10459 BEGIN {RS=" "; FS="/|\n";} {
10462 for (lt_i = NF; lt_i > 0; lt_i--) {
10463 if ($lt_i != "" && $lt_i != ".") {
10464 if ($lt_i == "..") {
10467 if (lt_count == 0) {
10468 lt_foo="/" $lt_i lt_foo;
10475 if (lt_foo != "") { lt_freq[lt_foo]++; }
10476 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10478 # AWK program above erroneously prepends '/' to C:/dos/paths
10481 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10482 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10484 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10486 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10488 library_names_spec=
10489 libname_spec='lib$name'
10493 postuninstall_cmds=
10497 shlibpath_overrides_runpath=unknown
10499 dynamic_linker="$host_os ld.so"
10500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10501 need_lib_prefix=unknown
10502 hardcode_into_libs=no
10504 # when you set need_version to no, make sure it does not cause -set_version
10505 # flags to be left without arguments
10506 need_version=unknown
10510 version_type=linux # correct to gnu/linux during the next big refactor
10511 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10512 shlibpath_var=LIBPATH
10514 # AIX 3 has no versioning support, so we append a major version to the name.
10515 soname_spec='${libname}${release}${shared_ext}$major'
10519 version_type=linux # correct to gnu/linux during the next big refactor
10522 hardcode_into_libs=yes
10523 if test "$host_cpu" = ia64; then
10524 # AIX 5 supports IA64
10525 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10526 shlibpath_var=LD_LIBRARY_PATH
10528 # With GCC up to 2.95.x, collect2 would create an import file
10529 # for dependence libraries. The import file would start with
10530 # the line `#! .'. This would cause the generated library to
10531 # depend on `.', always an invalid library. This was fixed in
10532 # development snapshots of GCC prior to 3.0.
10534 aix4 | aix4.[01] | aix4.[01].*)
10535 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10537 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10540 can_build_shared=no
10544 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10545 # soname into executable. Probably we can add versioning support to
10546 # collect2, so additional links can be useful in future.
10547 if test "$aix_use_runtimelinking" = yes; then
10548 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10549 # instead of lib<name>.a to let people know that these are not
10550 # typical AIX shared libraries.
10551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 # We preserve .a as extension for shared libraries through AIX4.2
10554 # and later when we are not doing run time linking.
10555 library_names_spec='${libname}${release}.a $libname.a'
10556 soname_spec='${libname}${release}${shared_ext}$major'
10558 shlibpath_var=LIBPATH
10565 # Since July 2007 AmigaOS4 officially supports .so libraries.
10566 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10570 library_names_spec='$libname.ixlibrary $libname.a'
10571 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10572 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'
10578 library_names_spec='${libname}${shared_ext}'
10579 dynamic_linker="$host_os ld.so"
10580 shlibpath_var=LIBRARY_PATH
10584 version_type=linux # correct to gnu/linux during the next big refactor
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587 soname_spec='${libname}${release}${shared_ext}$major'
10588 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10589 shlibpath_var=LD_LIBRARY_PATH
10590 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10591 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10592 # the default ld.so.conf also contains /usr/contrib/lib and
10593 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10594 # libtool to hard-code these into programs
10597 cygwin* | mingw* | pw32* | cegcc*)
10598 version_type=windows
10603 case $GCC,$cc_basename in
10606 library_names_spec='$libname.dll.a'
10607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10608 postinstall_cmds='base_file=`basename \${file}`~
10609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10610 dldir=$destdir/`dirname \$dlpath`~
10611 test -d \$dldir || mkdir -p \$dldir~
10612 $install_prog $dir/$dlname \$dldir/$dlname~
10613 chmod a+x \$dldir/$dlname~
10614 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10615 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10618 dlpath=$dir/\$dldll~
10620 shlibpath_overrides_runpath=yes
10624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10625 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10630 # MinGW DLLs use traditional 'lib' prefix
10631 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10634 # pw32 DLLs use 'pw' prefix rather than 'lib'
10635 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10638 dynamic_linker='Win32 ld.exe'
10643 libname_spec='$name'
10644 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645 library_names_spec='${libname}.dll.lib'
10649 sys_lib_search_path_spec=
10652 for lt_path in $LIB
10655 # Let DOS variable expansion print the short 8.3 style file name.
10656 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10657 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10660 # Convert to MSYS style.
10661 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10664 # Convert to unix form, then to dos form, then back to unix form
10665 # but this time dos style (no spaces!) so that the unix form looks
10666 # like /cygdrive/c/PROGRA~1:/cygdr...
10667 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10668 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10669 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10672 sys_lib_search_path_spec="$LIB"
10673 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10674 # It is most probably a Windows format PATH.
10675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10677 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10679 # FIXME: find the short name or the path components, as spaces are
10680 # common. (e.g. "Program Files" -> "PROGRA~1")
10684 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10685 postinstall_cmds='base_file=`basename \${file}`~
10686 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10687 dldir=$destdir/`dirname \$dlpath`~
10688 test -d \$dldir || mkdir -p \$dldir~
10689 $install_prog $dir/$dlname \$dldir/$dlname'
10690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10691 dlpath=$dir/\$dldll~
10693 shlibpath_overrides_runpath=yes
10694 dynamic_linker='Win32 link.exe'
10698 # Assume MSVC wrapper
10699 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10700 dynamic_linker='Win32 ld.exe'
10703 # FIXME: first we should search . and the directory the executable is in
10707 darwin* | rhapsody*)
10708 dynamic_linker="$host_os dyld"
10709 version_type=darwin
10712 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10713 soname_spec='${libname}${release}${major}$shared_ext'
10714 shlibpath_overrides_runpath=yes
10715 shlibpath_var=DYLD_LIBRARY_PATH
10716 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10718 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10719 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10723 version_type=linux # correct to gnu/linux during the next big refactor
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10731 freebsd* | dragonfly*)
10732 # DragonFly does not have aout. When/if they implement a new
10733 # versioning mechanism, adjust this.
10734 if test -x /usr/bin/objformat; then
10735 objformat=`/usr/bin/objformat`
10738 freebsd[23].*) objformat=aout ;;
10739 *) objformat=elf ;;
10742 version_type=freebsd-$objformat
10743 case $version_type in
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10754 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=yes
10759 freebsd3.[01]* | freebsdelf3.[01]*)
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10764 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10765 shlibpath_overrides_runpath=no
10766 hardcode_into_libs=yes
10768 *) # from 4.6 on, and DragonFly
10769 shlibpath_overrides_runpath=yes
10770 hardcode_into_libs=yes
10776 version_type=linux # correct to gnu/linux during the next big refactor
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LD_LIBRARY_PATH
10782 shlibpath_overrides_runpath=no
10783 hardcode_into_libs=yes
10787 version_type=linux # correct to gnu/linux during the next big refactor
10790 dynamic_linker="$host_os runtime_loader"
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10792 soname_spec='${libname}${release}${shared_ext}$major'
10793 shlibpath_var=LIBRARY_PATH
10794 shlibpath_overrides_runpath=yes
10795 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10796 hardcode_into_libs=yes
10799 hpux9* | hpux10* | hpux11*)
10800 # Give a soname corresponding to the major version so that dld.sl refuses to
10801 # link against other versions.
10808 hardcode_into_libs=yes
10809 dynamic_linker="$host_os dld.so"
10810 shlibpath_var=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 if test "X$HPUX_IA64_MODE" = X32; then
10815 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 hardcode_into_libs=yes
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10826 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10834 dynamic_linker="$host_os dld.sl"
10835 shlibpath_var=SHLIB_PATH
10836 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10841 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10842 postinstall_cmds='chmod 555 $lib'
10843 # or fails outright, so override atomically:
10844 install_override_mode=555
10848 version_type=linux # correct to gnu/linux during the next big refactor
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=no
10856 hardcode_into_libs=yes
10859 irix5* | irix6* | nonstopux*)
10861 nonstopux*) version_type=nonstopux ;;
10863 if test "$lt_cv_prog_gnu_ld" = yes; then
10864 version_type=linux # correct to gnu/linux during the next big refactor
10871 soname_spec='${libname}${release}${shared_ext}$major'
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 irix5* | nonstopux*)
10875 libsuff= shlibsuff=
10878 case $LD in # libtool.m4 will add one of these switches to LD
10879 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10880 libsuff= shlibsuff= libmagic=32-bit;;
10881 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10882 libsuff=32 shlibsuff=N32 libmagic=N32;;
10883 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10884 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10885 *) libsuff= shlibsuff= libmagic=never-match;;
10889 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10890 shlibpath_overrides_runpath=no
10891 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10892 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10893 hardcode_into_libs=yes
10896 # No shared lib support for Linux oldld, aout, or coff.
10897 linux*oldld* | linux*aout* | linux*coff*)
10901 # This must be glibc/ELF.
10902 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10903 version_type=linux # correct to gnu/linux during the next big refactor
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=no
10912 # Some binutils ld are patched to set DT_RUNPATH
10913 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10914 $as_echo_n "(cached) " >&6
10916 lt_cv_shlibpath_overrides_runpath=no
10917 save_LDFLAGS=$LDFLAGS
10918 save_libdir=$libdir
10919 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10920 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10934 lt_cv_shlibpath_overrides_runpath=yes
10937 rm -f core conftest.err conftest.$ac_objext \
10938 conftest$ac_exeext conftest.$ac_ext
10939 LDFLAGS=$save_LDFLAGS
10940 libdir=$save_libdir
10944 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10946 # This implies no fast_install, which is unacceptable.
10947 # Some rework will be needed to allow for fast_install
10948 # before this can be enabled.
10949 hardcode_into_libs=yes
10951 # Add ABI-specific directories to the system library path.
10952 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10954 # Append ld.so.conf contents to the search path
10955 if test -f /etc/ld.so.conf; then
10956 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' ' '`
10957 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10989 version_type=linux # correct to gnu/linux during the next big refactor
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11025 shlibpath_overrides_runpath=yes
11029 shlibpath_overrides_runpath=yes
11034 libname_spec='$name'
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11042 osf3* | osf4* | osf5*)
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11058 version_type=linux # correct to gnu/linux during the next big refactor
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11083 version_type=linux # correct to gnu/linux during the next big refactor
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11089 shlibpath_overrides_runpath=no
11091 runpath_var=LD_RUN_PATH
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11106 if test -d /usr/nec ;then
11107 version_type=linux # correct to gnu/linux during the next big refactor
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux # correct to gnu/linux during the next big refactor
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11148 version_type=linux # correct to gnu/linux during the next big refactor
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11286 # We cannot hardcode anything, or else we can only hardcode existing
11288 hardcode_action=unsupported
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11318 lt_cv_dlopen="load_add_on"
11320 lt_cv_dlopen_self=yes
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11329 lt_cv_dlopen="dlopen"
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if ${ac_cv_lib_dl_dlopen+:} false; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_lib_save_LIBS=$LIBS
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_dl_dlopen=yes
11363 ac_cv_lib_dl_dlopen=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11371 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11372 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11375 lt_cv_dlopen="dyld"
11377 lt_cv_dlopen_self=yes
11384 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11385 if test "x$ac_cv_func_shl_load" = xyes; then :
11386 lt_cv_dlopen="shl_load"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11389 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11390 if ${ac_cv_lib_dld_shl_load+:} false; then :
11391 $as_echo_n "(cached) " >&6
11393 ac_check_lib_save_LIBS=$LIBS
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11408 return shl_load ();
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_dld_shl_load=yes
11416 ac_cv_lib_dld_shl_load=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11423 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11424 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11425 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11427 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11428 if test "x$ac_cv_func_dlopen" = xyes; then :
11429 lt_cv_dlopen="dlopen"
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11432 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11433 if ${ac_cv_lib_dl_dlopen+:} false; then :
11434 $as_echo_n "(cached) " >&6
11436 ac_check_lib_save_LIBS=$LIBS
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 ac_cv_lib_dl_dlopen=yes
11459 ac_cv_lib_dl_dlopen=no
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11466 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11467 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11468 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11471 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11472 if ${ac_cv_lib_svld_dlopen+:} false; then :
11473 $as_echo_n "(cached) " >&6
11475 ac_check_lib_save_LIBS=$LIBS
11476 LIBS="-lsvld $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_svld_dlopen=yes
11498 ac_cv_lib_svld_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_svld_dlopen" >&5
11505 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11506 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11507 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11510 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11511 if ${ac_cv_lib_dld_dld_link+:} false; then :
11512 $as_echo_n "(cached) " >&6
11514 ac_check_lib_save_LIBS=$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. */
11529 return dld_link ();
11534 if ac_fn_c_try_link "$LINENO"; then :
11535 ac_cv_lib_dld_dld_link=yes
11537 ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5
11544 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11545 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11546 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11567 if test "x$lt_cv_dlopen" != xno; then
11573 case $lt_cv_dlopen in
11575 save_CPPFLAGS="$CPPFLAGS"
11576 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11578 save_LDFLAGS="$LDFLAGS"
11579 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582 LIBS="$lt_cv_dlopen_libs $LIBS"
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11585 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11586 if ${lt_cv_dlopen_self+:} false; then :
11587 $as_echo_n "(cached) " >&6
11589 if test "$cross_compiling" = yes; then :
11590 lt_cv_dlopen_self=cross
11592 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11593 lt_status=$lt_dlunknown
11594 cat > conftest.$ac_ext <<_LT_EOF
11595 #line $LINENO "configure"
11596 #include "confdefs.h"
11605 # define LT_DLGLOBAL RTLD_GLOBAL
11608 # define LT_DLGLOBAL DL_GLOBAL
11610 # define LT_DLGLOBAL 0
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615 find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # define LT_DLLAZY_OR_NOW 0
11636 /* When -fvisbility=hidden is used, assume the code has been annotated
11637 correspondingly for the symbols needed. */
11638 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11639 int fnord () __attribute__((visibility("default")));
11642 int fnord () { return 42; }
11645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646 int status = $lt_dlunknown;
11650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11654 else puts (dlerror ());
11656 /* dlclose (self); */
11664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11665 (eval $ac_link) 2>&5
11667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11668 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11669 (./conftest; exit; ) >&5 2>/dev/null
11671 case x$lt_status in
11672 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11673 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11674 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 # compilation failed
11678 lt_cv_dlopen_self=no
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11686 $as_echo "$lt_cv_dlopen_self" >&6; }
11688 if test "x$lt_cv_dlopen_self" = xyes; then
11689 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11691 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11692 if ${lt_cv_dlopen_self_static+:} false; then :
11693 $as_echo_n "(cached) " >&6
11695 if test "$cross_compiling" = yes; then :
11696 lt_cv_dlopen_self_static=cross
11698 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11699 lt_status=$lt_dlunknown
11700 cat > conftest.$ac_ext <<_LT_EOF
11701 #line $LINENO "configure"
11702 #include "confdefs.h"
11711 # define LT_DLGLOBAL RTLD_GLOBAL
11714 # define LT_DLGLOBAL DL_GLOBAL
11716 # define LT_DLGLOBAL 0
11720 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11721 find out it does not work in some platform. */
11722 #ifndef LT_DLLAZY_OR_NOW
11724 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # define LT_DLLAZY_OR_NOW DL_NOW
11735 # define LT_DLLAZY_OR_NOW 0
11742 /* When -fvisbility=hidden is used, assume the code has been annotated
11743 correspondingly for the symbols needed. */
11744 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11745 int fnord () __attribute__((visibility("default")));
11748 int fnord () { return 42; }
11751 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11752 int status = $lt_dlunknown;
11756 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11760 else puts (dlerror ());
11762 /* dlclose (self); */
11770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11771 (eval $ac_link) 2>&5
11773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11774 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11775 (./conftest; exit; ) >&5 2>/dev/null
11777 case x$lt_status in
11778 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11779 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11780 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 # compilation failed
11784 lt_cv_dlopen_self_static=no
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11792 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11795 CPPFLAGS="$save_CPPFLAGS"
11796 LDFLAGS="$save_LDFLAGS"
11801 case $lt_cv_dlopen_self in
11802 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11803 *) enable_dlopen_self=unknown ;;
11806 case $lt_cv_dlopen_self_static in
11807 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11808 *) enable_dlopen_self_static=unknown ;;
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11831 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11832 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11833 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11834 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11836 $as_echo "yes" >&6; }
11838 # FIXME - insert some real tests, host_os isn't really good enough
11841 if test -n "$STRIP" ; then
11842 striplib="$STRIP -x"
11843 old_striplib="$STRIP -S"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11845 $as_echo "yes" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11869 # Report which library types will actually be built
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11871 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11873 $as_echo "$can_build_shared" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11876 $as_echo_n "checking whether to build shared libraries... " >&6; }
11877 test "$can_build_shared" = "no" && enable_shared=no
11879 # On AIX, shared libraries and static libraries use the same namespace, and
11880 # are all built from PIC.
11883 test "$enable_shared" = yes && enable_static=no
11884 if test -n "$RANLIB"; then
11885 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11886 postinstall_cmds='$RANLIB $lib'
11891 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11892 test "$enable_shared" = yes && enable_static=no
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11897 $as_echo "$enable_shared" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11900 $as_echo_n "checking whether to build static libraries... " >&6; }
11901 # Make sure either enable_shared or enable_static is yes.
11902 test "$enable_shared" = yes || enable_static=yes
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11904 $as_echo "$enable_static" >&6; }
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11932 ac_config_commands="$ac_config_commands libtool"
11937 # Only expand once:
11948 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11949 if test -n "$ac_tool_prefix"; then
11950 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11951 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11953 $as_echo_n "checking for $ac_word... " >&6; }
11954 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11955 $as_echo_n "(cached) " >&6
11957 case $PKG_CONFIG in
11959 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11963 for as_dir in $PATH
11966 test -z "$as_dir" && as_dir=.
11967 for ac_exec_ext in '' $ac_executable_extensions; do
11968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11969 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11980 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11981 if test -n "$PKG_CONFIG"; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11983 $as_echo "$PKG_CONFIG" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11991 if test -z "$ac_cv_path_PKG_CONFIG"; then
11992 ac_pt_PKG_CONFIG=$PKG_CONFIG
11993 # Extract the first word of "pkg-config", so it can be a program name with args.
11994 set dummy pkg-config; ac_word=$2
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11996 $as_echo_n "checking for $ac_word... " >&6; }
11997 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11998 $as_echo_n "(cached) " >&6
12000 case $ac_pt_PKG_CONFIG in
12002 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12012 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12023 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12024 if test -n "$ac_pt_PKG_CONFIG"; then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12026 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12032 if test "x$ac_pt_PKG_CONFIG" = x; then
12035 case $cross_compiling:$ac_tool_warned in
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12039 ac_tool_warned=yes ;;
12041 PKG_CONFIG=$ac_pt_PKG_CONFIG
12044 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12048 if test -n "$PKG_CONFIG"; then
12049 _pkg_min_version=0.9.0
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12051 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12052 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12054 $as_echo "yes" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12062 for ac_prog in flex lex
12064 # Extract the first word of "$ac_prog", so it can be a program name with args.
12065 set dummy $ac_prog; ac_word=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if ${ac_cv_prog_LEX+:} false; then :
12069 $as_echo_n "(cached) " >&6
12071 if test -n "$LEX"; then
12072 ac_cv_prog_LEX="$LEX" # Let the user override the test.
12074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12075 for as_dir in $PATH
12078 test -z "$as_dir" && as_dir=.
12079 for ac_exec_ext in '' $ac_executable_extensions; do
12080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12081 ac_cv_prog_LEX="$ac_prog"
12082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 LEX=$ac_cv_prog_LEX
12092 if test -n "$LEX"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12094 $as_echo "$LEX" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12101 test -n "$LEX" && break
12103 test -n "$LEX" || LEX=":"
12105 if test "x$LEX" != "x:"; then
12106 cat >conftest.l <<_ACEOF
12112 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
12113 yyless ((input () != 0)); }
12114 f { unput (yytext[0]); }
12115 . { BEGIN INITIAL; }
12117 #ifdef YYTEXT_POINTER
12118 extern char *yytext;
12123 return ! yylex () + ! yywrap ();
12126 { { ac_try="$LEX conftest.l"
12127 case "(($ac_try" in
12128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12129 *) ac_try_echo=$ac_try;;
12131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12132 $as_echo "$ac_try_echo"; } >&5
12133 (eval "$LEX conftest.l") 2>&5
12135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12136 test $ac_status = 0; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12138 $as_echo_n "checking lex output file root... " >&6; }
12139 if ${ac_cv_prog_lex_root+:} false; then :
12140 $as_echo_n "(cached) " >&6
12143 if test -f lex.yy.c; then
12144 ac_cv_prog_lex_root=lex.yy
12145 elif test -f lexyy.c; then
12146 ac_cv_prog_lex_root=lexyy
12148 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12152 $as_echo "$ac_cv_prog_lex_root" >&6; }
12153 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12155 if test -z "${LEXLIB+set}"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12157 $as_echo_n "checking lex library... " >&6; }
12158 if ${ac_cv_lib_lex+:} false; then :
12159 $as_echo_n "(cached) " >&6
12163 ac_cv_lib_lex='none needed'
12164 for ac_lib in '' -lfl -ll; do
12165 LIBS="$ac_lib $ac_save_LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12168 `cat $LEX_OUTPUT_ROOT.c`
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_lex=$ac_lib
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 test "$ac_cv_lib_lex" != 'none needed' && break
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12181 $as_echo "$ac_cv_lib_lex" >&6; }
12182 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12187 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12188 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12189 $as_echo_n "(cached) " >&6
12191 # POSIX says lex can declare yytext either as a pointer or an array; the
12192 # default is implementation-dependent. Figure out which it is, since
12193 # not all implementations provide the %pointer and %array declarations.
12194 ac_cv_prog_lex_yytext_pointer=no
12196 LIBS="$LEXLIB $ac_save_LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 #define YYTEXT_POINTER 1
12201 `cat $LEX_OUTPUT_ROOT.c`
12203 if ac_fn_c_try_link "$LINENO"; then :
12204 ac_cv_prog_lex_yytext_pointer=yes
12206 rm -f core conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12212 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12213 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12215 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12218 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12221 if test "$LEX" = :; then
12222 as_fn_error $? "flex not found but required" "$LINENO" 5
12225 for ac_prog in 'bison -y'
12227 # Extract the first word of "$ac_prog", so it can be a program name with args.
12228 set dummy $ac_prog; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230 $as_echo_n "checking for $ac_word... " >&6; }
12231 if ${ac_cv_prog_YACC+:} false; then :
12232 $as_echo_n "(cached) " >&6
12234 if test -n "$YACC"; then
12235 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $PATH
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244 ac_cv_prog_YACC="$ac_prog"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12254 YACC=$ac_cv_prog_YACC
12255 if test -n "$YACC"; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12257 $as_echo "$YACC" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260 $as_echo "no" >&6; }
12264 test -n "$YACC" && break
12266 test -n "$YACC" || YACC=":"
12268 if test "$YACC" = :; then
12269 as_fn_error $? "bison not found but required" "$LINENO" 5
12277 case " ${result} " in
12278 *[\ \ ]${flag}[\ \ ]*) ;;
12279 *) result="${flag} ${result}" ;;
12285 if test "$GCC" = "yes"; then
12286 for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12287 -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12288 -Wsign-compare -fno-strict-aliasing;
12290 CFLAGS="$(ensureflag $flag $CFLAGS)"
12294 # Checks for libraries.
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12297 if ${ac_cv_lib_dl_dlopen+:} false; then :
12298 $as_echo_n "(cached) " >&6
12300 ac_check_lib_save_LIBS=$LIBS
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 ac_cv_lib_dl_dlopen=yes
12323 ac_cv_lib_dl_dlopen=no
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_lib_save_LIBS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12331 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12332 cat >>confdefs.h <<_ACEOF
12333 #define HAVE_LIBDL 1
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12342 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12343 # libtool variables are immediately available since 2.0, prior to that we need
12344 # to call libtool --config explicitly
12345 if test "x$shrext_cmds" = x; then
12346 shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12349 eval std_shrext=$shrext_cmds
12350 # chop the initial dot
12351 SHLIB_SUFFIX=${std_shrext#.}
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12353 $as_echo ".$SHLIB_SUFFIX" >&6; }
12354 # any reason it may fail?
12355 if test "x$SHLIB_SUFFIX" = x; then
12356 as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12359 cat >>confdefs.h <<_ACEOF
12360 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12364 # Copied from dbus configure.in
12365 #### find the actual value for $prefix that we'll end up with
12366 ## (I know this is broken and should be done in the Makefile, but
12367 ## that's a major pain and almost nobody actually seems to care)
12369 EXP_VAR=EXPANDED_LOCALSTATEDIR
12370 FROM_VAR="$localstatedir"
12372 prefix_save=$prefix
12373 exec_prefix_save=$exec_prefix
12375 if test "x$prefix" = "xNONE"; then
12376 prefix="$ac_default_prefix"
12378 if test "x$exec_prefix" = "xNONE"; then
12379 exec_prefix=$prefix
12382 full_var="$FROM_VAR"
12384 new_full_var="`eval echo $full_var`"
12385 if test "x$new_full_var" = "x$full_var"; then break; fi
12386 full_var=$new_full_var
12389 full_var=$new_full_var
12390 EXPANDED_LOCALSTATEDIR="$full_var"
12393 prefix=$prefix_save
12394 exec_prefix=$exec_prefix_save
12397 EXP_VAR=EXPANDED_SYSCONFDIR
12398 FROM_VAR="$sysconfdir"
12400 prefix_save=$prefix
12401 exec_prefix_save=$exec_prefix
12403 if test "x$prefix" = "xNONE"; then
12404 prefix="$ac_default_prefix"
12406 if test "x$exec_prefix" = "xNONE"; then
12407 exec_prefix=$prefix
12410 full_var="$FROM_VAR"
12412 new_full_var="`eval echo $full_var`"
12413 if test "x$new_full_var" = "x$full_var"; then break; fi
12414 full_var=$new_full_var
12417 full_var=$new_full_var
12418 EXPANDED_SYSCONFDIR="$full_var"
12421 prefix=$prefix_save
12422 exec_prefix=$exec_prefix_save
12425 EXP_VAR=EXPANDED_BINDIR
12428 prefix_save=$prefix
12429 exec_prefix_save=$exec_prefix
12431 if test "x$prefix" = "xNONE"; then
12432 prefix="$ac_default_prefix"
12434 if test "x$exec_prefix" = "xNONE"; then
12435 exec_prefix=$prefix
12438 full_var="$FROM_VAR"
12440 new_full_var="`eval echo $full_var`"
12441 if test "x$new_full_var" = "x$full_var"; then break; fi
12442 full_var=$new_full_var
12445 full_var=$new_full_var
12446 EXPANDED_BINDIR="$full_var"
12449 prefix=$prefix_save
12450 exec_prefix=$exec_prefix_save
12453 EXP_VAR=EXPANDED_LIBDIR
12456 prefix_save=$prefix
12457 exec_prefix_save=$exec_prefix
12459 if test "x$prefix" = "xNONE"; then
12460 prefix="$ac_default_prefix"
12462 if test "x$exec_prefix" = "xNONE"; then
12463 exec_prefix=$prefix
12466 full_var="$FROM_VAR"
12468 new_full_var="`eval echo $full_var`"
12469 if test "x$new_full_var" = "x$full_var"; then break; fi
12470 full_var=$new_full_var
12473 full_var=$new_full_var
12474 EXPANDED_LIBDIR="$full_var"
12477 prefix=$prefix_save
12478 exec_prefix=$exec_prefix_save
12481 EXP_VAR=EXPANDED_LIBEXECDIR
12482 FROM_VAR="$libexecdir"
12484 prefix_save=$prefix
12485 exec_prefix_save=$exec_prefix
12487 if test "x$prefix" = "xNONE"; then
12488 prefix="$ac_default_prefix"
12490 if test "x$exec_prefix" = "xNONE"; then
12491 exec_prefix=$prefix
12494 full_var="$FROM_VAR"
12496 new_full_var="`eval echo $full_var`"
12497 if test "x$new_full_var" = "x$full_var"; then break; fi
12498 full_var=$new_full_var
12501 full_var=$new_full_var
12502 EXPANDED_LIBEXECDIR="$full_var"
12505 prefix=$prefix_save
12506 exec_prefix=$exec_prefix_save
12509 EXP_VAR=EXPANDED_DATADIR
12510 FROM_VAR="$datadir"
12512 prefix_save=$prefix
12513 exec_prefix_save=$exec_prefix
12515 if test "x$prefix" = "xNONE"; then
12516 prefix="$ac_default_prefix"
12518 if test "x$exec_prefix" = "xNONE"; then
12519 exec_prefix=$prefix
12522 full_var="$FROM_VAR"
12524 new_full_var="`eval echo $full_var`"
12525 if test "x$new_full_var" = "x$full_var"; then break; fi
12526 full_var=$new_full_var
12529 full_var=$new_full_var
12530 EXPANDED_DATADIR="$full_var"
12533 prefix=$prefix_save
12534 exec_prefix=$exec_prefix_save
12537 #### Directory to install the libexec binaries
12538 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12541 cat >>confdefs.h <<_ACEOF
12542 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12546 #### Directory to install the gir files
12547 GIR_SUFFIX="gir-1.0"
12550 cat >>confdefs.h <<_ACEOF
12551 #define GIR_SUFFIX "$GIR_SUFFIX"
12555 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12558 cat >>confdefs.h <<_ACEOF
12559 #define GIR_DIR "$GIR_DIR"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12566 $as_echo_n "checking for GLIB... " >&6; }
12568 if test -n "$GLIB_CFLAGS"; then
12569 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12570 elif test -n "$PKG_CONFIG"; then
12571 if test -n "$PKG_CONFIG" && \
12572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.0\""; } >&5
12573 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.0") 2>&5
12575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12576 test $ac_status = 0; }; then
12577 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.35.0" 2>/dev/null`
12578 test "x$?" != "x0" && pkg_failed=yes
12585 if test -n "$GLIB_LIBS"; then
12586 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12587 elif test -n "$PKG_CONFIG"; then
12588 if test -n "$PKG_CONFIG" && \
12589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.0\""; } >&5
12590 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.0") 2>&5
12592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12593 test $ac_status = 0; }; then
12594 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.35.0" 2>/dev/null`
12595 test "x$?" != "x0" && pkg_failed=yes
12605 if test $pkg_failed = yes; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12610 _pkg_short_errors_supported=yes
12612 _pkg_short_errors_supported=no
12614 if test $_pkg_short_errors_supported = yes; then
12615 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.35.0" 2>&1`
12617 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.35.0" 2>&1`
12619 # Put the nasty error message in config.log where it belongs
12620 echo "$GLIB_PKG_ERRORS" >&5
12622 as_fn_error $? "Package requirements (glib-2.0 >= 2.35.0) were not met:
12626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12627 installed software in a non-standard prefix.
12629 Alternatively, you may set the environment variables GLIB_CFLAGS
12630 and GLIB_LIBS to avoid the need to call pkg-config.
12631 See the pkg-config man page for more details." "$LINENO" 5
12632 elif test $pkg_failed = untried; then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12637 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12638 is in your PATH or set the PKG_CONFIG environment variable to the full
12639 path to pkg-config.
12641 Alternatively, you may set the environment variables GLIB_CFLAGS
12642 and GLIB_LIBS to avoid the need to call pkg-config.
12643 See the pkg-config man page for more details.
12645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12646 See \`config.log' for more details" "$LINENO" 5; }
12648 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12649 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12651 $as_echo "yes" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12657 $as_echo_n "checking for GOBJECT... " >&6; }
12659 if test -n "$GOBJECT_CFLAGS"; then
12660 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12661 elif test -n "$PKG_CONFIG"; then
12662 if test -n "$PKG_CONFIG" && \
12663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12664 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12667 test $ac_status = 0; }; then
12668 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12669 test "x$?" != "x0" && pkg_failed=yes
12676 if test -n "$GOBJECT_LIBS"; then
12677 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12678 elif test -n "$PKG_CONFIG"; then
12679 if test -n "$PKG_CONFIG" && \
12680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12681 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12684 test $ac_status = 0; }; then
12685 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12686 test "x$?" != "x0" && pkg_failed=yes
12696 if test $pkg_failed = yes; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12701 _pkg_short_errors_supported=yes
12703 _pkg_short_errors_supported=no
12705 if test $_pkg_short_errors_supported = yes; then
12706 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12708 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12710 # Put the nasty error message in config.log where it belongs
12711 echo "$GOBJECT_PKG_ERRORS" >&5
12713 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12715 $GOBJECT_PKG_ERRORS
12717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12718 installed software in a non-standard prefix.
12720 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12721 and GOBJECT_LIBS to avoid the need to call pkg-config.
12722 See the pkg-config man page for more details." "$LINENO" 5
12723 elif test $pkg_failed = untried; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12725 $as_echo "no" >&6; }
12726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12728 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12729 is in your PATH or set the PKG_CONFIG environment variable to the full
12730 path to pkg-config.
12732 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12733 and GOBJECT_LIBS to avoid the need to call pkg-config.
12734 See the pkg-config man page for more details.
12736 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12737 See \`config.log' for more details" "$LINENO" 5; }
12739 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12740 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12742 $as_echo "yes" >&6; }
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12748 $as_echo_n "checking for GMODULE... " >&6; }
12750 if test -n "$GMODULE_CFLAGS"; then
12751 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12752 elif test -n "$PKG_CONFIG"; then
12753 if test -n "$PKG_CONFIG" && \
12754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12755 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12758 test $ac_status = 0; }; then
12759 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12760 test "x$?" != "x0" && pkg_failed=yes
12767 if test -n "$GMODULE_LIBS"; then
12768 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12769 elif test -n "$PKG_CONFIG"; then
12770 if test -n "$PKG_CONFIG" && \
12771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12772 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12775 test $ac_status = 0; }; then
12776 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12777 test "x$?" != "x0" && pkg_failed=yes
12787 if test $pkg_failed = yes; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12789 $as_echo "no" >&6; }
12791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12792 _pkg_short_errors_supported=yes
12794 _pkg_short_errors_supported=no
12796 if test $_pkg_short_errors_supported = yes; then
12797 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12799 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12801 # Put the nasty error message in config.log where it belongs
12802 echo "$GMODULE_PKG_ERRORS" >&5
12804 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12806 $GMODULE_PKG_ERRORS
12808 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12809 installed software in a non-standard prefix.
12811 Alternatively, you may set the environment variables GMODULE_CFLAGS
12812 and GMODULE_LIBS to avoid the need to call pkg-config.
12813 See the pkg-config man page for more details." "$LINENO" 5
12814 elif test $pkg_failed = untried; then
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12816 $as_echo "no" >&6; }
12817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12819 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12820 is in your PATH or set the PKG_CONFIG environment variable to the full
12821 path to pkg-config.
12823 Alternatively, you may set the environment variables GMODULE_CFLAGS
12824 and GMODULE_LIBS to avoid the need to call pkg-config.
12825 See the pkg-config man page for more details.
12827 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12828 See \`config.log' for more details" "$LINENO" 5; }
12830 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12831 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12833 $as_echo "yes" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12839 $as_echo_n "checking for GIO... " >&6; }
12841 if test -n "$GIO_CFLAGS"; then
12842 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12843 elif test -n "$PKG_CONFIG"; then
12844 if test -n "$PKG_CONFIG" && \
12845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12846 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12849 test $ac_status = 0; }; then
12850 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12851 test "x$?" != "x0" && pkg_failed=yes
12858 if test -n "$GIO_LIBS"; then
12859 pkg_cv_GIO_LIBS="$GIO_LIBS"
12860 elif test -n "$PKG_CONFIG"; then
12861 if test -n "$PKG_CONFIG" && \
12862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12863 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; }; then
12867 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12868 test "x$?" != "x0" && pkg_failed=yes
12878 if test $pkg_failed = yes; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883 _pkg_short_errors_supported=yes
12885 _pkg_short_errors_supported=no
12887 if test $_pkg_short_errors_supported = yes; then
12888 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
12890 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
12892 # Put the nasty error message in config.log where it belongs
12893 echo "$GIO_PKG_ERRORS" >&5
12895 as_fn_error $? "Package requirements (gio-2.0) were not met:
12899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12900 installed software in a non-standard prefix.
12902 Alternatively, you may set the environment variables GIO_CFLAGS
12903 and GIO_LIBS to avoid the need to call pkg-config.
12904 See the pkg-config man page for more details." "$LINENO" 5
12905 elif test $pkg_failed = untried; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12910 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12911 is in your PATH or set the PKG_CONFIG environment variable to the full
12912 path to pkg-config.
12914 Alternatively, you may set the environment variables GIO_CFLAGS
12915 and GIO_LIBS to avoid the need to call pkg-config.
12916 See the pkg-config man page for more details.
12918 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12919 See \`config.log' for more details" "$LINENO" 5; }
12921 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12922 GIO_LIBS=$pkg_cv_GIO_LIBS
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12924 $as_echo "yes" >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
12930 $as_echo_n "checking for GIO_UNIX... " >&6; }
12932 if test -n "$GIO_UNIX_CFLAGS"; then
12933 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
12934 elif test -n "$PKG_CONFIG"; then
12935 if test -n "$PKG_CONFIG" && \
12936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12937 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12940 test $ac_status = 0; }; then
12941 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
12942 test "x$?" != "x0" && pkg_failed=yes
12949 if test -n "$GIO_UNIX_LIBS"; then
12950 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
12951 elif test -n "$PKG_CONFIG"; then
12952 if test -n "$PKG_CONFIG" && \
12953 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12954 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12957 test $ac_status = 0; }; then
12958 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
12959 test "x$?" != "x0" && pkg_failed=yes
12969 if test $pkg_failed = yes; then
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12974 _pkg_short_errors_supported=yes
12976 _pkg_short_errors_supported=no
12978 if test $_pkg_short_errors_supported = yes; then
12979 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
12981 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
12983 # Put the nasty error message in config.log where it belongs
12984 echo "$GIO_UNIX_PKG_ERRORS" >&5
12986 have_gio_unix=false
12987 elif test $pkg_failed = untried; then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12990 have_gio_unix=false
12992 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
12993 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12995 $as_echo "yes" >&6; }
12998 if test x$have_gio_unix = xtrue; then
12999 HAVE_GIO_UNIX_TRUE=
13000 HAVE_GIO_UNIX_FALSE='#'
13002 HAVE_GIO_UNIX_TRUE='#'
13003 HAVE_GIO_UNIX_FALSE=
13007 # Prefer cairo-gobject if we have it
13009 # Check whether --with-cairo was given.
13010 if test "${with_cairo+set}" = set; then :
13011 withval=$with_cairo;
13017 if test x${with_cairo} != xno; then :
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13022 $as_echo_n "checking for CAIRO... " >&6; }
13024 if test -n "$CAIRO_CFLAGS"; then
13025 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13026 elif test -n "$PKG_CONFIG"; then
13027 if test -n "$PKG_CONFIG" && \
13028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13029 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13032 test $ac_status = 0; }; then
13033 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13034 test "x$?" != "x0" && pkg_failed=yes
13041 if test -n "$CAIRO_LIBS"; then
13042 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13043 elif test -n "$PKG_CONFIG"; then
13044 if test -n "$PKG_CONFIG" && \
13045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13046 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13049 test $ac_status = 0; }; then
13050 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13051 test "x$?" != "x0" && pkg_failed=yes
13061 if test $pkg_failed = yes; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063 $as_echo "no" >&6; }
13065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13066 _pkg_short_errors_supported=yes
13068 _pkg_short_errors_supported=no
13070 if test $_pkg_short_errors_supported = yes; then
13071 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13073 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13075 # Put the nasty error message in config.log where it belongs
13076 echo "$CAIRO_PKG_ERRORS" >&5
13079 elif test $pkg_failed = untried; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13084 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13085 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13087 $as_echo "yes" >&6; }
13090 if test x$have_cairo = xno && test x$with_cairo = xyes ; then :
13092 as_fn_error $? "cairo enabled but not found" "$LINENO" 5
13097 if test x$have_cairo = xyes; then
13099 HAVE_CAIRO_FALSE='#'
13101 HAVE_CAIRO_TRUE='#'
13108 CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13111 CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13114 CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13117 CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13120 CAIRO_GIR_PACKAGE="cairo-gobject"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13129 $as_echo_n "checking for SCANNER... " >&6; }
13131 if test -n "$SCANNER_CFLAGS"; then
13132 pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13133 elif test -n "$PKG_CONFIG"; then
13134 if test -n "$PKG_CONFIG" && \
13135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13136 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139 test $ac_status = 0; }; then
13140 pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gio-2.0" 2>/dev/null`
13141 test "x$?" != "x0" && pkg_failed=yes
13148 if test -n "$SCANNER_LIBS"; then
13149 pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13150 elif test -n "$PKG_CONFIG"; then
13151 if test -n "$PKG_CONFIG" && \
13152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13153 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13156 test $ac_status = 0; }; then
13157 pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gio-2.0" 2>/dev/null`
13158 test "x$?" != "x0" && pkg_failed=yes
13168 if test $pkg_failed = yes; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13173 _pkg_short_errors_supported=yes
13175 _pkg_short_errors_supported=no
13177 if test $_pkg_short_errors_supported = yes; then
13178 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13180 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13182 # Put the nasty error message in config.log where it belongs
13183 echo "$SCANNER_PKG_ERRORS" >&5
13185 as_fn_error $? "Package requirements (gobject-2.0 gio-2.0) were not met:
13187 $SCANNER_PKG_ERRORS
13189 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13190 installed software in a non-standard prefix.
13192 Alternatively, you may set the environment variables SCANNER_CFLAGS
13193 and SCANNER_LIBS to avoid the need to call pkg-config.
13194 See the pkg-config man page for more details." "$LINENO" 5
13195 elif test $pkg_failed = untried; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197 $as_echo "no" >&6; }
13198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13200 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13201 is in your PATH or set the PKG_CONFIG environment variable to the full
13202 path to pkg-config.
13204 Alternatively, you may set the environment variables SCANNER_CFLAGS
13205 and SCANNER_LIBS to avoid the need to call pkg-config.
13206 See the pkg-config man page for more details.
13208 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13209 See \`config.log' for more details" "$LINENO" 5; }
13211 SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13212 SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13214 $as_echo "yes" >&6; }
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13221 $as_echo_n "checking for FFI... " >&6; }
13223 if test -n "$FFI_CFLAGS"; then
13224 pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13225 elif test -n "$PKG_CONFIG"; then
13226 if test -n "$PKG_CONFIG" && \
13227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13228 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231 test $ac_status = 0; }; then
13232 pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
13233 test "x$?" != "x0" && pkg_failed=yes
13240 if test -n "$FFI_LIBS"; then
13241 pkg_cv_FFI_LIBS="$FFI_LIBS"
13242 elif test -n "$PKG_CONFIG"; then
13243 if test -n "$PKG_CONFIG" && \
13244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13245 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248 test $ac_status = 0; }; then
13249 pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
13250 test "x$?" != "x0" && pkg_failed=yes
13260 if test $pkg_failed = yes; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13265 _pkg_short_errors_supported=yes
13267 _pkg_short_errors_supported=no
13269 if test $_pkg_short_errors_supported = yes; then
13270 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
13272 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
13274 # Put the nasty error message in config.log where it belongs
13275 echo "$FFI_PKG_ERRORS" >&5
13277 have_ffi_pkgconfig=no
13278 elif test $pkg_failed = untried; then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13280 $as_echo "no" >&6; }
13281 have_ffi_pkgconfig=no
13283 FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13284 FFI_LIBS=$pkg_cv_FFI_LIBS
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13286 $as_echo "yes" >&6; }
13287 have_ffi_pkgconfig=yes
13292 if test x"$have_ffi_pkgconfig" = xyes ; then
13293 FFI_PC_PACKAGES="libffi"
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13296 $as_echo_n "checking for ffi.h... " >&6; }
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13302 if ac_fn_c_try_cpp "$LINENO"; then :
13307 rm -f conftest.err conftest.i conftest.$ac_ext
13308 if test x"$have_ffi_h" = x"yes"; then
13311 if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13314 other_LIBS=$with_ffi
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13318 $as_echo_n "checking for library containing ffi_call... " >&6; }
13319 if ${ac_cv_search_ffi_call+:} false; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_func_search_save_LIBS=$LIBS
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13336 return ffi_call ();
13341 for ac_lib in '' ffi; do
13342 if test -z "$ac_lib"; then
13343 ac_res="none required"
13346 LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13348 if ac_fn_c_try_link "$LINENO"; then :
13349 ac_cv_search_ffi_call=$ac_res
13351 rm -f core conftest.err conftest.$ac_objext \
13353 if ${ac_cv_search_ffi_call+:} false; then :
13357 if ${ac_cv_search_ffi_call+:} false; then :
13360 ac_cv_search_ffi_call=no
13362 rm conftest.$ac_ext
13363 LIBS=$ac_func_search_save_LIBS
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13366 $as_echo "$ac_cv_search_ffi_call" >&6; }
13367 ac_res=$ac_cv_search_ffi_call
13368 if test "$ac_res" != no; then :
13369 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13372 as_fn_error $? "libffi not found" "$LINENO" 5
13375 if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13376 FFI_LIBS=$other_LIBS
13378 FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13383 if test x"$have_ffi_h" != x"yes" ; then
13384 as_fn_error $? "ffi.h not found" "$LINENO" 5
13387 FFI_PC_LIBS=$FFI_LIBS
13388 FFI_PC_CFLAGS=$FFI_CFLAGS
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13391 $as_echo "$have_ffi_h" >&6; }
13399 # The cast to long int works around a bug in the HP C Compiler
13400 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13401 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13402 # This bug is HP SR number 8606223364.
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13404 $as_echo_n "checking size of char... " >&6; }
13405 if ${ac_cv_sizeof_char+:} false; then :
13406 $as_echo_n "(cached) " >&6
13408 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13411 if test "$ac_cv_type_char" = yes; then
13412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13414 as_fn_error 77 "cannot compute sizeof (char)
13415 See \`config.log' for more details" "$LINENO" 5; }
13417 ac_cv_sizeof_char=0
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13423 $as_echo "$ac_cv_sizeof_char" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SIZEOF_CHAR $ac_cv_sizeof_char
13432 # The cast to long int works around a bug in the HP C Compiler
13433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13435 # This bug is HP SR number 8606223364.
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13437 $as_echo_n "checking size of short... " >&6; }
13438 if ${ac_cv_sizeof_short+:} false; then :
13439 $as_echo_n "(cached) " >&6
13441 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13444 if test "$ac_cv_type_short" = yes; then
13445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13447 as_fn_error 77 "cannot compute sizeof (short)
13448 See \`config.log' for more details" "$LINENO" 5; }
13450 ac_cv_sizeof_short=0
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13456 $as_echo "$ac_cv_sizeof_short" >&6; }
13460 cat >>confdefs.h <<_ACEOF
13461 #define SIZEOF_SHORT $ac_cv_sizeof_short
13465 # The cast to long int works around a bug in the HP C Compiler
13466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13468 # This bug is HP SR number 8606223364.
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13470 $as_echo_n "checking size of int... " >&6; }
13471 if ${ac_cv_sizeof_int+:} false; then :
13472 $as_echo_n "(cached) " >&6
13474 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13477 if test "$ac_cv_type_int" = yes; then
13478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13480 as_fn_error 77 "cannot compute sizeof (int)
13481 See \`config.log' for more details" "$LINENO" 5; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13489 $as_echo "$ac_cv_sizeof_int" >&6; }
13493 cat >>confdefs.h <<_ACEOF
13494 #define SIZEOF_INT $ac_cv_sizeof_int
13498 # The cast to long int works around a bug in the HP C Compiler
13499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13501 # This bug is HP SR number 8606223364.
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13503 $as_echo_n "checking size of long... " >&6; }
13504 if ${ac_cv_sizeof_long+:} false; then :
13505 $as_echo_n "(cached) " >&6
13507 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13510 if test "$ac_cv_type_long" = yes; then
13511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13513 as_fn_error 77 "cannot compute sizeof (long)
13514 See \`config.log' for more details" "$LINENO" 5; }
13516 ac_cv_sizeof_long=0
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13522 $as_echo "$ac_cv_sizeof_long" >&6; }
13526 cat >>confdefs.h <<_ACEOF
13527 #define SIZEOF_LONG $ac_cv_sizeof_long
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13535 $as_echo_n "checking for GIREPO... " >&6; }
13537 if test -n "$GIREPO_CFLAGS"; then
13538 pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13539 elif test -n "$PKG_CONFIG"; then
13540 if test -n "$PKG_CONFIG" && \
13541 { { $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
13542 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13545 test $ac_status = 0; }; then
13546 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`
13547 test "x$?" != "x0" && pkg_failed=yes
13554 if test -n "$GIREPO_LIBS"; then
13555 pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13556 elif test -n "$PKG_CONFIG"; then
13557 if test -n "$PKG_CONFIG" && \
13558 { { $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
13559 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13562 test $ac_status = 0; }; then
13563 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`
13564 test "x$?" != "x0" && pkg_failed=yes
13574 if test $pkg_failed = yes; then
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13576 $as_echo "no" >&6; }
13578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13579 _pkg_short_errors_supported=yes
13581 _pkg_short_errors_supported=no
13583 if test $_pkg_short_errors_supported = yes; then
13584 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`
13586 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`
13588 # Put the nasty error message in config.log where it belongs
13589 echo "$GIREPO_PKG_ERRORS" >&5
13591 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13595 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13596 installed software in a non-standard prefix.
13598 Alternatively, you may set the environment variables GIREPO_CFLAGS
13599 and GIREPO_LIBS to avoid the need to call pkg-config.
13600 See the pkg-config man page for more details." "$LINENO" 5
13601 elif test $pkg_failed = untried; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13603 $as_echo "no" >&6; }
13604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13606 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13607 is in your PATH or set the PKG_CONFIG environment variable to the full
13608 path to pkg-config.
13610 Alternatively, you may set the environment variables GIREPO_CFLAGS
13611 and GIREPO_LIBS to avoid the need to call pkg-config.
13612 See the pkg-config man page for more details.
13614 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13615 See \`config.log' for more details" "$LINENO" 5; }
13617 GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13618 GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13620 $as_echo "yes" >&6; }
13624 # if we ever remove manual check for ffi and require .pc file, then
13625 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13626 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13627 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13629 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13632 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13633 # it on it's own line.
13638 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13639 set dummy gtkdoc-check; ac_word=$2
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13641 $as_echo_n "checking for $ac_word... " >&6; }
13642 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13643 $as_echo_n "(cached) " >&6
13645 case $GTKDOC_CHECK in
13647 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $PATH
13654 test -z "$as_dir" && as_dir=.
13655 for ac_exec_ext in '' $ac_executable_extensions; do
13656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13657 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13668 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13669 if test -n "$GTKDOC_CHECK"; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13671 $as_echo "$GTKDOC_CHECK" >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13678 for ac_prog in gtkdoc-rebase
13680 # Extract the first word of "$ac_prog", so it can be a program name with args.
13681 set dummy $ac_prog; ac_word=$2
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13683 $as_echo_n "checking for $ac_word... " >&6; }
13684 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13685 $as_echo_n "(cached) " >&6
13687 case $GTKDOC_REBASE in
13689 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13693 for as_dir in $PATH
13696 test -z "$as_dir" && as_dir=.
13697 for ac_exec_ext in '' $ac_executable_extensions; do
13698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13699 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13710 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13711 if test -n "$GTKDOC_REBASE"; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13713 $as_echo "$GTKDOC_REBASE" >&6; }
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13716 $as_echo "no" >&6; }
13720 test -n "$GTKDOC_REBASE" && break
13722 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13724 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13725 set dummy gtkdoc-mkpdf; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13729 $as_echo_n "(cached) " >&6
13731 case $GTKDOC_MKPDF in
13733 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13737 for as_dir in $PATH
13740 test -z "$as_dir" && as_dir=.
13741 for ac_exec_ext in '' $ac_executable_extensions; do
13742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13743 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13754 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13755 if test -n "$GTKDOC_MKPDF"; then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13757 $as_echo "$GTKDOC_MKPDF" >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13760 $as_echo "no" >&6; }
13766 # Check whether --with-html-dir was given.
13767 if test "${with_html_dir+set}" = set; then :
13768 withval=$with_html_dir;
13770 with_html_dir='${datadir}/gtk-doc/html'
13773 HTML_DIR="$with_html_dir"
13776 # Check whether --enable-gtk-doc was given.
13777 if test "${enable_gtk_doc+set}" = set; then :
13778 enableval=$enable_gtk_doc;
13784 if test x$enable_gtk_doc = xyes; then
13785 if test -n "$PKG_CONFIG" && \
13786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
13787 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13790 test $ac_status = 0; }; then
13793 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
13795 if test "x$PACKAGE_NAME" != "xglib"; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13799 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13801 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13802 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13803 elif test -n "$PKG_CONFIG"; then
13804 if test -n "$PKG_CONFIG" && \
13805 { { $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
13806 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13809 test $ac_status = 0; }; then
13810 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13811 test "x$?" != "x0" && pkg_failed=yes
13818 if test -n "$GTKDOC_DEPS_LIBS"; then
13819 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13820 elif test -n "$PKG_CONFIG"; then
13821 if test -n "$PKG_CONFIG" && \
13822 { { $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
13823 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826 test $ac_status = 0; }; then
13827 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13828 test "x$?" != "x0" && pkg_failed=yes
13838 if test $pkg_failed = yes; then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13840 $as_echo "no" >&6; }
13842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13843 _pkg_short_errors_supported=yes
13845 _pkg_short_errors_supported=no
13847 if test $_pkg_short_errors_supported = yes; then
13848 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`
13850 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13852 # Put the nasty error message in config.log where it belongs
13853 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13856 elif test $pkg_failed = untried; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13858 $as_echo "no" >&6; }
13861 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13862 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13864 $as_echo "yes" >&6; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13871 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13873 $as_echo "$enable_gtk_doc" >&6; }
13875 # Check whether --enable-gtk-doc-html was given.
13876 if test "${enable_gtk_doc_html+set}" = set; then :
13877 enableval=$enable_gtk_doc_html;
13879 enable_gtk_doc_html=yes
13882 # Check whether --enable-gtk-doc-pdf was given.
13883 if test "${enable_gtk_doc_pdf+set}" = set; then :
13884 enableval=$enable_gtk_doc_pdf;
13886 enable_gtk_doc_pdf=no
13890 if test -z "$GTKDOC_MKPDF"; then
13891 enable_gtk_doc_pdf=no
13894 if test -z "$AM_DEFAULT_VERBOSITY"; then
13895 AM_DEFAULT_VERBOSITY=1
13899 if test x$enable_gtk_doc = xyes; then
13900 ENABLE_GTK_DOC_TRUE=
13901 ENABLE_GTK_DOC_FALSE='#'
13903 ENABLE_GTK_DOC_TRUE='#'
13904 ENABLE_GTK_DOC_FALSE=
13907 if test x$enable_gtk_doc_html = xyes; then
13908 GTK_DOC_BUILD_HTML_TRUE=
13909 GTK_DOC_BUILD_HTML_FALSE='#'
13911 GTK_DOC_BUILD_HTML_TRUE='#'
13912 GTK_DOC_BUILD_HTML_FALSE=
13915 if test x$enable_gtk_doc_pdf = xyes; then
13916 GTK_DOC_BUILD_PDF_TRUE=
13917 GTK_DOC_BUILD_PDF_FALSE='#'
13919 GTK_DOC_BUILD_PDF_TRUE='#'
13920 GTK_DOC_BUILD_PDF_FALSE=
13923 if test -n "$LIBTOOL"; then
13924 GTK_DOC_USE_LIBTOOL_TRUE=
13925 GTK_DOC_USE_LIBTOOL_FALSE='#'
13927 GTK_DOC_USE_LIBTOOL_TRUE='#'
13928 GTK_DOC_USE_LIBTOOL_FALSE=
13931 if test -n "$GTKDOC_REBASE"; then
13932 GTK_DOC_USE_REBASE_TRUE=
13933 GTK_DOC_USE_REBASE_FALSE='#'
13935 GTK_DOC_USE_REBASE_TRUE='#'
13936 GTK_DOC_USE_REBASE_FALSE=
13942 # Checks for header files.
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13944 $as_echo_n "checking for ANSI C header files... " >&6; }
13945 if ${ac_cv_header_stdc+:} false; then :
13946 $as_echo_n "(cached) " >&6
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 #include <stdlib.h>
13951 #include <stdarg.h>
13952 #include <string.h>
13963 if ac_fn_c_try_compile "$LINENO"; then :
13964 ac_cv_header_stdc=yes
13966 ac_cv_header_stdc=no
13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 if test $ac_cv_header_stdc = yes; then
13971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 #include <string.h>
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "memchr" >/dev/null 2>&1; then :
13981 ac_cv_header_stdc=no
13987 if test $ac_cv_header_stdc = yes; then
13988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13991 #include <stdlib.h>
13994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13995 $EGREP "free" >/dev/null 2>&1; then :
13998 ac_cv_header_stdc=no
14004 if test $ac_cv_header_stdc = yes; then
14005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14006 if test "$cross_compiling" = yes; then :
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 #include <stdlib.h>
14013 #if ((' ' & 0x0FF) == 0x020)
14014 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14015 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14017 # define ISLOWER(c) \
14018 (('a' <= (c) && (c) <= 'i') \
14019 || ('j' <= (c) && (c) <= 'r') \
14020 || ('s' <= (c) && (c) <= 'z'))
14021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14029 for (i = 0; i < 256; i++)
14030 if (XOR (islower (i), ISLOWER (i))
14031 || toupper (i) != TOUPPER (i))
14036 if ac_fn_c_try_run "$LINENO"; then :
14039 ac_cv_header_stdc=no
14041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14042 conftest.$ac_objext conftest.beam conftest.$ac_ext
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14048 $as_echo "$ac_cv_header_stdc" >&6; }
14049 if test $ac_cv_header_stdc = yes; then
14051 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14055 for ac_header in fcntl.h stdlib.h string.h
14057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14058 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14069 # Checks for typedefs, structures, and compiler characteristics.
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14071 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14072 if ${ac_cv_c_const+:} false; then :
14073 $as_echo_n "(cached) " >&6
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14082 #ifndef __cplusplus
14083 /* Ultrix mips cc rejects this sort of thing. */
14084 typedef int charset[2];
14085 const charset cs = { 0, 0 };
14086 /* SunOS 4.1.1 cc rejects this. */
14087 char const *const *pcpcc;
14089 /* NEC SVR4.0.2 mips cc rejects this. */
14090 struct point {int x, y;};
14091 static struct point const zero = {0,0};
14092 /* AIX XL C 1.02.0.0 rejects this.
14093 It does not let you subtract one const X* pointer from another in
14094 an arm of an if-expression whose if-part is not a constant
14096 const char *g = "string";
14097 pcpcc = &g + (g ? g-g : 0);
14098 /* HPUX 7.0 cc rejects these. */
14100 ppc = (char**) pcpcc;
14101 pcpcc = (char const *const *) ppc;
14102 { /* SCO 3.2v4 cc rejects this sort of thing. */
14105 char const *s = 0 ? (char *) 0 : (char const *) 0;
14110 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14111 int x[] = {25, 17};
14112 const int *foo = &x[0];
14115 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14116 typedef const int *iptr;
14120 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14121 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14122 struct s { int j; const int *ap[3]; } bx;
14123 struct s *b = &bx; b->j = 5;
14125 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14126 const int foo = 10;
14127 if (!foo) return 0;
14129 return !cs[0] && !zero.x;
14136 if ac_fn_c_try_compile "$LINENO"; then :
14141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14144 $as_echo "$ac_cv_c_const" >&6; }
14145 if test $ac_cv_c_const = no; then
14147 $as_echo "#define const /**/" >>confdefs.h
14152 # Checks for library functions.
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14154 $as_echo_n "checking for working strtod... " >&6; }
14155 if ${ac_cv_func_strtod+:} false; then :
14156 $as_echo_n "(cached) " >&6
14158 if test "$cross_compiling" = yes; then :
14159 ac_cv_func_strtod=no
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 $ac_includes_default
14172 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14173 char *string = " +69";
14176 value = strtod (string, &term);
14177 if (value != 69 || term != (string + 4))
14182 /* Under Solaris 2.4, strtod returns the wrong value for the
14183 terminating character under some conditions. */
14184 char *string = "NaN";
14186 strtod (string, &term);
14187 if (term != string && *(term - 1) == 0)
14194 if ac_fn_c_try_run "$LINENO"; then :
14195 ac_cv_func_strtod=yes
14197 ac_cv_func_strtod=no
14199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14200 conftest.$ac_objext conftest.beam conftest.$ac_ext
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14205 $as_echo "$ac_cv_func_strtod" >&6; }
14206 if test $ac_cv_func_strtod = no; then
14207 case " $LIBOBJS " in
14208 *" strtod.$ac_objext "* ) ;;
14209 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14213 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14214 if test "x$ac_cv_func_pow" = xyes; then :
14218 if test $ac_cv_func_pow = no; then
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14220 $as_echo_n "checking for pow in -lm... " >&6; }
14221 if ${ac_cv_lib_m_pow+:} false; then :
14222 $as_echo_n "(cached) " >&6
14224 ac_check_lib_save_LIBS=$LIBS
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_lib_m_pow=yes
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_lib_save_LIBS
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14254 $as_echo "$ac_cv_lib_m_pow" >&6; }
14255 if test "x$ac_cv_lib_m_pow" = xyes; then :
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14259 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14266 for ac_func in memchr strchr strspn strstr strtol strtoull
14268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14271 cat >>confdefs.h <<_ACEOF
14272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14278 for ac_func in backtrace backtrace_symbols
14280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14283 cat >>confdefs.h <<_ACEOF
14284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14298 if test -n "$PYTHON"; then
14299 # If the user set $PYTHON, use it and don't search something else.
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14301 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14303 # split strings by '.' and convert to numeric. Append some zeros
14304 # because we need at least 4 digits for the hex conversion.
14305 # map returns an iterator in Python 3.0 and a list in 2.x
14306 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14308 # xrange is not present in Python 3.0 and range returns an iterator
14309 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14310 sys.exit(sys.hexversion < minverhex)"
14311 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14312 ($PYTHON -c "$prog") >&5 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; then :
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14317 $as_echo "yes" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14320 $as_echo "no" >&6; }
14321 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14323 am_display_PYTHON=$PYTHON
14325 # Otherwise, try each interpreter until we find one that satisfies
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14328 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14329 if ${am_cv_pathless_PYTHON+:} false; then :
14330 $as_echo_n "(cached) " >&6
14333 for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14334 test "$am_cv_pathless_PYTHON" = none && break
14336 # split strings by '.' and convert to numeric. Append some zeros
14337 # because we need at least 4 digits for the hex conversion.
14338 # map returns an iterator in Python 3.0 and a list in 2.x
14339 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14341 # xrange is not present in Python 3.0 and range returns an iterator
14342 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14343 sys.exit(sys.hexversion < minverhex)"
14344 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14345 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; then :
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14354 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14355 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14356 if test "$am_cv_pathless_PYTHON" = none; then
14359 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14360 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14362 $as_echo_n "checking for $ac_word... " >&6; }
14363 if ${ac_cv_path_PYTHON+:} false; then :
14364 $as_echo_n "(cached) " >&6
14368 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14372 for as_dir in $PATH
14375 test -z "$as_dir" && as_dir=.
14376 for ac_exec_ext in '' $ac_executable_extensions; do
14377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14389 PYTHON=$ac_cv_path_PYTHON
14390 if test -n "$PYTHON"; then
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14392 $as_echo "$PYTHON" >&6; }
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14400 am_display_PYTHON=$am_cv_pathless_PYTHON
14404 if test "$PYTHON" = :; then
14405 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14410 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14411 if ${am_cv_python_version+:} false; then :
14412 $as_echo_n "(cached) " >&6
14414 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14417 $as_echo "$am_cv_python_version" >&6; }
14418 PYTHON_VERSION=$am_cv_python_version
14422 PYTHON_PREFIX='${prefix}'
14424 PYTHON_EXEC_PREFIX='${exec_prefix}'
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14429 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14430 if ${am_cv_python_platform+:} false; then :
14431 $as_echo_n "(cached) " >&6
14433 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14436 $as_echo "$am_cv_python_platform" >&6; }
14437 PYTHON_PLATFORM=$am_cv_python_platform
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14443 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14444 if ${am_cv_python_pythondir+:} false; then :
14445 $as_echo_n "(cached) " >&6
14447 if test "x$prefix" = xNONE
14449 am_py_prefix=$ac_default_prefix
14451 am_py_prefix=$prefix
14453 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
14454 case $am_cv_python_pythondir in
14456 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14457 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14460 case $am_py_prefix in
14463 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14471 $as_echo "$am_cv_python_pythondir" >&6; }
14472 pythondir=$am_cv_python_pythondir
14476 pkgpythondir=\${pythondir}/$PACKAGE
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14480 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14481 if ${am_cv_python_pyexecdir+:} false; then :
14482 $as_echo_n "(cached) " >&6
14484 if test "x$exec_prefix" = xNONE
14486 am_py_exec_prefix=$am_py_prefix
14488 am_py_exec_prefix=$exec_prefix
14490 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
14491 case $am_cv_python_pyexecdir in
14492 $am_py_exec_prefix*)
14493 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14494 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14497 case $am_py_exec_prefix in
14500 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14508 $as_echo "$am_cv_python_pyexecdir" >&6; }
14509 pyexecdir=$am_cv_python_pyexecdir
14513 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14522 # Change backslashes to forward slashes in pyexecdir to avoid
14524 pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14529 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14530 PYTHON_INCLUDES=`$PYTHON-config --includes`
14532 save_CPPFLAGS="$CPPFLAGS"
14533 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14536 #include <Python.h>
14538 if ac_fn_c_try_cpp "$LINENO"; then :
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14540 $as_echo "found" >&6; }
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14544 $as_echo "not found" >&6; }
14545 as_fn_error $? "Python headers not found" "$LINENO" 5
14547 rm -f conftest.err conftest.i conftest.$ac_ext
14548 CPPFLAGS="$save_CPPFLAGS"
14550 if test "x$os_win32" = "xyes"; then
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14553 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14554 if test "x$PYTHON_LIBS" == x; then
14555 PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
14559 LIBS="$LIBS $PYTHON_LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14569 char Py_Initialize ();
14573 return Py_Initialize ();
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14580 $as_echo "found" >&6; };
14582 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14583 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14585 rm -f core conftest.err conftest.$ac_objext \
14586 conftest$ac_exeext conftest.$ac_ext
14591 # Check whether --enable-doctool was given.
14592 if test "${enable_doctool+set}" = set; then :
14593 enableval=$enable_doctool;
14595 enable_doctool=auto
14598 if test x$enable_doctool != xno; then :
14601 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14603 $as_echo_n "checking for python module mako... " >&6; }
14604 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14605 $as_echo_n "(cached) " >&6
14612 except ImportError:
14617 if $PYTHON -c "$prog" 1>&5 2>&5
14619 eval "py_cv_mod_$py_mod_var=yes"
14621 eval "py_cv_mod_$py_mod_var=no"
14626 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14627 if test "x$py_val" != xno; then
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14629 $as_echo "yes" >&6; }
14630 have_python_mako=yes
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14633 $as_echo "no" >&6; }
14634 have_python_mako=no
14639 if test x$enable_doctool = xauto && test x$have_python_mako = xyes ; then :
14641 elif test x$enable_doctool = xauto && test x$have_python_mako = xno ; then :
14643 elif test x$enable_doctool = xyes && test x$have_python_mako = xno ; then :
14644 as_fn_error $? "Python mako module not found" "$LINENO" 5
14646 if test x$enable_doctool != xno; then
14647 BUILD_DOCTOOL_TRUE=
14648 BUILD_DOCTOOL_FALSE='#'
14650 BUILD_DOCTOOL_TRUE='#'
14651 BUILD_DOCTOOL_FALSE=
14655 # Glib documentation
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14659 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14662 # Check whether --with-glib-src was given.
14663 if test "${with_glib_src+set}" = set; then :
14664 withval=$with_glib_src; GLIBSRC=$withval
14668 if test x"$GLIBSRC" != x; then
14670 WITH_GLIBSRC_FALSE='#'
14672 WITH_GLIBSRC_TRUE='#'
14673 WITH_GLIBSRC_FALSE=
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14678 $as_echo "$GLIBSRC" >&6; }
14680 # Check whether --enable-Bsymbolic was given.
14681 if test "${enable_Bsymbolic+set}" = set; then :
14682 enableval=$enable_Bsymbolic;
14684 SAVED_LDFLAGS="${LDFLAGS}"
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
14686 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
14687 LDFLAGS=-Wl,-Bsymbolic-functions
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14694 int main (void) { return 0; }
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702 enable_Bsymbolic=yes
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14705 $as_echo "no" >&6; }
14706 enable_Bsymbolic=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 LDFLAGS="${SAVED_LDFLAGS}"
14714 if test "x${enable_Bsymbolic}" = "xyes"; then
14715 EXTRA_LINK_FLAGS=-Wl,-Bsymbolic-functions
14720 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"
14722 cat >confcache <<\_ACEOF
14723 # This file is a shell script that caches the results of configure
14724 # tests run on this system so they can be shared between configure
14725 # scripts and configure runs, see configure's option --config-cache.
14726 # It is not useful on other systems. If it contains results you don't
14727 # want to keep, you may remove or edit it.
14729 # config.status only pays attention to the cache file if you give it
14730 # the --recheck option to rerun configure.
14732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14734 # following values.
14738 # The following way of writing the cache mishandles newlines in values,
14739 # but we know of no workaround that is simple, portable, and efficient.
14740 # So, we kill variables containing newlines.
14741 # Ultrix sh set writes to stderr and can't be redirected directly,
14742 # and sets the high bit in the cache file unless we assign to the vars.
14744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14745 eval ac_val=\$$ac_var
14749 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14753 _ | IFS | as_nl) ;; #(
14754 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14755 *) { eval $ac_var=; unset $ac_var;} ;;
14761 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14762 *${as_nl}ac_space=\ *)
14763 # `set' does not quote correctly, so add quotes: double-quote
14764 # substitution turns \\\\ into \\, and sed turns \\ into \.
14767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14770 # `set' quotes correctly as required by POSIX, so do not add quotes.
14771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14785 if test -w "$cache_file"; then
14786 if test "x$cache_file" != "x/dev/null"; then
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14788 $as_echo "$as_me: updating cache $cache_file" >&6;}
14789 if test ! -f "$cache_file" || test -h "$cache_file"; then
14790 cat confcache >"$cache_file"
14792 case $cache_file in #(
14794 mv -f confcache "$cache_file"$$ &&
14795 mv -f "$cache_file"$$ "$cache_file" ;; #(
14797 mv -f confcache "$cache_file" ;;
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14803 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14808 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14809 # Let make expand exec_prefix.
14810 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14812 DEFS=-DHAVE_CONFIG_H
14817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14818 # 1. Remove the extension, and $U if already installed.
14819 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14820 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14822 # will be set to the directory where LIBOBJS objects are built.
14823 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14824 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14826 LIBOBJS=$ac_libobjs
14828 LTLIBOBJS=$ac_ltlibobjs
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14832 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14833 if test -n "$am_sleep_pid"; then
14834 # Hide warnings about reused PIDs.
14835 wait $am_sleep_pid 2>/dev/null
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14838 $as_echo "done" >&6; }
14839 if test -n "$EXEEXT"; then
14841 am__EXEEXT_FALSE='#'
14843 am__EXEEXT_TRUE='#'
14847 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14848 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14851 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14852 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14855 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14856 as_fn_error $? "conditional \"AMDEP\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14860 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14863 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
14864 as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
14865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14867 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
14868 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
14869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14871 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14872 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14875 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14876 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14879 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14880 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14883 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14884 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14887 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14888 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14891 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
14892 as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
14893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14895 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
14896 as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
14897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14900 : "${CONFIG_STATUS=./config.status}"
14902 ac_clean_files_save=$ac_clean_files
14903 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14905 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14907 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14909 # Generated by $as_me.
14910 # Run this file to recreate the current configuration.
14911 # Compiler output produced by configure, useful for debugging
14912 # configure, is in config.log if it exists.
14915 ac_cs_recheck=false
14918 SHELL=\${CONFIG_SHELL-$SHELL}
14921 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14922 ## -------------------- ##
14923 ## M4sh Initialization. ##
14924 ## -------------------- ##
14926 # Be more Bourne compatible
14927 DUALCASE=1; export DUALCASE # for MKS sh
14928 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14931 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14932 # is contrary to our usage. Disable this feature.
14933 alias -g '${1+"$@"}'='"$@"'
14934 setopt NO_GLOB_SUBST
14936 case `(set -o) 2>/dev/null` in #(
14948 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14949 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14950 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14952 # Prefer a ksh shell builtin over an external printf program on Solaris,
14953 # but without wasting forks for bash or zsh.
14954 if test -z "$BASH_VERSION$ZSH_VERSION" \
14955 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14956 as_echo='print -r --'
14957 as_echo_n='print -rn --'
14958 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14959 as_echo='printf %s\n'
14960 as_echo_n='printf %s'
14962 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14963 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14964 as_echo_n='/usr/ucb/echo -n'
14966 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14967 as_echo_n_body='eval
14971 expr "X$arg" : "X\\(.*\\)$as_nl";
14972 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14974 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14976 export as_echo_n_body
14977 as_echo_n='sh -c $as_echo_n_body as_echo'
14979 export as_echo_body
14980 as_echo='sh -c $as_echo_body as_echo'
14983 # The user is always right.
14984 if test "${PATH_SEPARATOR+set}" != set; then
14986 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14987 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14994 # We need space, tab and new line, in precisely that order. Quoting is
14995 # there to prevent editors from complaining about space-tab.
14996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14997 # splitting by setting IFS to empty value.)
15000 # Find who we are. Look in the path if we contain no directory separator.
15003 *[\\/]* ) as_myself=$0 ;;
15004 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15005 for as_dir in $PATH
15008 test -z "$as_dir" && as_dir=.
15009 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15015 # We did not find ourselves, most probably we were run as `sh COMMAND'
15016 # in which case we are not to be found in the path.
15017 if test "x$as_myself" = x; then
15020 if test ! -f "$as_myself"; then
15021 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15025 # Unset variables that we do not need and which cause bugs (e.g. in
15026 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15027 # suppresses any "Segmentation fault" message there. '((' could
15028 # trigger a bug in pdksh 5.2.14.
15029 for as_var in BASH_ENV ENV MAIL MAILPATH
15030 do eval test x\${$as_var+set} = xset \
15031 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15044 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15047 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15048 # ----------------------------------------
15049 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15050 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15051 # script with STATUS, using 1 if that was 0.
15054 as_status=$1; test $as_status -eq 0 && as_status=1
15056 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15057 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15059 $as_echo "$as_me: error: $2" >&2
15060 as_fn_exit $as_status
15064 # as_fn_set_status STATUS
15065 # -----------------------
15066 # Set $? to STATUS, without forking.
15067 as_fn_set_status ()
15070 } # as_fn_set_status
15072 # as_fn_exit STATUS
15073 # -----------------
15074 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15078 as_fn_set_status $1
15084 # Portably unset VAR.
15087 { eval $1=; unset $1;}
15089 as_unset=as_fn_unset
15090 # as_fn_append VAR VALUE
15091 # ----------------------
15092 # Append the text in VALUE to the end of the definition contained in VAR. Take
15093 # advantage of any shell optimizations that allow amortized linear growth over
15094 # repeated appends, instead of the typical quadratic growth present in naive
15096 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15097 eval 'as_fn_append ()
15108 # as_fn_arith ARG...
15109 # ------------------
15110 # Perform arithmetic evaluation on the ARGs, and store the result in the
15111 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15112 # must be portable across $(()) and expr.
15113 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15114 eval 'as_fn_arith ()
15121 as_val=`expr "$@" || test $? -eq 1`
15126 if expr a : '\(a\)' >/dev/null 2>&1 &&
15127 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15133 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15134 as_basename=basename
15139 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15145 as_me=`$as_basename -- "$0" ||
15146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15147 X"$0" : 'X\(//\)$' \| \
15148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15150 sed '/^.*\/\([^/][^/]*\)\/*$/{
15164 # Avoid depending upon Character Ranges.
15165 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15166 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15167 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15168 as_cr_digits='0123456789'
15169 as_cr_alnum=$as_cr_Letters$as_cr_digits
15171 ECHO_C= ECHO_N= ECHO_T=
15172 case `echo -n x` in #(((((
15174 case `echo 'xy\c'` in
15175 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15177 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15184 rm -f conf$$ conf$$.exe conf$$.file
15185 if test -d conf$$.dir; then
15186 rm -f conf$$.dir/conf$$.file
15189 mkdir conf$$.dir 2>/dev/null
15191 if (echo >conf$$.file) 2>/dev/null; then
15192 if ln -s conf$$.file conf$$ 2>/dev/null; then
15194 # ... but there are two gotchas:
15195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15197 # In both cases, we have to default to `cp -pR'.
15198 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15200 elif ln conf$$.file conf$$ 2>/dev/null; then
15208 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15209 rmdir conf$$.dir 2>/dev/null
15214 # Create "$as_dir" as a directory, including parents if necessary.
15219 -*) as_dir=./$as_dir;;
15221 test -d "$as_dir" || eval $as_mkdir_p || {
15225 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15226 *) as_qdir=$as_dir;;
15228 as_dirs="'$as_qdir' $as_dirs"
15229 as_dir=`$as_dirname -- "$as_dir" ||
15230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15231 X"$as_dir" : 'X\(//\)[^/]' \| \
15232 X"$as_dir" : 'X\(//\)$' \| \
15233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15234 $as_echo X"$as_dir" |
15235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15239 /^X\(\/\/\)[^/].*/{
15252 test -d "$as_dir" && break
15254 test -z "$as_dirs" || eval "mkdir $as_dirs"
15255 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15259 if mkdir -p . 2>/dev/null; then
15260 as_mkdir_p='mkdir -p "$as_dir"'
15262 test -d ./-p && rmdir ./-p
15267 # as_fn_executable_p FILE
15268 # -----------------------
15269 # Test if FILE is an executable regular file.
15270 as_fn_executable_p ()
15272 test -f "$1" && test -x "$1"
15273 } # as_fn_executable_p
15274 as_test_x='test -x'
15275 as_executable_p=as_fn_executable_p
15277 # Sed expression to map a string onto a valid CPP name.
15278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15280 # Sed expression to map a string onto a valid variable name.
15281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15285 ## ----------------------------------- ##
15286 ## Main body of $CONFIG_STATUS script. ##
15287 ## ----------------------------------- ##
15289 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15292 # Save the log message, to keep $0 and so on meaningful, and to
15293 # report actual input values of CONFIG_FILES etc. instead of their
15294 # values after options handling.
15296 This file was extended by gobject-introspection $as_me 1.35.8, which was
15297 generated by GNU Autoconf 2.69. Invocation command line was
15299 CONFIG_FILES = $CONFIG_FILES
15300 CONFIG_HEADERS = $CONFIG_HEADERS
15301 CONFIG_LINKS = $CONFIG_LINKS
15302 CONFIG_COMMANDS = $CONFIG_COMMANDS
15305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15310 case $ac_config_files in *"
15311 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15314 case $ac_config_headers in *"
15315 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15320 # Files that config.status was made for.
15321 config_files="$ac_config_files"
15322 config_headers="$ac_config_headers"
15323 config_commands="$ac_config_commands"
15327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15329 \`$as_me' instantiates files and other configuration actions
15330 from templates according to the current configuration. Unless the files
15331 and actions are specified as TAGs, all are instantiated by default.
15333 Usage: $0 [OPTION]... [TAG]...
15335 -h, --help print this help, then exit
15336 -V, --version print version number and configuration settings, then exit
15337 --config print configuration, then exit
15338 -q, --quiet, --silent
15339 do not print progress messages
15340 -d, --debug don't remove temporary files
15341 --recheck update $as_me by reconfiguring in the same conditions
15342 --file=FILE[:TEMPLATE]
15343 instantiate the configuration file FILE
15344 --header=FILE[:TEMPLATE]
15345 instantiate the configuration header FILE
15347 Configuration files:
15350 Configuration headers:
15353 Configuration commands:
15356 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15362 gobject-introspection config.status 1.35.8
15363 configured by $0, generated by GNU Autoconf 2.69,
15364 with options \\"\$ac_cs_config\\"
15366 Copyright (C) 2012 Free Software Foundation, Inc.
15367 This config.status script is free software; the Free Software Foundation
15368 gives unlimited permission to copy, distribute and modify it."
15375 test -n "\$AWK" || AWK=awk
15378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15379 # The default lists apply if the user does not specify any file.
15385 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15386 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15390 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15402 # Handling of the options.
15403 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15405 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15406 $as_echo "$ac_cs_version"; exit ;;
15407 --config | --confi | --conf | --con | --co | --c )
15408 $as_echo "$ac_cs_config"; exit ;;
15409 --debug | --debu | --deb | --de | --d | -d )
15411 --file | --fil | --fi | --f )
15414 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15415 '') as_fn_error $? "missing file argument" ;;
15417 as_fn_append CONFIG_FILES " '$ac_optarg'"
15418 ac_need_defaults=false;;
15419 --header | --heade | --head | --hea )
15422 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15424 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15425 ac_need_defaults=false;;
15427 # Conflict between --help and --header
15428 as_fn_error $? "ambiguous option: \`$1'
15429 Try \`$0 --help' for more information.";;
15430 --help | --hel | -h )
15431 $as_echo "$ac_cs_usage"; exit ;;
15432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15433 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15436 # This is an error.
15437 -*) as_fn_error $? "unrecognized option: \`$1'
15438 Try \`$0 --help' for more information." ;;
15440 *) as_fn_append ac_config_targets " $1"
15441 ac_need_defaults=false ;;
15447 ac_configure_extra_args=
15449 if $ac_cs_silent; then
15451 ac_configure_extra_args="$ac_configure_extra_args --silent"
15455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15456 if \$ac_cs_recheck; then
15457 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15459 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15460 CONFIG_SHELL='$SHELL'
15461 export CONFIG_SHELL
15466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15470 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15471 ## Running $as_me. ##
15477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15484 # The HP-UX ksh and POSIX shell print the target directory to stdout
15485 # if CDPATH is set.
15486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15488 sed_quote_subst='$sed_quote_subst'
15489 double_quote_subst='$double_quote_subst'
15490 delay_variable_subst='$delay_variable_subst'
15491 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15492 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15493 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15494 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15495 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15496 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15497 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15498 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15499 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15500 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15501 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15502 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15503 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15504 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15505 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15506 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15507 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15508 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15509 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15510 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15511 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15512 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15513 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15514 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15515 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15516 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15517 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15518 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15519 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15520 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15521 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15522 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15523 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15524 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15525 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15526 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15527 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15528 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15529 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15530 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15531 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15532 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15533 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15534 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15535 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15536 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15537 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15538 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15539 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15540 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15541 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15542 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15543 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15544 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15545 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15546 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15547 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"`'
15548 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15549 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15550 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15551 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15552 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15553 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15554 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15555 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15556 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15557 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15558 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15559 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15560 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15561 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15562 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15563 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15564 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15565 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15566 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15567 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15568 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15569 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15570 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15571 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15572 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15573 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15574 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15575 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15576 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15577 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15578 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15579 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15580 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15581 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15582 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15583 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15584 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15585 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15586 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15587 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15588 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15589 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15590 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15591 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15592 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15593 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15594 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15595 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15596 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15597 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15598 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15599 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15600 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15601 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15602 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15603 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15604 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15605 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15606 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15607 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15608 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15609 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15610 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15611 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15612 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15613 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15614 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15615 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15616 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15617 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15618 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15619 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15620 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15623 LTCFLAGS='$LTCFLAGS'
15624 compiler='$compiler_DEFAULT'
15626 # A function that is used when there is no print builtin or printf.
15627 func_fallback_echo ()
15629 eval 'cat <<_LTECHO_EOF
15634 # Quote evaled strings.
15649 deplibs_check_method \
15654 sharedlib_from_linklib_cmd \
15657 archiver_list_spec \
15663 lt_cv_sys_global_symbol_pipe \
15664 lt_cv_sys_global_symbol_to_cdecl \
15665 lt_cv_sys_global_symbol_to_c_name_address \
15666 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15667 nm_file_list_spec \
15668 lt_prog_compiler_no_builtin_flag \
15669 lt_prog_compiler_pic \
15670 lt_prog_compiler_wl \
15671 lt_prog_compiler_static \
15672 lt_cv_prog_compiler_c_o \
15681 export_dynamic_flag_spec \
15682 whole_archive_flag_spec \
15683 compiler_needs_object \
15685 allow_undefined_flag \
15686 no_undefined_flag \
15687 hardcode_libdir_flag_spec \
15688 hardcode_libdir_separator \
15692 variables_saved_for_relink \
15694 library_names_spec \
15696 install_override_mode \
15700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15701 *[\\\\\\\`\\"\\\$]*)
15702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15710 # Double-quote double-evaled strings.
15711 for var in reload_cmds \
15712 old_postinstall_cmds \
15713 old_postuninstall_cmds \
15715 extract_expsyms_cmds \
15716 old_archive_from_new_cmds \
15717 old_archive_from_expsyms_cmds \
15719 archive_expsym_cmds \
15721 module_expsym_cmds \
15722 export_symbols_cmds \
15726 postuninstall_cmds \
15728 sys_lib_search_path_spec \
15729 sys_lib_dlsearch_path_spec; do
15730 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15731 *[\\\\\\\`\\"\\\$]*)
15732 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15735 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15740 ac_aux_dir='$ac_aux_dir'
15741 xsi_shell='$xsi_shell'
15742 lt_shell_append='$lt_shell_append'
15744 # See if we are running on zsh, and set the options which allow our
15745 # commands through without removal of \ escapes INIT.
15746 if test -n "\${ZSH_VERSION+set}" ; then
15747 setopt NO_GLOB_SUBST
15753 TIMESTAMP='$TIMESTAMP'
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15764 # Handling of arguments.
15765 for ac_config_target in $ac_config_targets
15767 case $ac_config_target in
15768 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15769 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15770 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15771 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15772 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15773 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15774 "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15775 "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15776 "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15777 "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15778 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15779 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15780 "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15781 "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15782 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
15783 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15784 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
15785 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
15786 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
15788 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15793 # If the user did not use the arguments to specify the items to instantiate,
15794 # then the envvar interface is used. Set only those that are not.
15795 # We use the long form for the default assignment because of an extremely
15796 # bizarre bug on SunOS 4.1.3.
15797 if $ac_need_defaults; then
15798 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15799 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15800 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15803 # Have a temporary directory for convenience. Make it in the build tree
15804 # simply because there is no reason against having it here, and in addition,
15805 # creating and moving files from /tmp can sometimes cause problems.
15806 # Hook for its removal unless debugging.
15807 # Note that there is a small window in which the directory will not be cleaned:
15808 # after its creation but before its name has been assigned to `$tmp'.
15812 trap 'exit_status=$?
15813 : "${ac_tmp:=$tmp}"
15814 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15816 trap 'as_fn_exit 1' 1 2 13 15
15818 # Create a (secure) tmp directory for tmp files.
15821 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15825 tmp=./conf$$-$RANDOM
15826 (umask 077 && mkdir "$tmp")
15827 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15830 # Set up the scripts for CONFIG_FILES section.
15831 # No need to generate them if there are no CONFIG_FILES.
15832 # This happens for instance with `./config.status config.h'.
15833 if test -n "$CONFIG_FILES"; then
15836 ac_cr=`echo X | tr X '\015'`
15837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15838 # But we know of no other shell where ac_cr would be empty at this
15839 # point, so we can use a bashism as a fallback.
15840 if test "x$ac_cr" = x; then
15841 eval ac_cr=\$\'\\r\'
15843 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15847 ac_cs_awk_cr=$ac_cr
15850 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15855 echo "cat >conf$$subs.awk <<_ACEOF" &&
15856 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15858 } >conf$$subs.sh ||
15859 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15862 for ac_last_try in false false false false false :; do
15863 . ./conf$$subs.sh ||
15864 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15866 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15867 if test $ac_delim_n = $ac_delim_num; then
15869 elif $ac_last_try; then
15870 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15875 rm -f conf$$subs.sh
15877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15878 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15882 s/^/S["/; s/!.*/"]=/
15892 s/\(.\{148\}\)..*/\1/
15894 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15906 s/\(.\{148\}\)..*/\1/
15908 s/["\\]/\\&/g; s/^/"/; s/$/"/
15912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15917 ' <conf$$subs.awk | sed '
15922 ' >>$CONFIG_STATUS || ac_write_fail=1
15923 rm -f conf$$subs.awk
15924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15926 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15927 for (key in S) S_is_set[key] = 1
15933 nfields = split(line, field, "@")
15935 len = length(field[1])
15936 for (i = 2; i < nfields; i++) {
15938 keylen = length(key)
15939 if (S_is_set[key]) {
15941 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15942 len += length(value) + length(field[++i])
15953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15954 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15955 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15958 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15959 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15962 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15963 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15964 # trailing colons and then remove the whole line if VPATH becomes empty
15965 # (actually we leave an empty line to preserve line numbers).
15966 if test "x$srcdir" = x.; then
15967 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15986 fi # test -n "$CONFIG_FILES"
15988 # Set up the scripts for CONFIG_HEADERS section.
15989 # No need to generate them if there are no CONFIG_HEADERS.
15990 # This happens for instance with `./config.status Makefile'.
15991 if test -n "$CONFIG_HEADERS"; then
15992 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15996 # Transform confdefs.h into an awk script `defines.awk', embedded as
15997 # here-document in config.status, that substitutes the proper values into
15998 # config.h.in to produce config.h.
16000 # Create a delimiter string that does not exist in confdefs.h, to ease
16001 # handling of long lines.
16003 for ac_last_try in false false :; do
16004 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16005 if test -z "$ac_tt"; then
16007 elif $ac_last_try; then
16008 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16014 # For the awk script, D is an array of macro values keyed by name,
16015 # likewise P contains macro parameters if any. Preserve backslash
16016 # newline sequences.
16018 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16020 s/.\{148\}/&'"$ac_delim"'/g
16023 s/^[ ]*#[ ]*define[ ][ ]*/ /
16030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16032 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16037 D["\1"]=" \3\\\\\\n"\\/p
16039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16044 s/.\{148\}/&'"$ac_delim"'/g
16049 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16052 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16054 ' <confdefs.h | sed '
16055 s/'"$ac_delim"'/"\\\
16056 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16059 for (key in D) D_is_set[key] = 1
16062 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16064 split(line, arg, " ")
16065 if (arg[1] == "#") {
16069 defundef = substr(arg[1], 2)
16072 split(mac1, mac2, "(") #)
16074 prefix = substr(line, 1, index(line, defundef) - 1)
16075 if (D_is_set[macro]) {
16076 # Preserve the white space surrounding the "#".
16077 print prefix "define", macro P[macro] D[macro]
16080 # Replace #undef with comments. This is necessary, for example,
16081 # in the case of _POSIX_SOURCE, which is predefined and required
16082 # on some systems where configure will not decide to define it.
16083 if (defundef == "undef") {
16084 print "/*", prefix defundef, macro, "*/"
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16093 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16094 fi # test -n "$CONFIG_HEADERS"
16097 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16102 :[FHLC]) ac_mode=$ac_tag; continue;;
16104 case $ac_mode$ac_tag in
16106 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16107 :[FH]-) ac_tag=-:-;;
16108 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16125 -) ac_f="$ac_tmp/stdin";;
16126 *) # Look for the file first in the build tree, then in the source tree
16127 # (if the path is not absolute). The absolute path cannot be DOS-style,
16128 # because $ac_f cannot contain `:'.
16132 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16134 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16136 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16137 as_fn_append ac_file_inputs " '$ac_f'"
16140 # Let's still pretend it is `configure' which instantiates (i.e., don't
16141 # use $as_me), people would be surprised to read:
16142 # /* config.h. Generated by config.status. */
16143 configure_input='Generated from '`
16144 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16146 if test x"$ac_file" != x-; then
16147 configure_input="$ac_file. $configure_input"
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16149 $as_echo "$as_me: creating $ac_file" >&6;}
16151 # Neutralize special characters interpreted by sed in replacement strings.
16152 case $configure_input in #(
16153 *\&* | *\|* | *\\* )
16154 ac_sed_conf_input=`$as_echo "$configure_input" |
16155 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16156 *) ac_sed_conf_input=$configure_input;;
16160 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16166 ac_dir=`$as_dirname -- "$ac_file" ||
16167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16168 X"$ac_file" : 'X\(//\)[^/]' \| \
16169 X"$ac_file" : 'X\(//\)$' \| \
16170 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16171 $as_echo X"$ac_file" |
16172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16176 /^X\(\/\/\)[^/].*/{
16189 as_dir="$ac_dir"; as_fn_mkdir_p
16193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16195 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196 # A ".." for each directory in $ac_dir_suffix.
16197 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198 case $ac_top_builddir_sub in
16199 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16203 ac_abs_top_builddir=$ac_pwd
16204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 # for backward compatibility:
16206 ac_top_builddir=$ac_top_build_prefix
16209 .) # We are building in place.
16211 ac_top_srcdir=$ac_top_builddir_sub
16212 ac_abs_top_srcdir=$ac_pwd ;;
16213 [\\/]* | ?:[\\/]* ) # Absolute name.
16214 ac_srcdir=$srcdir$ac_dir_suffix;
16215 ac_top_srcdir=$srcdir
16216 ac_abs_top_srcdir=$srcdir ;;
16217 *) # Relative name.
16218 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219 ac_top_srcdir=$ac_top_build_prefix$srcdir
16220 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16232 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16233 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16235 ac_MKDIR_P=$MKDIR_P
16237 [\\/$]* | ?:[\\/]* ) ;;
16238 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16243 # If the template does not know about datarootdir, expand it.
16244 # FIXME: This hack should be removed a few years after 2.60.
16245 ac_datarootdir_hack=; ac_datarootdir_seen=
16256 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16257 *datarootdir*) ac_datarootdir_seen=yes;;
16258 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16260 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16263 ac_datarootdir_hack='
16264 s&@datadir@&$datadir&g
16265 s&@docdir@&$docdir&g
16266 s&@infodir@&$infodir&g
16267 s&@localedir@&$localedir&g
16268 s&@mandir@&$mandir&g
16269 s&\\\${datarootdir}&$datarootdir&g' ;;
16273 # Neutralize VPATH when `$srcdir' = `.'.
16274 # Shell code in configure.ac might set extrasub.
16275 # FIXME: do we really want to maintain this feature?
16276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16277 ac_sed_extra="$ac_vpsub
16280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16283 s|@configure_input@|$ac_sed_conf_input|;t t
16284 s&@top_builddir@&$ac_top_builddir_sub&;t t
16285 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16286 s&@srcdir@&$ac_srcdir&;t t
16287 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16288 s&@top_srcdir@&$ac_top_srcdir&;t t
16289 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16290 s&@builddir@&$ac_builddir&;t t
16291 s&@abs_builddir@&$ac_abs_builddir&;t t
16292 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16293 s&@INSTALL@&$ac_INSTALL&;t t
16294 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16295 $ac_datarootdir_hack
16297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16298 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16301 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16303 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16305 which seems to be undefined. Please make sure it is defined" >&5
16306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16307 which seems to be undefined. Please make sure it is defined" >&2;}
16309 rm -f "$ac_tmp/stdin"
16311 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16312 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16314 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16320 if test x"$ac_file" != x-; then
16322 $as_echo "/* $configure_input */" \
16323 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16324 } >"$ac_tmp/config.h" \
16325 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16326 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16331 mv "$ac_tmp/config.h" "$ac_file" \
16332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16335 $as_echo "/* $configure_input */" \
16336 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16337 || as_fn_error $? "could not create -" "$LINENO" 5
16339 # Compute "$ac_file"'s index in $config_headers.
16342 for _am_header in $config_headers :; do
16343 case $_am_header in
16344 $_am_arg | $_am_arg:* )
16347 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16350 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16351 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16352 X"$_am_arg" : 'X\(//\)[^/]' \| \
16353 X"$_am_arg" : 'X\(//\)$' \| \
16354 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16355 $as_echo X"$_am_arg" |
16356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16360 /^X\(\/\/\)[^/].*/{
16372 s/.*/./; q'`/stamp-h$_am_stamp_count
16375 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16376 $as_echo "$as_me: executing $ac_file commands" >&6;}
16381 case $ac_file$ac_mode in
16382 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16383 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16384 # are listed without --file. Let's play safe and only enable the eval
16385 # if we detect the quoting.
16386 case $CONFIG_FILES in
16387 *\'*) eval set x "$CONFIG_FILES" ;;
16388 *) set x $CONFIG_FILES ;;
16393 # Strip MF so we end up with the name of the file.
16394 mf=`echo "$mf" | sed -e 's/:.*$//'`
16395 # Check whether this is an Automake generated Makefile or not.
16396 # We used to match only the files named 'Makefile.in', but
16397 # some people rename them; so instead we look at the file content.
16398 # Grep'ing the first line is not enough: some people post-process
16399 # each Makefile.in and add a new line on top of each file to say so.
16400 # Grep'ing the whole file is not good either: AIX grep has a line
16401 # limit of 2048, but all sed's we know have understand at least 4000.
16402 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16403 dirpart=`$as_dirname -- "$mf" ||
16404 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16405 X"$mf" : 'X\(//\)[^/]' \| \
16406 X"$mf" : 'X\(//\)$' \| \
16407 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16413 /^X\(\/\/\)[^/].*/{
16429 # Extract the definition of DEPDIR, am__include, and am__quote
16430 # from the Makefile without running 'make'.
16431 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16432 test -z "$DEPDIR" && continue
16433 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16434 test -z "am__include" && continue
16435 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16436 # Find all dependency output files, they are included files with
16437 # $(DEPDIR) in their names. We invoke sed twice because it is the
16438 # simplest approach to changing $(DEPDIR) to its actual value in the
16440 for file in `sed -n "
16441 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16442 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16443 # Make sure the directory exists.
16444 test -f "$dirpart/$file" && continue
16445 fdir=`$as_dirname -- "$file" ||
16446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16447 X"$file" : 'X\(//\)[^/]' \| \
16448 X"$file" : 'X\(//\)$' \| \
16449 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16450 $as_echo X"$file" |
16451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16455 /^X\(\/\/\)[^/].*/{
16468 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16469 # echo "creating $dirpart/$file"
16470 echo '# dummy' > "$dirpart/$file"
16477 # See if we are running on zsh, and set the options which allow our
16478 # commands through without removal of \ escapes.
16479 if test -n "${ZSH_VERSION+set}" ; then
16480 setopt NO_GLOB_SUBST
16483 cfgfile="${ofile}T"
16484 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16487 cat <<_LT_EOF >> "$cfgfile"
16490 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16491 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16496 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16498 # Written by Gordon Matzigkeit, 1996
16500 # This file is part of GNU Libtool.
16502 # GNU Libtool is free software; you can redistribute it and/or
16503 # modify it under the terms of the GNU General Public License as
16504 # published by the Free Software Foundation; either version 2 of
16505 # the License, or (at your option) any later version.
16507 # As a special exception to the GNU General Public License,
16508 # if you distribute this file as part of a program or library that
16509 # is built using GNU Libtool, you may include this file under the
16510 # same distribution terms that you use for the rest of that program.
16512 # GNU Libtool is distributed in the hope that it will be useful,
16513 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16514 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16515 # GNU General Public License for more details.
16517 # You should have received a copy of the GNU General Public License
16518 # along with GNU Libtool; see the file COPYING. If not, a copy
16519 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16520 # obtained by writing to the Free Software Foundation, Inc.,
16521 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16524 # The names of the tagged configurations supported by this script.
16527 # ### BEGIN LIBTOOL CONFIG
16529 # Which release of libtool.m4 was used?
16530 macro_version=$macro_version
16531 macro_revision=$macro_revision
16533 # Whether or not to build shared libraries.
16534 build_libtool_libs=$enable_shared
16536 # Whether or not to build static libraries.
16537 build_old_libs=$enable_static
16539 # What type of objects to build.
16542 # Whether or not to optimize for fast installation.
16543 fast_install=$enable_fast_install
16545 # Shell to use when invoking shell scripts.
16548 # An echo program that protects backslashes.
16551 # The PATH separator for the build system.
16552 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16555 host_alias=$host_alias
16559 # The build system.
16560 build_alias=$build_alias
16564 # A sed program that does not truncate output.
16567 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16568 Xsed="\$SED -e 1s/^X//"
16570 # A grep program that handles long lines.
16576 # A literal string matcher.
16579 # A BSD- or MS-compatible name lister.
16582 # Whether we need soft or hard links.
16585 # What is the maximum length of a command?
16586 max_cmd_len=$max_cmd_len
16588 # Object file suffix (normally "o").
16591 # Executable file suffix (normally "").
16594 # whether the shell understands "unset".
16597 # turn spaces into newlines.
16600 # turn newlines into spaces.
16603 # convert \$build file names to \$host format.
16604 to_host_file_cmd=$lt_cv_to_host_file_cmd
16606 # convert \$build files to toolchain format.
16607 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16609 # An object symbol dumper.
16610 OBJDUMP=$lt_OBJDUMP
16612 # Method to check whether dependent libraries are shared objects.
16613 deplibs_check_method=$lt_deplibs_check_method
16615 # Command to use when deplibs_check_method = "file_magic".
16616 file_magic_cmd=$lt_file_magic_cmd
16618 # How to find potential files when deplibs_check_method = "file_magic".
16619 file_magic_glob=$lt_file_magic_glob
16621 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16622 want_nocaseglob=$lt_want_nocaseglob
16624 # DLL creation program.
16625 DLLTOOL=$lt_DLLTOOL
16627 # Command to associate shared and link libraries.
16628 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16633 # Flags to create an archive.
16634 AR_FLAGS=$lt_AR_FLAGS
16636 # How to feed a file listing to the archiver.
16637 archiver_list_spec=$lt_archiver_list_spec
16639 # A symbol stripping program.
16642 # Commands used to install an old-style archive.
16644 old_postinstall_cmds=$lt_old_postinstall_cmds
16645 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16647 # Whether to use a lock for old archive extraction.
16648 lock_old_archive_extraction=$lock_old_archive_extraction
16653 # LTCC compiler flags.
16654 LTCFLAGS=$lt_CFLAGS
16656 # Take the output of nm and produce a listing of raw symbols and C names.
16657 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16659 # Transform the output of nm in a proper C declaration.
16660 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16662 # Transform the output of nm in a C name address pair.
16663 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16665 # Transform the output of nm in a C name address pair when lib prefix is needed.
16666 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16668 # Specify filename containing input files for \$NM.
16669 nm_file_list_spec=$lt_nm_file_list_spec
16671 # The root where to search for dependent libraries,and in which our libraries should be installed.
16672 lt_sysroot=$lt_sysroot
16674 # The name of the directory that contains temporary libtool files.
16677 # Used to examine libraries when file_magic_cmd begins with "file".
16678 MAGIC_CMD=$MAGIC_CMD
16680 # Must we lock files when doing compilation?
16681 need_locks=$lt_need_locks
16684 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16686 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16687 DSYMUTIL=$lt_DSYMUTIL
16689 # Tool to change global to local symbols on Mac OS X.
16692 # Tool to manipulate fat objects and archives on Mac OS X.
16695 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16698 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16699 OTOOL64=$lt_OTOOL64
16701 # Old archive suffix (normally "a").
16704 # Shared library suffix (normally ".so").
16705 shrext_cmds=$lt_shrext_cmds
16707 # The commands to extract the exported symbol list from a shared archive.
16708 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16710 # Variables whose values should be saved in libtool wrapper scripts and
16711 # restored at link time.
16712 variables_saved_for_relink=$lt_variables_saved_for_relink
16714 # Do we need the "lib" prefix for modules?
16715 need_lib_prefix=$need_lib_prefix
16717 # Do we need a version for libraries?
16718 need_version=$need_version
16720 # Library versioning type.
16721 version_type=$version_type
16723 # Shared library runtime path variable.
16724 runpath_var=$runpath_var
16726 # Shared library path variable.
16727 shlibpath_var=$shlibpath_var
16729 # Is shlibpath searched before the hard-coded library search path?
16730 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16732 # Format of library name prefix.
16733 libname_spec=$lt_libname_spec
16735 # List of archive names. First name is the real one, the rest are links.
16736 # The last name is the one that the linker finds with -lNAME
16737 library_names_spec=$lt_library_names_spec
16739 # The coded name of the library, if different from the real name.
16740 soname_spec=$lt_soname_spec
16742 # Permission mode override for installation of shared libraries.
16743 install_override_mode=$lt_install_override_mode
16745 # Command to use after installation of a shared archive.
16746 postinstall_cmds=$lt_postinstall_cmds
16748 # Command to use after uninstallation of a shared archive.
16749 postuninstall_cmds=$lt_postuninstall_cmds
16751 # Commands used to finish a libtool library installation in a directory.
16752 finish_cmds=$lt_finish_cmds
16754 # As "finish_cmds", except a single script fragment to be evaled but
16756 finish_eval=$lt_finish_eval
16758 # Whether we should hardcode library paths into libraries.
16759 hardcode_into_libs=$hardcode_into_libs
16761 # Compile-time system search path for libraries.
16762 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16764 # Run-time system search path for libraries.
16765 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16767 # Whether dlopen is supported.
16768 dlopen_support=$enable_dlopen
16770 # Whether dlopen of programs is supported.
16771 dlopen_self=$enable_dlopen_self
16773 # Whether dlopen of statically linked programs is supported.
16774 dlopen_self_static=$enable_dlopen_self_static
16776 # Commands to strip libraries.
16777 old_striplib=$lt_old_striplib
16778 striplib=$lt_striplib
16781 # The linker used to build libraries.
16784 # How to create reloadable object files.
16785 reload_flag=$lt_reload_flag
16786 reload_cmds=$lt_reload_cmds
16788 # Commands used to build an old-style archive.
16789 old_archive_cmds=$lt_old_archive_cmds
16791 # A language specific compiler.
16794 # Is the compiler the GNU compiler?
16797 # Compiler flag to turn off builtin functions.
16798 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16800 # Additional compiler flags for building library objects.
16801 pic_flag=$lt_lt_prog_compiler_pic
16803 # How to pass a linker flag through the compiler.
16804 wl=$lt_lt_prog_compiler_wl
16806 # Compiler flag to prevent dynamic linking.
16807 link_static_flag=$lt_lt_prog_compiler_static
16809 # Does compiler simultaneously support -c and -o options?
16810 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16812 # Whether or not to add -lc for building shared libraries.
16813 build_libtool_need_lc=$archive_cmds_need_lc
16815 # Whether or not to disallow shared libs when runtime libs are static.
16816 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16818 # Compiler flag to allow reflexive dlopens.
16819 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16821 # Compiler flag to generate shared objects directly from archives.
16822 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16824 # Whether the compiler copes with passing no objects directly.
16825 compiler_needs_object=$lt_compiler_needs_object
16827 # Create an old-style archive from a shared archive.
16828 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16830 # Create a temporary old-style archive to link instead of a shared archive.
16831 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16833 # Commands used to build a shared archive.
16834 archive_cmds=$lt_archive_cmds
16835 archive_expsym_cmds=$lt_archive_expsym_cmds
16837 # Commands used to build a loadable module if different from building
16838 # a shared archive.
16839 module_cmds=$lt_module_cmds
16840 module_expsym_cmds=$lt_module_expsym_cmds
16842 # Whether we are building with GNU ld or not.
16843 with_gnu_ld=$lt_with_gnu_ld
16845 # Flag that allows shared libraries with undefined symbols to be built.
16846 allow_undefined_flag=$lt_allow_undefined_flag
16848 # Flag that enforces no undefined symbols.
16849 no_undefined_flag=$lt_no_undefined_flag
16851 # Flag to hardcode \$libdir into a binary during linking.
16852 # This must work even if \$libdir does not exist
16853 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16855 # Whether we need a single "-rpath" flag with a separated argument.
16856 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16859 # DIR into the resulting binary.
16860 hardcode_direct=$hardcode_direct
16862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16863 # DIR into the resulting binary and the resulting library dependency is
16864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16865 # library is relocated.
16866 hardcode_direct_absolute=$hardcode_direct_absolute
16868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16869 # into the resulting binary.
16870 hardcode_minus_L=$hardcode_minus_L
16872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16873 # into the resulting binary.
16874 hardcode_shlibpath_var=$hardcode_shlibpath_var
16876 # Set to "yes" if building a shared library automatically hardcodes DIR
16877 # into the library and all subsequent libraries and executables linked
16879 hardcode_automatic=$hardcode_automatic
16881 # Set to yes if linker adds runtime paths of dependent libraries
16882 # to runtime path list.
16883 inherit_rpath=$inherit_rpath
16885 # Whether libtool must link a program against all its dependency libraries.
16886 link_all_deplibs=$link_all_deplibs
16888 # Set to "yes" if exported symbols are required.
16889 always_export_symbols=$always_export_symbols
16891 # The commands to list exported symbols.
16892 export_symbols_cmds=$lt_export_symbols_cmds
16894 # Symbols that should not be listed in the preloaded symbols.
16895 exclude_expsyms=$lt_exclude_expsyms
16897 # Symbols that must always be exported.
16898 include_expsyms=$lt_include_expsyms
16900 # Commands necessary for linking programs (against libraries) with templates.
16901 prelink_cmds=$lt_prelink_cmds
16903 # Commands necessary for finishing linking programs.
16904 postlink_cmds=$lt_postlink_cmds
16906 # Specify filename containing input files.
16907 file_list_spec=$lt_file_list_spec
16909 # How to hardcode a shared library path into an executable.
16910 hardcode_action=$hardcode_action
16912 # ### END LIBTOOL CONFIG
16918 cat <<\_LT_EOF >> "$cfgfile"
16919 # AIX sometimes has problems with the GCC collect2 program. For some
16920 # reason, if we set the COLLECT_NAMES environment variable, the problems
16921 # vanish in a puff of smoke.
16922 if test "X${COLLECT_NAMES+set}" != Xset; then
16924 export COLLECT_NAMES
16931 ltmain="$ac_aux_dir/ltmain.sh"
16934 # We use sed instead of cat because bash on DJGPP gets confused if
16935 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16936 # text mode, it properly converts lines to CR/LF. This bash problem
16937 # is reportedly fixed, but why not run on old versions too?
16938 sed '$q' "$ltmain" >> "$cfgfile" \
16939 || (rm -f "$cfgfile"; exit 1)
16941 if test x"$xsi_shell" = xyes; then
16942 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16946 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16947 \ * ) func_dirname_result="${3}" ;;\
16949 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16950 && mv -f "$cfgfile.tmp" "$cfgfile" \
16951 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16952 test 0 -eq $? || _lt_function_replace_fail=:
16955 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16958 \ func_basename_result="${1##*/}"\
16959 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16960 && mv -f "$cfgfile.tmp" "$cfgfile" \
16961 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16962 test 0 -eq $? || _lt_function_replace_fail=:
16965 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16966 func_dirname_and_basename ()\
16969 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16970 \ * ) func_dirname_result="${3}" ;;\
16972 \ func_basename_result="${1##*/}"\
16973 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16974 && mv -f "$cfgfile.tmp" "$cfgfile" \
16975 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16976 test 0 -eq $? || _lt_function_replace_fail=:
16979 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16982 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16983 \ # positional parameters, so assign one to ordinary parameter first.\
16984 \ func_stripname_result=${3}\
16985 \ func_stripname_result=${func_stripname_result#"${1}"}\
16986 \ func_stripname_result=${func_stripname_result%"${2}"}\
16987 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16988 && mv -f "$cfgfile.tmp" "$cfgfile" \
16989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16990 test 0 -eq $? || _lt_function_replace_fail=:
16993 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16994 func_split_long_opt ()\
16996 \ func_split_long_opt_name=${1%%=*}\
16997 \ func_split_long_opt_arg=${1#*=}\
16998 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16999 && mv -f "$cfgfile.tmp" "$cfgfile" \
17000 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17001 test 0 -eq $? || _lt_function_replace_fail=:
17004 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17005 func_split_short_opt ()\
17007 \ func_split_short_opt_arg=${1#??}\
17008 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17009 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17010 && mv -f "$cfgfile.tmp" "$cfgfile" \
17011 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17012 test 0 -eq $? || _lt_function_replace_fail=:
17015 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17019 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17020 \ *) func_lo2o_result=${1} ;;\
17022 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17023 && mv -f "$cfgfile.tmp" "$cfgfile" \
17024 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17028 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17031 func_xform_result=${1%.*}.lo\
17032 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17033 && mv -f "$cfgfile.tmp" "$cfgfile" \
17034 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17035 test 0 -eq $? || _lt_function_replace_fail=:
17038 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17041 func_arith_result=$(( $* ))\
17042 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17043 && mv -f "$cfgfile.tmp" "$cfgfile" \
17044 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17045 test 0 -eq $? || _lt_function_replace_fail=:
17048 sed -e '/^func_len ()$/,/^} # func_len /c\
17051 func_len_result=${#1}\
17052 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17053 && mv -f "$cfgfile.tmp" "$cfgfile" \
17054 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055 test 0 -eq $? || _lt_function_replace_fail=:
17059 if test x"$lt_shell_append" = xyes; then
17060 sed -e '/^func_append ()$/,/^} # func_append /c\
17063 eval "${1}+=\\${2}"\
17064 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17065 && mv -f "$cfgfile.tmp" "$cfgfile" \
17066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17067 test 0 -eq $? || _lt_function_replace_fail=:
17070 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17071 func_append_quoted ()\
17073 \ func_quote_for_eval "${2}"\
17074 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17075 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17076 && mv -f "$cfgfile.tmp" "$cfgfile" \
17077 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17078 test 0 -eq $? || _lt_function_replace_fail=:
17081 # Save a `func_append' function call where possible by direct use of '+='
17082 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17083 && mv -f "$cfgfile.tmp" "$cfgfile" \
17084 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17085 test 0 -eq $? || _lt_function_replace_fail=:
17087 # Save a `func_append' function call even when '+=' is not available
17088 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17089 && mv -f "$cfgfile.tmp" "$cfgfile" \
17090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17091 test 0 -eq $? || _lt_function_replace_fail=:
17094 if test x"$_lt_function_replace_fail" = x":"; then
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17096 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17100 mv -f "$cfgfile" "$ofile" ||
17101 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17112 ac_clean_files=$ac_clean_files_save
17114 test $ac_write_fail = 0 ||
17115 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17118 # configure is writing to config.log, and then calls config.status.
17119 # config.status does its own redirection, appending to config.log.
17120 # Unfortunately, on DOS this fails, as config.log is still kept open
17121 # by configure, so config.status won't be able to write to it; its
17122 # output is simply discarded. So we exec the FD to /dev/null,
17123 # effectively closing config.log, so it can be properly (re)opened and
17124 # appended to by config.status. When coming back to configure, we
17125 # need to make the FD available again.
17126 if test "$no_create" != yes; then
17128 ac_config_status_args=
17129 test "$silent" = yes &&
17130 ac_config_status_args="$ac_config_status_args --quiet"
17132 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17134 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17135 # would make configure fail if this is the last instruction.
17136 $ac_cs_success || as_fn_exit 1
17138 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17140 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17145 gobject-introspection $VERSION
17148 tests: ${enable_tests}