2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gobject-introspection 1.39.3.
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.39.3'
595 PACKAGE_STRING='gobject-introspection 1.39.3'
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
703 GOBJECT_INTROSPECTION_LIBDIR
709 EXPANDED_LOCALSTATEDIR
768 MAINTAINER_MODE_FALSE
782 INSTALL_STRIP_PROGRAM
824 program_transform_name
837 enable_option_checking
839 enable_maintainer_mode
840 enable_dependency_tracking
857 ac_precious_vars='build_alias
892 # Initialize some variables set by options.
894 ac_init_version=false
895 ac_unrecognized_opts=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name=s,x,x,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
952 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
963 -bindir | --bindir | --bindi | --bind | --bin | --bi)
965 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
968 -build | --build | --buil | --bui | --bu)
969 ac_prev=build_alias ;;
970 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971 build_alias=$ac_optarg ;;
973 -cache-file | --cache-file | --cache-fil | --cache-fi \
974 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975 ac_prev=cache_file ;;
976 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978 cache_file=$ac_optarg ;;
981 cache_file=config.cache ;;
983 -datadir | --datadir | --datadi | --datad)
985 -datadir=* | --datadir=* | --datadi=* | --datad=*)
986 datadir=$ac_optarg ;;
988 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989 | --dataroo | --dataro | --datar)
990 ac_prev=datarootdir ;;
991 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993 datarootdir=$ac_optarg ;;
995 -disable-* | --disable-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid feature name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_$ac_useropt"
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1009 eval enable_$ac_useropt=no ;;
1011 -docdir | --docdir | --docdi | --doc | --do)
1013 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014 docdir=$ac_optarg ;;
1016 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1018 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019 dvidir=$ac_optarg ;;
1021 -enable-* | --enable-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error $? "invalid feature name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_$ac_useropt"
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1035 eval enable_$ac_useropt=\$ac_optarg ;;
1037 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1038 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1039 | --exec | --exe | --ex)
1040 ac_prev=exec_prefix ;;
1041 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1042 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1043 | --exec=* | --exe=* | --ex=*)
1044 exec_prefix=$ac_optarg ;;
1046 -gas | --gas | --ga | --g)
1047 # Obsolete; use --with-gas.
1050 -help | --help | --hel | --he | -h)
1051 ac_init_help=long ;;
1052 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1053 ac_init_help=recursive ;;
1054 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1055 ac_init_help=short ;;
1057 -host | --host | --hos | --ho)
1058 ac_prev=host_alias ;;
1059 -host=* | --host=* | --hos=* | --ho=*)
1060 host_alias=$ac_optarg ;;
1062 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066 htmldir=$ac_optarg ;;
1068 -includedir | --includedir | --includedi | --included | --include \
1069 | --includ | --inclu | --incl | --inc)
1070 ac_prev=includedir ;;
1071 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1072 | --includ=* | --inclu=* | --incl=* | --inc=*)
1073 includedir=$ac_optarg ;;
1075 -infodir | --infodir | --infodi | --infod | --info | --inf)
1077 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1078 infodir=$ac_optarg ;;
1080 -libdir | --libdir | --libdi | --libd)
1082 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1083 libdir=$ac_optarg ;;
1085 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1086 | --libexe | --libex | --libe)
1087 ac_prev=libexecdir ;;
1088 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1089 | --libexe=* | --libex=* | --libe=*)
1090 libexecdir=$ac_optarg ;;
1092 -localedir | --localedir | --localedi | --localed | --locale)
1093 ac_prev=localedir ;;
1094 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1095 localedir=$ac_optarg ;;
1097 -localstatedir | --localstatedir | --localstatedi | --localstated \
1098 | --localstate | --localstat | --localsta | --localst | --locals)
1099 ac_prev=localstatedir ;;
1100 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1101 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1102 localstatedir=$ac_optarg ;;
1104 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1106 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1107 mandir=$ac_optarg ;;
1109 -nfp | --nfp | --nf)
1110 # Obsolete; use --without-fp.
1113 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1114 | --no-cr | --no-c | -n)
1117 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1118 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1121 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1122 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1123 | --oldin | --oldi | --old | --ol | --o)
1124 ac_prev=oldincludedir ;;
1125 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1126 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1127 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1128 oldincludedir=$ac_optarg ;;
1130 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1132 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1133 prefix=$ac_optarg ;;
1135 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1136 | --program-pre | --program-pr | --program-p)
1137 ac_prev=program_prefix ;;
1138 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1139 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1140 program_prefix=$ac_optarg ;;
1142 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1143 | --program-suf | --program-su | --program-s)
1144 ac_prev=program_suffix ;;
1145 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1146 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1147 program_suffix=$ac_optarg ;;
1149 -program-transform-name | --program-transform-name \
1150 | --program-transform-nam | --program-transform-na \
1151 | --program-transform-n | --program-transform- \
1152 | --program-transform | --program-transfor \
1153 | --program-transfo | --program-transf \
1154 | --program-trans | --program-tran \
1155 | --progr-tra | --program-tr | --program-t)
1156 ac_prev=program_transform_name ;;
1157 -program-transform-name=* | --program-transform-name=* \
1158 | --program-transform-nam=* | --program-transform-na=* \
1159 | --program-transform-n=* | --program-transform-=* \
1160 | --program-transform=* | --program-transfor=* \
1161 | --program-transfo=* | --program-transf=* \
1162 | --program-trans=* | --program-tran=* \
1163 | --progr-tra=* | --program-tr=* | --program-t=*)
1164 program_transform_name=$ac_optarg ;;
1166 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1168 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1169 pdfdir=$ac_optarg ;;
1171 -psdir | --psdir | --psdi | --psd | --ps)
1173 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1177 | -silent | --silent | --silen | --sile | --sil)
1180 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184 sbindir=$ac_optarg ;;
1186 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1187 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1188 | --sharedst | --shareds | --shared | --share | --shar \
1190 ac_prev=sharedstatedir ;;
1191 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1192 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1193 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195 sharedstatedir=$ac_optarg ;;
1197 -site | --site | --sit)
1199 -site=* | --site=* | --sit=*)
1202 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1205 srcdir=$ac_optarg ;;
1207 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1208 | --syscon | --sysco | --sysc | --sys | --sy)
1209 ac_prev=sysconfdir ;;
1210 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1211 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1212 sysconfdir=$ac_optarg ;;
1214 -target | --target | --targe | --targ | --tar | --ta | --t)
1215 ac_prev=target_alias ;;
1216 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1217 target_alias=$ac_optarg ;;
1219 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1222 -version | --version | --versio | --versi | --vers | -V)
1223 ac_init_version=: ;;
1226 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1229 as_fn_error $? "invalid package name: $ac_useropt"
1230 ac_useropt_orig=$ac_useropt
1231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep=', ';;
1239 eval with_$ac_useropt=\$ac_optarg ;;
1241 -without-* | --without-*)
1242 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 as_fn_error $? "invalid package name: $ac_useropt"
1246 ac_useropt_orig=$ac_useropt
1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253 ac_unrecognized_sep=', ';;
1255 eval with_$ac_useropt=no ;;
1258 # Obsolete; use --with-x.
1261 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1262 | --x-incl | --x-inc | --x-in | --x-i)
1263 ac_prev=x_includes ;;
1264 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1265 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1266 x_includes=$ac_optarg ;;
1268 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1269 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1270 ac_prev=x_libraries ;;
1271 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1272 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1273 x_libraries=$ac_optarg ;;
1275 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1276 Try \`$0 --help' for more information"
1280 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 case $ac_envvar in #(
1283 '' | [0-9]* | *[!_$as_cr_alnum]* )
1284 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1286 eval $ac_envvar=\$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1300 if test -n "$ac_prev"; then
1301 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1302 as_fn_error $? "missing argument to $ac_option"
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1308 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 # Check all directory arguments for consistency.
1314 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val=\$$ac_var
1320 # Remove trailing slashes.
1323 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\$ac_val;;
1326 # Be sure to have absolute directory names.
1328 [\\/$]* | ?:[\\/]* ) continue;;
1329 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x; then
1343 if test "x$build_alias" = x; then
1344 cross_compiling=maybe
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353 test "$silent" = yes && exec 6>/dev/null
1356 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di=`ls -di .` &&
1358 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1359 as_fn_error $? "working directory cannot be determined"
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 as_fn_error $? "pwd does not report name of working directory"
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366 ac_srcdir_defaulted=yes
1367 # Try the directory containing this script, then the parent directory.
1368 ac_confdir=`$as_dirname -- "$as_myself" ||
1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370 X"$as_myself" : 'X\(//\)[^/]' \| \
1371 X"$as_myself" : 'X\(//\)$' \| \
1372 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373 $as_echo X"$as_myself" |
1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1396 ac_srcdir_defaulted=no
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1400 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1402 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1414 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 for ac_var in $ac_precious_vars; do
1417 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1418 eval ac_env_${ac_var}_value=\$${ac_var}
1419 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1420 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 # Report the --help message.
1426 if test "$ac_init_help" = "long"; then
1427 # Omit some internal or obsolete options to make the list less imposing.
1428 # This message is too long to be a string in the A/UX 3.1 sh.
1430 \`configure' configures gobject-introspection 1.39.3 to adapt to many kinds of systems.
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE. See below for descriptions of some of the useful variables.
1437 Defaults for the options are specified in brackets.
1440 -h, --help display this help and exit
1441 --help=short display options specific to this package
1442 --help=recursive display the short help of all the included packages
1443 -V, --version display version information and exit
1444 -q, --quiet, --silent do not print \`checking ...' messages
1445 --cache-file=FILE cache test results in FILE [disabled]
1446 -C, --config-cache alias for \`--cache-file=config.cache'
1447 -n, --no-create do not create output files
1448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450 Installation directories:
1451 --prefix=PREFIX install architecture-independent files in PREFIX
1452 [$ac_default_prefix]
1453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1461 For better control, use the options below.
1463 Fine tuning of the installation directories:
1464 --bindir=DIR user executables [EPREFIX/bin]
1465 --sbindir=DIR system admin executables [EPREFIX/sbin]
1466 --libexecdir=DIR program executables [EPREFIX/libexec]
1467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1470 --libdir=DIR object code libraries [EPREFIX/lib]
1471 --includedir=DIR C header files [PREFIX/include]
1472 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1473 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1474 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1475 --infodir=DIR info documentation [DATAROOTDIR/info]
1476 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1477 --mandir=DIR man documentation [DATAROOTDIR/man]
1478 --docdir=DIR documentation root
1479 [DATAROOTDIR/doc/gobject-introspection]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1499 if test -n "$ac_init_help"; then
1500 case $ac_init_help in
1501 short | recursive ) echo "Configuration of gobject-introspection 1.39.3:";;
1506 --disable-option-checking ignore unrecognized --enable/--with options
1507 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1508 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1509 --enable-silent-rules less verbose build output (undo: "make V=1")
1510 --disable-silent-rules verbose build output (undo: "make V=0")
1511 --disable-maintainer-mode
1512 disable make rules and dependencies not useful (and
1513 sometimes confusing) to the casual installer
1514 --enable-dependency-tracking
1515 do not reject slow dependency extractors
1516 --disable-dependency-tracking
1517 speeds up one-time build
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1524 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1525 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1526 --disable-doctool disable g-ir-doctool
1527 --disable-Bsymbolic avoid linking with -Bsymbolic
1530 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1531 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1532 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1534 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1535 --with-sysroot=DIR Search for dependent libraries within DIR
1536 (or the compiler's sysroot if not specified).
1537 --with-cairo Use cairo [default=maybe]
1538 --with-html-dir=PATH path to installed docs
1539 --with-glib-src=PATH Source directory for glib - needed to add docs to gir
1541 Some influential environment variables:
1542 CC C compiler command
1543 CFLAGS C compiler flags
1544 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1545 nonstandard directory <lib dir>
1546 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1548 you have headers in a nonstandard directory <include dir>
1550 PKG_CONFIG path to pkg-config utility
1552 directories to add to pkg-config's search path
1554 path overriding pkg-config's built-in search path
1555 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1556 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1558 C compiler flags for GOBJECT, overriding pkg-config
1560 linker flags for GOBJECT, overriding pkg-config
1562 C compiler flags for GMODULE, overriding pkg-config
1564 linker flags for GMODULE, overriding pkg-config
1565 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1566 GIO_LIBS linker flags for GIO, overriding pkg-config
1568 C compiler flags for GIO_UNIX, overriding pkg-config
1570 linker flags for GIO_UNIX, overriding pkg-config
1572 C compiler flags for CAIRO, overriding pkg-config
1573 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1575 C compiler flags for SCANNER, overriding pkg-config
1577 linker flags for SCANNER, overriding pkg-config
1578 FFI_CFLAGS C compiler flags for FFI, overriding pkg-config
1579 FFI_LIBS linker flags for FFI, overriding pkg-config
1581 C compiler flags for GIREPO, overriding pkg-config
1582 GIREPO_LIBS linker flags for GIREPO, overriding pkg-config
1584 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1586 linker flags for GTKDOC_DEPS, overriding pkg-config
1587 PYTHON the Python interpreter
1589 Use these variables to override the choices made by `configure' or to help
1590 it to find libraries and programs with nonstandard names/locations.
1592 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir=$ac_pwd
1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir=$ac_top_build_prefix
1622 .) # We are building in place.
1624 ac_top_srcdir=$ac_top_builddir_sub
1625 ac_abs_top_srcdir=$ac_pwd ;;
1626 [\\/]* | ?:[\\/]* ) # Absolute name.
1627 ac_srcdir=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir=$srcdir
1629 ac_abs_top_srcdir=$srcdir ;;
1631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" || { ac_status=$?; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" || { ac_status=$?; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1655 gobject-introspection configure 1.39.3
1656 generated by GNU Autoconf 2.69
1658 Copyright (C) 2012 Free Software Foundation, Inc.
1659 This configure script is free software; the Free Software Foundation
1660 gives unlimited permission to copy, distribute and modify it.
1665 ## ------------------------ ##
1666 ## Autoconf initialization. ##
1667 ## ------------------------ ##
1669 # ac_fn_c_try_compile LINENO
1670 # --------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_compile ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 rm -f conftest.$ac_objext
1676 if { { ac_try="$ac_compile"
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.$ac_objext; then :
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1705 } # ac_fn_c_try_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext conftest$ac_exeext
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 test -x conftest$ac_exeext
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1754 # -------------------------------------------------------
1755 # Tests whether HEADER exists and can be compiled using the include files in
1756 # INCLUDES, setting the cache variable VAR accordingly.
1757 ac_fn_c_check_header_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1770 if ac_fn_c_try_compile "$LINENO"; then :
1775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_header_compile
1784 # ac_fn_c_try_cpp LINENO
1785 # ----------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } > conftest.i && {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1821 # ac_fn_c_try_run LINENO
1822 # ----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824 # that executables *can* be run.
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 if { { ac_try="$ac_link"
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>&5
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839 { { case "(($ac_try" in
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_try") 2>&5
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; }; }; then :
1851 $as_echo "$as_me: program exited with status $ac_status" >&5
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1855 ac_retval=$ac_status
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status $ac_retval
1863 # ac_fn_c_check_func LINENO FUNC VAR
1864 # ----------------------------------
1865 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1866 ac_fn_c_check_func ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1876 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1878 #define $2 innocuous_$2
1880 /* System header to define __stub macros and hopefully few prototypes,
1881 which can conflict with char $2 (); below.
1882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1883 <limits.h> exists even on freestanding compilers. */
1886 # include <limits.h>
1888 # include <assert.h>
1893 /* Override any GCC internal prototype to avoid an error.
1894 Use char because int might match the return type of a GCC
1895 builtin and then its argument prototype would still apply. */
1900 /* The GNU C library defines this for functions which it implements
1901 to always fail with ENOSYS. Some functions are actually named
1902 something starting with __ and the normal name is an alias. */
1903 #if defined __stub_$2 || defined __stub___$2
1915 if ac_fn_c_try_link "$LINENO"; then :
1920 rm -f core conftest.err conftest.$ac_objext \
1921 conftest$ac_exeext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 } # ac_fn_c_check_func
1930 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1931 # --------------------------------------------
1932 # Tries to find the compile-time value of EXPR in a program that includes
1933 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1935 ac_fn_c_compute_int ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if test "$cross_compiling" = yes; then
1939 # Depending upon the size, compute the lo and hi bounds.
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1946 static int test_array [1 - 2 * !(($2) >= 0)];
1948 return test_array [0];
1954 if ac_fn_c_try_compile "$LINENO"; then :
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1963 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1965 return test_array [0];
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972 ac_hi=$ac_mid; break
1974 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1975 if test $ac_lo -le $ac_mid; then
1979 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1990 static int test_array [1 - 2 * !(($2) < 0)];
1992 return test_array [0];
1998 if ac_fn_c_try_compile "$LINENO"; then :
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2007 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2009 return test_array [0];
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016 ac_lo=$ac_mid; break
2018 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2019 if test $ac_mid -le $ac_hi; then
2023 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 # Binary search between lo and hi bounds.
2034 while test "x$ac_lo" != "x$ac_hi"; do
2035 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2042 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2044 return test_array [0];
2050 if ac_fn_c_try_compile "$LINENO"; then :
2053 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2065 static long int longval () { return $2; }
2066 static unsigned long int ulongval () { return $2; }
2073 FILE *f = fopen ("conftest.val", "w");
2078 long int i = longval ();
2081 fprintf (f, "%ld", i);
2085 unsigned long int i = ulongval ();
2088 fprintf (f, "%lu", i);
2090 /* Do not output a trailing newline, as this causes \r\n confusion
2091 on some platforms. */
2092 return ferror (f) || fclose (f) != 0;
2098 if ac_fn_c_try_run "$LINENO"; then :
2099 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2104 conftest.$ac_objext conftest.beam conftest.$ac_ext
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 as_fn_set_status $ac_retval
2111 } # ac_fn_c_compute_int
2113 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2114 # -------------------------------------------------------
2115 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2116 # the include files in INCLUDES and setting the cache variable VAR
2118 ac_fn_c_check_header_mongrel ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 if eval \${$3+:} false; then :
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if eval \${$3+:} false; then :
2125 $as_echo_n "(cached) " >&6
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2131 # Is the header compilable?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2133 $as_echo_n "checking $2 usability... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140 ac_header_compiler=yes
2142 ac_header_compiler=no
2144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2146 $as_echo "$ac_header_compiler" >&6; }
2148 # Is the header present?
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2150 $as_echo_n "checking $2 presence... " >&6; }
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2155 if ac_fn_c_try_cpp "$LINENO"; then :
2156 ac_header_preproc=yes
2158 ac_header_preproc=no
2160 rm -f conftest.err conftest.i conftest.$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2162 $as_echo "$ac_header_preproc" >&6; }
2164 # So? What about this header?
2165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2168 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2174 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2176 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2178 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2180 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2182 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2183 ( $as_echo "## ------------------------------------------------------------------------------------------- ##
2184 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection ##
2185 ## ------------------------------------------------------------------------------------------- ##"
2186 ) | sed "s/^/$as_me: WARNING: /" >&2
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190 $as_echo_n "checking for $2... " >&6; }
2191 if eval \${$3+:} false; then :
2192 $as_echo_n "(cached) " >&6
2194 eval "$3=\$ac_header_compiler"
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198 $as_echo "$ac_res" >&6; }
2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 } # ac_fn_c_check_header_mongrel
2203 cat >config.log <<_ACEOF
2204 This file contains any messages produced by compilers while
2205 running configure, to aid debugging if configure makes a mistake.
2207 It was created by gobject-introspection $as_me 1.39.3, which was
2208 generated by GNU Autoconf 2.69. Invocation command line was
2220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2232 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 $as_echo "PATH: $as_dir"
2260 # Keep a trace of the command line.
2261 # Strip out --no-create and --no-recursion so they do not pile up.
2262 # Strip out --silent because we don't want to record it for future runs.
2263 # Also quote any args containing shell meta-characters.
2264 # Make two passes to allow for proper duplicate-argument suppression.
2268 ac_must_keep_next=false
2274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2276 | -silent | --silent | --silen | --sile | --sil)
2279 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2282 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2284 as_fn_append ac_configure_args1 " '$ac_arg'"
2285 if test $ac_must_keep_next = true; then
2286 ac_must_keep_next=false # Got value, back to normal.
2289 *=* | --config-cache | -C | -disable-* | --disable-* \
2290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2292 | -with-* | --with-* | -without-* | --without-* | --x)
2293 case "$ac_configure_args0 " in
2294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2297 -* ) ac_must_keep_next=true ;;
2300 as_fn_append ac_configure_args " '$ac_arg'"
2305 { ac_configure_args0=; unset ac_configure_args0;}
2306 { ac_configure_args1=; unset ac_configure_args1;}
2308 # When interrupted or exit'd, cleanup temporary files, and complete
2309 # config.log. We remove comments because anyway the quotes in there
2310 # would cause problems or look ugly.
2311 # WARNING: Use '\'' to represent an apostrophe within the trap.
2312 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2313 trap 'exit_status=$?
2314 # Save into config.log some information that might help in debugging.
2318 $as_echo "## ---------------- ##
2319 ## Cache variables. ##
2320 ## ---------------- ##"
2322 # The following way of writing the cache mishandles newlines in values,
2324 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2325 eval ac_val=\$$ac_var
2329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333 _ | IFS | as_nl) ;; #(
2334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2335 *) { eval $ac_var=; unset $ac_var;} ;;
2340 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2341 *${as_nl}ac_space=\ *)
2343 "s/'\''/'\''\\\\'\'''\''/g;
2344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2354 $as_echo "## ----------------- ##
2355 ## Output variables. ##
2356 ## ----------------- ##"
2358 for ac_var in $ac_subst_vars
2360 eval ac_val=\$$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2368 if test -n "$ac_subst_files"; then
2369 $as_echo "## ------------------- ##
2370 ## File substitutions. ##
2371 ## ------------------- ##"
2373 for ac_var in $ac_subst_files
2375 eval ac_val=\$$ac_var
2377 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2379 $as_echo "$ac_var='\''$ac_val'\''"
2384 if test -s confdefs.h; then
2385 $as_echo "## ----------- ##
2392 test "$ac_signal" != 0 &&
2393 $as_echo "$as_me: caught signal $ac_signal"
2394 $as_echo "$as_me: exit $exit_status"
2396 rm -f core *.core core.conftest.* &&
2397 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2400 for ac_signal in 1 2 13 15; do
2401 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2405 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2406 rm -f -r conftest* confdefs.h
2408 $as_echo "/* confdefs.h */" > confdefs.h
2410 # Predefined preprocessor variables.
2412 cat >>confdefs.h <<_ACEOF
2413 #define PACKAGE_NAME "$PACKAGE_NAME"
2416 cat >>confdefs.h <<_ACEOF
2417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_STRING "$PACKAGE_STRING"
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_URL "$PACKAGE_URL"
2437 # Let the site file select an alternate cache file if it wants to.
2438 # Prefer an explicitly selected file to automatically selected ones.
2441 if test -n "$CONFIG_SITE"; then
2442 # We do not want a PATH search for config.site.
2443 case $CONFIG_SITE in #((
2444 -*) ac_site_file1=./$CONFIG_SITE;;
2445 */*) ac_site_file1=$CONFIG_SITE;;
2446 *) ac_site_file1=./$CONFIG_SITE;;
2448 elif test "x$prefix" != xNONE; then
2449 ac_site_file1=$prefix/share/config.site
2450 ac_site_file2=$prefix/etc/config.site
2452 ac_site_file1=$ac_default_prefix/share/config.site
2453 ac_site_file2=$ac_default_prefix/etc/config.site
2455 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2457 test "x$ac_site_file" = xNONE && continue
2458 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2460 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2461 sed 's/^/| /' "$ac_site_file" >&5
2463 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465 as_fn_error $? "failed to load site script $ac_site_file
2466 See \`config.log' for more details" "$LINENO" 5; }
2470 if test -r "$cache_file"; then
2471 # Some versions of bash will fail to source /dev/null (special files
2472 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2473 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2475 $as_echo "$as_me: loading cache $cache_file" >&6;}
2477 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2478 *) . "./$cache_file";;
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2483 $as_echo "$as_me: creating cache $cache_file" >&6;}
2487 # Check that the precious variables saved in the cache have kept the same
2489 ac_cache_corrupted=false
2490 for ac_var in $ac_precious_vars; do
2491 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2492 eval ac_new_set=\$ac_env_${ac_var}_set
2493 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2494 eval ac_new_val=\$ac_env_${ac_var}_value
2495 case $ac_old_set,$ac_new_set in
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2498 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2499 ac_cache_corrupted=: ;;
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2502 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2503 ac_cache_corrupted=: ;;
2506 if test "x$ac_old_val" != "x$ac_new_val"; then
2507 # differences in whitespace do not lead to failure.
2508 ac_old_val_w=`echo x $ac_old_val`
2509 ac_new_val_w=`echo x $ac_new_val`
2510 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2512 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2513 ac_cache_corrupted=:
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2516 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2517 eval $ac_var=\$ac_old_val
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2520 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2522 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2525 # Pass precious variables to config.status.
2526 if test "$ac_new_set" = set; then
2528 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2529 *) ac_arg=$ac_var=$ac_new_val ;;
2531 case " $ac_configure_args " in
2532 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2533 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2537 if $ac_cache_corrupted; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2541 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2542 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2544 ## -------------------- ##
2545 ## Main body of script. ##
2546 ## -------------------- ##
2549 ac_cpp='$CPP $CPPFLAGS'
2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2556 ac_config_headers="$ac_config_headers config.h"
2560 for ac_dir in build-aux "$srcdir"/build-aux; do
2561 if test -f "$ac_dir/install-sh"; then
2563 ac_install_sh="$ac_aux_dir/install-sh -c"
2565 elif test -f "$ac_dir/install.sh"; then
2567 ac_install_sh="$ac_aux_dir/install.sh -c"
2569 elif test -f "$ac_dir/shtool"; then
2571 ac_install_sh="$ac_aux_dir/shtool install -c"
2575 if test -z "$ac_aux_dir"; then
2576 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2579 # These three variables are undocumented and unsupported,
2580 # and are intended to be withdrawn in a future Autoconf release.
2581 # They can cause serious problems if a builder's source tree is in a directory
2582 # whose full name contains unusual characters.
2583 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2584 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2585 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2589 am__api_version='1.13'
2591 # Find a good install program. We prefer a C program (faster),
2592 # so one script is as good as another. But avoid the broken or
2593 # incompatible versions:
2594 # SysV /etc/install, /usr/sbin/install
2595 # SunOS /usr/etc/install
2596 # IRIX /sbin/install
2598 # AmigaOS /C/install, which installs bootblocks on floppy discs
2599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2602 # OS/2's system install, which has a completely different semantic
2603 # ./install, which can be erroneously created by make from ./install.sh.
2604 # Reject install programs that cannot install multiple files.
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2606 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2607 if test -z "$INSTALL"; then
2608 if ${ac_cv_path_install+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 # Account for people who put trailing slashes in PATH elements.
2617 case $as_dir/ in #((
2618 ./ | .// | /[cC]/* | \
2619 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2620 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2623 # OSF1 and SCO ODT 3.0 have their own names for install.
2624 # Don't use installbsd from OSF since it installs stuff as root
2626 for ac_prog in ginstall scoinst install; do
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2629 if test $ac_prog = install &&
2630 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2631 # AIX install. It has an incompatible calling convention.
2633 elif test $ac_prog = install &&
2634 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2635 # program-specific install script used by HP pwplus--don't use.
2638 rm -rf conftest.one conftest.two conftest.dir
2639 echo one > conftest.one
2640 echo two > conftest.two
2642 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2643 test -s conftest.one && test -s conftest.two &&
2644 test -s conftest.dir/conftest.one &&
2645 test -s conftest.dir/conftest.two
2647 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2660 rm -rf conftest.one conftest.two conftest.dir
2663 if test "${ac_cv_path_install+set}" = set; then
2664 INSTALL=$ac_cv_path_install
2666 # As a last resort, use the slow shell script. Don't cache a
2667 # value for INSTALL within a source directory, because that will
2668 # break other packages using the cache if that directory is
2669 # removed, or if the value is a relative name.
2670 INSTALL=$ac_install_sh
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2674 $as_echo "$INSTALL" >&6; }
2676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2677 # It thinks the first close brace ends the variable substitution.
2678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2682 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2685 $as_echo_n "checking whether build environment is sane... " >&6; }
2686 # Reject unsafe characters in $srcdir or the absolute working directory
2687 # name. Accept space and tab only in the latter.
2691 *[\\\"\#\$\&\'\`$am_lf]*)
2692 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2695 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2696 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2699 # Do 'set' in a subshell so we don't clobber the current shell's
2700 # arguments. Must try -L first in case configure is actually a
2701 # symlink; some systems play weird games with the mod time of symlinks
2702 # (eg FreeBSD returns the mod time of the symlink's containing
2706 for am_try in 1 2; do
2707 echo "timestamp, slept: $am_has_slept" > conftest.file
2708 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2709 if test "$*" = "X"; then
2711 set X `ls -t "$srcdir/configure" conftest.file`
2713 if test "$*" != "X $srcdir/configure conftest.file" \
2714 && test "$*" != "X conftest.file $srcdir/configure"; then
2716 # If neither matched, then we have a broken ls. This can happen
2717 # if, for instance, CONFIG_SHELL is bash and it inherits a
2718 # broken ls alias from the environment. This has actually
2719 # happened. Such a system could not be considered "sane".
2720 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2721 alias in your environment" "$LINENO" 5
2723 if test "$2" = conftest.file || test $am_try -eq 2; then
2730 test "$2" = conftest.file
2736 as_fn_error $? "newly created file is older than distributed files!
2737 Check your system clock" "$LINENO" 5
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2740 $as_echo "yes" >&6; }
2741 # If we didn't sleep, we still need to ensure time stamps of config.status and
2742 # generated files are strictly newer.
2744 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2751 test "$program_prefix" != NONE &&
2752 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2753 # Use a double $ so make ignores it.
2754 test "$program_suffix" != NONE &&
2755 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2756 # Double any \ or $.
2757 # By default was `s,x,x', remove it if useless.
2758 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2759 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2761 # expand $ac_aux_dir to an absolute path
2762 am_aux_dir=`cd $ac_aux_dir && pwd`
2764 if test x"${MISSING+set}" != xset; then
2767 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2769 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2772 # Use eval to expand $SHELL
2773 if eval "$MISSING --is-lightweight"; then
2774 am_missing_run="$MISSING "
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2778 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2781 if test x"${install_sh}" != xset; then
2784 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2786 install_sh="\${SHELL} $am_aux_dir/install-sh"
2790 # Installed binaries are usually stripped using 'strip' when the user
2791 # run "make install-strip". However 'strip' might not be the right
2792 # tool to use in cross-compilation environments, therefore Automake
2793 # will honor the 'STRIP' environment variable to overrule this program.
2794 if test "$cross_compiling" != no; then
2795 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2797 set dummy ${ac_tool_prefix}strip; ac_word=$2
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799 $as_echo_n "checking for $ac_word... " >&6; }
2800 if ${ac_cv_prog_STRIP+:} false; then :
2801 $as_echo_n "(cached) " >&6
2803 if test -n "$STRIP"; then
2804 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 STRIP=$ac_cv_prog_STRIP
2824 if test -n "$STRIP"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2826 $as_echo "$STRIP" >&6; }
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
2834 if test -z "$ac_cv_prog_STRIP"; then
2836 # Extract the first word of "strip", so it can be a program name with args.
2837 set dummy strip; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$ac_ct_STRIP"; then
2844 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_ac_ct_STRIP="strip"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2864 if test -n "$ac_ct_STRIP"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2866 $as_echo "$ac_ct_STRIP" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2872 if test "x$ac_ct_STRIP" = x; then
2875 case $cross_compiling:$ac_tool_warned in
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2879 ac_tool_warned=yes ;;
2884 STRIP="$ac_cv_prog_STRIP"
2888 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2891 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2892 if test -z "$MKDIR_P"; then
2893 if ${ac_cv_path_mkdir+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2900 test -z "$as_dir" && as_dir=.
2901 for ac_prog in mkdir gmkdir; do
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2904 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2905 'mkdir (GNU coreutils) '* | \
2906 'mkdir (coreutils) '* | \
2907 'mkdir (fileutils) '4.1*)
2908 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2918 test -d ./--version && rmdir ./--version
2919 if test "${ac_cv_path_mkdir+set}" = set; then
2920 MKDIR_P="$ac_cv_path_mkdir -p"
2922 # As a last resort, use the slow shell script. Don't cache a
2923 # value for MKDIR_P within a source directory, because that will
2924 # break other packages using the cache if that directory is
2925 # removed, or if the value is a relative name.
2926 MKDIR_P="$ac_install_sh -d"
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2930 $as_echo "$MKDIR_P" >&6; }
2932 for ac_prog in gawk mawk nawk awk
2934 # Extract the first word of "$ac_prog", so it can be a program name with args.
2935 set dummy $ac_prog; ac_word=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_AWK+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 if test -n "$AWK"; then
2942 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 ac_cv_prog_AWK="$ac_prog"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test -n "$AWK"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2964 $as_echo "$AWK" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2971 test -n "$AWK" && break
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2975 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2977 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2978 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2979 $as_echo_n "(cached) " >&6
2981 cat >conftest.make <<\_ACEOF
2984 @echo '@@@%%%=$(MAKE)=@@@%%%'
2986 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2989 eval ac_cv_prog_make_${ac_make}_set=yes;;
2991 eval ac_cv_prog_make_${ac_make}_set=no;;
2995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2997 $as_echo "yes" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3002 SET_MAKE="MAKE=${MAKE-make}"
3005 rm -rf .tst 2>/dev/null
3006 mkdir .tst 2>/dev/null
3007 if test -d .tst; then
3012 rmdir .tst 2>/dev/null
3014 # Check whether --enable-silent-rules was given.
3015 if test "${enable_silent_rules+set}" = set; then :
3016 enableval=$enable_silent_rules;
3019 case $enable_silent_rules in # (((
3020 yes) AM_DEFAULT_VERBOSITY=0;;
3021 no) AM_DEFAULT_VERBOSITY=1;;
3022 *) AM_DEFAULT_VERBOSITY=1;;
3024 am_make=${MAKE-make}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3026 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3027 if ${am_cv_make_support_nested_variables+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 if $as_echo 'TRUE=$(BAR$(V))
3036 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3037 am_cv_make_support_nested_variables=yes
3039 am_cv_make_support_nested_variables=no
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3043 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3044 if test $am_cv_make_support_nested_variables = yes; then
3046 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3048 AM_V=$AM_DEFAULT_VERBOSITY
3049 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3053 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3054 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3055 # is not polluted with repeated "-I."
3056 am__isrc=' -I$(srcdir)'
3057 # test to see if srcdir already configured
3058 if test -f $srcdir/config.status; then
3059 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3063 # test whether we have cygpath
3064 if test -z "$CYGPATH_W"; then
3065 if (cygpath --version) >/dev/null 2>/dev/null; then
3066 CYGPATH_W='cygpath -w'
3073 # Define the identity of the package.
3074 PACKAGE='gobject-introspection'
3078 cat >>confdefs.h <<_ACEOF
3079 #define PACKAGE "$PACKAGE"
3083 cat >>confdefs.h <<_ACEOF
3084 #define VERSION "$VERSION"
3087 # Some tools Automake needs.
3089 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3092 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3095 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3098 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3101 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3103 # For better backward compatibility. To be removed once Automake 1.9.x
3104 # dies out for good. For more background, see:
3105 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3106 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3107 mkdir_p='$(MKDIR_P)'
3109 # We need awk for the "check" target. The system "awk" is bad on
3111 # Always define AMTAR for backward compatibility. Yes, it's still used
3112 # in the wild :-( We should find a proper way to deprecate it ...
3116 # We'll loop over all known methods to create a tar archive until one works.
3117 _am_tools='gnutar plaintar pax cpio none'
3119 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3120 # There is notably a 21 bits limit for the UID and the GID. In fact,
3121 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3123 am_max_uid=2097151 # 2^21 - 1
3124 am_max_gid=$am_max_uid
3125 # The $UID and $GID variables are not portable, so we need to resort
3126 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3127 # below are definitely unexpected, so allow the users to see them
3128 # (that is, avoid stderr redirection).
3129 am_uid=`id -u || echo unknown`
3130 am_gid=`id -g || echo unknown`
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3132 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3133 if test $am_uid -le $am_max_uid; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3142 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3143 if test $am_gid -le $am_max_gid; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3145 $as_echo "yes" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3153 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3155 # Go ahead even if we have the value already cached. We do so because we
3156 # need to set the values for the 'am__tar' and 'am__untar' variables.
3157 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3159 for _am_tool in $_am_tools; do
3162 for _am_tar in tar gnutar gtar; do
3163 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3164 ($_am_tar --version) >&5 2>&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } && break
3169 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3170 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3171 am__untar="$_am_tar -xf -"
3174 # Must skip GNU tar: if it does not support --format= it doesn't create
3175 # ustar tarball either.
3176 (tar --version) >/dev/null 2>&1 && continue
3177 am__tar='tar chf - "$$tardir"'
3178 am__tar_='tar chf - "$tardir"'
3179 am__untar='tar xf -'
3182 am__tar='pax -L -x ustar -w "$$tardir"'
3183 am__tar_='pax -L -x ustar -w "$tardir"'
3187 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3188 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3189 am__untar='cpio -i -H ustar -d'
3198 # If the value was cached, stop now. We just wanted to have am__tar
3199 # and am__untar set.
3200 test -n "${am_cv_prog_tar_ustar}" && break
3202 # tar/untar a dummy directory, and stop if the command works.
3205 echo GrepMe > conftest.dir/file
3206 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3207 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }
3212 if test -s conftest.tar; then
3213 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3214 ($am__untar <conftest.tar) >&5 2>&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }
3218 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3219 (cat conftest.dir/file) >&5 2>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }
3223 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3228 if ${am_cv_prog_tar_ustar+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 am_cv_prog_tar_ustar=$_am_tool
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3235 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3244 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3245 # Check whether --enable-maintainer-mode was given.
3246 if test "${enable_maintainer_mode+set}" = set; then :
3247 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3249 USE_MAINTAINER_MODE=yes
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3253 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3254 if test $USE_MAINTAINER_MODE = yes; then
3255 MAINTAINER_MODE_TRUE=
3256 MAINTAINER_MODE_FALSE='#'
3258 MAINTAINER_MODE_TRUE='#'
3259 MAINTAINER_MODE_FALSE=
3262 MAINT=$MAINTAINER_MODE_TRUE
3266 # Check whether --enable-silent-rules was given.
3267 if test "${enable_silent_rules+set}" = set; then :
3268 enableval=$enable_silent_rules;
3271 case $enable_silent_rules in # (((
3272 yes) AM_DEFAULT_VERBOSITY=0;;
3273 no) AM_DEFAULT_VERBOSITY=1;;
3274 *) AM_DEFAULT_VERBOSITY=0;;
3276 am_make=${MAKE-make}
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3278 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3279 if ${am_cv_make_support_nested_variables+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 if $as_echo 'TRUE=$(BAR$(V))
3288 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3289 am_cv_make_support_nested_variables=yes
3291 am_cv_make_support_nested_variables=no
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3295 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3296 if test $am_cv_make_support_nested_variables = yes; then
3298 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3300 AM_V=$AM_DEFAULT_VERBOSITY
3301 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3306 # Used in docs/reference/version.xml
3311 # Make sure we can run config.sub.
3312 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3313 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3316 $as_echo_n "checking build system type... " >&6; }
3317 if ${ac_cv_build+:} false; then :
3318 $as_echo_n "(cached) " >&6
3320 ac_build_alias=$build_alias
3321 test "x$ac_build_alias" = x &&
3322 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3323 test "x$ac_build_alias" = x &&
3324 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3325 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3330 $as_echo "$ac_cv_build" >&6; }
3331 case $ac_cv_build in
3333 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3336 ac_save_IFS=$IFS; IFS='-'
3342 # Remember, the first character of IFS is used to create $*,
3343 # except with old shells:
3346 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3350 $as_echo_n "checking host system type... " >&6; }
3351 if ${ac_cv_host+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 if test "x$host_alias" = x; then
3355 ac_cv_host=$ac_cv_build
3357 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3358 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3363 $as_echo "$ac_cv_host" >&6; }
3366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3369 ac_save_IFS=$IFS; IFS='-'
3375 # Remember, the first character of IFS is used to create $*,
3376 # except with old shells:
3379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3390 if test "x$os_win32" = "xyes"; then
3399 # Checks for programs.
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 if test -n "$ac_tool_prefix"; then
3406 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3407 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if ${ac_cv_prog_CC+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$CC"; then
3414 ac_cv_prog_CC="$CC" # Let the user override the test.
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 test -z "$as_dir" && as_dir=.
3421 for ac_exec_ext in '' $ac_executable_extensions; do
3422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3423 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 if test -n "$CC"; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3436 $as_echo "$CC" >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3444 if test -z "$ac_cv_prog_CC"; then
3446 # Extract the first word of "gcc", so it can be a program name with args.
3447 set dummy gcc; ac_word=$2
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3449 $as_echo_n "checking for $ac_word... " >&6; }
3450 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 if test -n "$ac_ct_CC"; then
3454 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460 test -z "$as_dir" && as_dir=.
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_ac_ct_CC="gcc"
3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3474 if test -n "$ac_ct_CC"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3476 $as_echo "$ac_ct_CC" >&6; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3482 if test "x$ac_ct_CC" = x; then
3485 case $cross_compiling:$ac_tool_warned in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3489 ac_tool_warned=yes ;;
3497 if test -z "$CC"; then
3498 if test -n "$ac_tool_prefix"; then
3499 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3500 set dummy ${ac_tool_prefix}cc; ac_word=$2
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502 $as_echo_n "checking for $ac_word... " >&6; }
3503 if ${ac_cv_prog_CC+:} false; then :
3504 $as_echo_n "(cached) " >&6
3506 if test -n "$CC"; then
3507 ac_cv_prog_CC="$CC" # Let the user override the test.
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516 ac_cv_prog_CC="${ac_tool_prefix}cc"
3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 if test -n "$CC"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3529 $as_echo "$CC" >&6; }
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3538 if test -z "$CC"; then
3539 # Extract the first word of "cc", so it can be a program name with args.
3540 set dummy cc; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if ${ac_cv_prog_CC+:} false; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3558 ac_prog_rejected=yes
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 if test $ac_prog_rejected = yes; then
3570 # We found a bogon in the path, so make sure we never use it.
3571 set dummy $ac_cv_prog_CC
3573 if test $# != 0; then
3574 # We chose a different compiler from the bogus one.
3575 # However, it has the same basename, so the bogon will be chosen
3576 # first if we set CC to just the basename; use the full file name.
3578 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3594 if test -z "$CC"; then
3595 if test -n "$ac_tool_prefix"; then
3596 for ac_prog in cl.exe
3598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_CC+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$CC"; then
3606 ac_cv_prog_CC="$CC" # Let the user override the test.
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 if test -n "$CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3628 $as_echo "$CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3635 test -n "$CC" && break
3638 if test -z "$CC"; then
3640 for ac_prog in cl.exe
3642 # Extract the first word of "$ac_prog", so it can be a program name with args.
3643 set dummy $ac_prog; ac_word=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3647 $as_echo_n "(cached) " >&6
3649 if test -n "$ac_ct_CC"; then
3650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3659 ac_cv_prog_ac_ct_CC="$ac_prog"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3670 if test -n "$ac_ct_CC"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3672 $as_echo "$ac_ct_CC" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3679 test -n "$ac_ct_CC" && break
3682 if test "x$ac_ct_CC" = x; then
3685 case $cross_compiling:$ac_tool_warned in
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3689 ac_tool_warned=yes ;;
3698 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700 as_fn_error $? "no acceptable C compiler found in \$PATH
3701 See \`config.log' for more details" "$LINENO" 5; }
3703 # Provide some information about the compiler.
3704 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3707 for ac_option in --version -v -V -qversion; do
3708 { { ac_try="$ac_compiler $ac_option >&5"
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3717 if test -s conftest.err; then
3719 ... rest of stderr output deleted ...
3720 10q' conftest.err >conftest.er1
3721 cat conftest.er1 >&5
3723 rm -f conftest.er1 conftest.err
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 ac_clean_files_save=$ac_clean_files
3740 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3741 # Try to create an executable without -o first, disregard a.out.
3742 # It will help us diagnose broken compilers, and finding out an intuition
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3745 $as_echo_n "checking whether the C compiler works... " >&6; }
3746 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3748 # The possible output files:
3749 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3752 for ac_file in $ac_files
3755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3756 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3761 if { { ac_try="$ac_link_default"
3763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764 *) ac_try_echo=$ac_try;;
3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_link_default") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }; then :
3772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3774 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3775 # so that the user can short-circuit this test for compilers unknown to
3777 for ac_file in $ac_files ''
3779 test -f "$ac_file" || continue
3781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3784 # We found the default executable, but exeext='' is most
3788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3790 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3792 # We set ac_cv_exeext here because the later test for it is not
3793 # safe: cross compilers may not add the suffix if given an `-o'
3794 # argument, so we may need to know it at that point already.
3795 # Even if this section looks crufty: it has the advantage of
3802 test "$ac_cv_exeext" = no && ac_cv_exeext=
3807 if test -z "$ac_file"; then :
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 $as_echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 as_fn_error 77 "C compiler cannot create executables
3816 See \`config.log' for more details" "$LINENO" 5; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3819 $as_echo "yes" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3822 $as_echo_n "checking for C compiler default output file name... " >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3824 $as_echo "$ac_file" >&6; }
3825 ac_exeext=$ac_cv_exeext
3827 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3828 ac_clean_files=$ac_clean_files_save
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3830 $as_echo_n "checking for suffix of executables... " >&6; }
3831 if { { ac_try="$ac_link"
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_link") 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; then :
3842 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3843 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3844 # work properly (i.e., refer to `conftest.exe'), while it won't with
3846 for ac_file in conftest.exe conftest conftest.*; do
3847 test -f "$ac_file" || continue
3849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3850 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 rm -f conftest conftest$ac_cv_exeext
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3863 $as_echo "$ac_cv_exeext" >&6; }
3865 rm -f conftest.$ac_ext
3866 EXEEXT=$ac_cv_exeext
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3874 FILE *f = fopen ("conftest.out", "w");
3875 return ferror (f) || fclose (f) != 0;
3881 ac_clean_files="$ac_clean_files conftest.out"
3882 # Check that the compiler produces executables we can run. If not, either
3883 # the compiler is broken, or we cross compile.
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3885 $as_echo_n "checking whether we are cross compiling... " >&6; }
3886 if test "$cross_compiling" != yes; then
3887 { { ac_try="$ac_link"
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893 $as_echo "$ac_try_echo"; } >&5
3894 (eval "$ac_link") 2>&5
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }
3898 if { ac_try='./conftest$ac_cv_exeext'
3899 { { case "(($ac_try" in
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_try") 2>&5
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }; }; then
3911 if test "$cross_compiling" = maybe; then
3914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916 as_fn_error $? "cannot run C compiled programs.
3917 If you meant to cross compile, use \`--host'.
3918 See \`config.log' for more details" "$LINENO" 5; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3923 $as_echo "$cross_compiling" >&6; }
3925 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3926 ac_clean_files=$ac_clean_files_save
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3928 $as_echo_n "checking for suffix of object files... " >&6; }
3929 if ${ac_cv_objext+:} false; then :
3930 $as_echo_n "(cached) " >&6
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3943 rm -f conftest.o conftest.obj
3944 if { { ac_try="$ac_compile"
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_compile") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }; then :
3955 for ac_file in conftest.o conftest.obj conftest.*; do
3956 test -f "$ac_file" || continue;
3958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3959 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3964 $as_echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error $? "cannot compute suffix of object files: cannot compile
3970 See \`config.log' for more details" "$LINENO" 5; }
3972 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3975 $as_echo "$ac_cv_objext" >&6; }
3976 OBJEXT=$ac_cv_objext
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3980 if ${ac_cv_c_compiler_gnu+:} false; then :
3981 $as_echo_n "(cached) " >&6
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4008 if test $ac_compiler_gnu = yes; then
4013 ac_test_CFLAGS=${CFLAGS+set}
4014 ac_save_CFLAGS=$CFLAGS
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4017 if ${ac_cv_prog_cc_g+:} false; then :
4018 $as_echo_n "(cached) " >&6
4020 ac_save_c_werror_flag=$ac_c_werror_flag
4021 ac_c_werror_flag=yes
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4035 if ac_fn_c_try_compile "$LINENO"; then :
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 if ac_fn_c_try_compile "$LINENO"; then :
4053 ac_c_werror_flag=$ac_save_c_werror_flag
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 if ac_fn_c_try_compile "$LINENO"; then :
4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4074 ac_c_werror_flag=$ac_save_c_werror_flag
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4077 $as_echo "$ac_cv_prog_cc_g" >&6; }
4078 if test "$ac_test_CFLAGS" = set; then
4079 CFLAGS=$ac_save_CFLAGS
4080 elif test $ac_cv_prog_cc_g = yes; then
4081 if test "$GCC" = yes; then
4087 if test "$GCC" = yes; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4095 if ${ac_cv_prog_cc_c89+:} false; then :
4096 $as_echo_n "(cached) " >&6
4098 ac_cv_prog_cc_c89=no
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4106 struct buf { int x; };
4107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4108 static char *e (p, i)
4114 static char *f (char * (*g) (char **, int), char **p, ...)
4119 s = g (p, va_arg (v,int));
4124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4125 function prototypes and stuff, but not '\xHH' hex character constants.
4126 These don't provoke an error unfortunately, instead are silently treated
4127 as 'x'. The following induces an error, until -std is added to get
4128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4129 array size at least. It's necessary to write '\x00'==0 to get something
4130 that's true only with -std. */
4131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4134 inside strings and character constants. */
4136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4138 int test (int i, double x);
4139 struct s1 {int (*f) (int a);};
4140 struct s2 {int (*f) (double a);};
4141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4155 CC="$ac_save_CC $ac_arg"
4156 if ac_fn_c_try_compile "$LINENO"; then :
4157 ac_cv_prog_cc_c89=$ac_arg
4159 rm -f core conftest.err conftest.$ac_objext
4160 test "x$ac_cv_prog_cc_c89" != "xno" && break
4162 rm -f conftest.$ac_ext
4167 case "x$ac_cv_prog_cc_c89" in
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4170 $as_echo "none needed" >&6; } ;;
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4173 $as_echo "unsupported" >&6; } ;;
4175 CC="$CC $ac_cv_prog_cc_c89"
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4177 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4179 if test "x$ac_cv_prog_cc_c89" != xno; then :
4184 ac_cpp='$CPP $CPPFLAGS'
4185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4188 DEPDIR="${am__leading_dot}deps"
4190 ac_config_commands="$ac_config_commands depfiles"
4193 am_make=${MAKE-make}
4194 cat > confinc << 'END'
4196 @echo this is the am__doit target
4199 # If we don't find an include directive, just comment out the code.
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4201 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4205 # First try GNU make style include.
4206 echo "include confinc" > confmf
4207 # Ignore all kinds of additional output from 'make'.
4208 case `$am_make -s -f confmf 2> /dev/null` in #(
4209 *the\ am__doit\ target*)
4215 # Now try BSD make style include.
4216 if test "$am__include" = "#"; then
4217 echo '.include "confinc"' > confmf
4218 case `$am_make -s -f confmf 2> /dev/null` in #(
4219 *the\ am__doit\ target*)
4220 am__include=.include
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4229 $as_echo "$_am_result" >&6; }
4230 rm -f confinc confmf
4232 # Check whether --enable-dependency-tracking was given.
4233 if test "${enable_dependency_tracking+set}" = set; then :
4234 enableval=$enable_dependency_tracking;
4237 if test "x$enable_dependency_tracking" != xno; then
4238 am_depcomp="$ac_aux_dir/depcomp"
4242 if test "x$enable_dependency_tracking" != xno; then
4252 depcc="$CC" am_compiler_list=
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4255 $as_echo_n "checking dependency style of $depcc... " >&6; }
4256 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4260 # We make a subdir and do the tests there. Otherwise we can end up
4261 # making bogus files that we don't know about and never remove. For
4262 # instance it was reported that on HP-UX the gcc test will end up
4263 # making a dummy file named 'D' -- because '-MD' means "put the output
4267 # Copy depcomp to subdir because otherwise we won't find it if we're
4268 # using a relative directory.
4269 cp "$am_depcomp" conftest.dir
4271 # We will build objects and dependencies in a subdirectory because
4272 # it helps to detect inapplicable dependency modes. For instance
4273 # both Tru64's cc and ICC support -MD to output dependencies as a
4274 # side effect of compilation, but ICC will put the dependencies in
4275 # the current directory while Tru64 will put them in the object
4279 am_cv_CC_dependencies_compiler_type=none
4280 if test "$am_compiler_list" = ""; then
4281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4284 case " $depcc " in #(
4285 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4288 for depmode in $am_compiler_list; do
4289 # Setup a source with many dependencies, because some compilers
4290 # like to wrap large dependency lists on column 80 (with \), and
4291 # we should not choose a depcomp mode which is confused by this.
4293 # We need to recreate these files for each test, as the compiler may
4294 # overwrite some of them when testing with obscure command lines.
4295 # This happens at least with the AIX C compiler.
4297 for i in 1 2 3 4 5 6; do
4298 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4299 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4300 # Solaris 10 /bin/sh.
4301 echo '/* dummy */' > sub/conftst$i.h
4303 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4305 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4306 # mode. It turns out that the SunPro C++ compiler does not properly
4307 # handle '-M -o', and we need to detect this. Also, some Intel
4308 # versions had trouble with output in subdirs.
4309 am__obj=sub/conftest.${OBJEXT-o}
4310 am__minus_obj="-o $am__obj"
4313 # This depmode causes a compiler race in universal mode.
4314 test "$am__universal" = false || continue
4317 # After this tag, mechanisms are not by side-effect, so they'll
4318 # only be used when explicitly requested.
4319 if test "x$enable_dependency_tracking" = xyes; then
4325 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4326 # This compiler won't grok '-c -o', but also, the minuso test has
4327 # not run yet. These depmodes are late enough in the game, and
4328 # so weak that their functioning should not be impacted.
4329 am__obj=conftest.${OBJEXT-o}
4334 if depmode=$depmode \
4335 source=sub/conftest.c object=$am__obj \
4336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4337 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4338 >/dev/null 2>conftest.err &&
4339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4341 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4343 # icc doesn't choke on unknown options, it will just issue warnings
4344 # or remarks (even with -Werror). So we grep stderr for any message
4345 # that says an option was ignored or not supported.
4346 # When given -MP, icc 7.0 and 7.1 complain thusly:
4347 # icc: Command line warning: ignoring option '-M'; no argument required
4348 # The diagnosis changed in icc 8.0:
4349 # icc: Command line remark: option '-MP' not supported
4350 if (grep 'ignoring option' conftest.err ||
4351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4352 am_cv_CC_dependencies_compiler_type=$depmode
4361 am_cv_CC_dependencies_compiler_type=none
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4366 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4367 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4370 test "x$enable_dependency_tracking" != xno \
4371 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4373 am__fastdepCC_FALSE='#'
4375 am__fastdepCC_TRUE='#'
4376 am__fastdepCC_FALSE=
4380 if test "x$CC" != xcc; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4382 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4385 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4387 set dummy $CC; ac_cc=`$as_echo "$2" |
4388 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4389 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4390 $as_echo_n "(cached) " >&6
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4403 # Make sure it works both with $CC and with simple cc.
4404 # We do the test twice because some compilers refuse to overwrite an
4405 # existing .o file with -o, though they will create one.
4406 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4408 if { { case "(($ac_try" in
4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4410 *) ac_try_echo=$ac_try;;
4412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4413 $as_echo "$ac_try_echo"; } >&5
4414 (eval "$ac_try") 2>&5
4416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4417 test $ac_status = 0; } &&
4418 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4423 $as_echo "$ac_try_echo"; } >&5
4424 (eval "$ac_try") 2>&5
4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427 test $ac_status = 0; };
4429 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4430 if test "x$CC" != xcc; then
4431 # Test first that cc exists at all.
4432 if { ac_try='cc -c conftest.$ac_ext >&5'
4433 { { case "(($ac_try" in
4434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435 *) ac_try_echo=$ac_try;;
4437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4438 $as_echo "$ac_try_echo"; } >&5
4439 (eval "$ac_try") 2>&5
4441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4442 test $ac_status = 0; }; }; then
4443 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4445 if { { case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_try") 2>&5
4453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4454 test $ac_status = 0; } &&
4455 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; };
4469 # cc exists but doesn't like -o.
4470 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4475 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4477 rm -f core conftest*
4480 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4482 $as_echo "yes" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4487 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4491 # FIXME: we rely on the cache variable name because
4492 # there is no other way.
4494 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4495 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4496 if test "$am_t" != yes; then
4497 # Losing compiler, so override with the script.
4498 # FIXME: It is wrong to rewrite CC.
4499 # But if we don't then we get into trouble of one sort or another.
4500 # A longer-term fix would be to have automake use am__CC in this case,
4501 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4502 CC="$am_aux_dir/compile $CC"
4508 # Initialize libtool
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4513 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4518 macro_version='2.4.2'
4519 macro_revision='1.3337'
4533 ltmain="$ac_aux_dir/ltmain.sh"
4535 # Backslashify metacharacters that are still active within
4536 # double-quoted strings.
4537 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4539 # Same as above, but do not quote variable references.
4540 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4542 # Sed substitution to delay expansion of an escaped shell variable in a
4543 # double_quote_subst'ed string.
4544 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4546 # Sed substitution to delay expansion of an escaped single quote.
4547 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4549 # Sed substitution to avoid accidental globbing in evaled expressions
4550 no_glob_subst='s/\*/\\\*/g'
4552 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4553 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4554 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4557 $as_echo_n "checking how to print strings... " >&6; }
4558 # Test print first, because it will be a builtin if present.
4559 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4560 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4562 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4565 # Use this function as a fallback that always works.
4566 func_fallback_echo ()
4568 eval 'cat <<_LTECHO_EOF
4572 ECHO='func_fallback_echo'
4575 # func_echo_all arg...
4576 # Invoke $ECHO with all args, space-separated.
4583 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4584 $as_echo "printf" >&6; } ;;
4585 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4586 $as_echo "print -r" >&6; } ;;
4587 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4588 $as_echo "cat" >&6; } ;;
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4605 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4606 if ${ac_cv_path_SED+:} false; then :
4607 $as_echo_n "(cached) " >&6
4609 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4610 for ac_i in 1 2 3 4 5 6 7; do
4611 ac_script="$ac_script$as_nl$ac_script"
4613 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4614 { ac_script=; unset ac_script;}
4615 if test -z "$SED"; then
4616 ac_path_SED_found=false
4617 # Loop through the user's path and test for each of PROGNAME-LIST
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir=.
4623 for ac_prog in sed gsed; do
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4626 as_fn_executable_p "$ac_path_SED" || continue
4627 # Check for GNU ac_path_SED and select it if it is found.
4628 # Check for GNU $ac_path_SED
4629 case `"$ac_path_SED" --version 2>&1` in
4631 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4634 $as_echo_n 0123456789 >"conftest.in"
4637 cat "conftest.in" "conftest.in" >"conftest.tmp"
4638 mv "conftest.tmp" "conftest.in"
4639 cp "conftest.in" "conftest.nl"
4640 $as_echo '' >> "conftest.nl"
4641 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4642 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4643 as_fn_arith $ac_count + 1 && ac_count=$as_val
4644 if test $ac_count -gt ${ac_path_SED_max-0}; then
4645 # Best one so far, save it but keep looking for a better one
4646 ac_cv_path_SED="$ac_path_SED"
4647 ac_path_SED_max=$ac_count
4649 # 10*(2^10) chars as input seems more than enough
4650 test $ac_count -gt 10 && break
4652 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4655 $ac_path_SED_found && break 3
4660 if test -z "$ac_cv_path_SED"; then
4661 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4669 $as_echo "$ac_cv_path_SED" >&6; }
4670 SED="$ac_cv_path_SED"
4673 test -z "$SED" && SED=sed
4674 Xsed="$SED -e 1s/^X//"
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4687 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4688 if ${ac_cv_path_GREP+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -z "$GREP"; then
4692 ac_path_GREP_found=false
4693 # Loop through the user's path and test for each of PROGNAME-LIST
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4698 test -z "$as_dir" && as_dir=.
4699 for ac_prog in grep ggrep; do
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4702 as_fn_executable_p "$ac_path_GREP" || continue
4703 # Check for GNU ac_path_GREP and select it if it is found.
4704 # Check for GNU $ac_path_GREP
4705 case `"$ac_path_GREP" --version 2>&1` in
4707 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4710 $as_echo_n 0123456789 >"conftest.in"
4713 cat "conftest.in" "conftest.in" >"conftest.tmp"
4714 mv "conftest.tmp" "conftest.in"
4715 cp "conftest.in" "conftest.nl"
4716 $as_echo 'GREP' >> "conftest.nl"
4717 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4719 as_fn_arith $ac_count + 1 && ac_count=$as_val
4720 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4721 # Best one so far, save it but keep looking for a better one
4722 ac_cv_path_GREP="$ac_path_GREP"
4723 ac_path_GREP_max=$ac_count
4725 # 10*(2^10) chars as input seems more than enough
4726 test $ac_count -gt 10 && break
4728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4731 $ac_path_GREP_found && break 3
4736 if test -z "$ac_cv_path_GREP"; then
4737 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4740 ac_cv_path_GREP=$GREP
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4745 $as_echo "$ac_cv_path_GREP" >&6; }
4746 GREP="$ac_cv_path_GREP"
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4750 $as_echo_n "checking for egrep... " >&6; }
4751 if ${ac_cv_path_EGREP+:} false; then :
4752 $as_echo_n "(cached) " >&6
4754 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4755 then ac_cv_path_EGREP="$GREP -E"
4757 if test -z "$EGREP"; then
4758 ac_path_EGREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in egrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4768 as_fn_executable_p "$ac_path_EGREP" || continue
4769 # Check for GNU ac_path_EGREP and select it if it is found.
4770 # Check for GNU $ac_path_EGREP
4771 case `"$ac_path_EGREP" --version 2>&1` in
4773 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4776 $as_echo_n 0123456789 >"conftest.in"
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'EGREP' >> "conftest.nl"
4783 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_EGREP="$ac_path_EGREP"
4789 ac_path_EGREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4797 $ac_path_EGREP_found && break 3
4802 if test -z "$ac_cv_path_EGREP"; then
4803 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806 ac_cv_path_EGREP=$EGREP
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4812 $as_echo "$ac_cv_path_EGREP" >&6; }
4813 EGREP="$ac_cv_path_EGREP"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4817 $as_echo_n "checking for fgrep... " >&6; }
4818 if ${ac_cv_path_FGREP+:} false; then :
4819 $as_echo_n "(cached) " >&6
4821 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4822 then ac_cv_path_FGREP="$GREP -F"
4824 if test -z "$FGREP"; then
4825 ac_path_FGREP_found=false
4826 # Loop through the user's path and test for each of PROGNAME-LIST
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 test -z "$as_dir" && as_dir=.
4832 for ac_prog in fgrep; do
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4835 as_fn_executable_p "$ac_path_FGREP" || continue
4836 # Check for GNU ac_path_FGREP and select it if it is found.
4837 # Check for GNU $ac_path_FGREP
4838 case `"$ac_path_FGREP" --version 2>&1` in
4840 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4843 $as_echo_n 0123456789 >"conftest.in"
4846 cat "conftest.in" "conftest.in" >"conftest.tmp"
4847 mv "conftest.tmp" "conftest.in"
4848 cp "conftest.in" "conftest.nl"
4849 $as_echo 'FGREP' >> "conftest.nl"
4850 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4851 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4852 as_fn_arith $ac_count + 1 && ac_count=$as_val
4853 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4854 # Best one so far, save it but keep looking for a better one
4855 ac_cv_path_FGREP="$ac_path_FGREP"
4856 ac_path_FGREP_max=$ac_count
4858 # 10*(2^10) chars as input seems more than enough
4859 test $ac_count -gt 10 && break
4861 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4864 $ac_path_FGREP_found && break 3
4869 if test -z "$ac_cv_path_FGREP"; then
4870 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 ac_cv_path_FGREP=$FGREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4879 $as_echo "$ac_cv_path_FGREP" >&6; }
4880 FGREP="$ac_cv_path_FGREP"
4883 test -z "$GREP" && GREP=grep
4903 # Check whether --with-gnu-ld was given.
4904 if test "${with_gnu_ld+set}" = set; then :
4905 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4911 if test "$GCC" = yes; then
4912 # Check if gcc -print-prog-name=ld gives a path.
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4914 $as_echo_n "checking for ld used by $CC... " >&6; }
4917 # gcc leaves a trailing carriage return which upsets mingw
4918 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4920 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4923 # Accept absolute paths.
4925 re_direlt='/[^/][^/]*/\.\./'
4926 # Canonicalize the pathname of ld
4927 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4928 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4929 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4931 test -z "$LD" && LD="$ac_prog"
4934 # If it fails, then pretend we aren't using GCC.
4938 # If it is relative, then search for the first ld in PATH.
4942 elif test "$with_gnu_ld" = yes; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4944 $as_echo_n "checking for GNU ld... " >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4947 $as_echo_n "checking for non-GNU ld... " >&6; }
4949 if ${lt_cv_path_LD+:} false; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -z "$LD"; then
4953 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4954 for ac_dir in $PATH; do
4956 test -z "$ac_dir" && ac_dir=.
4957 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4958 lt_cv_path_LD="$ac_dir/$ac_prog"
4959 # Check to see if the program is GNU ld. I'd rather use --version,
4960 # but apparently some variants of GNU ld only accept -v.
4961 # Break only if it was the GNU/non-GNU ld that we prefer.
4962 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4963 *GNU* | *'with BFD'*)
4964 test "$with_gnu_ld" != no && break
4967 test "$with_gnu_ld" != yes && break
4974 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4979 if test -n "$LD"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4981 $as_echo "$LD" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4986 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4988 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4989 if ${lt_cv_prog_gnu_ld+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4993 case `$LD -v 2>&1 </dev/null` in
4994 *GNU* | *'with BFD'*)
4995 lt_cv_prog_gnu_ld=yes
4998 lt_cv_prog_gnu_ld=no
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5003 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5004 with_gnu_ld=$lt_cv_prog_gnu_ld
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5015 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5016 if ${lt_cv_path_NM+:} false; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$NM"; then
5020 # Let the user override the test.
5023 lt_nm_to_check="${ac_tool_prefix}nm"
5024 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5025 lt_nm_to_check="$lt_nm_to_check nm"
5027 for lt_tmp_nm in $lt_nm_to_check; do
5028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5029 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5031 test -z "$ac_dir" && ac_dir=.
5032 tmp_nm="$ac_dir/$lt_tmp_nm"
5033 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5034 # Check to see if the nm accepts a BSD-compat flag.
5035 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5036 # nm: unknown option "B" ignored
5037 # Tru64's nm complains that /dev/null is an invalid object file
5038 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5039 */dev/null* | *'Invalid file or object type'*)
5040 lt_cv_path_NM="$tmp_nm -B"
5044 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5046 lt_cv_path_NM="$tmp_nm -p"
5050 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5051 continue # so that we can try to find one that supports BSD flags
5060 : ${lt_cv_path_NM=no}
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5064 $as_echo "$lt_cv_path_NM" >&6; }
5065 if test "$lt_cv_path_NM" != "no"; then
5068 # Didn't find any BSD compatible name lister, look for dumpbin.
5069 if test -n "$DUMPBIN"; then :
5070 # Let the user override the test.
5072 if test -n "$ac_tool_prefix"; then
5073 for ac_prog in dumpbin "link -dump"
5075 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5076 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_DUMPBIN+:} false; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$DUMPBIN"; then
5083 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 DUMPBIN=$ac_cv_prog_DUMPBIN
5103 if test -n "$DUMPBIN"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5105 $as_echo "$DUMPBIN" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 test -n "$DUMPBIN" && break
5115 if test -z "$DUMPBIN"; then
5116 ac_ct_DUMPBIN=$DUMPBIN
5117 for ac_prog in dumpbin "link -dump"
5119 # Extract the first word of "$ac_prog", so it can be a program name with args.
5120 set dummy $ac_prog; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$ac_ct_DUMPBIN"; then
5127 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5147 if test -n "$ac_ct_DUMPBIN"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5149 $as_echo "$ac_ct_DUMPBIN" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5156 test -n "$ac_ct_DUMPBIN" && break
5159 if test "x$ac_ct_DUMPBIN" = x; then
5162 case $cross_compiling:$ac_tool_warned in
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5166 ac_tool_warned=yes ;;
5168 DUMPBIN=$ac_ct_DUMPBIN
5172 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5174 DUMPBIN="$DUMPBIN -symbols"
5182 if test "$DUMPBIN" != ":"; then
5186 test -z "$NM" && NM=nm
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5194 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5195 if ${lt_cv_nm_interface+:} false; then :
5196 $as_echo_n "(cached) " >&6
5198 lt_cv_nm_interface="BSD nm"
5199 echo "int some_variable = 0;" > conftest.$ac_ext
5200 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5201 (eval "$ac_compile" 2>conftest.err)
5202 cat conftest.err >&5
5203 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5204 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5205 cat conftest.err >&5
5206 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5207 cat conftest.out >&5
5208 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5209 lt_cv_nm_interface="MS dumpbin"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5214 $as_echo "$lt_cv_nm_interface" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5217 $as_echo_n "checking whether ln -s works... " >&6; }
5219 if test "$LN_S" = "ln -s"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 $as_echo "yes" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5224 $as_echo "no, using $LN_S" >&6; }
5227 # find the maximum length of command line arguments
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5229 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5230 if ${lt_cv_sys_max_cmd_len+:} false; then :
5231 $as_echo_n "(cached) " >&6
5238 # On DJGPP, this test can blow up pretty badly due to problems in libc
5239 # (any single argument exceeding 2000 bytes causes a buffer overrun
5240 # during glob expansion). Even if it were fixed, the result of this
5241 # check would be larger than it should be.
5242 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5246 # Under GNU Hurd, this test is not required because there is
5247 # no limit to the length of command line arguments.
5248 # Libtool will interpret -1 as no limit whatsoever
5249 lt_cv_sys_max_cmd_len=-1;
5252 cygwin* | mingw* | cegcc*)
5253 # On Win9x/ME, this test blows up -- it succeeds, but takes
5254 # about 5 minutes as the teststring grows exponentially.
5255 # Worse, since 9x/ME are not pre-emptively multitasking,
5256 # you end up with a "frozen" computer, even though with patience
5257 # the test eventually succeeds (with a max line length of 256k).
5258 # Instead, let's just punt: use the minimum linelength reported by
5259 # all of the supported platforms: 8192 (on NT/2K/XP).
5260 lt_cv_sys_max_cmd_len=8192;
5264 # On MiNT this can take a long time and run out of memory.
5265 lt_cv_sys_max_cmd_len=8192;
5269 # On AmigaOS with pdksh, this test takes hours, literally.
5270 # So we just punt and use a minimum line length of 8192.
5271 lt_cv_sys_max_cmd_len=8192;
5274 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5275 # This has been around since 386BSD, at least. Likely further.
5276 if test -x /sbin/sysctl; then
5277 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5278 elif test -x /usr/sbin/sysctl; then
5279 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5281 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5283 # And add a safety zone
5284 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5285 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5289 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5290 lt_cv_sys_max_cmd_len=196608
5294 # The test takes a long time on OS/2.
5295 lt_cv_sys_max_cmd_len=8192
5299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5301 # nice to cause kernel panics so lets avoid the loop below.
5302 # First set a reasonable default.
5303 lt_cv_sys_max_cmd_len=16384
5305 if test -x /sbin/sysconfig; then
5306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5307 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5312 lt_cv_sys_max_cmd_len=102400
5314 sysv5* | sco5v6* | sysv4.2uw2*)
5315 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5316 if test -n "$kargmax"; then
5317 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5319 lt_cv_sys_max_cmd_len=32768
5323 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5324 if test -n "$lt_cv_sys_max_cmd_len"; then
5325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5328 # Make teststring a little bigger before we do anything with it.
5329 # a 1K string should be a reasonable start.
5330 for i in 1 2 3 4 5 6 7 8 ; do
5331 teststring=$teststring$teststring
5333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5334 # If test is not a shell built-in, we'll probably end up computing a
5335 # maximum length that is only half of the actual maximum length, but
5337 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5338 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5339 test $i != 17 # 1/2 MB should be enough
5342 teststring=$teststring$teststring
5344 # Only check the string length outside the loop.
5345 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5347 # Add a significant safety factor because C++ compilers can tack on
5348 # massive amounts of additional arguments before passing them to the
5349 # linker. It appears as though 1/2 is a usable value.
5350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5357 if test -n $lt_cv_sys_max_cmd_len ; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5362 $as_echo "none" >&6; }
5364 max_cmd_len=$lt_cv_sys_max_cmd_len
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5376 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5377 # Try some XSI features
5380 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5382 && eval 'test $(( 1 + 1 )) -eq 2 \
5383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5386 $as_echo "$xsi_shell" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5390 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5392 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5394 && lt_shell_append=yes
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5396 $as_echo "$lt_shell_append" >&6; }
5399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5409 # test EBCDIC or ASCII
5410 case `echo X|tr X '\101'` in
5411 A) # ASCII based system
5412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5413 lt_SP2NL='tr \040 \012'
5414 lt_NL2SP='tr \015\012 \040\040'
5416 *) # EBCDIC based system
5417 lt_SP2NL='tr \100 \n'
5418 lt_NL2SP='tr \r\n \100\100'
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5431 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5432 if ${lt_cv_to_host_file_cmd+:} false; then :
5433 $as_echo_n "(cached) " >&6
5438 *-*-mingw* ) # actually msys
5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5442 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5444 * ) # otherwise, assume *nix
5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5451 *-*-mingw* ) # actually msys
5452 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5455 lt_cv_to_host_file_cmd=func_convert_file_noop
5457 * ) # otherwise, assume *nix
5458 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5462 * ) # unhandled hosts (and "normal" native builds)
5463 lt_cv_to_host_file_cmd=func_convert_file_noop
5469 to_host_file_cmd=$lt_cv_to_host_file_cmd
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5471 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5478 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5479 if ${lt_cv_to_tool_file_cmd+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 #assume ordinary cross tools, or native build.
5483 lt_cv_to_tool_file_cmd=func_convert_file_noop
5487 *-*-mingw* ) # actually msys
5488 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5496 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5498 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5505 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5506 if ${lt_cv_ld_reload_flag+:} false; then :
5507 $as_echo_n "(cached) " >&6
5509 lt_cv_ld_reload_flag='-r'
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5512 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5513 reload_flag=$lt_cv_ld_reload_flag
5514 case $reload_flag in
5516 *) reload_flag=" $reload_flag" ;;
5518 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5520 cygwin* | mingw* | pw32* | cegcc*)
5521 if test "$GCC" != yes; then
5526 if test "$GCC" = yes; then
5527 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5529 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_OBJDUMP+:} false; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$OBJDUMP"; then
5551 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 OBJDUMP=$ac_cv_prog_OBJDUMP
5571 if test -n "$OBJDUMP"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5573 $as_echo "$OBJDUMP" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_OBJDUMP"; then
5582 ac_ct_OBJDUMP=$OBJDUMP
5583 # Extract the first word of "objdump", so it can be a program name with args.
5584 set dummy objdump; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_OBJDUMP"; then
5591 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5611 if test -n "$ac_ct_OBJDUMP"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5613 $as_echo "$ac_ct_OBJDUMP" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_OBJDUMP" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5628 OBJDUMP=$ac_ct_OBJDUMP
5631 OBJDUMP="$ac_cv_prog_OBJDUMP"
5634 test -z "$OBJDUMP" && OBJDUMP=objdump
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5645 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5646 if ${lt_cv_deplibs_check_method+:} false; then :
5647 $as_echo_n "(cached) " >&6
5649 lt_cv_file_magic_cmd='$MAGIC_CMD'
5650 lt_cv_file_magic_test_file=
5651 lt_cv_deplibs_check_method='unknown'
5652 # Need to set the preceding variable on all platforms that support
5653 # interlibrary dependencies.
5654 # 'none' -- dependencies not supported.
5655 # `unknown' -- same as none, but documents that we really don't know.
5656 # 'pass_all' -- all dependencies passed with no checks.
5657 # 'test_compile' -- check by making test program.
5658 # 'file_magic [[regex]]' -- check by looking for files in library path
5659 # which responds to the $file_magic_cmd with a given extended regex.
5660 # If you have `file' or equivalent on your system and you're not sure
5661 # whether `pass_all' will *always* work, you probably want this one.
5665 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_deplibs_check_method=pass_all
5673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5674 lt_cv_file_magic_cmd='/usr/bin/file -L'
5675 lt_cv_file_magic_test_file=/shlib/libc.so
5679 # func_win32_libid is a shell function defined in ltmain.sh
5680 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5681 lt_cv_file_magic_cmd='func_win32_libid'
5685 # Base MSYS/MinGW do not provide the 'file' command needed by
5686 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5687 # unless we find 'file', for example because we are cross-compiling.
5688 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5689 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5690 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5691 lt_cv_file_magic_cmd='func_win32_libid'
5693 # Keep this pattern in sync with the one in func_win32_libid.
5694 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5695 lt_cv_file_magic_cmd='$OBJDUMP -f'
5700 # use the weaker test based on 'objdump'. See mingw*.
5701 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5702 lt_cv_file_magic_cmd='$OBJDUMP -f'
5705 darwin* | rhapsody*)
5706 lt_cv_deplibs_check_method=pass_all
5709 freebsd* | dragonfly*)
5710 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5713 # Not sure whether the presence of OpenBSD here was a mistake.
5714 # Let's accept both of them until this is cleared up.
5715 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5716 lt_cv_file_magic_cmd=/usr/bin/file
5717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5721 lt_cv_deplibs_check_method=pass_all
5726 lt_cv_deplibs_check_method=pass_all
5730 lt_cv_deplibs_check_method=pass_all
5733 hpux10.20* | hpux11*)
5734 lt_cv_file_magic_cmd=/usr/bin/file
5737 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5738 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5741 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]'
5742 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5745 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5746 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5752 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5756 irix5* | irix6* | nonstopux*)
5758 *-32|*"-32 ") libmagic=32-bit;;
5759 *-n32|*"-n32 ") libmagic=N32;;
5760 *-64|*"-64 ") libmagic=64-bit;;
5761 *) libmagic=never-match;;
5763 lt_cv_deplibs_check_method=pass_all
5766 # This must be glibc/ELF.
5767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5768 lt_cv_deplibs_check_method=pass_all
5772 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5780 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5781 lt_cv_file_magic_cmd=/usr/bin/file
5782 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5786 lt_cv_deplibs_check_method=pass_all
5790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 osf3* | osf4* | osf5*)
5798 lt_cv_deplibs_check_method=pass_all
5802 lt_cv_deplibs_check_method=pass_all
5806 lt_cv_deplibs_check_method=pass_all
5809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5810 lt_cv_deplibs_check_method=pass_all
5814 case $host_vendor in
5816 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]'
5817 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5820 lt_cv_deplibs_check_method=pass_all
5823 lt_cv_file_magic_cmd='/bin/file'
5824 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5827 lt_cv_file_magic_cmd='/bin/file'
5828 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5829 lt_cv_file_magic_test_file=/lib/libc.so
5832 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5841 lt_cv_deplibs_check_method=pass_all
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5851 if test "$build" = "$host"; then
5854 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5857 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5863 file_magic_cmd=$lt_cv_file_magic_cmd
5864 deplibs_check_method=$lt_cv_deplibs_check_method
5865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5888 if test -n "$ac_tool_prefix"; then
5889 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_DLLTOOL+:} false; then :
5894 $as_echo_n "(cached) " >&6
5896 if test -n "$DLLTOOL"; then
5897 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 DLLTOOL=$ac_cv_prog_DLLTOOL
5917 if test -n "$DLLTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5919 $as_echo "$DLLTOOL" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5927 if test -z "$ac_cv_prog_DLLTOOL"; then
5928 ac_ct_DLLTOOL=$DLLTOOL
5929 # Extract the first word of "dlltool", so it can be a program name with args.
5930 set dummy dlltool; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5934 $as_echo_n "(cached) " >&6
5936 if test -n "$ac_ct_DLLTOOL"; then
5937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5957 if test -n "$ac_ct_DLLTOOL"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5959 $as_echo "$ac_ct_DLLTOOL" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5965 if test "x$ac_ct_DLLTOOL" = x; then
5968 case $cross_compiling:$ac_tool_warned in
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5972 ac_tool_warned=yes ;;
5974 DLLTOOL=$ac_ct_DLLTOOL
5977 DLLTOOL="$ac_cv_prog_DLLTOOL"
5980 test -z "$DLLTOOL" && DLLTOOL=dlltool
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5992 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5993 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5994 $as_echo_n "(cached) " >&6
5996 lt_cv_sharedlib_from_linklib_cmd='unknown'
5999 cygwin* | mingw* | pw32* | cegcc*)
6000 # two different shell functions defined in ltmain.sh
6001 # decide which to use based on capabilities of $DLLTOOL
6002 case `$DLLTOOL --help 2>&1` in
6003 *--identify-strict*)
6004 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6007 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6012 # fallback: assume linklib IS sharedlib
6013 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6019 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6020 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6021 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6030 if test -n "$ac_tool_prefix"; then
6033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_AR+:} false; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$AR"; then
6041 ac_cv_prog_AR="$AR" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 if test -n "$AR"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6063 $as_echo "$AR" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070 test -n "$AR" && break
6073 if test -z "$AR"; then
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6082 $as_echo_n "(cached) " >&6
6084 if test -n "$ac_ct_AR"; then
6085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_ac_ct_AR="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6105 if test -n "$ac_ct_AR"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6107 $as_echo "$ac_ct_AR" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$ac_ct_AR" && break
6117 if test "x$ac_ct_AR" = x; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6124 ac_tool_warned=yes ;;
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6144 $as_echo_n "checking for archiver @FILE support... " >&6; }
6145 if ${lt_cv_ar_at_file+:} false; then :
6146 $as_echo_n "(cached) " >&6
6149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6160 if ac_fn_c_try_compile "$LINENO"; then :
6161 echo conftest.$ac_objext > conftest.lst
6162 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6163 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6164 (eval $lt_ar_try) 2>&5
6166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6167 test $ac_status = 0; }
6168 if test "$ac_status" -eq 0; then
6169 # Ensure the archiver fails upon bogus file names.
6170 rm -f conftest.$ac_objext libconftest.a
6171 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6172 (eval $lt_ar_try) 2>&5
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; }
6176 if test "$ac_status" -ne 0; then
6180 rm -f conftest.* libconftest.a
6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6187 $as_echo "$lt_cv_ar_at_file" >&6; }
6189 if test "x$lt_cv_ar_at_file" = xno; then
6192 archiver_list_spec=$lt_cv_ar_at_file
6201 if test -n "$ac_tool_prefix"; then
6202 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6203 set dummy ${ac_tool_prefix}strip; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if ${ac_cv_prog_STRIP+:} false; then :
6207 $as_echo_n "(cached) " >&6
6209 if test -n "$STRIP"; then
6210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 STRIP=$ac_cv_prog_STRIP
6230 if test -n "$STRIP"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6232 $as_echo "$STRIP" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6240 if test -z "$ac_cv_prog_STRIP"; then
6242 # Extract the first word of "strip", so it can be a program name with args.
6243 set dummy strip; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6247 $as_echo_n "(cached) " >&6
6249 if test -n "$ac_ct_STRIP"; then
6250 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_ac_ct_STRIP="strip"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6270 if test -n "$ac_ct_STRIP"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6272 $as_echo "$ac_ct_STRIP" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6278 if test "x$ac_ct_STRIP" = x; then
6281 case $cross_compiling:$ac_tool_warned in
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6285 ac_tool_warned=yes ;;
6290 STRIP="$ac_cv_prog_STRIP"
6293 test -z "$STRIP" && STRIP=:
6300 if test -n "$ac_tool_prefix"; then
6301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_RANLIB+:} false; then :
6306 $as_echo_n "(cached) " >&6
6308 if test -n "$RANLIB"; then
6309 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 RANLIB=$ac_cv_prog_RANLIB
6329 if test -n "$RANLIB"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6331 $as_echo "$RANLIB" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6339 if test -z "$ac_cv_prog_RANLIB"; then
6340 ac_ct_RANLIB=$RANLIB
6341 # Extract the first word of "ranlib", so it can be a program name with args.
6342 set dummy ranlib; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6346 $as_echo_n "(cached) " >&6
6348 if test -n "$ac_ct_RANLIB"; then
6349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6358 ac_cv_prog_ac_ct_RANLIB="ranlib"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6369 if test -n "$ac_ct_RANLIB"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6371 $as_echo "$ac_ct_RANLIB" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6377 if test "x$ac_ct_RANLIB" = x; then
6380 case $cross_compiling:$ac_tool_warned in
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6384 ac_tool_warned=yes ;;
6386 RANLIB=$ac_ct_RANLIB
6389 RANLIB="$ac_cv_prog_RANLIB"
6392 test -z "$RANLIB" && RANLIB=:
6399 # Determine commands to create old-style static archives.
6400 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6401 old_postinstall_cmds='chmod 644 $oldlib'
6402 old_postuninstall_cmds=
6404 if test -n "$RANLIB"; then
6407 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6410 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6413 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6418 lock_old_archive_extraction=yes ;;
6420 lock_old_archive_extraction=no ;;
6461 # If no C compiler was specified, use CC.
6464 # If no C compiler flags were specified, use CFLAGS.
6465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6467 # Allow CC to be a program name with arguments.
6471 # Check for command to grab the raw symbol name followed by C symbol from nm.
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6473 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6474 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6475 $as_echo_n "(cached) " >&6
6478 # These are sane defaults that work on at least a few old systems.
6479 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6481 # Character class describing NM global symbol codes.
6482 symcode='[BCDEGRST]'
6484 # Regexp to match symbols that can be accessed directly from C.
6485 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6487 # Define system-specific variables.
6492 cygwin* | mingw* | pw32* | cegcc*)
6493 symcode='[ABCDGISTW]'
6496 if test "$host_cpu" = ia64; then
6497 symcode='[ABCDEGRST]'
6501 symcode='[BCDEGRST]'
6504 symcode='[BCDEGQRST]'
6515 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6523 # If we're using GNU nm, then use its standard symbol codes.
6524 case `$NM -V 2>&1` in
6525 *GNU* | *'with BFD'*)
6526 symcode='[ABCDGIRSTW]' ;;
6529 # Transform an extracted symbol line into a proper C declaration.
6530 # Some systems (esp. on ia64) link data and code symbols differently,
6531 # so use this general approach.
6532 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6534 # Transform an extracted symbol line into symbol name and symbol address
6535 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6536 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'"
6538 # Handle CRLF in mingw tool chain
6542 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6546 # Try without a prefix underscore, then with it.
6547 for ac_symprfx in "" "_"; do
6549 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6550 symxfrm="\\1 $ac_symprfx\\2 \\2"
6552 # Write the raw and C identifiers.
6553 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6554 # Fake it for dumpbin and say T for any non-static function
6555 # and D for any global variable.
6556 # Also find C++ and __fastcall symbols from MSVC++,
6557 # which start with @ or ?.
6558 lt_cv_sys_global_symbol_pipe="$AWK '"\
6559 " {last_section=section; section=\$ 3};"\
6560 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6561 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6562 " \$ 0!~/External *\|/{next};"\
6563 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6564 " {if(hide[section]) next};"\
6565 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6566 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6567 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6568 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6569 " ' prfx=^$ac_symprfx"
6571 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6573 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6575 # Check to see that the pipe works correctly.
6579 cat > conftest.$ac_ext <<_LT_EOF
6584 void nm_test_func(void);
6585 void nm_test_func(void){}
6589 int main(){nm_test_var='a';nm_test_func();return(0);}
6592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6593 (eval $ac_compile) 2>&5
6595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6596 test $ac_status = 0; }; then
6597 # Now try to grab the symbols.
6599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6600 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6603 test $ac_status = 0; } && test -s "$nlist"; then
6604 # Try sorting and uniquifying the output.
6605 if sort "$nlist" | uniq > "$nlist"T; then
6606 mv -f "$nlist"T "$nlist"
6611 # Make sure that we snagged all the symbols we need.
6612 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6613 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6614 cat <<_LT_EOF > conftest.$ac_ext
6615 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6616 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6617 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6618 relocations are performed -- see ld's documentation on pseudo-relocs. */
6619 # define LT_DLSYM_CONST
6620 #elif defined(__osf__)
6621 /* This system does not cope well with relocations in const data. */
6622 # define LT_DLSYM_CONST
6624 # define LT_DLSYM_CONST const
6632 # Now generate the symbol file.
6633 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6635 cat <<_LT_EOF >> conftest.$ac_ext
6637 /* The mapping between symbol names and symbols. */
6638 LT_DLSYM_CONST struct {
6642 lt__PROGRAM__LTX_preloaded_symbols[] =
6644 { "@PROGRAM@", (void *) 0 },
6646 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6647 cat <<\_LT_EOF >> conftest.$ac_ext
6651 /* This works around a problem in FreeBSD linker */
6652 #ifdef FREEBSD_WORKAROUND
6653 static const void *lt_preloaded_setup() {
6654 return lt__PROGRAM__LTX_preloaded_symbols;
6662 # Now try linking the two files.
6663 mv conftest.$ac_objext conftstm.$ac_objext
6664 lt_globsym_save_LIBS=$LIBS
6665 lt_globsym_save_CFLAGS=$CFLAGS
6666 LIBS="conftstm.$ac_objext"
6667 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6669 (eval $ac_link) 2>&5
6671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6672 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6675 LIBS=$lt_globsym_save_LIBS
6676 CFLAGS=$lt_globsym_save_CFLAGS
6678 echo "cannot find nm_test_func in $nlist" >&5
6681 echo "cannot find nm_test_var in $nlist" >&5
6684 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6687 echo "$progname: failed program was:" >&5
6688 cat conftest.$ac_ext >&5
6690 rm -rf conftest* conftst*
6692 # Do not use the global_symbol_pipe unless it works.
6693 if test "$pipe_works" = yes; then
6696 lt_cv_sys_global_symbol_pipe=
6702 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6703 lt_cv_sys_global_symbol_to_cdecl=
6705 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6707 $as_echo "failed" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6710 $as_echo "ok" >&6; }
6713 # Response file support.
6714 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6715 nm_file_list_spec='@'
6716 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6717 nm_file_list_spec='@'
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6747 $as_echo_n "checking for sysroot... " >&6; }
6749 # Check whether --with-sysroot was given.
6750 if test "${with_sysroot+set}" = set; then :
6751 withval=$with_sysroot;
6758 case ${with_sysroot} in #(
6760 if test "$GCC" = yes; then
6761 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6765 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6771 $as_echo "${with_sysroot}" >&6; }
6772 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6777 $as_echo "${lt_sysroot:-no}" >&6; }
6783 # Check whether --enable-libtool-lock was given.
6784 if test "${enable_libtool_lock+set}" = set; then :
6785 enableval=$enable_libtool_lock;
6788 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6790 # Some flags need to be propagated to the compiler or linker for good
6794 # Find out which ABI we are using.
6795 echo 'int i;' > conftest.$ac_ext
6796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6797 (eval $ac_compile) 2>&5
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800 test $ac_status = 0; }; then
6801 case `/usr/bin/file conftest.$ac_objext` in
6813 # Find out which ABI we are using.
6814 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6816 (eval $ac_compile) 2>&5
6818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6819 test $ac_status = 0; }; then
6820 if test "$lt_cv_prog_gnu_ld" = yes; then
6821 case `/usr/bin/file conftest.$ac_objext` in
6823 LD="${LD-ld} -melf32bsmip"
6826 LD="${LD-ld} -melf32bmipn32"
6829 LD="${LD-ld} -melf64bmip"
6833 case `/usr/bin/file conftest.$ac_objext` in
6849 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6850 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6851 # Find out which ABI we are using.
6852 echo 'int i;' > conftest.$ac_ext
6853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6854 (eval $ac_compile) 2>&5
6856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6857 test $ac_status = 0; }; then
6858 case `/usr/bin/file conftest.o` in
6861 x86_64-*kfreebsd*-gnu)
6862 LD="${LD-ld} -m elf_i386_fbsd"
6865 LD="${LD-ld} -m elf_i386"
6867 ppc64-*linux*|powerpc64-*linux*)
6868 LD="${LD-ld} -m elf32ppclinux"
6871 LD="${LD-ld} -m elf_s390"
6874 LD="${LD-ld} -m elf32_sparc"
6880 x86_64-*kfreebsd*-gnu)
6881 LD="${LD-ld} -m elf_x86_64_fbsd"
6884 LD="${LD-ld} -m elf_x86_64"
6886 ppc*-*linux*|powerpc*-*linux*)
6887 LD="${LD-ld} -m elf64ppc"
6889 s390*-*linux*|s390*-*tpf*)
6890 LD="${LD-ld} -m elf64_s390"
6893 LD="${LD-ld} -m elf64_sparc"
6903 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6904 SAVE_CFLAGS="$CFLAGS"
6905 CFLAGS="$CFLAGS -belf"
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6907 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6908 if ${lt_cv_cc_needs_belf+:} false; then :
6909 $as_echo_n "(cached) " >&6
6912 ac_cpp='$CPP $CPPFLAGS'
6913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6928 if ac_fn_c_try_link "$LINENO"; then :
6929 lt_cv_cc_needs_belf=yes
6931 lt_cv_cc_needs_belf=no
6933 rm -f core conftest.err conftest.$ac_objext \
6934 conftest$ac_exeext conftest.$ac_ext
6936 ac_cpp='$CPP $CPPFLAGS'
6937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6943 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6944 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6945 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6946 CFLAGS="$SAVE_CFLAGS"
6950 # Find out which ABI we are using.
6951 echo 'int i;' > conftest.$ac_ext
6952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6953 (eval $ac_compile) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956 test $ac_status = 0; }; then
6957 case `/usr/bin/file conftest.o` in
6959 case $lt_cv_prog_gnu_ld in
6963 LD="${LD-ld} -m elf_x86_64"
6966 LD="${LD-ld} -m elf64_sparc"
6969 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6970 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6975 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6987 need_locks="$enable_libtool_lock"
6989 if test -n "$ac_tool_prefix"; then
6990 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6991 set dummy ${ac_tool_prefix}mt; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6995 $as_echo_n "(cached) " >&6
6997 if test -n "$MANIFEST_TOOL"; then
6998 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7018 if test -n "$MANIFEST_TOOL"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7020 $as_echo "$MANIFEST_TOOL" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7028 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7029 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7030 # Extract the first word of "mt", so it can be a program name with args.
7031 set dummy mt; ac_word=$2
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033 $as_echo_n "checking for $ac_word... " >&6; }
7034 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7035 $as_echo_n "(cached) " >&6
7037 if test -n "$ac_ct_MANIFEST_TOOL"; then
7038 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 test -z "$as_dir" && as_dir=.
7045 for ac_exec_ext in '' $ac_executable_extensions; do
7046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7047 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7058 if test -n "$ac_ct_MANIFEST_TOOL"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7060 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063 $as_echo "no" >&6; }
7066 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7069 case $cross_compiling:$ac_tool_warned in
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073 ac_tool_warned=yes ;;
7075 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7078 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7081 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7083 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7084 if ${lt_cv_path_mainfest_tool+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 lt_cv_path_mainfest_tool=no
7088 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7089 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7090 cat conftest.err >&5
7091 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7092 lt_cv_path_mainfest_tool=yes
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7097 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7098 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7108 rhapsody* | darwin*)
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7115 $as_echo_n "(cached) " >&6
7117 if test -n "$DSYMUTIL"; then
7118 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7138 if test -n "$DSYMUTIL"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7140 $as_echo "$DSYMUTIL" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7148 if test -z "$ac_cv_prog_DSYMUTIL"; then
7149 ac_ct_DSYMUTIL=$DSYMUTIL
7150 # Extract the first word of "dsymutil", so it can be a program name with args.
7151 set dummy dsymutil; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$ac_ct_DSYMUTIL"; then
7158 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7178 if test -n "$ac_ct_DSYMUTIL"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7180 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7186 if test "x$ac_ct_DSYMUTIL" = x; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned=yes ;;
7195 DSYMUTIL=$ac_ct_DSYMUTIL
7198 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7201 if test -n "$ac_tool_prefix"; then
7202 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7203 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 $as_echo_n "checking for $ac_word... " >&6; }
7206 if ${ac_cv_prog_NMEDIT+:} false; then :
7207 $as_echo_n "(cached) " >&6
7209 if test -n "$NMEDIT"; then
7210 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 NMEDIT=$ac_cv_prog_NMEDIT
7230 if test -n "$NMEDIT"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7232 $as_echo "$NMEDIT" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 $as_echo "no" >&6; }
7240 if test -z "$ac_cv_prog_NMEDIT"; then
7241 ac_ct_NMEDIT=$NMEDIT
7242 # Extract the first word of "nmedit", so it can be a program name with args.
7243 set dummy nmedit; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7247 $as_echo_n "(cached) " >&6
7249 if test -n "$ac_ct_NMEDIT"; then
7250 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7270 if test -n "$ac_ct_NMEDIT"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7272 $as_echo "$ac_ct_NMEDIT" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7278 if test "x$ac_ct_NMEDIT" = x; then
7281 case $cross_compiling:$ac_tool_warned in
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7285 ac_tool_warned=yes ;;
7287 NMEDIT=$ac_ct_NMEDIT
7290 NMEDIT="$ac_cv_prog_NMEDIT"
7293 if test -n "$ac_tool_prefix"; then
7294 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7295 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if ${ac_cv_prog_LIPO+:} false; then :
7299 $as_echo_n "(cached) " >&6
7301 if test -n "$LIPO"; then
7302 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 LIPO=$ac_cv_prog_LIPO
7322 if test -n "$LIPO"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7324 $as_echo "$LIPO" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7332 if test -z "$ac_cv_prog_LIPO"; then
7334 # Extract the first word of "lipo", so it can be a program name with args.
7335 set dummy lipo; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7339 $as_echo_n "(cached) " >&6
7341 if test -n "$ac_ct_LIPO"; then
7342 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7351 ac_cv_prog_ac_ct_LIPO="lipo"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7362 if test -n "$ac_ct_LIPO"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7364 $as_echo "$ac_ct_LIPO" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7370 if test "x$ac_ct_LIPO" = x; then
7373 case $cross_compiling:$ac_tool_warned in
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7377 ac_tool_warned=yes ;;
7382 LIPO="$ac_cv_prog_LIPO"
7385 if test -n "$ac_tool_prefix"; then
7386 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7387 set dummy ${ac_tool_prefix}otool; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if ${ac_cv_prog_OTOOL+:} false; then :
7391 $as_echo_n "(cached) " >&6
7393 if test -n "$OTOOL"; then
7394 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 OTOOL=$ac_cv_prog_OTOOL
7414 if test -n "$OTOOL"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7416 $as_echo "$OTOOL" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7424 if test -z "$ac_cv_prog_OTOOL"; then
7426 # Extract the first word of "otool", so it can be a program name with args.
7427 set dummy otool; ac_word=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 $as_echo_n "checking for $ac_word... " >&6; }
7430 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7431 $as_echo_n "(cached) " >&6
7433 if test -n "$ac_ct_OTOOL"; then
7434 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir=.
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7443 ac_cv_prog_ac_ct_OTOOL="otool"
7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7454 if test -n "$ac_ct_OTOOL"; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7456 $as_echo "$ac_ct_OTOOL" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7462 if test "x$ac_ct_OTOOL" = x; then
7465 case $cross_compiling:$ac_tool_warned in
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7469 ac_tool_warned=yes ;;
7474 OTOOL="$ac_cv_prog_OTOOL"
7477 if test -n "$ac_tool_prefix"; then
7478 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7479 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if ${ac_cv_prog_OTOOL64+:} false; then :
7483 $as_echo_n "(cached) " >&6
7485 if test -n "$OTOOL64"; then
7486 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 OTOOL64=$ac_cv_prog_OTOOL64
7506 if test -n "$OTOOL64"; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7508 $as_echo "$OTOOL64" >&6; }
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7516 if test -z "$ac_cv_prog_OTOOL64"; then
7517 ac_ct_OTOOL64=$OTOOL64
7518 # Extract the first word of "otool64", so it can be a program name with args.
7519 set dummy otool64; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7523 $as_echo_n "(cached) " >&6
7525 if test -n "$ac_ct_OTOOL64"; then
7526 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_ac_ct_OTOOL64="otool64"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7546 if test -n "$ac_ct_OTOOL64"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7548 $as_echo "$ac_ct_OTOOL64" >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7554 if test "x$ac_ct_OTOOL64" = x; then
7557 case $cross_compiling:$ac_tool_warned in
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7561 ac_tool_warned=yes ;;
7563 OTOOL64=$ac_ct_OTOOL64
7566 OTOOL64="$ac_cv_prog_OTOOL64"
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7596 $as_echo_n "checking for -single_module linker flag... " >&6; }
7597 if ${lt_cv_apple_cc_single_mod+:} false; then :
7598 $as_echo_n "(cached) " >&6
7600 lt_cv_apple_cc_single_mod=no
7601 if test -z "${LT_MULTI_MODULE}"; then
7602 # By default we will add the -single_module flag. You can override
7603 # by either setting the environment variable LT_MULTI_MODULE
7604 # non-empty at configure time, or by adding -multi_module to the
7606 rm -rf libconftest.dylib*
7607 echo "int foo(void){return 1;}" > conftest.c
7608 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7609 -dynamiclib -Wl,-single_module conftest.c" >&5
7610 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7611 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7613 # If there is a non-empty error log, and "single_module"
7614 # appears in it, assume the flag caused a linker warning
7615 if test -s conftest.err && $GREP single_module conftest.err; then
7616 cat conftest.err >&5
7617 # Otherwise, if the output was created with a 0 exit code from
7618 # the compiler, it worked.
7619 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7620 lt_cv_apple_cc_single_mod=yes
7622 cat conftest.err >&5
7624 rm -rf libconftest.dylib*
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7629 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7632 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7633 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7634 $as_echo_n "(cached) " >&6
7636 lt_cv_ld_exported_symbols_list=no
7637 save_LDFLAGS=$LDFLAGS
7638 echo "_main" > conftest.sym
7639 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7651 if ac_fn_c_try_link "$LINENO"; then :
7652 lt_cv_ld_exported_symbols_list=yes
7654 lt_cv_ld_exported_symbols_list=no
7656 rm -f core conftest.err conftest.$ac_objext \
7657 conftest$ac_exeext conftest.$ac_ext
7658 LDFLAGS="$save_LDFLAGS"
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7662 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7665 $as_echo_n "checking for -force_load linker flag... " >&6; }
7666 if ${lt_cv_ld_force_load+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 lt_cv_ld_force_load=no
7670 cat > conftest.c << _LT_EOF
7671 int forced_loaded() { return 2;}
7673 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7674 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7675 echo "$AR cru libconftest.a conftest.o" >&5
7676 $AR cru libconftest.a conftest.o 2>&5
7677 echo "$RANLIB libconftest.a" >&5
7678 $RANLIB libconftest.a 2>&5
7679 cat > conftest.c << _LT_EOF
7680 int main() { return 0;}
7682 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7683 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7685 if test -s conftest.err && $GREP force_load conftest.err; then
7686 cat conftest.err >&5
7687 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7688 lt_cv_ld_force_load=yes
7690 cat conftest.err >&5
7692 rm -f conftest.err libconftest.a conftest conftest.c
7693 rm -rf conftest.dSYM
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7697 $as_echo "$lt_cv_ld_force_load" >&6; }
7699 rhapsody* | darwin1.[012])
7700 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7702 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7703 darwin*) # darwin 5.x on
7704 # if running on 10.5 or later, the deployment target defaults
7705 # to the OS version, if on x86, and 10.4, the deployment
7706 # target defaults to 10.4. Don't you love it?
7707 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7708 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7709 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7711 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7713 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7717 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7718 _lt_dar_single_mod='$single_module'
7720 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7721 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7723 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7725 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7726 _lt_dsymutil='~$DSYMUTIL $lib || :'
7734 ac_cpp='$CPP $CPPFLAGS'
7735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7739 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7740 # On Suns, sometimes $CPP names a directory.
7741 if test -n "$CPP" && test -d "$CPP"; then
7744 if test -z "$CPP"; then
7745 if ${ac_cv_prog_CPP+:} false; then :
7746 $as_echo_n "(cached) " >&6
7748 # Double quotes because CPP needs to be expanded
7749 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7752 for ac_c_preproc_warn_flag in '' yes
7754 # Use a header file that comes with gcc, so configuring glibc
7755 # with a fresh cross-compiler works.
7756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7757 # <limits.h> exists even on freestanding compilers.
7758 # On the NeXT, cc -E runs the code through the compiler's parser,
7759 # not just through cpp. "Syntax error" is here to catch this case.
7760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7763 # include <limits.h>
7765 # include <assert.h>
7769 if ac_fn_c_try_cpp "$LINENO"; then :
7772 # Broken: fails on valid input.
7775 rm -f conftest.err conftest.i conftest.$ac_ext
7777 # OK, works on sane cases. Now check whether nonexistent headers
7778 # can be detected and how.
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 #include <ac_nonexistent.h>
7783 if ac_fn_c_try_cpp "$LINENO"; then :
7784 # Broken: success on invalid input.
7787 # Passes both tests.
7791 rm -f conftest.err conftest.i conftest.$ac_ext
7794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7795 rm -f conftest.i conftest.err conftest.$ac_ext
7796 if $ac_preproc_ok; then :
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7809 $as_echo "$CPP" >&6; }
7811 for ac_c_preproc_warn_flag in '' yes
7813 # Use a header file that comes with gcc, so configuring glibc
7814 # with a fresh cross-compiler works.
7815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7816 # <limits.h> exists even on freestanding compilers.
7817 # On the NeXT, cc -E runs the code through the compiler's parser,
7818 # not just through cpp. "Syntax error" is here to catch this case.
7819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h. */
7822 # include <limits.h>
7824 # include <assert.h>
7828 if ac_fn_c_try_cpp "$LINENO"; then :
7831 # Broken: fails on valid input.
7834 rm -f conftest.err conftest.i conftest.$ac_ext
7836 # OK, works on sane cases. Now check whether nonexistent headers
7837 # can be detected and how.
7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7840 #include <ac_nonexistent.h>
7842 if ac_fn_c_try_cpp "$LINENO"; then :
7843 # Broken: success on invalid input.
7846 # Passes both tests.
7850 rm -f conftest.err conftest.i conftest.$ac_ext
7853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7854 rm -f conftest.i conftest.err conftest.$ac_ext
7855 if $ac_preproc_ok; then :
7858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7860 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7861 See \`config.log' for more details" "$LINENO" 5; }
7865 ac_cpp='$CPP $CPPFLAGS'
7866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7872 $as_echo_n "checking for ANSI C header files... " >&6; }
7873 if ${ac_cv_header_stdc+:} false; then :
7874 $as_echo_n "(cached) " >&6
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7891 if ac_fn_c_try_compile "$LINENO"; then :
7892 ac_cv_header_stdc=yes
7894 ac_cv_header_stdc=no
7896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7898 if test $ac_cv_header_stdc = yes; then
7899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7906 $EGREP "memchr" >/dev/null 2>&1; then :
7909 ac_cv_header_stdc=no
7915 if test $ac_cv_header_stdc = yes; then
7916 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h. */
7922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7923 $EGREP "free" >/dev/null 2>&1; then :
7926 ac_cv_header_stdc=no
7932 if test $ac_cv_header_stdc = yes; then
7933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7934 if test "$cross_compiling" = yes; then :
7937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7938 /* end confdefs.h. */
7941 #if ((' ' & 0x0FF) == 0x020)
7942 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7943 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7945 # define ISLOWER(c) \
7946 (('a' <= (c) && (c) <= 'i') \
7947 || ('j' <= (c) && (c) <= 'r') \
7948 || ('s' <= (c) && (c) <= 'z'))
7949 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7952 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7957 for (i = 0; i < 256; i++)
7958 if (XOR (islower (i), ISLOWER (i))
7959 || toupper (i) != TOUPPER (i))
7964 if ac_fn_c_try_run "$LINENO"; then :
7967 ac_cv_header_stdc=no
7969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7970 conftest.$ac_objext conftest.beam conftest.$ac_ext
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7976 $as_echo "$ac_cv_header_stdc" >&6; }
7977 if test $ac_cv_header_stdc = yes; then
7979 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7984 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7985 inttypes.h stdint.h unistd.h
7987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7988 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7991 cat >>confdefs.h <<_ACEOF
7992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8000 for ac_header in dlfcn.h
8002 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8004 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_DLFCN_H 1
8027 # Check whether --enable-shared was given.
8028 if test "${enable_shared+set}" = set; then :
8029 enableval=$enable_shared; p=${PACKAGE-default}
8031 yes) enable_shared=yes ;;
8032 no) enable_shared=no ;;
8035 # Look at the argument we got. We use all the common list separators.
8036 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8037 for pkg in $enableval; do
8039 if test "X$pkg" = "X$p"; then
8058 # Check whether --enable-static was given.
8059 if test "${enable_static+set}" = set; then :
8060 enableval=$enable_static; p=${PACKAGE-default}
8062 yes) enable_static=yes ;;
8063 no) enable_static=no ;;
8066 # Look at the argument we got. We use all the common list separators.
8067 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8068 for pkg in $enableval; do
8070 if test "X$pkg" = "X$p"; then
8090 # Check whether --with-pic was given.
8091 if test "${with_pic+set}" = set; then :
8092 withval=$with_pic; lt_p=${PACKAGE-default}
8094 yes|no) pic_mode=$withval ;;
8097 # Look at the argument we got. We use all the common list separators.
8098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099 for lt_pkg in $withval; do
8101 if test "X$lt_pkg" = "X$lt_p"; then
8113 test -z "$pic_mode" && pic_mode=default
8121 # Check whether --enable-fast-install was given.
8122 if test "${enable_fast_install+set}" = set; then :
8123 enableval=$enable_fast_install; p=${PACKAGE-default}
8125 yes) enable_fast_install=yes ;;
8126 no) enable_fast_install=no ;;
8128 enable_fast_install=no
8129 # Look at the argument we got. We use all the common list separators.
8130 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8131 for pkg in $enableval; do
8133 if test "X$pkg" = "X$p"; then
8134 enable_fast_install=yes
8141 enable_fast_install=yes
8154 # This can be used to rebuild libtool when needed
8155 LIBTOOL_DEPS="$ltmain"
8157 # Always use our own libtool.
8158 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8189 test -z "$LN_S" && LN_S="ln -s"
8204 if test -n "${ZSH_VERSION+set}" ; then
8205 setopt NO_GLOB_SUBST
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8209 $as_echo_n "checking for objdir... " >&6; }
8210 if ${lt_cv_objdir+:} false; then :
8211 $as_echo_n "(cached) " >&6
8213 rm -f .libs 2>/dev/null
8214 mkdir .libs 2>/dev/null
8215 if test -d .libs; then
8218 # MS-DOS does not allow filenames that begin with a dot.
8221 rmdir .libs 2>/dev/null
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8224 $as_echo "$lt_cv_objdir" >&6; }
8225 objdir=$lt_cv_objdir
8231 cat >>confdefs.h <<_ACEOF
8232 #define LT_OBJDIR "$lt_cv_objdir/"
8240 # AIX sometimes has problems with the GCC collect2 program. For some
8241 # reason, if we set the COLLECT_NAMES environment variable, the problems
8242 # vanish in a puff of smoke.
8243 if test "X${COLLECT_NAMES+set}" != Xset; then
8245 export COLLECT_NAMES
8252 can_build_shared=yes
8254 # All known linkers require a `.a' archive for static linking (except MSVC,
8255 # which needs '.lib').
8258 with_gnu_ld="$lt_cv_prog_gnu_ld"
8261 old_CFLAGS="$CFLAGS"
8263 # Set sane defaults for various variables
8264 test -z "$CC" && CC=cc
8265 test -z "$LTCC" && LTCC=$CC
8266 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8267 test -z "$LD" && LD=ld
8268 test -z "$ac_objext" && ac_objext=o
8270 for cc_temp in $compiler""; do
8272 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8273 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8278 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8281 # Only perform the check for file, if the check method requires it
8282 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8283 case $deplibs_check_method in
8285 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8287 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8288 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8289 $as_echo_n "(cached) " >&6
8293 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8296 lt_save_MAGIC_CMD="$MAGIC_CMD"
8297 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8298 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8299 for ac_dir in $ac_dummy; do
8301 test -z "$ac_dir" && ac_dir=.
8302 if test -f $ac_dir/${ac_tool_prefix}file; then
8303 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8304 if test -n "$file_magic_test_file"; then
8305 case $deplibs_check_method in
8307 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8308 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8309 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8310 $EGREP "$file_magic_regex" > /dev/null; then
8315 *** Warning: the command libtool uses to detect shared libraries,
8316 *** $file_magic_cmd, produces output that libtool cannot recognize.
8317 *** The result is that libtool may fail to recognize shared libraries
8318 *** as such. This will affect the creation of libtool libraries that
8319 *** depend on shared libraries, but programs linked with such libtool
8320 *** libraries will work regardless of this problem. Nevertheless, you
8321 *** may want to report the problem to your system manager and/or to
8322 *** bug-libtool@gnu.org
8332 MAGIC_CMD="$lt_save_MAGIC_CMD"
8337 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8338 if test -n "$MAGIC_CMD"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8340 $as_echo "$MAGIC_CMD" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8350 if test -z "$lt_cv_path_MAGIC_CMD"; then
8351 if test -n "$ac_tool_prefix"; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8353 $as_echo_n "checking for file... " >&6; }
8354 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8355 $as_echo_n "(cached) " >&6
8359 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8362 lt_save_MAGIC_CMD="$MAGIC_CMD"
8363 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8364 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8365 for ac_dir in $ac_dummy; do
8367 test -z "$ac_dir" && ac_dir=.
8368 if test -f $ac_dir/file; then
8369 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8370 if test -n "$file_magic_test_file"; then
8371 case $deplibs_check_method in
8373 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8374 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8375 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8376 $EGREP "$file_magic_regex" > /dev/null; then
8381 *** Warning: the command libtool uses to detect shared libraries,
8382 *** $file_magic_cmd, produces output that libtool cannot recognize.
8383 *** The result is that libtool may fail to recognize shared libraries
8384 *** as such. This will affect the creation of libtool libraries that
8385 *** depend on shared libraries, but programs linked with such libtool
8386 *** libraries will work regardless of this problem. Nevertheless, you
8387 *** may want to report the problem to your system manager and/or to
8388 *** bug-libtool@gnu.org
8398 MAGIC_CMD="$lt_save_MAGIC_CMD"
8403 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8404 if test -n "$MAGIC_CMD"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8406 $as_echo "$MAGIC_CMD" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8422 # Use C for the default configuration in the libtool script
8426 ac_cpp='$CPP $CPPFLAGS'
8427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8432 # Source file extension for C test sources.
8435 # Object file extension for compiled C test sources.
8439 # Code to be used in simple compile tests
8440 lt_simple_compile_test_code="int some_variable = 0;"
8442 # Code to be used in simple link tests
8443 lt_simple_link_test_code='int main(){return(0);}'
8451 # If no C compiler was specified, use CC.
8454 # If no C compiler flags were specified, use CFLAGS.
8455 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8457 # Allow CC to be a program name with arguments.
8460 # Save the default compiler, since it gets overwritten when the other
8461 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8462 compiler_DEFAULT=$CC
8464 # save warnings/boilerplate of simple test code
8465 ac_outfile=conftest.$ac_objext
8466 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8467 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8468 _lt_compiler_boilerplate=`cat conftest.err`
8471 ac_outfile=conftest.$ac_objext
8472 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8473 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8474 _lt_linker_boilerplate=`cat conftest.err`
8479 ## There is no encapsulation within the following macros, do not change
8480 ## the running order or otherwise move them around unless you know exactly
8481 ## what you are doing...
8482 if test -n "$compiler"; then
8484 lt_prog_compiler_no_builtin_flag=
8486 if test "$GCC" = yes; then
8487 case $cc_basename in
8489 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8491 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8495 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8496 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8497 $as_echo_n "(cached) " >&6
8499 lt_cv_prog_compiler_rtti_exceptions=no
8500 ac_outfile=conftest.$ac_objext
8501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8502 lt_compiler_flag="-fno-rtti -fno-exceptions"
8503 # Insert the option either (1) after the last *FLAGS variable, or
8504 # (2) before a word containing "conftest.", or (3) at the end.
8505 # Note that $ac_compile itself does not contain backslashes and begins
8506 # with a dollar sign (not a hyphen), so the echo should work correctly.
8507 # The option is referenced via a variable to avoid confusing sed.
8508 lt_compile=`echo "$ac_compile" | $SED \
8509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8511 -e 's:$: $lt_compiler_flag:'`
8512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8513 (eval "$lt_compile" 2>conftest.err)
8515 cat conftest.err >&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 if (exit $ac_status) && test -s "$ac_outfile"; then
8518 # The compiler can only warn and ignore the option if not recognized
8519 # So say no if there are warnings other than the usual output.
8520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8521 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8522 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8523 lt_cv_prog_compiler_rtti_exceptions=yes
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8530 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8532 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8533 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8545 lt_prog_compiler_wl=
8546 lt_prog_compiler_pic=
8547 lt_prog_compiler_static=
8550 if test "$GCC" = yes; then
8551 lt_prog_compiler_wl='-Wl,'
8552 lt_prog_compiler_static='-static'
8556 # All AIX code is PIC.
8557 if test "$host_cpu" = ia64; then
8558 # AIX 5 now supports IA64 processor
8559 lt_prog_compiler_static='-Bstatic'
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8611 lt_prog_compiler_pic='-fPIC'
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8631 lt_prog_compiler_pic='-fPIC -shared'
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8641 lt_prog_compiler_pic='-fPIC'
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 if test -n "$lt_prog_compiler_pic"; then
8649 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8654 # PORTME Check for flag to pass linker flags through the system compiler.
8657 lt_prog_compiler_wl='-Wl,'
8658 if test "$host_cpu" = ia64; then
8659 # AIX 5 now supports IA64 processor
8660 lt_prog_compiler_static='-Bstatic'
8662 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8666 mingw* | cygwin* | pw32* | os2* | cegcc*)
8667 # This hack is so that the source file can tell whether it is being
8668 # built for inclusion in a dll (and should export symbols for example).
8669 lt_prog_compiler_pic='-DDLL_EXPORT'
8672 hpux9* | hpux10* | hpux11*)
8673 lt_prog_compiler_wl='-Wl,'
8674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8681 lt_prog_compiler_pic='+Z'
8684 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8685 lt_prog_compiler_static='${wl}-a ${wl}archive'
8688 irix5* | irix6* | nonstopux*)
8689 lt_prog_compiler_wl='-Wl,'
8690 # PIC (with -KPIC) is the default.
8691 lt_prog_compiler_static='-non_shared'
8694 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8695 case $cc_basename in
8696 # old Intel for x86_64 which still supported -KPIC.
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-KPIC'
8700 lt_prog_compiler_static='-static'
8702 # icc used to be incompatible with GCC.
8703 # ICC 10 doesn't accept -KPIC any more.
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-fPIC'
8707 lt_prog_compiler_static='-static'
8709 # Lahey Fortran 8.1.
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='--shared'
8713 lt_prog_compiler_static='--static'
8716 # NAG Fortran compiler
8717 lt_prog_compiler_wl='-Wl,-Wl,,'
8718 lt_prog_compiler_pic='-PIC'
8719 lt_prog_compiler_static='-Bstatic'
8721 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8722 # Portland Group compilers (*not* the Pentium gcc compiler,
8723 # which looks to be a dead project)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-fpic'
8726 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_wl='-Wl,'
8730 # All Alpha code is PIC.
8731 lt_prog_compiler_static='-non_shared'
8733 xl* | bgxl* | bgf* | mpixl*)
8734 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-qpic'
8737 lt_prog_compiler_static='-qstaticlink'
8740 case `$CC -V 2>&1 | sed 5q` in
8741 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8743 lt_prog_compiler_pic='-KPIC'
8744 lt_prog_compiler_static='-Bstatic'
8745 lt_prog_compiler_wl=''
8747 *Sun\ F* | *Sun*Fortran*)
8748 lt_prog_compiler_pic='-KPIC'
8749 lt_prog_compiler_static='-Bstatic'
8750 lt_prog_compiler_wl='-Qoption ld '
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 lt_prog_compiler_wl='-Wl,'
8758 *Intel*\ [CF]*Compiler*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-fPIC'
8761 lt_prog_compiler_static='-static'
8764 lt_prog_compiler_wl='-Wl,'
8765 lt_prog_compiler_pic='-fpic'
8766 lt_prog_compiler_static='-Bstatic'
8774 lt_prog_compiler_pic='-KPIC'
8775 lt_prog_compiler_static='-Bstatic'
8779 # QNX uses GNU C++, but need to define -shared option too, otherwise
8781 lt_prog_compiler_pic='-fPIC -shared'
8784 osf3* | osf4* | osf5*)
8785 lt_prog_compiler_wl='-Wl,'
8786 # All OSF/1 code is PIC.
8787 lt_prog_compiler_static='-non_shared'
8791 lt_prog_compiler_static='-non_shared'
8795 lt_prog_compiler_pic='-KPIC'
8796 lt_prog_compiler_static='-Bstatic'
8797 case $cc_basename in
8798 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8799 lt_prog_compiler_wl='-Qoption ld ';;
8801 lt_prog_compiler_wl='-Wl,';;
8806 lt_prog_compiler_wl='-Qoption ld '
8807 lt_prog_compiler_pic='-PIC'
8808 lt_prog_compiler_static='-Bstatic'
8811 sysv4 | sysv4.2uw2* | sysv4.3*)
8812 lt_prog_compiler_wl='-Wl,'
8813 lt_prog_compiler_pic='-KPIC'
8814 lt_prog_compiler_static='-Bstatic'
8818 if test -d /usr/nec ;then
8819 lt_prog_compiler_pic='-Kconform_pic'
8820 lt_prog_compiler_static='-Bstatic'
8824 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8825 lt_prog_compiler_wl='-Wl,'
8826 lt_prog_compiler_pic='-KPIC'
8827 lt_prog_compiler_static='-Bstatic'
8831 lt_prog_compiler_wl='-Wl,'
8832 lt_prog_compiler_can_build_shared=no
8836 lt_prog_compiler_pic='-pic'
8837 lt_prog_compiler_static='-Bstatic'
8841 lt_prog_compiler_can_build_shared=no
8847 # For platforms which do not support PIC, -DPIC is meaningless:
8849 lt_prog_compiler_pic=
8852 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8857 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8858 if ${lt_cv_prog_compiler_pic+:} false; then :
8859 $as_echo_n "(cached) " >&6
8861 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8864 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8865 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8868 # Check to make sure the PIC flag actually works.
8870 if test -n "$lt_prog_compiler_pic"; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8872 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8873 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8874 $as_echo_n "(cached) " >&6
8876 lt_cv_prog_compiler_pic_works=no
8877 ac_outfile=conftest.$ac_objext
8878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8879 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 # The option is referenced via a variable to avoid confusing sed.
8885 lt_compile=`echo "$ac_compile" | $SED \
8886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8888 -e 's:$: $lt_compiler_flag:'`
8889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8890 (eval "$lt_compile" 2>conftest.err)
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 if (exit $ac_status) && test -s "$ac_outfile"; then
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings other than the usual output.
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8899 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_pic_works=yes
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8907 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8909 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8910 case $lt_prog_compiler_pic in
8912 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8915 lt_prog_compiler_pic=
8916 lt_prog_compiler_can_build_shared=no
8932 # Check to make sure the static flag actually works.
8934 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8936 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8937 if ${lt_cv_prog_compiler_static_works+:} false; then :
8938 $as_echo_n "(cached) " >&6
8940 lt_cv_prog_compiler_static_works=no
8941 save_LDFLAGS="$LDFLAGS"
8942 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8943 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8944 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8945 # The linker can only warn and ignore the option if not recognized
8946 # So say no if there are warnings
8947 if test -s conftest.err; then
8948 # Append any errors to the config.log.
8949 cat conftest.err 1>&5
8950 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8951 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8952 if diff conftest.exp conftest.er2 >/dev/null; then
8953 lt_cv_prog_compiler_static_works=yes
8956 lt_cv_prog_compiler_static_works=yes
8960 LDFLAGS="$save_LDFLAGS"
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8964 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8966 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8969 lt_prog_compiler_static=
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8979 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8980 if ${lt_cv_prog_compiler_c_o+:} false; then :
8981 $as_echo_n "(cached) " >&6
8983 lt_cv_prog_compiler_c_o=no
8984 $RM -r conftest 2>/dev/null
8988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8990 lt_compiler_flag="-o out/conftest2.$ac_objext"
8991 # Insert the option either (1) after the last *FLAGS variable, or
8992 # (2) before a word containing "conftest.", or (3) at the end.
8993 # Note that $ac_compile itself does not contain backslashes and begins
8994 # with a dollar sign (not a hyphen), so the echo should work correctly.
8995 lt_compile=`echo "$ac_compile" | $SED \
8996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8998 -e 's:$: $lt_compiler_flag:'`
8999 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9000 (eval "$lt_compile" 2>out/conftest.err)
9002 cat out/conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9006 # The compiler can only warn and ignore the option if not recognized
9007 # So say no if there are warnings
9008 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9009 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9010 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9011 lt_cv_prog_compiler_c_o=yes
9016 # SGI C++ compiler will create directory out/ii_files/ for
9017 # template instantiation
9018 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9019 $RM out/* && rmdir out
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9026 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9034 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9035 if ${lt_cv_prog_compiler_c_o+:} false; then :
9036 $as_echo_n "(cached) " >&6
9038 lt_cv_prog_compiler_c_o=no
9039 $RM -r conftest 2>/dev/null
9043 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9045 lt_compiler_flag="-o out/conftest2.$ac_objext"
9046 # Insert the option either (1) after the last *FLAGS variable, or
9047 # (2) before a word containing "conftest.", or (3) at the end.
9048 # Note that $ac_compile itself does not contain backslashes and begins
9049 # with a dollar sign (not a hyphen), so the echo should work correctly.
9050 lt_compile=`echo "$ac_compile" | $SED \
9051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9053 -e 's:$: $lt_compiler_flag:'`
9054 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9055 (eval "$lt_compile" 2>out/conftest.err)
9057 cat out/conftest.err >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9061 # The compiler can only warn and ignore the option if not recognized
9062 # So say no if there are warnings
9063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9064 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9065 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9066 lt_cv_prog_compiler_c_o=yes
9071 # SGI C++ compiler will create directory out/ii_files/ for
9072 # template instantiation
9073 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9074 $RM out/* && rmdir out
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9081 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9086 hard_links="nottested"
9087 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9088 # do not overwrite the value of need_locks provided by the user
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9090 $as_echo_n "checking if we can lock with hard links... " >&6; }
9093 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9095 ln conftest.a conftest.b 2>&5 || hard_links=no
9096 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9098 $as_echo "$hard_links" >&6; }
9099 if test "$hard_links" = no; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9101 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9114 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9117 allow_undefined_flag=
9118 always_export_symbols=no
9120 archive_expsym_cmds=
9121 compiler_needs_object=no
9122 enable_shared_with_static_runtimes=no
9123 export_dynamic_flag_spec=
9124 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9125 hardcode_automatic=no
9127 hardcode_direct_absolute=no
9128 hardcode_libdir_flag_spec=
9129 hardcode_libdir_separator=
9131 hardcode_shlibpath_var=unsupported
9133 link_all_deplibs=unknown
9136 old_archive_from_new_cmds=
9137 old_archive_from_expsyms_cmds=
9138 thread_safe_flag_spec=
9139 whole_archive_flag_spec=
9140 # include_expsyms should be a list of space-separated symbols to be *always*
9141 # included in the symbol list
9143 # exclude_expsyms can be an extended regexp of symbols to exclude
9144 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9145 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9146 # as well as any symbol that contains `d'.
9147 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9148 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9149 # platforms (ab)use it in PIC code, but their linkers get confused if
9150 # the symbol is explicitly referenced. Since portable code cannot
9151 # rely on this symbol name, it's probably fine to never include it in
9152 # preloaded symbol tables.
9153 # Exclude shared library initialization/finalization symbols.
9154 extract_expsyms_cmds=
9157 cygwin* | mingw* | pw32* | cegcc*)
9158 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9159 # When not using gcc, we currently assume that we are using
9160 # Microsoft Visual C++.
9161 if test "$GCC" != yes; then
9166 # we just hope/assume this is gcc and not c89 (= MSVC++)
9176 # On some targets, GNU ld is compatible enough with the native linker
9177 # that we're better off using the native interface for both.
9178 lt_use_gnu_ld_interface=no
9179 if test "$with_gnu_ld" = yes; then
9182 # The AIX port of GNU ld has always aspired to compatibility
9183 # with the native linker. However, as the warning in the GNU ld
9184 # block says, versions before 2.19.5* couldn't really create working
9185 # shared libraries, regardless of the interface used.
9186 case `$LD -v 2>&1` in
9187 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9188 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9189 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9191 lt_use_gnu_ld_interface=yes
9196 lt_use_gnu_ld_interface=yes
9201 if test "$lt_use_gnu_ld_interface" = yes; then
9202 # If archive_cmds runs LD, not CC, wlarc should be empty
9205 # Set some defaults for GNU ld with shared library support. These
9206 # are reset later if shared libraries are not supported. Putting them
9207 # here allows them to be overridden if necessary.
9208 runpath_var=LD_RUN_PATH
9209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9210 export_dynamic_flag_spec='${wl}--export-dynamic'
9211 # ancient GNU ld didn't support --whole-archive et. al.
9212 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9213 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9215 whole_archive_flag_spec=
9217 supports_anon_versioning=no
9218 case `$LD -v 2>&1` in
9219 *GNU\ gold*) supports_anon_versioning=yes ;;
9220 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9221 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9222 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9223 *\ 2.11.*) ;; # other 2.11 versions
9224 *) supports_anon_versioning=yes ;;
9227 # See if GNU ld supports shared libraries.
9230 # On AIX/PPC, the GNU linker is very broken
9231 if test "$host_cpu" != ia64; then
9235 *** Warning: the GNU linker, at least up to release 2.19, is reported
9236 *** to be unable to reliably create shared libraries on AIX.
9237 *** Therefore, libtool is disabling shared libraries support. If you
9238 *** really care for shared libraries, you may want to install binutils
9239 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9240 *** You will then need to restart the configuration process.
9249 # see comment about AmigaOS4 .so support
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 archive_expsym_cmds=''
9254 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)'
9255 hardcode_libdir_flag_spec='-L$libdir'
9256 hardcode_minus_L=yes
9262 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9263 allow_undefined_flag=unsupported
9264 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9265 # support --undefined. This deserves some investigation. FIXME
9266 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272 cygwin* | mingw* | pw32* | cegcc*)
9273 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9274 # as there is no search path for DLLs.
9275 hardcode_libdir_flag_spec='-L$libdir'
9276 export_dynamic_flag_spec='${wl}--export-all-symbols'
9277 allow_undefined_flag=unsupported
9278 always_export_symbols=no
9279 enable_shared_with_static_runtimes=yes
9280 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'
9281 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9283 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9285 # If the export-symbols file already is a .def file (1st line
9286 # is EXPORTS), use it as is; otherwise, prepend...
9287 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9288 cp $export_symbols $output_objdir/$soname.def;
9290 echo EXPORTS > $output_objdir/$soname.def;
9291 cat $export_symbols >> $output_objdir/$soname.def;
9293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9300 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 link_all_deplibs=yes
9306 hardcode_shlibpath_var=no
9307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9308 export_dynamic_flag_spec='${wl}-E'
9309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9310 # Instead, shared libraries are loaded at an image base (0x10000000 by
9311 # default) and relocated if they conflict, which is a slow very memory
9312 # consuming and fragmenting process. To avoid this, we pick a random,
9313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9315 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9316 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'
9319 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9321 if test "$host_os" = linux-dietlibc; then
9322 case $cc_basename in
9323 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9326 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9327 && test "$tmp_diet" = no
9329 tmp_addflag=' $pic_flag'
9330 tmp_sharedflag='-shared'
9331 case $cc_basename,$host_cpu in
9332 pgcc*) # Portland Group C compiler
9333 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'
9334 tmp_addflag=' $pic_flag'
9336 pgf77* | pgf90* | pgf95* | pgfortran*)
9337 # Portland Group f77 and f90 compilers
9338 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'
9339 tmp_addflag=' $pic_flag -Mnomain' ;;
9340 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9341 tmp_addflag=' -i_dynamic' ;;
9342 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9343 tmp_addflag=' -i_dynamic -nofor_main' ;;
9344 ifc* | ifort*) # Intel Fortran compiler
9345 tmp_addflag=' -nofor_main' ;;
9346 lf95*) # Lahey Fortran 8.1
9347 whole_archive_flag_spec=
9348 tmp_sharedflag='--shared' ;;
9349 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9350 tmp_sharedflag='-qmkshrobj'
9352 nvcc*) # Cuda Compiler Driver 2.2
9353 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'
9354 compiler_needs_object=yes
9357 case `$CC -V 2>&1 | sed 5q` in
9358 *Sun\ C*) # Sun C 5.9
9359 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'
9360 compiler_needs_object=yes
9361 tmp_sharedflag='-G' ;;
9362 *Sun\ F*) # Sun Fortran 8.3
9363 tmp_sharedflag='-G' ;;
9365 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 if test "x$supports_anon_versioning" = xyes; then
9368 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9370 echo "local: *; };" >> $output_objdir/$libname.ver~
9371 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9374 case $cc_basename in
9375 xlf* | bgf* | bgxlf* | mpixlf*)
9376 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9377 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9378 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9379 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9380 if test "x$supports_anon_versioning" = xyes; then
9381 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9382 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9383 echo "local: *; };" >> $output_objdir/$libname.ver~
9384 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9394 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9395 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9398 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9404 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9408 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9409 *** create shared libraries on Solaris systems. Therefore, libtool
9410 *** is disabling shared libraries support. We urge you to upgrade GNU
9411 *** binutils to release 2.9.1 or newer. Another option is to modify
9412 *** your PATH or compiler configuration so that the native linker is
9413 *** used, and then restart.
9416 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9417 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9425 case `$LD -v 2>&1` in
9426 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9430 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9431 *** reliably create shared libraries on SCO systems. Therefore, libtool
9432 *** is disabling shared libraries support. We urge you to upgrade GNU
9433 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9434 *** your PATH or compiler configuration so that the native linker is
9435 *** used, and then restart.
9440 # For security reasons, it is highly recommended that you always
9441 # use absolute paths for naming shared libraries, and exclude the
9442 # DT_RUNPATH tag from executables and libraries. But doing so
9443 # requires that you compile everything twice, which is a pain.
9444 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9445 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9446 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9447 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9456 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_shlibpath_var=no
9463 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9464 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9465 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9472 if test "$ld_shlibs" = no; then
9474 hardcode_libdir_flag_spec=
9475 export_dynamic_flag_spec=
9476 whole_archive_flag_spec=
9479 # PORTME fill in a description of your system's linker (not GNU ld)
9482 allow_undefined_flag=unsupported
9483 always_export_symbols=yes
9484 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'
9485 # Note: this linker hardcodes the directories in LIBPATH if there
9486 # are no directories specified by -L.
9487 hardcode_minus_L=yes
9488 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9489 # Neither direct hardcoding nor static linking is supported with a
9491 hardcode_direct=unsupported
9496 if test "$host_cpu" = ia64; then
9497 # On IA64, the linker does run time linking by default, so we don't
9498 # have to do anything special.
9499 aix_use_runtimelinking=no
9500 exp_sym_flag='-Bexport'
9503 # If we're using GNU nm, then we don't want the "-C" option.
9504 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9505 # Also, AIX nm treats weak defined symbols like other global
9506 # defined symbols, whereas GNU nm marks them as "W".
9507 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9508 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'
9510 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'
9512 aix_use_runtimelinking=no
9514 # Test if we are trying to use run time linking or normal
9515 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9516 # need to do runtime linking.
9517 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9518 for ld_flag in $LDFLAGS; do
9519 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9520 aix_use_runtimelinking=yes
9527 exp_sym_flag='-bexport'
9528 no_entry_flag='-bnoentry'
9531 # When large executables or shared objects are built, AIX ld can
9532 # have problems creating the table of contents. If linking a library
9533 # or program results in "error TOC overflow" add -mminimal-toc to
9534 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9535 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9539 hardcode_direct_absolute=yes
9540 hardcode_libdir_separator=':'
9541 link_all_deplibs=yes
9542 file_list_spec='${wl}-f,'
9544 if test "$GCC" = yes; then
9545 case $host_os in aix4.[012]|aix4.[012].*)
9546 # We only want to do this on AIX 4.2 and lower, the check
9547 # below for broken collect2 doesn't work under 4.3+
9548 collect2name=`${CC} -print-prog-name=collect2`
9549 if test -f "$collect2name" &&
9550 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9552 # We have reworked collect2
9555 # We have old collect2
9556 hardcode_direct=unsupported
9557 # It fails to find uninstalled libraries when the uninstalled
9558 # path is not listed in the libpath. Setting hardcode_minus_L
9559 # to unsupported forces relinking
9560 hardcode_minus_L=yes
9561 hardcode_libdir_flag_spec='-L$libdir'
9562 hardcode_libdir_separator=
9566 shared_flag='-shared'
9567 if test "$aix_use_runtimelinking" = yes; then
9568 shared_flag="$shared_flag "'${wl}-G'
9572 if test "$host_cpu" = ia64; then
9573 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9574 # chokes on -Wl,-G. The following line is correct:
9577 if test "$aix_use_runtimelinking" = yes; then
9578 shared_flag='${wl}-G'
9580 shared_flag='${wl}-bM:SRE'
9585 export_dynamic_flag_spec='${wl}-bexpall'
9586 # It seems that -bexpall does not export symbols beginning with
9587 # underscore (_), so it is better to generate a list of symbols to export.
9588 always_export_symbols=yes
9589 if test "$aix_use_runtimelinking" = yes; then
9590 # Warning - without using the other runtime loading flags (-brtl),
9591 # -berok will link without error, but may produce a broken library.
9592 allow_undefined_flag='-berok'
9593 # Determine the default libpath from the value encoded in an
9595 if test "${lt_cv_aix_libpath+set}" = set; then
9596 aix_libpath=$lt_cv_aix_libpath
9598 if ${lt_cv_aix_libpath_+:} false; then :
9599 $as_echo_n "(cached) " >&6
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9612 if ac_fn_c_try_link "$LINENO"; then :
9614 lt_aix_libpath_sed='
9615 /Import File Strings/,/^$/ {
9617 s/^0 *\([^ ]*\) *$/\1/
9621 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9622 # Check for a 64-bit object if we didn't find anything.
9623 if test -z "$lt_cv_aix_libpath_"; then
9624 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9627 rm -f core conftest.err conftest.$ac_objext \
9628 conftest$ac_exeext conftest.$ac_ext
9629 if test -z "$lt_cv_aix_libpath_"; then
9630 lt_cv_aix_libpath_="/usr/lib:/lib"
9635 aix_libpath=$lt_cv_aix_libpath_
9638 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9639 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"
9641 if test "$host_cpu" = ia64; then
9642 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9643 allow_undefined_flag="-z nodefs"
9644 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"
9646 # Determine the default libpath from the value encoded in an
9648 if test "${lt_cv_aix_libpath+set}" = set; then
9649 aix_libpath=$lt_cv_aix_libpath
9651 if ${lt_cv_aix_libpath_+:} false; then :
9652 $as_echo_n "(cached) " >&6
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9665 if ac_fn_c_try_link "$LINENO"; then :
9667 lt_aix_libpath_sed='
9668 /Import File Strings/,/^$/ {
9670 s/^0 *\([^ ]*\) *$/\1/
9674 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9675 # Check for a 64-bit object if we didn't find anything.
9676 if test -z "$lt_cv_aix_libpath_"; then
9677 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 if test -z "$lt_cv_aix_libpath_"; then
9683 lt_cv_aix_libpath_="/usr/lib:/lib"
9688 aix_libpath=$lt_cv_aix_libpath_
9691 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9692 # Warning - without using the other run time loading flags,
9693 # -berok will link without error, but may produce a broken library.
9694 no_undefined_flag=' ${wl}-bernotok'
9695 allow_undefined_flag=' ${wl}-berok'
9696 if test "$with_gnu_ld" = yes; then
9697 # We only use this code for GNU lds that support --whole-archive.
9698 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9700 # Exported symbols can be pulled into shared objects from archives
9701 whole_archive_flag_spec='$convenience'
9703 archive_cmds_need_lc=yes
9704 # This is similar to how AIX traditionally builds its shared libraries.
9705 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'
9713 # see comment about AmigaOS4 .so support
9714 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9715 archive_expsym_cmds=''
9718 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)'
9719 hardcode_libdir_flag_spec='-L$libdir'
9720 hardcode_minus_L=yes
9726 export_dynamic_flag_spec=-rdynamic
9729 cygwin* | mingw* | pw32* | cegcc*)
9730 # When not using gcc, we currently assume that we are using
9731 # Microsoft Visual C++.
9732 # hardcode_libdir_flag_spec is actually meaningless, as there is
9733 # no search path for DLLs.
9734 case $cc_basename in
9737 hardcode_libdir_flag_spec=' '
9738 allow_undefined_flag=unsupported
9739 always_export_symbols=yes
9741 # Tell ltmain to make .lib files, not .a files.
9743 # Tell ltmain to make .dll files, not .so files.
9745 # FIXME: Setting linknames here is a bad hack.
9746 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9747 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9748 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9750 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9752 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9754 # The linker will not automatically build a static lib if we build a DLL.
9755 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9756 enable_shared_with_static_runtimes=yes
9757 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9758 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9760 old_postinstall_cmds='chmod 644 $oldlib'
9761 postlink_cmds='lt_outputfile="@OUTPUT@"~
9762 lt_tool_outputfile="@TOOL_OUTPUT@"~
9763 case $lt_outputfile in
9766 lt_outputfile="$lt_outputfile.exe"
9767 lt_tool_outputfile="$lt_tool_outputfile.exe"
9770 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9771 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9772 $RM "$lt_outputfile.manifest";
9776 # Assume MSVC wrapper
9777 hardcode_libdir_flag_spec=' '
9778 allow_undefined_flag=unsupported
9779 # Tell ltmain to make .lib files, not .a files.
9781 # Tell ltmain to make .dll files, not .so files.
9783 # FIXME: Setting linknames here is a bad hack.
9784 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9785 # The linker will automatically build a .lib file if we build a DLL.
9786 old_archive_from_new_cmds='true'
9787 # FIXME: Should let the user specify the lib program.
9788 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9789 enable_shared_with_static_runtimes=yes
9794 darwin* | rhapsody*)
9797 archive_cmds_need_lc=no
9799 hardcode_automatic=yes
9800 hardcode_shlibpath_var=unsupported
9801 if test "$lt_cv_ld_force_load" = "yes"; then
9802 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\"`'
9805 whole_archive_flag_spec=''
9807 link_all_deplibs=yes
9808 allow_undefined_flag="$_lt_dar_allow_undefined"
9809 case $cc_basename in
9810 ifort*) _lt_dar_can_shared=yes ;;
9811 *) _lt_dar_can_shared=$GCC ;;
9813 if test "$_lt_dar_can_shared" = "yes"; then
9814 output_verbose_link_cmd=func_echo_all
9815 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9816 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9817 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}"
9818 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}"
9827 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_shlibpath_var=no
9832 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9833 # support. Future versions do this automatically, but an explicit c++rt0.o
9834 # does not break anything, and helps significantly (at the cost of a little
9837 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9838 hardcode_libdir_flag_spec='-R$libdir'
9840 hardcode_shlibpath_var=no
9843 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9845 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9847 hardcode_minus_L=yes
9848 hardcode_shlibpath_var=no
9851 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9852 freebsd* | dragonfly*)
9853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9854 hardcode_libdir_flag_spec='-R$libdir'
9856 hardcode_shlibpath_var=no
9860 if test "$GCC" = yes; then
9861 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'
9863 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'
9865 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9866 hardcode_libdir_separator=:
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L=yes
9872 export_dynamic_flag_spec='${wl}-E'
9876 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9877 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9881 if test "$with_gnu_ld" = no; then
9882 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9883 hardcode_libdir_separator=:
9885 hardcode_direct_absolute=yes
9886 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
9894 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9897 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9900 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9916 # Older versions of the 11.00 compiler do not understand -b yet
9917 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9919 $as_echo_n "checking if $CC understands -b... " >&6; }
9920 if ${lt_cv_prog_compiler__b+:} false; then :
9921 $as_echo_n "(cached) " >&6
9923 lt_cv_prog_compiler__b=no
9924 save_LDFLAGS="$LDFLAGS"
9925 LDFLAGS="$LDFLAGS -b"
9926 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9927 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9928 # The linker can only warn and ignore the option if not recognized
9929 # So say no if there are warnings
9930 if test -s conftest.err; then
9931 # Append any errors to the config.log.
9932 cat conftest.err 1>&5
9933 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9935 if diff conftest.exp conftest.er2 >/dev/null; then
9936 lt_cv_prog_compiler__b=yes
9939 lt_cv_prog_compiler__b=yes
9943 LDFLAGS="$save_LDFLAGS"
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9947 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9949 if test x"$lt_cv_prog_compiler__b" = xyes; then
9950 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9952 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9958 if test "$with_gnu_ld" = no; then
9959 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9960 hardcode_libdir_separator=:
9965 hardcode_shlibpath_var=no
9969 hardcode_direct_absolute=yes
9970 export_dynamic_flag_spec='${wl}-E'
9972 # hardcode_minus_L: Not really in the search PATH,
9973 # but as the default location of the library.
9974 hardcode_minus_L=yes
9980 irix5* | irix6* | nonstopux*)
9981 if test "$GCC" = yes; then
9982 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'
9983 # Try to use the -exported_symbol ld option, if it does not
9984 # work, assume that -exports_file does not work either and
9985 # implicitly export all symbols.
9986 # This should be the same for all languages, so no per-tag cache variable.
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9988 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9989 if ${lt_cv_irix_exported_symbol+:} false; then :
9990 $as_echo_n "(cached) " >&6
9992 save_LDFLAGS="$LDFLAGS"
9993 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9996 int foo (void) { return 0; }
9998 if ac_fn_c_try_link "$LINENO"; then :
9999 lt_cv_irix_exported_symbol=yes
10001 lt_cv_irix_exported_symbol=no
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 LDFLAGS="$save_LDFLAGS"
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10008 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10009 if test "$lt_cv_irix_exported_symbol" = yes; then
10010 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'
10013 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'
10014 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'
10016 archive_cmds_need_lc='no'
10017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10018 hardcode_libdir_separator=:
10020 link_all_deplibs=yes
10024 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10025 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10027 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10029 hardcode_libdir_flag_spec='-R$libdir'
10030 hardcode_direct=yes
10031 hardcode_shlibpath_var=no
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_direct=yes
10037 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10038 hardcode_libdir_separator=:
10039 hardcode_shlibpath_var=no
10046 if test -f /usr/libexec/ld.so; then
10047 hardcode_direct=yes
10048 hardcode_shlibpath_var=no
10049 hardcode_direct_absolute=yes
10050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10051 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10053 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10054 export_dynamic_flag_spec='${wl}-E'
10057 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10058 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_libdir_flag_spec='-R$libdir'
10062 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10063 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10073 hardcode_libdir_flag_spec='-L$libdir'
10074 hardcode_minus_L=yes
10075 allow_undefined_flag=unsupported
10076 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'
10077 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10081 if test "$GCC" = yes; then
10082 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10083 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'
10085 allow_undefined_flag=' -expect_unresolved \*'
10086 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'
10088 archive_cmds_need_lc='no'
10089 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10090 hardcode_libdir_separator=:
10093 osf4* | osf5*) # as osf3* with the addition of -msym flag
10094 if test "$GCC" = yes; then
10095 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10096 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'
10097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10099 allow_undefined_flag=' -expect_unresolved \*'
10100 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'
10101 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~
10102 $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'
10104 # Both c and cxx compiler support -rpath directly
10105 hardcode_libdir_flag_spec='-rpath $libdir'
10107 archive_cmds_need_lc='no'
10108 hardcode_libdir_separator=:
10112 no_undefined_flag=' -z defs'
10113 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10117 $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'
10119 case `$CC -V 2>&1` in
10122 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10123 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10124 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10128 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10130 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10134 hardcode_libdir_flag_spec='-R$libdir'
10135 hardcode_shlibpath_var=no
10137 solaris2.[0-5] | solaris2.[0-5].*) ;;
10139 # The compiler driver will combine and reorder linker options,
10140 # but understands `-z linker_flag'. GCC discards it without `$wl',
10141 # but is careful enough not to reorder.
10142 # Supported since Solaris 2.6 (maybe 2.5.1?)
10143 if test "$GCC" = yes; then
10144 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10146 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10150 link_all_deplibs=yes
10154 if test "x$host_vendor" = xsequent; then
10155 # Use $CC to link under sequent, because it throws in some extra .o
10156 # files that make .init and .fini sections work.
10157 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_libdir_flag_spec='-L$libdir'
10162 hardcode_direct=yes
10163 hardcode_minus_L=yes
10164 hardcode_shlibpath_var=no
10168 case $host_vendor in
10170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10171 hardcode_direct=yes # is this really true???
10174 ## LD is ld it makes a PLAMLIB
10175 ## CC just makes a GrossModule.
10176 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10177 reload_cmds='$CC -r -o $output$reload_objs'
10181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10182 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10185 runpath_var='LD_RUN_PATH'
10186 hardcode_shlibpath_var=no
10190 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10191 hardcode_shlibpath_var=no
10192 export_dynamic_flag_spec='-Bexport'
10196 if test -d /usr/nec; then
10197 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198 hardcode_shlibpath_var=no
10199 runpath_var=LD_RUN_PATH
10200 hardcode_runpath_var=yes
10205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10206 no_undefined_flag='${wl}-z,text'
10207 archive_cmds_need_lc=no
10208 hardcode_shlibpath_var=no
10209 runpath_var='LD_RUN_PATH'
10211 if test "$GCC" = yes; then
10212 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 sysv5* | sco3.2v5* | sco5v6*)
10221 # Note: We can NOT use -z defs as we might desire, because we do not
10222 # link with -lc, and that would cause any symbols used from libc to
10223 # always be unresolved, which means just about no library would
10224 # ever link correctly. If we're not using GNU ld we use -z text
10225 # though, which does catch some bad symbols but isn't as heavy-handed
10227 no_undefined_flag='${wl}-z,text'
10228 allow_undefined_flag='${wl}-z,nodefs'
10229 archive_cmds_need_lc=no
10230 hardcode_shlibpath_var=no
10231 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10232 hardcode_libdir_separator=':'
10233 link_all_deplibs=yes
10234 export_dynamic_flag_spec='${wl}-Bexport'
10235 runpath_var='LD_RUN_PATH'
10237 if test "$GCC" = yes; then
10238 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_libdir_flag_spec='-L$libdir'
10249 hardcode_shlibpath_var=no
10257 if test x$host_vendor = xsni; then
10259 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10260 export_dynamic_flag_spec='${wl}-Blargedynsym'
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10267 $as_echo "$ld_shlibs" >&6; }
10268 test "$ld_shlibs" = no && can_build_shared=no
10270 with_gnu_ld=$with_gnu_ld
10287 # Do we need to explicitly link libc?
10289 case "x$archive_cmds_need_lc" in
10291 # Assume -lc should be added
10292 archive_cmds_need_lc=yes
10294 if test "$enable_shared" = yes && test "$GCC" = yes; then
10295 case $archive_cmds in
10297 # FIXME: we may have to deal with multi-command sequences.
10300 # Test whether the compiler implicitly links with -lc since on some
10301 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10302 # to ld, don't add -lc before -lgcc.
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10304 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10305 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10306 $as_echo_n "(cached) " >&6
10309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10312 (eval $ac_compile) 2>&5
10314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10315 test $ac_status = 0; } 2>conftest.err; then
10318 libobjs=conftest.$ac_objext
10320 wl=$lt_prog_compiler_wl
10321 pic_flag=$lt_prog_compiler_pic
10327 lt_save_allow_undefined_flag=$allow_undefined_flag
10328 allow_undefined_flag=
10329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10330 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10333 test $ac_status = 0; }
10335 lt_cv_archive_cmds_need_lc=no
10337 lt_cv_archive_cmds_need_lc=yes
10339 allow_undefined_flag=$lt_save_allow_undefined_flag
10341 cat conftest.err 1>&5
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10347 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10348 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10507 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10509 if test "$GCC" = yes; then
10511 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10512 *) lt_awk_arg="/^libraries:/" ;;
10515 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10516 *) lt_sed_strip_eq="s,=/,/,g" ;;
10518 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10519 case $lt_search_path_spec in
10521 # if the path contains ";" then we assume it to be the separator
10522 # otherwise default to the standard path separator (i.e. ":") - it is
10523 # assumed that no part of a normal pathname contains ";" but that should
10524 # okay in the real world where ";" in dirpaths is itself problematic.
10525 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10528 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10531 # Ok, now we have the path, separated by spaces, we can step through it
10532 # and add multilib dir if necessary.
10533 lt_tmp_lt_search_path_spec=
10534 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10535 for lt_sys_path in $lt_search_path_spec; do
10536 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10537 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10539 test -d "$lt_sys_path" && \
10540 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10543 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10544 BEGIN {RS=" "; FS="/|\n";} {
10547 for (lt_i = NF; lt_i > 0; lt_i--) {
10548 if ($lt_i != "" && $lt_i != ".") {
10549 if ($lt_i == "..") {
10552 if (lt_count == 0) {
10553 lt_foo="/" $lt_i lt_foo;
10560 if (lt_foo != "") { lt_freq[lt_foo]++; }
10561 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10563 # AWK program above erroneously prepends '/' to C:/dos/paths
10566 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10567 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10569 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10571 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10573 library_names_spec=
10574 libname_spec='lib$name'
10578 postuninstall_cmds=
10582 shlibpath_overrides_runpath=unknown
10584 dynamic_linker="$host_os ld.so"
10585 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10586 need_lib_prefix=unknown
10587 hardcode_into_libs=no
10589 # when you set need_version to no, make sure it does not cause -set_version
10590 # flags to be left without arguments
10591 need_version=unknown
10595 version_type=linux # correct to gnu/linux during the next big refactor
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10597 shlibpath_var=LIBPATH
10599 # AIX 3 has no versioning support, so we append a major version to the name.
10600 soname_spec='${libname}${release}${shared_ext}$major'
10604 version_type=linux # correct to gnu/linux during the next big refactor
10607 hardcode_into_libs=yes
10608 if test "$host_cpu" = ia64; then
10609 # AIX 5 supports IA64
10610 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10611 shlibpath_var=LD_LIBRARY_PATH
10613 # With GCC up to 2.95.x, collect2 would create an import file
10614 # for dependence libraries. The import file would start with
10615 # the line `#! .'. This would cause the generated library to
10616 # depend on `.', always an invalid library. This was fixed in
10617 # development snapshots of GCC prior to 3.0.
10619 aix4 | aix4.[01] | aix4.[01].*)
10620 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10622 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10625 can_build_shared=no
10629 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10630 # soname into executable. Probably we can add versioning support to
10631 # collect2, so additional links can be useful in future.
10632 if test "$aix_use_runtimelinking" = yes; then
10633 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10634 # instead of lib<name>.a to let people know that these are not
10635 # typical AIX shared libraries.
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 # We preserve .a as extension for shared libraries through AIX4.2
10639 # and later when we are not doing run time linking.
10640 library_names_spec='${libname}${release}.a $libname.a'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10643 shlibpath_var=LIBPATH
10650 # Since July 2007 AmigaOS4 officially supports .so libraries.
10651 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 library_names_spec='$libname.ixlibrary $libname.a'
10656 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10657 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'
10663 library_names_spec='${libname}${shared_ext}'
10664 dynamic_linker="$host_os ld.so"
10665 shlibpath_var=LIBRARY_PATH
10669 version_type=linux # correct to gnu/linux during the next big refactor
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10674 shlibpath_var=LD_LIBRARY_PATH
10675 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10676 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10677 # the default ld.so.conf also contains /usr/contrib/lib and
10678 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10679 # libtool to hard-code these into programs
10682 cygwin* | mingw* | pw32* | cegcc*)
10683 version_type=windows
10688 case $GCC,$cc_basename in
10691 library_names_spec='$libname.dll.a'
10692 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10693 postinstall_cmds='base_file=`basename \${file}`~
10694 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10695 dldir=$destdir/`dirname \$dlpath`~
10696 test -d \$dldir || mkdir -p \$dldir~
10697 $install_prog $dir/$dlname \$dldir/$dlname~
10698 chmod a+x \$dldir/$dlname~
10699 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10700 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10702 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10703 dlpath=$dir/\$dldll~
10705 shlibpath_overrides_runpath=yes
10709 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10710 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10712 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10715 # MinGW DLLs use traditional 'lib' prefix
10716 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10719 # pw32 DLLs use 'pw' prefix rather than 'lib'
10720 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10723 dynamic_linker='Win32 ld.exe'
10728 libname_spec='$name'
10729 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10730 library_names_spec='${libname}.dll.lib'
10734 sys_lib_search_path_spec=
10737 for lt_path in $LIB
10740 # Let DOS variable expansion print the short 8.3 style file name.
10741 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10742 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10745 # Convert to MSYS style.
10746 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10749 # Convert to unix form, then to dos form, then back to unix form
10750 # but this time dos style (no spaces!) so that the unix form looks
10751 # like /cygdrive/c/PROGRA~1:/cygdr...
10752 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10753 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10754 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10757 sys_lib_search_path_spec="$LIB"
10758 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10759 # It is most probably a Windows format PATH.
10760 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10762 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10764 # FIXME: find the short name or the path components, as spaces are
10765 # common. (e.g. "Program Files" -> "PROGRA~1")
10769 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10770 postinstall_cmds='base_file=`basename \${file}`~
10771 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10772 dldir=$destdir/`dirname \$dlpath`~
10773 test -d \$dldir || mkdir -p \$dldir~
10774 $install_prog $dir/$dlname \$dldir/$dlname'
10775 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10776 dlpath=$dir/\$dldll~
10778 shlibpath_overrides_runpath=yes
10779 dynamic_linker='Win32 link.exe'
10783 # Assume MSVC wrapper
10784 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10785 dynamic_linker='Win32 ld.exe'
10788 # FIXME: first we should search . and the directory the executable is in
10792 darwin* | rhapsody*)
10793 dynamic_linker="$host_os dyld"
10794 version_type=darwin
10797 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10798 soname_spec='${libname}${release}${major}$shared_ext'
10799 shlibpath_overrides_runpath=yes
10800 shlibpath_var=DYLD_LIBRARY_PATH
10801 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10803 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10804 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10808 version_type=linux # correct to gnu/linux during the next big refactor
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 shlibpath_var=LD_LIBRARY_PATH
10816 freebsd* | dragonfly*)
10817 # DragonFly does not have aout. When/if they implement a new
10818 # versioning mechanism, adjust this.
10819 if test -x /usr/bin/objformat; then
10820 objformat=`/usr/bin/objformat`
10823 freebsd[23].*) objformat=aout ;;
10824 *) objformat=elf ;;
10827 version_type=freebsd-$objformat
10828 case $version_type in
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10839 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=yes
10844 freebsd3.[01]* | freebsdelf3.[01]*)
10845 shlibpath_overrides_runpath=yes
10846 hardcode_into_libs=yes
10848 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10849 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10850 shlibpath_overrides_runpath=no
10851 hardcode_into_libs=yes
10853 *) # from 4.6 on, and DragonFly
10854 shlibpath_overrides_runpath=yes
10855 hardcode_into_libs=yes
10861 version_type=linux # correct to gnu/linux during the next big refactor
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10865 soname_spec='${libname}${release}${shared_ext}$major'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath=no
10868 hardcode_into_libs=yes
10872 version_type=linux # correct to gnu/linux during the next big refactor
10875 dynamic_linker="$host_os runtime_loader"
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 shlibpath_var=LIBRARY_PATH
10879 shlibpath_overrides_runpath=yes
10880 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10881 hardcode_into_libs=yes
10884 hpux9* | hpux10* | hpux11*)
10885 # Give a soname corresponding to the major version so that dld.sl refuses to
10886 # link against other versions.
10893 hardcode_into_libs=yes
10894 dynamic_linker="$host_os dld.so"
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 if test "X$HPUX_IA64_MODE" = X32; then
10900 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10902 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10904 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10908 hardcode_into_libs=yes
10909 dynamic_linker="$host_os dld.sl"
10910 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10911 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec='${libname}${release}${shared_ext}$major'
10914 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10915 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10919 dynamic_linker="$host_os dld.sl"
10920 shlibpath_var=SHLIB_PATH
10921 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10926 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10927 postinstall_cmds='chmod 555 $lib'
10928 # or fails outright, so override atomically:
10929 install_override_mode=555
10933 version_type=linux # correct to gnu/linux during the next big refactor
10936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10937 soname_spec='${libname}${release}${shared_ext}$major'
10938 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=no
10941 hardcode_into_libs=yes
10944 irix5* | irix6* | nonstopux*)
10946 nonstopux*) version_type=nonstopux ;;
10948 if test "$lt_cv_prog_gnu_ld" = yes; then
10949 version_type=linux # correct to gnu/linux during the next big refactor
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10959 irix5* | nonstopux*)
10960 libsuff= shlibsuff=
10963 case $LD in # libtool.m4 will add one of these switches to LD
10964 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10965 libsuff= shlibsuff= libmagic=32-bit;;
10966 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10967 libsuff=32 shlibsuff=N32 libmagic=N32;;
10968 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10969 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10970 *) libsuff= shlibsuff= libmagic=never-match;;
10974 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10975 shlibpath_overrides_runpath=no
10976 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10977 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10978 hardcode_into_libs=yes
10981 # No shared lib support for Linux oldld, aout, or coff.
10982 linux*oldld* | linux*aout* | linux*coff*)
10986 # This must be glibc/ELF.
10987 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10988 version_type=linux # correct to gnu/linux during the next big refactor
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10994 shlibpath_var=LD_LIBRARY_PATH
10995 shlibpath_overrides_runpath=no
10997 # Some binutils ld are patched to set DT_RUNPATH
10998 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10999 $as_echo_n "(cached) " >&6
11001 lt_cv_shlibpath_overrides_runpath=no
11002 save_LDFLAGS=$LDFLAGS
11003 save_libdir=$libdir
11004 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11005 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11017 if ac_fn_c_try_link "$LINENO"; then :
11018 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11019 lt_cv_shlibpath_overrides_runpath=yes
11022 rm -f core conftest.err conftest.$ac_objext \
11023 conftest$ac_exeext conftest.$ac_ext
11024 LDFLAGS=$save_LDFLAGS
11025 libdir=$save_libdir
11029 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11031 # This implies no fast_install, which is unacceptable.
11032 # Some rework will be needed to allow for fast_install
11033 # before this can be enabled.
11034 hardcode_into_libs=yes
11036 # Add ABI-specific directories to the system library path.
11037 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11039 # Append ld.so.conf contents to the search path
11040 if test -f /etc/ld.so.conf; then
11041 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' ' '`
11042 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11046 # We used to test for /lib/ld.so.1 and disable shared libraries on
11047 # powerpc, because MkLinux only supported shared libraries with the
11048 # GNU dynamic linker. Since this was broken with cross compilers,
11049 # most powerpc-linux boxes support dynamic linking these days and
11050 # people can always --disable-shared, the test was removed, and we
11051 # assume the GNU/Linux dynamic linker is in use.
11052 dynamic_linker='GNU/Linux ld.so'
11059 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11061 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11062 dynamic_linker='NetBSD (a.out) ld.so'
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 dynamic_linker='NetBSD ld.elf_so'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=yes
11070 hardcode_into_libs=yes
11074 version_type=linux # correct to gnu/linux during the next big refactor
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 shlibpath_overrides_runpath=yes
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 shlibpath_overrides_runpath=no
11088 hardcode_into_libs=yes
11089 dynamic_linker='ldqnx.so'
11094 sys_lib_dlsearch_path_spec="/usr/lib"
11096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11098 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11099 *) need_version=no ;;
11101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11102 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11103 shlibpath_var=LD_LIBRARY_PATH
11104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11106 openbsd2.[89] | openbsd2.[89].*)
11107 shlibpath_overrides_runpath=no
11110 shlibpath_overrides_runpath=yes
11114 shlibpath_overrides_runpath=yes
11119 libname_spec='$name'
11122 library_names_spec='$libname${shared_ext} $libname.a'
11123 dynamic_linker='OS/2 ld.exe'
11124 shlibpath_var=LIBPATH
11127 osf3* | osf4* | osf5*)
11131 soname_spec='${libname}${release}${shared_ext}$major'
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 shlibpath_var=LD_LIBRARY_PATH
11134 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11135 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11143 version_type=linux # correct to gnu/linux during the next big refactor
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147 soname_spec='${libname}${release}${shared_ext}$major'
11148 shlibpath_var=LD_LIBRARY_PATH
11149 shlibpath_overrides_runpath=yes
11150 hardcode_into_libs=yes
11151 # ldd complains unless libraries are executable
11152 postinstall_cmds='chmod +x $lib'
11157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11158 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=yes
11161 if test "$with_gnu_ld" = yes; then
11168 version_type=linux # correct to gnu/linux during the next big refactor
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 shlibpath_var=LD_LIBRARY_PATH
11172 case $host_vendor in
11174 shlibpath_overrides_runpath=no
11176 runpath_var=LD_RUN_PATH
11184 shlibpath_overrides_runpath=no
11185 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11191 if test -d /usr/nec ;then
11192 version_type=linux # correct to gnu/linux during the next big refactor
11193 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11194 soname_spec='$libname${shared_ext}.$major'
11195 shlibpath_var=LD_LIBRARY_PATH
11199 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11200 version_type=freebsd-elf
11203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11204 soname_spec='${libname}${release}${shared_ext}$major'
11205 shlibpath_var=LD_LIBRARY_PATH
11206 shlibpath_overrides_runpath=yes
11207 hardcode_into_libs=yes
11208 if test "$with_gnu_ld" = yes; then
11209 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11211 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11214 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11218 sys_lib_dlsearch_path_spec='/usr/lib'
11222 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11223 version_type=linux # correct to gnu/linux during the next big refactor
11226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227 shlibpath_var=LD_LIBRARY_PATH
11228 shlibpath_overrides_runpath=no
11229 hardcode_into_libs=yes
11233 version_type=linux # correct to gnu/linux during the next big refactor
11234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11235 soname_spec='${libname}${release}${shared_ext}$major'
11236 shlibpath_var=LD_LIBRARY_PATH
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11244 $as_echo "$dynamic_linker" >&6; }
11245 test "$dynamic_linker" = no && can_build_shared=no
11247 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11248 if test "$GCC" = yes; then
11249 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11252 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11253 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11255 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11256 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11351 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11353 if test -n "$hardcode_libdir_flag_spec" ||
11354 test -n "$runpath_var" ||
11355 test "X$hardcode_automatic" = "Xyes" ; then
11357 # We can hardcode non-existent directories.
11358 if test "$hardcode_direct" != no &&
11359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11360 # have to relink, otherwise we might link with an installed library
11361 # when we should be linking with a yet-to-be-installed one
11362 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11363 test "$hardcode_minus_L" != no; then
11364 # Linking always hardcodes the temporary library directory.
11365 hardcode_action=relink
11367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11368 hardcode_action=immediate
11371 # We cannot hardcode anything, or else we can only hardcode existing
11373 hardcode_action=unsupported
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11376 $as_echo "$hardcode_action" >&6; }
11378 if test "$hardcode_action" = relink ||
11379 test "$inherit_rpath" = yes; then
11380 # Fast installation is not supported
11381 enable_fast_install=no
11382 elif test "$shlibpath_overrides_runpath" = yes ||
11383 test "$enable_shared" = no; then
11384 # Fast installation is not necessary
11385 enable_fast_install=needless
11393 if test "x$enable_dlopen" != xyes; then
11394 enable_dlopen=unknown
11395 enable_dlopen_self=unknown
11396 enable_dlopen_self_static=unknown
11403 lt_cv_dlopen="load_add_on"
11405 lt_cv_dlopen_self=yes
11408 mingw* | pw32* | cegcc*)
11409 lt_cv_dlopen="LoadLibrary"
11414 lt_cv_dlopen="dlopen"
11419 # if libdl is installed we need to link against it
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11422 if ${ac_cv_lib_dl_dlopen+:} false; then :
11423 $as_echo_n "(cached) " >&6
11425 ac_check_lib_save_LIBS=$LIBS
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_dl_dlopen=yes
11448 ac_cv_lib_dl_dlopen=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11456 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11457 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11460 lt_cv_dlopen="dyld"
11462 lt_cv_dlopen_self=yes
11469 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11470 if test "x$ac_cv_func_shl_load" = xyes; then :
11471 lt_cv_dlopen="shl_load"
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11474 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11475 if ${ac_cv_lib_dld_shl_load+:} false; then :
11476 $as_echo_n "(cached) " >&6
11478 ac_check_lib_save_LIBS=$LIBS
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11493 return shl_load ();
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 ac_cv_lib_dld_shl_load=yes
11501 ac_cv_lib_dld_shl_load=no
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_lib_save_LIBS
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11508 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11509 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11510 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11512 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11513 if test "x$ac_cv_func_dlopen" = xyes; then :
11514 lt_cv_dlopen="dlopen"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11517 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11518 if ${ac_cv_lib_dl_dlopen+:} false; then :
11519 $as_echo_n "(cached) " >&6
11521 ac_check_lib_save_LIBS=$LIBS
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11541 if ac_fn_c_try_link "$LINENO"; then :
11542 ac_cv_lib_dl_dlopen=yes
11544 ac_cv_lib_dl_dlopen=no
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_lib_save_LIBS
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11551 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11552 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11553 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11556 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11557 if ${ac_cv_lib_svld_dlopen+:} false; then :
11558 $as_echo_n "(cached) " >&6
11560 ac_check_lib_save_LIBS=$LIBS
11561 LIBS="-lsvld $LIBS"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11565 /* Override any GCC internal prototype to avoid an error.
11566 Use char because int might match the return type of a GCC
11567 builtin and then its argument prototype would still apply. */
11580 if ac_fn_c_try_link "$LINENO"; then :
11581 ac_cv_lib_svld_dlopen=yes
11583 ac_cv_lib_svld_dlopen=no
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_lib_save_LIBS
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11590 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11591 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11592 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11595 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11596 if ${ac_cv_lib_dld_dld_link+:} false; then :
11597 $as_echo_n "(cached) " >&6
11599 ac_check_lib_save_LIBS=$LIBS
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11614 return dld_link ();
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 ac_cv_lib_dld_dld_link=yes
11622 ac_cv_lib_dld_dld_link=no
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11629 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11630 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11631 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11652 if test "x$lt_cv_dlopen" != xno; then
11658 case $lt_cv_dlopen in
11660 save_CPPFLAGS="$CPPFLAGS"
11661 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11663 save_LDFLAGS="$LDFLAGS"
11664 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11667 LIBS="$lt_cv_dlopen_libs $LIBS"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11670 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11671 if ${lt_cv_dlopen_self+:} false; then :
11672 $as_echo_n "(cached) " >&6
11674 if test "$cross_compiling" = yes; then :
11675 lt_cv_dlopen_self=cross
11677 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11678 lt_status=$lt_dlunknown
11679 cat > conftest.$ac_ext <<_LT_EOF
11680 #line $LINENO "configure"
11681 #include "confdefs.h"
11690 # define LT_DLGLOBAL RTLD_GLOBAL
11693 # define LT_DLGLOBAL DL_GLOBAL
11695 # define LT_DLGLOBAL 0
11699 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11700 find out it does not work in some platform. */
11701 #ifndef LT_DLLAZY_OR_NOW
11703 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11706 # define LT_DLLAZY_OR_NOW DL_LAZY
11709 # define LT_DLLAZY_OR_NOW RTLD_NOW
11712 # define LT_DLLAZY_OR_NOW DL_NOW
11714 # define LT_DLLAZY_OR_NOW 0
11721 /* When -fvisbility=hidden is used, assume the code has been annotated
11722 correspondingly for the symbols needed. */
11723 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11724 int fnord () __attribute__((visibility("default")));
11727 int fnord () { return 42; }
11730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11731 int status = $lt_dlunknown;
11735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11738 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11739 else puts (dlerror ());
11741 /* dlclose (self); */
11749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11750 (eval $ac_link) 2>&5
11752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11753 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11754 (./conftest; exit; ) >&5 2>/dev/null
11756 case x$lt_status in
11757 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11758 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11759 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11762 # compilation failed
11763 lt_cv_dlopen_self=no
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11771 $as_echo "$lt_cv_dlopen_self" >&6; }
11773 if test "x$lt_cv_dlopen_self" = xyes; then
11774 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11776 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11777 if ${lt_cv_dlopen_self_static+:} false; then :
11778 $as_echo_n "(cached) " >&6
11780 if test "$cross_compiling" = yes; then :
11781 lt_cv_dlopen_self_static=cross
11783 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11784 lt_status=$lt_dlunknown
11785 cat > conftest.$ac_ext <<_LT_EOF
11786 #line $LINENO "configure"
11787 #include "confdefs.h"
11796 # define LT_DLGLOBAL RTLD_GLOBAL
11799 # define LT_DLGLOBAL DL_GLOBAL
11801 # define LT_DLGLOBAL 0
11805 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11806 find out it does not work in some platform. */
11807 #ifndef LT_DLLAZY_OR_NOW
11809 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11812 # define LT_DLLAZY_OR_NOW DL_LAZY
11815 # define LT_DLLAZY_OR_NOW RTLD_NOW
11818 # define LT_DLLAZY_OR_NOW DL_NOW
11820 # define LT_DLLAZY_OR_NOW 0
11827 /* When -fvisbility=hidden is used, assume the code has been annotated
11828 correspondingly for the symbols needed. */
11829 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11830 int fnord () __attribute__((visibility("default")));
11833 int fnord () { return 42; }
11836 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11837 int status = $lt_dlunknown;
11841 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11844 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11845 else puts (dlerror ());
11847 /* dlclose (self); */
11855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11856 (eval $ac_link) 2>&5
11858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11859 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11860 (./conftest; exit; ) >&5 2>/dev/null
11862 case x$lt_status in
11863 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11864 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11865 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11868 # compilation failed
11869 lt_cv_dlopen_self_static=no
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11877 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11880 CPPFLAGS="$save_CPPFLAGS"
11881 LDFLAGS="$save_LDFLAGS"
11886 case $lt_cv_dlopen_self in
11887 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11888 *) enable_dlopen_self=unknown ;;
11891 case $lt_cv_dlopen_self_static in
11892 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11893 *) enable_dlopen_self_static=unknown ;;
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11916 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11917 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11918 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11919 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11921 $as_echo "yes" >&6; }
11923 # FIXME - insert some real tests, host_os isn't really good enough
11926 if test -n "$STRIP" ; then
11927 striplib="$STRIP -x"
11928 old_striplib="$STRIP -S"
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11930 $as_echo "yes" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11933 $as_echo "no" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11938 $as_echo "no" >&6; }
11954 # Report which library types will actually be built
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11956 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11958 $as_echo "$can_build_shared" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11961 $as_echo_n "checking whether to build shared libraries... " >&6; }
11962 test "$can_build_shared" = "no" && enable_shared=no
11964 # On AIX, shared libraries and static libraries use the same namespace, and
11965 # are all built from PIC.
11968 test "$enable_shared" = yes && enable_static=no
11969 if test -n "$RANLIB"; then
11970 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11971 postinstall_cmds='$RANLIB $lib'
11976 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11977 test "$enable_shared" = yes && enable_static=no
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11982 $as_echo "$enable_shared" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11985 $as_echo_n "checking whether to build static libraries... " >&6; }
11986 # Make sure either enable_shared or enable_static is yes.
11987 test "$enable_shared" = yes || enable_static=yes
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11989 $as_echo "$enable_static" >&6; }
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12017 ac_config_commands="$ac_config_commands libtool"
12022 # Only expand once:
12033 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12034 if test -n "$ac_tool_prefix"; then
12035 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12036 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12038 $as_echo_n "checking for $ac_word... " >&6; }
12039 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12040 $as_echo_n "(cached) " >&6
12042 case $PKG_CONFIG in
12044 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12048 for as_dir in $PATH
12051 test -z "$as_dir" && as_dir=.
12052 for ac_exec_ext in '' $ac_executable_extensions; do
12053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12054 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12065 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12066 if test -n "$PKG_CONFIG"; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12068 $as_echo "$PKG_CONFIG" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071 $as_echo "no" >&6; }
12076 if test -z "$ac_cv_path_PKG_CONFIG"; then
12077 ac_pt_PKG_CONFIG=$PKG_CONFIG
12078 # Extract the first word of "pkg-config", so it can be a program name with args.
12079 set dummy pkg-config; ac_word=$2
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12081 $as_echo_n "checking for $ac_word... " >&6; }
12082 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12083 $as_echo_n "(cached) " >&6
12085 case $ac_pt_PKG_CONFIG in
12087 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12091 for as_dir in $PATH
12094 test -z "$as_dir" && as_dir=.
12095 for ac_exec_ext in '' $ac_executable_extensions; do
12096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12097 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12108 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12109 if test -n "$ac_pt_PKG_CONFIG"; then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12111 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114 $as_echo "no" >&6; }
12117 if test "x$ac_pt_PKG_CONFIG" = x; then
12120 case $cross_compiling:$ac_tool_warned in
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12124 ac_tool_warned=yes ;;
12126 PKG_CONFIG=$ac_pt_PKG_CONFIG
12129 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12133 if test -n "$PKG_CONFIG"; then
12134 _pkg_min_version=0.9.0
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12136 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12137 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12139 $as_echo "yes" >&6; }
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12147 for ac_prog in flex lex
12149 # Extract the first word of "$ac_prog", so it can be a program name with args.
12150 set dummy $ac_prog; ac_word=$2
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12152 $as_echo_n "checking for $ac_word... " >&6; }
12153 if ${ac_cv_prog_LEX+:} false; then :
12154 $as_echo_n "(cached) " >&6
12156 if test -n "$LEX"; then
12157 ac_cv_prog_LEX="$LEX" # Let the user override the test.
12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12160 for as_dir in $PATH
12163 test -z "$as_dir" && as_dir=.
12164 for ac_exec_ext in '' $ac_executable_extensions; do
12165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12166 ac_cv_prog_LEX="$ac_prog"
12167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 LEX=$ac_cv_prog_LEX
12177 if test -n "$LEX"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12179 $as_echo "$LEX" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12186 test -n "$LEX" && break
12188 test -n "$LEX" || LEX=":"
12190 if test "x$LEX" != "x:"; then
12191 cat >conftest.l <<_ACEOF
12197 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
12198 yyless ((input () != 0)); }
12199 f { unput (yytext[0]); }
12200 . { BEGIN INITIAL; }
12202 #ifdef YYTEXT_POINTER
12203 extern char *yytext;
12208 return ! yylex () + ! yywrap ();
12211 { { ac_try="$LEX conftest.l"
12212 case "(($ac_try" in
12213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12214 *) ac_try_echo=$ac_try;;
12216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12217 $as_echo "$ac_try_echo"; } >&5
12218 (eval "$LEX conftest.l") 2>&5
12220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12221 test $ac_status = 0; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12223 $as_echo_n "checking lex output file root... " >&6; }
12224 if ${ac_cv_prog_lex_root+:} false; then :
12225 $as_echo_n "(cached) " >&6
12228 if test -f lex.yy.c; then
12229 ac_cv_prog_lex_root=lex.yy
12230 elif test -f lexyy.c; then
12231 ac_cv_prog_lex_root=lexyy
12233 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12237 $as_echo "$ac_cv_prog_lex_root" >&6; }
12238 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12240 if test -z "${LEXLIB+set}"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12242 $as_echo_n "checking lex library... " >&6; }
12243 if ${ac_cv_lib_lex+:} false; then :
12244 $as_echo_n "(cached) " >&6
12248 ac_cv_lib_lex='none needed'
12249 for ac_lib in '' -lfl -ll; do
12250 LIBS="$ac_lib $ac_save_LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 `cat $LEX_OUTPUT_ROOT.c`
12255 if ac_fn_c_try_link "$LINENO"; then :
12256 ac_cv_lib_lex=$ac_lib
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 test "$ac_cv_lib_lex" != 'none needed' && break
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12266 $as_echo "$ac_cv_lib_lex" >&6; }
12267 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12272 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12273 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12274 $as_echo_n "(cached) " >&6
12276 # POSIX says lex can declare yytext either as a pointer or an array; the
12277 # default is implementation-dependent. Figure out which it is, since
12278 # not all implementations provide the %pointer and %array declarations.
12279 ac_cv_prog_lex_yytext_pointer=no
12281 LIBS="$LEXLIB $ac_save_LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 #define YYTEXT_POINTER 1
12286 `cat $LEX_OUTPUT_ROOT.c`
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_prog_lex_yytext_pointer=yes
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12297 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12298 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12300 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12303 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12306 if test "$LEX" = :; then
12307 as_fn_error $? "flex not found but required" "$LINENO" 5
12310 for ac_prog in 'bison -y'
12312 # Extract the first word of "$ac_prog", so it can be a program name with args.
12313 set dummy $ac_prog; ac_word=$2
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12315 $as_echo_n "checking for $ac_word... " >&6; }
12316 if ${ac_cv_prog_YACC+:} false; then :
12317 $as_echo_n "(cached) " >&6
12319 if test -n "$YACC"; then
12320 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12329 ac_cv_prog_YACC="$ac_prog"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12339 YACC=$ac_cv_prog_YACC
12340 if test -n "$YACC"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12342 $as_echo "$YACC" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12349 test -n "$YACC" && break
12351 test -n "$YACC" || YACC=":"
12353 if test "$YACC" = :; then
12354 as_fn_error $? "bison not found but required" "$LINENO" 5
12362 case " ${result} " in
12363 *[\ \ ]${flag}[\ \ ]*) ;;
12364 *) result="${flag} ${result}" ;;
12370 if test "$GCC" = "yes"; then
12371 for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12372 -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12373 -Wsign-compare -fno-strict-aliasing;
12375 CFLAGS="$(ensureflag $flag $CFLAGS)"
12379 # Checks for libraries.
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12381 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12382 if ${ac_cv_lib_dl_dlopen+:} false; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_check_lib_save_LIBS=$LIBS
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12405 if ac_fn_c_try_link "$LINENO"; then :
12406 ac_cv_lib_dl_dlopen=yes
12408 ac_cv_lib_dl_dlopen=no
12410 rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412 LIBS=$ac_check_lib_save_LIBS
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12415 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12416 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12417 cat >>confdefs.h <<_ACEOF
12418 #define HAVE_LIBDL 1
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12427 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12428 # libtool variables are immediately available since 2.0, prior to that we need
12429 # to call libtool --config explicitly
12430 if test "x$shrext_cmds" = x; then
12431 shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12434 eval std_shrext=$shrext_cmds
12435 # chop the initial dot
12436 SHLIB_SUFFIX=${std_shrext#.}
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12438 $as_echo ".$SHLIB_SUFFIX" >&6; }
12439 # any reason it may fail?
12440 if test "x$SHLIB_SUFFIX" = x; then
12441 as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12444 cat >>confdefs.h <<_ACEOF
12445 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12449 # Copied from dbus configure.in
12450 #### find the actual value for $prefix that we'll end up with
12451 ## (I know this is broken and should be done in the Makefile, but
12452 ## that's a major pain and almost nobody actually seems to care)
12454 EXP_VAR=EXPANDED_LOCALSTATEDIR
12455 FROM_VAR="$localstatedir"
12457 prefix_save=$prefix
12458 exec_prefix_save=$exec_prefix
12460 if test "x$prefix" = "xNONE"; then
12461 prefix="$ac_default_prefix"
12463 if test "x$exec_prefix" = "xNONE"; then
12464 exec_prefix=$prefix
12467 full_var="$FROM_VAR"
12469 new_full_var="`eval echo $full_var`"
12470 if test "x$new_full_var" = "x$full_var"; then break; fi
12471 full_var=$new_full_var
12474 full_var=$new_full_var
12475 EXPANDED_LOCALSTATEDIR="$full_var"
12478 prefix=$prefix_save
12479 exec_prefix=$exec_prefix_save
12482 EXP_VAR=EXPANDED_SYSCONFDIR
12483 FROM_VAR="$sysconfdir"
12485 prefix_save=$prefix
12486 exec_prefix_save=$exec_prefix
12488 if test "x$prefix" = "xNONE"; then
12489 prefix="$ac_default_prefix"
12491 if test "x$exec_prefix" = "xNONE"; then
12492 exec_prefix=$prefix
12495 full_var="$FROM_VAR"
12497 new_full_var="`eval echo $full_var`"
12498 if test "x$new_full_var" = "x$full_var"; then break; fi
12499 full_var=$new_full_var
12502 full_var=$new_full_var
12503 EXPANDED_SYSCONFDIR="$full_var"
12506 prefix=$prefix_save
12507 exec_prefix=$exec_prefix_save
12510 EXP_VAR=EXPANDED_BINDIR
12513 prefix_save=$prefix
12514 exec_prefix_save=$exec_prefix
12516 if test "x$prefix" = "xNONE"; then
12517 prefix="$ac_default_prefix"
12519 if test "x$exec_prefix" = "xNONE"; then
12520 exec_prefix=$prefix
12523 full_var="$FROM_VAR"
12525 new_full_var="`eval echo $full_var`"
12526 if test "x$new_full_var" = "x$full_var"; then break; fi
12527 full_var=$new_full_var
12530 full_var=$new_full_var
12531 EXPANDED_BINDIR="$full_var"
12534 prefix=$prefix_save
12535 exec_prefix=$exec_prefix_save
12538 EXP_VAR=EXPANDED_LIBDIR
12541 prefix_save=$prefix
12542 exec_prefix_save=$exec_prefix
12544 if test "x$prefix" = "xNONE"; then
12545 prefix="$ac_default_prefix"
12547 if test "x$exec_prefix" = "xNONE"; then
12548 exec_prefix=$prefix
12551 full_var="$FROM_VAR"
12553 new_full_var="`eval echo $full_var`"
12554 if test "x$new_full_var" = "x$full_var"; then break; fi
12555 full_var=$new_full_var
12558 full_var=$new_full_var
12559 EXPANDED_LIBDIR="$full_var"
12562 prefix=$prefix_save
12563 exec_prefix=$exec_prefix_save
12566 EXP_VAR=EXPANDED_LIBEXECDIR
12567 FROM_VAR="$libexecdir"
12569 prefix_save=$prefix
12570 exec_prefix_save=$exec_prefix
12572 if test "x$prefix" = "xNONE"; then
12573 prefix="$ac_default_prefix"
12575 if test "x$exec_prefix" = "xNONE"; then
12576 exec_prefix=$prefix
12579 full_var="$FROM_VAR"
12581 new_full_var="`eval echo $full_var`"
12582 if test "x$new_full_var" = "x$full_var"; then break; fi
12583 full_var=$new_full_var
12586 full_var=$new_full_var
12587 EXPANDED_LIBEXECDIR="$full_var"
12590 prefix=$prefix_save
12591 exec_prefix=$exec_prefix_save
12594 EXP_VAR=EXPANDED_DATADIR
12595 FROM_VAR="$datadir"
12597 prefix_save=$prefix
12598 exec_prefix_save=$exec_prefix
12600 if test "x$prefix" = "xNONE"; then
12601 prefix="$ac_default_prefix"
12603 if test "x$exec_prefix" = "xNONE"; then
12604 exec_prefix=$prefix
12607 full_var="$FROM_VAR"
12609 new_full_var="`eval echo $full_var`"
12610 if test "x$new_full_var" = "x$full_var"; then break; fi
12611 full_var=$new_full_var
12614 full_var=$new_full_var
12615 EXPANDED_DATADIR="$full_var"
12618 prefix=$prefix_save
12619 exec_prefix=$exec_prefix_save
12622 #### Directory to install the libexec binaries
12623 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12626 cat >>confdefs.h <<_ACEOF
12627 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12631 #### Directory to install the gir files
12632 GIR_SUFFIX="gir-1.0"
12635 cat >>confdefs.h <<_ACEOF
12636 #define GIR_SUFFIX "$GIR_SUFFIX"
12640 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12643 cat >>confdefs.h <<_ACEOF
12644 #define GIR_DIR "$GIR_DIR"
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12651 $as_echo_n "checking for GLIB... " >&6; }
12653 if test -n "$GLIB_CFLAGS"; then
12654 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12655 elif test -n "$PKG_CONFIG"; then
12656 if test -n "$PKG_CONFIG" && \
12657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
12658 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12661 test $ac_status = 0; }; then
12662 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.36.0" 2>/dev/null`
12663 test "x$?" != "x0" && pkg_failed=yes
12670 if test -n "$GLIB_LIBS"; then
12671 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12672 elif test -n "$PKG_CONFIG"; then
12673 if test -n "$PKG_CONFIG" && \
12674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
12675 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
12677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12678 test $ac_status = 0; }; then
12679 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.36.0" 2>/dev/null`
12680 test "x$?" != "x0" && pkg_failed=yes
12690 if test $pkg_failed = yes; then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12695 _pkg_short_errors_supported=yes
12697 _pkg_short_errors_supported=no
12699 if test $_pkg_short_errors_supported = yes; then
12700 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
12702 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
12704 # Put the nasty error message in config.log where it belongs
12705 echo "$GLIB_PKG_ERRORS" >&5
12707 as_fn_error $? "Package requirements (glib-2.0 >= 2.36.0) were not met:
12711 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12712 installed software in a non-standard prefix.
12714 Alternatively, you may set the environment variables GLIB_CFLAGS
12715 and GLIB_LIBS to avoid the need to call pkg-config.
12716 See the pkg-config man page for more details." "$LINENO" 5
12717 elif test $pkg_failed = untried; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12722 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12723 is in your PATH or set the PKG_CONFIG environment variable to the full
12724 path to pkg-config.
12726 Alternatively, you may set the environment variables GLIB_CFLAGS
12727 and GLIB_LIBS to avoid the need to call pkg-config.
12728 See the pkg-config man page for more details.
12730 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12731 See \`config.log' for more details" "$LINENO" 5; }
12733 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12734 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12736 $as_echo "yes" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12742 $as_echo_n "checking for GOBJECT... " >&6; }
12744 if test -n "$GOBJECT_CFLAGS"; then
12745 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12746 elif test -n "$PKG_CONFIG"; then
12747 if test -n "$PKG_CONFIG" && \
12748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12749 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752 test $ac_status = 0; }; then
12753 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12754 test "x$?" != "x0" && pkg_failed=yes
12761 if test -n "$GOBJECT_LIBS"; then
12762 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12763 elif test -n "$PKG_CONFIG"; then
12764 if test -n "$PKG_CONFIG" && \
12765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12766 ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12769 test $ac_status = 0; }; then
12770 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12771 test "x$?" != "x0" && pkg_failed=yes
12781 if test $pkg_failed = yes; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12783 $as_echo "no" >&6; }
12785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12786 _pkg_short_errors_supported=yes
12788 _pkg_short_errors_supported=no
12790 if test $_pkg_short_errors_supported = yes; then
12791 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12793 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12795 # Put the nasty error message in config.log where it belongs
12796 echo "$GOBJECT_PKG_ERRORS" >&5
12798 as_fn_error $? "Package requirements (gobject-2.0) were not met:
12800 $GOBJECT_PKG_ERRORS
12802 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12803 installed software in a non-standard prefix.
12805 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12806 and GOBJECT_LIBS to avoid the need to call pkg-config.
12807 See the pkg-config man page for more details." "$LINENO" 5
12808 elif test $pkg_failed = untried; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12813 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12814 is in your PATH or set the PKG_CONFIG environment variable to the full
12815 path to pkg-config.
12817 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12818 and GOBJECT_LIBS to avoid the need to call pkg-config.
12819 See the pkg-config man page for more details.
12821 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12822 See \`config.log' for more details" "$LINENO" 5; }
12824 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12825 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12827 $as_echo "yes" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12833 $as_echo_n "checking for GMODULE... " >&6; }
12835 if test -n "$GMODULE_CFLAGS"; then
12836 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12837 elif test -n "$PKG_CONFIG"; then
12838 if test -n "$PKG_CONFIG" && \
12839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12840 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843 test $ac_status = 0; }; then
12844 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12845 test "x$?" != "x0" && pkg_failed=yes
12852 if test -n "$GMODULE_LIBS"; then
12853 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12854 elif test -n "$PKG_CONFIG"; then
12855 if test -n "$PKG_CONFIG" && \
12856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12857 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12860 test $ac_status = 0; }; then
12861 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12862 test "x$?" != "x0" && pkg_failed=yes
12872 if test $pkg_failed = yes; then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12877 _pkg_short_errors_supported=yes
12879 _pkg_short_errors_supported=no
12881 if test $_pkg_short_errors_supported = yes; then
12882 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12884 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12886 # Put the nasty error message in config.log where it belongs
12887 echo "$GMODULE_PKG_ERRORS" >&5
12889 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12891 $GMODULE_PKG_ERRORS
12893 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12894 installed software in a non-standard prefix.
12896 Alternatively, you may set the environment variables GMODULE_CFLAGS
12897 and GMODULE_LIBS to avoid the need to call pkg-config.
12898 See the pkg-config man page for more details." "$LINENO" 5
12899 elif test $pkg_failed = untried; then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12901 $as_echo "no" >&6; }
12902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12904 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12905 is in your PATH or set the PKG_CONFIG environment variable to the full
12906 path to pkg-config.
12908 Alternatively, you may set the environment variables GMODULE_CFLAGS
12909 and GMODULE_LIBS to avoid the need to call pkg-config.
12910 See the pkg-config man page for more details.
12912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12913 See \`config.log' for more details" "$LINENO" 5; }
12915 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12916 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12918 $as_echo "yes" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12924 $as_echo_n "checking for GIO... " >&6; }
12926 if test -n "$GIO_CFLAGS"; then
12927 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12928 elif test -n "$PKG_CONFIG"; then
12929 if test -n "$PKG_CONFIG" && \
12930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12931 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934 test $ac_status = 0; }; then
12935 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12936 test "x$?" != "x0" && pkg_failed=yes
12943 if test -n "$GIO_LIBS"; then
12944 pkg_cv_GIO_LIBS="$GIO_LIBS"
12945 elif test -n "$PKG_CONFIG"; then
12946 if test -n "$PKG_CONFIG" && \
12947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12948 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 test $ac_status = 0; }; then
12952 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12953 test "x$?" != "x0" && pkg_failed=yes
12963 if test $pkg_failed = yes; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12968 _pkg_short_errors_supported=yes
12970 _pkg_short_errors_supported=no
12972 if test $_pkg_short_errors_supported = yes; then
12973 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
12975 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
12977 # Put the nasty error message in config.log where it belongs
12978 echo "$GIO_PKG_ERRORS" >&5
12980 as_fn_error $? "Package requirements (gio-2.0) were not met:
12984 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12985 installed software in a non-standard prefix.
12987 Alternatively, you may set the environment variables GIO_CFLAGS
12988 and GIO_LIBS to avoid the need to call pkg-config.
12989 See the pkg-config man page for more details." "$LINENO" 5
12990 elif test $pkg_failed = untried; then
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12992 $as_echo "no" >&6; }
12993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12995 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12996 is in your PATH or set the PKG_CONFIG environment variable to the full
12997 path to pkg-config.
12999 Alternatively, you may set the environment variables GIO_CFLAGS
13000 and GIO_LIBS to avoid the need to call pkg-config.
13001 See the pkg-config man page for more details.
13003 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13004 See \`config.log' for more details" "$LINENO" 5; }
13006 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13007 GIO_LIBS=$pkg_cv_GIO_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13009 $as_echo "yes" >&6; }
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
13015 $as_echo_n "checking for GIO_UNIX... " >&6; }
13017 if test -n "$GIO_UNIX_CFLAGS"; then
13018 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
13019 elif test -n "$PKG_CONFIG"; then
13020 if test -n "$PKG_CONFIG" && \
13021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
13022 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
13024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13025 test $ac_status = 0; }; then
13026 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
13027 test "x$?" != "x0" && pkg_failed=yes
13034 if test -n "$GIO_UNIX_LIBS"; then
13035 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
13036 elif test -n "$PKG_CONFIG"; then
13037 if test -n "$PKG_CONFIG" && \
13038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
13039 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13042 test $ac_status = 0; }; then
13043 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
13044 test "x$?" != "x0" && pkg_failed=yes
13054 if test $pkg_failed = yes; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13056 $as_echo "no" >&6; }
13058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13059 _pkg_short_errors_supported=yes
13061 _pkg_short_errors_supported=no
13063 if test $_pkg_short_errors_supported = yes; then
13064 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13066 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13068 # Put the nasty error message in config.log where it belongs
13069 echo "$GIO_UNIX_PKG_ERRORS" >&5
13071 have_gio_unix=false
13072 elif test $pkg_failed = untried; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13075 have_gio_unix=false
13077 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
13078 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13080 $as_echo "yes" >&6; }
13083 if test x$have_gio_unix = xtrue; then
13084 HAVE_GIO_UNIX_TRUE=
13085 HAVE_GIO_UNIX_FALSE='#'
13087 HAVE_GIO_UNIX_TRUE='#'
13088 HAVE_GIO_UNIX_FALSE=
13092 # Prefer cairo-gobject if we have it
13094 # Check whether --with-cairo was given.
13095 if test "${with_cairo+set}" = set; then :
13096 withval=$with_cairo;
13102 if test x${with_cairo} != xno; then :
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13107 $as_echo_n "checking for CAIRO... " >&6; }
13109 if test -n "$CAIRO_CFLAGS"; then
13110 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13111 elif test -n "$PKG_CONFIG"; then
13112 if test -n "$PKG_CONFIG" && \
13113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13114 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13117 test $ac_status = 0; }; then
13118 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13119 test "x$?" != "x0" && pkg_failed=yes
13126 if test -n "$CAIRO_LIBS"; then
13127 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13128 elif test -n "$PKG_CONFIG"; then
13129 if test -n "$PKG_CONFIG" && \
13130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13131 ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13134 test $ac_status = 0; }; then
13135 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13136 test "x$?" != "x0" && pkg_failed=yes
13146 if test $pkg_failed = yes; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148 $as_echo "no" >&6; }
13150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13151 _pkg_short_errors_supported=yes
13153 _pkg_short_errors_supported=no
13155 if test $_pkg_short_errors_supported = yes; then
13156 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13158 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13160 # Put the nasty error message in config.log where it belongs
13161 echo "$CAIRO_PKG_ERRORS" >&5
13164 elif test $pkg_failed = untried; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 $as_echo "no" >&6; }
13169 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13170 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13172 $as_echo "yes" >&6; }
13175 if test x$have_cairo = xno && test x$with_cairo = xyes ; then :
13177 as_fn_error $? "cairo enabled but not found" "$LINENO" 5
13182 if test x$have_cairo = xyes; then
13184 HAVE_CAIRO_FALSE='#'
13186 HAVE_CAIRO_TRUE='#'
13193 CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13196 CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13199 CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13202 CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13205 CAIRO_GIR_PACKAGE="cairo-gobject"
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13214 $as_echo_n "checking for SCANNER... " >&6; }
13216 if test -n "$SCANNER_CFLAGS"; then
13217 pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13218 elif test -n "$PKG_CONFIG"; then
13219 if test -n "$PKG_CONFIG" && \
13220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13221 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13224 test $ac_status = 0; }; then
13225 pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gio-2.0" 2>/dev/null`
13226 test "x$?" != "x0" && pkg_failed=yes
13233 if test -n "$SCANNER_LIBS"; then
13234 pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13235 elif test -n "$PKG_CONFIG"; then
13236 if test -n "$PKG_CONFIG" && \
13237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13238 ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13241 test $ac_status = 0; }; then
13242 pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gio-2.0" 2>/dev/null`
13243 test "x$?" != "x0" && pkg_failed=yes
13253 if test $pkg_failed = yes; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255 $as_echo "no" >&6; }
13257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13258 _pkg_short_errors_supported=yes
13260 _pkg_short_errors_supported=no
13262 if test $_pkg_short_errors_supported = yes; then
13263 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13265 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13267 # Put the nasty error message in config.log where it belongs
13268 echo "$SCANNER_PKG_ERRORS" >&5
13270 as_fn_error $? "Package requirements (gobject-2.0 gio-2.0) were not met:
13272 $SCANNER_PKG_ERRORS
13274 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13275 installed software in a non-standard prefix.
13277 Alternatively, you may set the environment variables SCANNER_CFLAGS
13278 and SCANNER_LIBS to avoid the need to call pkg-config.
13279 See the pkg-config man page for more details." "$LINENO" 5
13280 elif test $pkg_failed = untried; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13282 $as_echo "no" >&6; }
13283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13285 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13286 is in your PATH or set the PKG_CONFIG environment variable to the full
13287 path to pkg-config.
13289 Alternatively, you may set the environment variables SCANNER_CFLAGS
13290 and SCANNER_LIBS to avoid the need to call pkg-config.
13291 See the pkg-config man page for more details.
13293 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13294 See \`config.log' for more details" "$LINENO" 5; }
13296 SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13297 SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13299 $as_echo "yes" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13306 $as_echo_n "checking for FFI... " >&6; }
13308 if test -n "$FFI_CFLAGS"; then
13309 pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13310 elif test -n "$PKG_CONFIG"; then
13311 if test -n "$PKG_CONFIG" && \
13312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0.0 \""; } >&5
13313 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0.0 ") 2>&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13316 test $ac_status = 0; }; then
13317 pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0.0 " 2>/dev/null`
13318 test "x$?" != "x0" && pkg_failed=yes
13325 if test -n "$FFI_LIBS"; then
13326 pkg_cv_FFI_LIBS="$FFI_LIBS"
13327 elif test -n "$PKG_CONFIG"; then
13328 if test -n "$PKG_CONFIG" && \
13329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0.0 \""; } >&5
13330 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0.0 ") 2>&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13333 test $ac_status = 0; }; then
13334 pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0.0 " 2>/dev/null`
13335 test "x$?" != "x0" && pkg_failed=yes
13345 if test $pkg_failed = yes; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13347 $as_echo "no" >&6; }
13349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13350 _pkg_short_errors_supported=yes
13352 _pkg_short_errors_supported=no
13354 if test $_pkg_short_errors_supported = yes; then
13355 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0.0 " 2>&1`
13357 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0.0 " 2>&1`
13359 # Put the nasty error message in config.log where it belongs
13360 echo "$FFI_PKG_ERRORS" >&5
13362 have_ffi_pkgconfig=no
13363 elif test $pkg_failed = untried; then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13365 $as_echo "no" >&6; }
13366 have_ffi_pkgconfig=no
13368 FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13369 FFI_LIBS=$pkg_cv_FFI_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13371 $as_echo "yes" >&6; }
13372 have_ffi_pkgconfig=yes
13377 if test x"$have_ffi_pkgconfig" = xyes ; then
13378 FFI_PC_PACKAGES="libffi"
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13381 $as_echo_n "checking for ffi.h... " >&6; }
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13387 if ac_fn_c_try_cpp "$LINENO"; then :
13392 rm -f conftest.err conftest.i conftest.$ac_ext
13393 if test x"$have_ffi_h" = x"yes"; then
13396 if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13399 other_LIBS=$with_ffi
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13403 $as_echo_n "checking for library containing ffi_call... " >&6; }
13404 if ${ac_cv_search_ffi_call+:} false; then :
13405 $as_echo_n "(cached) " >&6
13407 ac_func_search_save_LIBS=$LIBS
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13421 return ffi_call ();
13426 for ac_lib in '' ffi; do
13427 if test -z "$ac_lib"; then
13428 ac_res="none required"
13431 LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 ac_cv_search_ffi_call=$ac_res
13436 rm -f core conftest.err conftest.$ac_objext \
13438 if ${ac_cv_search_ffi_call+:} false; then :
13442 if ${ac_cv_search_ffi_call+:} false; then :
13445 ac_cv_search_ffi_call=no
13447 rm conftest.$ac_ext
13448 LIBS=$ac_func_search_save_LIBS
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13451 $as_echo "$ac_cv_search_ffi_call" >&6; }
13452 ac_res=$ac_cv_search_ffi_call
13453 if test "$ac_res" != no; then :
13454 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13457 as_fn_error $? "libffi not found" "$LINENO" 5
13460 if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13461 FFI_LIBS=$other_LIBS
13463 FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13468 if test x"$have_ffi_h" != x"yes" ; then
13469 as_fn_error $? "ffi.h not found" "$LINENO" 5
13472 FFI_PC_LIBS=$FFI_LIBS
13473 FFI_PC_CFLAGS=$FFI_CFLAGS
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13476 $as_echo "$have_ffi_h" >&6; }
13484 # The cast to long int works around a bug in the HP C Compiler
13485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13487 # This bug is HP SR number 8606223364.
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13489 $as_echo_n "checking size of char... " >&6; }
13490 if ${ac_cv_sizeof_char+:} false; then :
13491 $as_echo_n "(cached) " >&6
13493 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13496 if test "$ac_cv_type_char" = yes; then
13497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13499 as_fn_error 77 "cannot compute sizeof (char)
13500 See \`config.log' for more details" "$LINENO" 5; }
13502 ac_cv_sizeof_char=0
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13508 $as_echo "$ac_cv_sizeof_char" >&6; }
13512 cat >>confdefs.h <<_ACEOF
13513 #define SIZEOF_CHAR $ac_cv_sizeof_char
13517 # The cast to long int works around a bug in the HP C Compiler
13518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13520 # This bug is HP SR number 8606223364.
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13522 $as_echo_n "checking size of short... " >&6; }
13523 if ${ac_cv_sizeof_short+:} false; then :
13524 $as_echo_n "(cached) " >&6
13526 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13529 if test "$ac_cv_type_short" = yes; then
13530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13532 as_fn_error 77 "cannot compute sizeof (short)
13533 See \`config.log' for more details" "$LINENO" 5; }
13535 ac_cv_sizeof_short=0
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13541 $as_echo "$ac_cv_sizeof_short" >&6; }
13545 cat >>confdefs.h <<_ACEOF
13546 #define SIZEOF_SHORT $ac_cv_sizeof_short
13550 # The cast to long int works around a bug in the HP C Compiler
13551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13553 # This bug is HP SR number 8606223364.
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13555 $as_echo_n "checking size of int... " >&6; }
13556 if ${ac_cv_sizeof_int+:} false; then :
13557 $as_echo_n "(cached) " >&6
13559 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13562 if test "$ac_cv_type_int" = yes; then
13563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13565 as_fn_error 77 "cannot compute sizeof (int)
13566 See \`config.log' for more details" "$LINENO" 5; }
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13574 $as_echo "$ac_cv_sizeof_int" >&6; }
13578 cat >>confdefs.h <<_ACEOF
13579 #define SIZEOF_INT $ac_cv_sizeof_int
13583 # The cast to long int works around a bug in the HP C Compiler
13584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13586 # This bug is HP SR number 8606223364.
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13588 $as_echo_n "checking size of long... " >&6; }
13589 if ${ac_cv_sizeof_long+:} false; then :
13590 $as_echo_n "(cached) " >&6
13592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13595 if test "$ac_cv_type_long" = yes; then
13596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13598 as_fn_error 77 "cannot compute sizeof (long)
13599 See \`config.log' for more details" "$LINENO" 5; }
13601 ac_cv_sizeof_long=0
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13607 $as_echo "$ac_cv_sizeof_long" >&6; }
13611 cat >>confdefs.h <<_ACEOF
13612 #define SIZEOF_LONG $ac_cv_sizeof_long
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13620 $as_echo_n "checking for GIREPO... " >&6; }
13622 if test -n "$GIREPO_CFLAGS"; then
13623 pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13624 elif test -n "$PKG_CONFIG"; then
13625 if test -n "$PKG_CONFIG" && \
13626 { { $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
13627 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13630 test $ac_status = 0; }; then
13631 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`
13632 test "x$?" != "x0" && pkg_failed=yes
13639 if test -n "$GIREPO_LIBS"; then
13640 pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13641 elif test -n "$PKG_CONFIG"; then
13642 if test -n "$PKG_CONFIG" && \
13643 { { $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
13644 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13647 test $ac_status = 0; }; then
13648 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`
13649 test "x$?" != "x0" && pkg_failed=yes
13659 if test $pkg_failed = yes; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13661 $as_echo "no" >&6; }
13663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13664 _pkg_short_errors_supported=yes
13666 _pkg_short_errors_supported=no
13668 if test $_pkg_short_errors_supported = yes; then
13669 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`
13671 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`
13673 # Put the nasty error message in config.log where it belongs
13674 echo "$GIREPO_PKG_ERRORS" >&5
13676 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13680 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13681 installed software in a non-standard prefix.
13683 Alternatively, you may set the environment variables GIREPO_CFLAGS
13684 and GIREPO_LIBS to avoid the need to call pkg-config.
13685 See the pkg-config man page for more details." "$LINENO" 5
13686 elif test $pkg_failed = untried; then
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13688 $as_echo "no" >&6; }
13689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13691 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13692 is in your PATH or set the PKG_CONFIG environment variable to the full
13693 path to pkg-config.
13695 Alternatively, you may set the environment variables GIREPO_CFLAGS
13696 and GIREPO_LIBS to avoid the need to call pkg-config.
13697 See the pkg-config man page for more details.
13699 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13700 See \`config.log' for more details" "$LINENO" 5; }
13702 GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13703 GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13705 $as_echo "yes" >&6; }
13709 # if we ever remove manual check for ffi and require .pc file, then
13710 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13711 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13712 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13714 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13717 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13718 # it on it's own line.
13723 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13724 set dummy gtkdoc-check; ac_word=$2
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13726 $as_echo_n "checking for $ac_word... " >&6; }
13727 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
13728 $as_echo_n "(cached) " >&6
13730 if test -n "$GTKDOC_CHECK"; then
13731 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
13733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13734 for as_dir in $PATH
13737 test -z "$as_dir" && as_dir=.
13738 for ac_exec_ext in '' $ac_executable_extensions; do
13739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13740 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
13741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13750 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
13751 if test -n "$GTKDOC_CHECK"; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13753 $as_echo "$GTKDOC_CHECK" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756 $as_echo "no" >&6; }
13760 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13761 set dummy gtkdoc-check; ac_word=$2
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13763 $as_echo_n "checking for $ac_word... " >&6; }
13764 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
13765 $as_echo_n "(cached) " >&6
13767 case $GTKDOC_CHECK_PATH in
13769 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
13772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13773 for as_dir in $PATH
13776 test -z "$as_dir" && as_dir=.
13777 for ac_exec_ext in '' $ac_executable_extensions; do
13778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13779 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
13780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13790 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
13791 if test -n "$GTKDOC_CHECK_PATH"; then
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
13793 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13796 $as_echo "no" >&6; }
13800 for ac_prog in gtkdoc-rebase
13802 # Extract the first word of "$ac_prog", so it can be a program name with args.
13803 set dummy $ac_prog; ac_word=$2
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13805 $as_echo_n "checking for $ac_word... " >&6; }
13806 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13807 $as_echo_n "(cached) " >&6
13809 case $GTKDOC_REBASE in
13811 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13815 for as_dir in $PATH
13818 test -z "$as_dir" && as_dir=.
13819 for ac_exec_ext in '' $ac_executable_extensions; do
13820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13821 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13832 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13833 if test -n "$GTKDOC_REBASE"; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13835 $as_echo "$GTKDOC_REBASE" >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13838 $as_echo "no" >&6; }
13842 test -n "$GTKDOC_REBASE" && break
13844 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13846 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13847 set dummy gtkdoc-mkpdf; ac_word=$2
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13849 $as_echo_n "checking for $ac_word... " >&6; }
13850 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13851 $as_echo_n "(cached) " >&6
13853 case $GTKDOC_MKPDF in
13855 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13859 for as_dir in $PATH
13862 test -z "$as_dir" && as_dir=.
13863 for ac_exec_ext in '' $ac_executable_extensions; do
13864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13865 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13876 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13877 if test -n "$GTKDOC_MKPDF"; then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13879 $as_echo "$GTKDOC_MKPDF" >&6; }
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13882 $as_echo "no" >&6; }
13888 # Check whether --with-html-dir was given.
13889 if test "${with_html_dir+set}" = set; then :
13890 withval=$with_html_dir;
13892 with_html_dir='${datadir}/gtk-doc/html'
13895 HTML_DIR="$with_html_dir"
13898 # Check whether --enable-gtk-doc was given.
13899 if test "${enable_gtk_doc+set}" = set; then :
13900 enableval=$enable_gtk_doc;
13906 if test x$enable_gtk_doc = xyes; then
13907 if test -n "$PKG_CONFIG" && \
13908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.19\""; } >&5
13909 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.19") 2>&5
13911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13912 test $ac_status = 0; }; then
13915 as_fn_error $? "You need to have gtk-doc >= 1.19 installed to build $PACKAGE_NAME" "$LINENO" 5
13917 if test "x$PACKAGE_NAME" != "xglib"; then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13921 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13923 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13924 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13925 elif test -n "$PKG_CONFIG"; then
13926 if test -n "$PKG_CONFIG" && \
13927 { { $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
13928 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13931 test $ac_status = 0; }; then
13932 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13933 test "x$?" != "x0" && pkg_failed=yes
13940 if test -n "$GTKDOC_DEPS_LIBS"; then
13941 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13942 elif test -n "$PKG_CONFIG"; then
13943 if test -n "$PKG_CONFIG" && \
13944 { { $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
13945 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13948 test $ac_status = 0; }; then
13949 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13950 test "x$?" != "x0" && pkg_failed=yes
13960 if test $pkg_failed = yes; then
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13962 $as_echo "no" >&6; }
13964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13965 _pkg_short_errors_supported=yes
13967 _pkg_short_errors_supported=no
13969 if test $_pkg_short_errors_supported = yes; then
13970 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`
13972 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13974 # Put the nasty error message in config.log where it belongs
13975 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13978 elif test $pkg_failed = untried; then
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13980 $as_echo "no" >&6; }
13983 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13984 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13986 $as_echo "yes" >&6; }
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13993 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13995 $as_echo "$enable_gtk_doc" >&6; }
13997 # Check whether --enable-gtk-doc-html was given.
13998 if test "${enable_gtk_doc_html+set}" = set; then :
13999 enableval=$enable_gtk_doc_html;
14001 enable_gtk_doc_html=yes
14004 # Check whether --enable-gtk-doc-pdf was given.
14005 if test "${enable_gtk_doc_pdf+set}" = set; then :
14006 enableval=$enable_gtk_doc_pdf;
14008 enable_gtk_doc_pdf=no
14012 if test -z "$GTKDOC_MKPDF"; then
14013 enable_gtk_doc_pdf=no
14016 if test -z "$AM_DEFAULT_VERBOSITY"; then
14017 AM_DEFAULT_VERBOSITY=1
14021 if test x$enable_gtk_doc = xyes; then
14022 ENABLE_GTK_DOC_TRUE=
14023 ENABLE_GTK_DOC_FALSE='#'
14025 ENABLE_GTK_DOC_TRUE='#'
14026 ENABLE_GTK_DOC_FALSE=
14029 if test x$enable_gtk_doc_html = xyes; then
14030 GTK_DOC_BUILD_HTML_TRUE=
14031 GTK_DOC_BUILD_HTML_FALSE='#'
14033 GTK_DOC_BUILD_HTML_TRUE='#'
14034 GTK_DOC_BUILD_HTML_FALSE=
14037 if test x$enable_gtk_doc_pdf = xyes; then
14038 GTK_DOC_BUILD_PDF_TRUE=
14039 GTK_DOC_BUILD_PDF_FALSE='#'
14041 GTK_DOC_BUILD_PDF_TRUE='#'
14042 GTK_DOC_BUILD_PDF_FALSE=
14045 if test -n "$LIBTOOL"; then
14046 GTK_DOC_USE_LIBTOOL_TRUE=
14047 GTK_DOC_USE_LIBTOOL_FALSE='#'
14049 GTK_DOC_USE_LIBTOOL_TRUE='#'
14050 GTK_DOC_USE_LIBTOOL_FALSE=
14053 if test -n "$GTKDOC_REBASE"; then
14054 GTK_DOC_USE_REBASE_TRUE=
14055 GTK_DOC_USE_REBASE_FALSE='#'
14057 GTK_DOC_USE_REBASE_TRUE='#'
14058 GTK_DOC_USE_REBASE_FALSE=
14064 # Checks for header files.
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14066 $as_echo_n "checking for ANSI C header files... " >&6; }
14067 if ${ac_cv_header_stdc+:} false; then :
14068 $as_echo_n "(cached) " >&6
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 #include <stdlib.h>
14073 #include <stdarg.h>
14074 #include <string.h>
14085 if ac_fn_c_try_compile "$LINENO"; then :
14086 ac_cv_header_stdc=yes
14088 ac_cv_header_stdc=no
14090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14092 if test $ac_cv_header_stdc = yes; then
14093 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 #include <string.h>
14099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14100 $EGREP "memchr" >/dev/null 2>&1; then :
14103 ac_cv_header_stdc=no
14109 if test $ac_cv_header_stdc = yes; then
14110 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14113 #include <stdlib.h>
14116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14117 $EGREP "free" >/dev/null 2>&1; then :
14120 ac_cv_header_stdc=no
14126 if test $ac_cv_header_stdc = yes; then
14127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14128 if test "$cross_compiling" = yes; then :
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 #include <stdlib.h>
14135 #if ((' ' & 0x0FF) == 0x020)
14136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14139 # define ISLOWER(c) \
14140 (('a' <= (c) && (c) <= 'i') \
14141 || ('j' <= (c) && (c) <= 'r') \
14142 || ('s' <= (c) && (c) <= 'z'))
14143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14151 for (i = 0; i < 256; i++)
14152 if (XOR (islower (i), ISLOWER (i))
14153 || toupper (i) != TOUPPER (i))
14158 if ac_fn_c_try_run "$LINENO"; then :
14161 ac_cv_header_stdc=no
14163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14164 conftest.$ac_objext conftest.beam conftest.$ac_ext
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14170 $as_echo "$ac_cv_header_stdc" >&6; }
14171 if test $ac_cv_header_stdc = yes; then
14173 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14177 for ac_header in fcntl.h stdlib.h string.h
14179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14180 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14181 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14182 cat >>confdefs.h <<_ACEOF
14183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14191 # Checks for typedefs, structures, and compiler characteristics.
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14193 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14194 if ${ac_cv_c_const+:} false; then :
14195 $as_echo_n "(cached) " >&6
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14204 #ifndef __cplusplus
14205 /* Ultrix mips cc rejects this sort of thing. */
14206 typedef int charset[2];
14207 const charset cs = { 0, 0 };
14208 /* SunOS 4.1.1 cc rejects this. */
14209 char const *const *pcpcc;
14211 /* NEC SVR4.0.2 mips cc rejects this. */
14212 struct point {int x, y;};
14213 static struct point const zero = {0,0};
14214 /* AIX XL C 1.02.0.0 rejects this.
14215 It does not let you subtract one const X* pointer from another in
14216 an arm of an if-expression whose if-part is not a constant
14218 const char *g = "string";
14219 pcpcc = &g + (g ? g-g : 0);
14220 /* HPUX 7.0 cc rejects these. */
14222 ppc = (char**) pcpcc;
14223 pcpcc = (char const *const *) ppc;
14224 { /* SCO 3.2v4 cc rejects this sort of thing. */
14227 char const *s = 0 ? (char *) 0 : (char const *) 0;
14232 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14233 int x[] = {25, 17};
14234 const int *foo = &x[0];
14237 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14238 typedef const int *iptr;
14242 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14243 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14244 struct s { int j; const int *ap[3]; } bx;
14245 struct s *b = &bx; b->j = 5;
14247 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14248 const int foo = 10;
14249 if (!foo) return 0;
14251 return !cs[0] && !zero.x;
14258 if ac_fn_c_try_compile "$LINENO"; then :
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14266 $as_echo "$ac_cv_c_const" >&6; }
14267 if test $ac_cv_c_const = no; then
14269 $as_echo "#define const /**/" >>confdefs.h
14274 # Checks for library functions.
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14276 $as_echo_n "checking for working strtod... " >&6; }
14277 if ${ac_cv_func_strtod+:} false; then :
14278 $as_echo_n "(cached) " >&6
14280 if test "$cross_compiling" = yes; then :
14281 ac_cv_func_strtod=no
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 $ac_includes_default
14294 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14295 char *string = " +69";
14298 value = strtod (string, &term);
14299 if (value != 69 || term != (string + 4))
14304 /* Under Solaris 2.4, strtod returns the wrong value for the
14305 terminating character under some conditions. */
14306 char *string = "NaN";
14308 strtod (string, &term);
14309 if (term != string && *(term - 1) == 0)
14316 if ac_fn_c_try_run "$LINENO"; then :
14317 ac_cv_func_strtod=yes
14319 ac_cv_func_strtod=no
14321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14322 conftest.$ac_objext conftest.beam conftest.$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14327 $as_echo "$ac_cv_func_strtod" >&6; }
14328 if test $ac_cv_func_strtod = no; then
14329 case " $LIBOBJS " in
14330 *" strtod.$ac_objext "* ) ;;
14331 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14335 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14336 if test "x$ac_cv_func_pow" = xyes; then :
14340 if test $ac_cv_func_pow = no; then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14342 $as_echo_n "checking for pow in -lm... " >&6; }
14343 if ${ac_cv_lib_m_pow+:} false; then :
14344 $as_echo_n "(cached) " >&6
14346 ac_check_lib_save_LIBS=$LIBS
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_lib_m_pow=yes
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_lib_save_LIBS
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14376 $as_echo "$ac_cv_lib_m_pow" >&6; }
14377 if test "x$ac_cv_lib_m_pow" = xyes; then :
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14381 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14388 for ac_func in memchr strchr strspn strstr strtol strtoull
14390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14393 cat >>confdefs.h <<_ACEOF
14394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14400 for ac_func in backtrace backtrace_symbols
14402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14405 cat >>confdefs.h <<_ACEOF
14406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14420 if test -n "$PYTHON"; then
14421 # If the user set $PYTHON, use it and don't search something else.
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
14423 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
14425 # split strings by '.' and convert to numeric. Append some zeros
14426 # because we need at least 4 digits for the hex conversion.
14427 # map returns an iterator in Python 3.0 and a list in 2.x
14428 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
14430 # xrange is not present in Python 3.0 and range returns an iterator
14431 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14432 sys.exit(sys.hexversion < minverhex)"
14433 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14434 ($PYTHON -c "$prog") >&5 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; then :
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14439 $as_echo "yes" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14442 $as_echo "no" >&6; }
14443 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14445 am_display_PYTHON=$PYTHON
14447 # Otherwise, try each interpreter until we find one that satisfies
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
14450 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
14451 if ${am_cv_pathless_PYTHON+:} false; then :
14452 $as_echo_n "(cached) " >&6
14455 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14456 test "$am_cv_pathless_PYTHON" = none && break
14458 # split strings by '.' and convert to numeric. Append some zeros
14459 # because we need at least 4 digits for the hex conversion.
14460 # map returns an iterator in Python 3.0 and a list in 2.x
14461 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
14463 # xrange is not present in Python 3.0 and range returns an iterator
14464 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14465 sys.exit(sys.hexversion < minverhex)"
14466 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14467 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; then :
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14476 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14477 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14478 if test "$am_cv_pathless_PYTHON" = none; then
14481 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14482 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14484 $as_echo_n "checking for $ac_word... " >&6; }
14485 if ${ac_cv_path_PYTHON+:} false; then :
14486 $as_echo_n "(cached) " >&6
14490 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14494 for as_dir in $PATH
14497 test -z "$as_dir" && as_dir=.
14498 for ac_exec_ext in '' $ac_executable_extensions; do
14499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14500 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14511 PYTHON=$ac_cv_path_PYTHON
14512 if test -n "$PYTHON"; then
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14514 $as_echo "$PYTHON" >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517 $as_echo "no" >&6; }
14522 am_display_PYTHON=$am_cv_pathless_PYTHON
14526 if test "$PYTHON" = :; then
14527 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14532 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14533 if ${am_cv_python_version+:} false; then :
14534 $as_echo_n "(cached) " >&6
14536 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14539 $as_echo "$am_cv_python_version" >&6; }
14540 PYTHON_VERSION=$am_cv_python_version
14544 PYTHON_PREFIX='${prefix}'
14546 PYTHON_EXEC_PREFIX='${exec_prefix}'
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14551 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14552 if ${am_cv_python_platform+:} false; then :
14553 $as_echo_n "(cached) " >&6
14555 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14558 $as_echo "$am_cv_python_platform" >&6; }
14559 PYTHON_PLATFORM=$am_cv_python_platform
14562 # Just factor out some code duplication.
14563 am_python_setup_sysconfig="\
14565 # Prefer sysconfig over distutils.sysconfig, for better compatibility
14566 # with python 3.x. See automake bug#10227.
14569 except ImportError:
14570 can_use_sysconfig = 0
14572 can_use_sysconfig = 1
14573 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
14574 # <https://github.com/pypa/virtualenv/issues/118>
14576 from platform import python_implementation
14577 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
14578 can_use_sysconfig = 0
14579 except ImportError:
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14584 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14585 if ${am_cv_python_pythondir+:} false; then :
14586 $as_echo_n "(cached) " >&6
14588 if test "x$prefix" = xNONE
14590 am_py_prefix=$ac_default_prefix
14592 am_py_prefix=$prefix
14594 am_cv_python_pythondir=`$PYTHON -c "
14595 $am_python_setup_sysconfig
14596 if can_use_sysconfig:
14597 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
14599 from distutils import sysconfig
14600 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
14601 sys.stdout.write(sitedir)"`
14602 case $am_cv_python_pythondir in
14604 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14605 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14608 case $am_py_prefix in
14611 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14619 $as_echo "$am_cv_python_pythondir" >&6; }
14620 pythondir=$am_cv_python_pythondir
14624 pkgpythondir=\${pythondir}/$PACKAGE
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14628 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14629 if ${am_cv_python_pyexecdir+:} false; then :
14630 $as_echo_n "(cached) " >&6
14632 if test "x$exec_prefix" = xNONE
14634 am_py_exec_prefix=$am_py_prefix
14636 am_py_exec_prefix=$exec_prefix
14638 am_cv_python_pyexecdir=`$PYTHON -c "
14639 $am_python_setup_sysconfig
14640 if can_use_sysconfig:
14641 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
14643 from distutils import sysconfig
14644 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
14645 sys.stdout.write(sitedir)"`
14646 case $am_cv_python_pyexecdir in
14647 $am_py_exec_prefix*)
14648 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14649 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14652 case $am_py_exec_prefix in
14655 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14663 $as_echo "$am_cv_python_pyexecdir" >&6; }
14664 pyexecdir=$am_cv_python_pyexecdir
14668 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14677 # Change backslashes to forward slashes in pyexecdir to avoid
14679 pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14684 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14685 PYTHON_INCLUDES=`$PYTHON-config --includes`
14687 save_CPPFLAGS="$CPPFLAGS"
14688 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14691 #include <Python.h>
14693 if ac_fn_c_try_cpp "$LINENO"; then :
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14695 $as_echo "found" >&6; }
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14699 $as_echo "not found" >&6; }
14700 as_fn_error $? "Python headers not found" "$LINENO" 5
14702 rm -f conftest.err conftest.i conftest.$ac_ext
14703 CPPFLAGS="$save_CPPFLAGS"
14705 if test "x$os_win32" = "xyes"; then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14708 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14709 if test "x$PYTHON_LIBS" = x; then
14710 PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
14714 LIBS="$LIBS $PYTHON_LIBS"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14724 char Py_Initialize ();
14728 return Py_Initialize ();
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14735 $as_echo "found" >&6; };
14737 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14738 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14746 # Check whether --enable-doctool was given.
14747 if test "${enable_doctool+set}" = set; then :
14748 enableval=$enable_doctool;
14750 enable_doctool=auto
14753 if test x$enable_doctool != xno; then :
14756 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14758 $as_echo_n "checking for python module mako... " >&6; }
14759 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14760 $as_echo_n "(cached) " >&6
14767 except ImportError:
14772 if $PYTHON -c "$prog" 1>&5 2>&5
14774 eval "py_cv_mod_$py_mod_var=yes"
14776 eval "py_cv_mod_$py_mod_var=no"
14781 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14782 if test "x$py_val" != xno; then
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14784 $as_echo "yes" >&6; }
14785 have_python_mako=yes
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14788 $as_echo "no" >&6; }
14789 have_python_mako=no
14794 if test x$enable_doctool = xauto && test x$have_python_mako = xyes ; then :
14796 elif test x$enable_doctool = xauto && test x$have_python_mako = xno ; then :
14798 elif test x$enable_doctool = xyes && test x$have_python_mako = xno ; then :
14799 as_fn_error $? "Python mako module not found" "$LINENO" 5
14801 if test x$enable_doctool != xno; then
14802 BUILD_DOCTOOL_TRUE=
14803 BUILD_DOCTOOL_FALSE='#'
14805 BUILD_DOCTOOL_TRUE='#'
14806 BUILD_DOCTOOL_FALSE=
14810 # Glib documentation
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14814 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14817 # Check whether --with-glib-src was given.
14818 if test "${with_glib_src+set}" = set; then :
14819 withval=$with_glib_src; GLIBSRC=$withval
14823 if test x"$GLIBSRC" != x; then
14825 WITH_GLIBSRC_FALSE='#'
14827 WITH_GLIBSRC_TRUE='#'
14828 WITH_GLIBSRC_FALSE=
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14833 $as_echo "$GLIBSRC" >&6; }
14835 # Check whether --enable-Bsymbolic was given.
14836 if test "${enable_Bsymbolic+set}" = set; then :
14837 enableval=$enable_Bsymbolic;
14839 SAVED_LDFLAGS="${LDFLAGS}"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
14841 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
14842 LDFLAGS=-Wl,-Bsymbolic-functions
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14849 int main (void) { return 0; }
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14856 $as_echo "yes" >&6; }
14857 enable_Bsymbolic=yes
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14860 $as_echo "no" >&6; }
14861 enable_Bsymbolic=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LDFLAGS="${SAVED_LDFLAGS}"
14869 if test "x${enable_Bsymbolic}" = "xyes"; then
14870 EXTRA_LINK_FLAGS=-Wl,-Bsymbolic-functions
14875 ac_config_files="$ac_config_files Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/scanner/annotationparser/Makefile tests/repository/Makefile tests/warn/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml 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"
14877 cat >confcache <<\_ACEOF
14878 # This file is a shell script that caches the results of configure
14879 # tests run on this system so they can be shared between configure
14880 # scripts and configure runs, see configure's option --config-cache.
14881 # It is not useful on other systems. If it contains results you don't
14882 # want to keep, you may remove or edit it.
14884 # config.status only pays attention to the cache file if you give it
14885 # the --recheck option to rerun configure.
14887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14889 # following values.
14893 # The following way of writing the cache mishandles newlines in values,
14894 # but we know of no workaround that is simple, portable, and efficient.
14895 # So, we kill variables containing newlines.
14896 # Ultrix sh set writes to stderr and can't be redirected directly,
14897 # and sets the high bit in the cache file unless we assign to the vars.
14899 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14900 eval ac_val=\$$ac_var
14904 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14908 _ | IFS | as_nl) ;; #(
14909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14910 *) { eval $ac_var=; unset $ac_var;} ;;
14916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14917 *${as_nl}ac_space=\ *)
14918 # `set' does not quote correctly, so add quotes: double-quote
14919 # substitution turns \\\\ into \\, and sed turns \\ into \.
14922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14925 # `set' quotes correctly as required by POSIX, so do not add quotes.
14926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14940 if test -w "$cache_file"; then
14941 if test "x$cache_file" != "x/dev/null"; then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14943 $as_echo "$as_me: updating cache $cache_file" >&6;}
14944 if test ! -f "$cache_file" || test -h "$cache_file"; then
14945 cat confcache >"$cache_file"
14947 case $cache_file in #(
14949 mv -f confcache "$cache_file"$$ &&
14950 mv -f "$cache_file"$$ "$cache_file" ;; #(
14952 mv -f confcache "$cache_file" ;;
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14963 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14964 # Let make expand exec_prefix.
14965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14967 DEFS=-DHAVE_CONFIG_H
14972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14973 # 1. Remove the extension, and $U if already installed.
14974 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14975 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14977 # will be set to the directory where LIBOBJS objects are built.
14978 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14979 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14981 LIBOBJS=$ac_libobjs
14983 LTLIBOBJS=$ac_ltlibobjs
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14987 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14988 if test -n "$am_sleep_pid"; then
14989 # Hide warnings about reused PIDs.
14990 wait $am_sleep_pid 2>/dev/null
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14993 $as_echo "done" >&6; }
14994 if test -n "$EXEEXT"; then
14996 am__EXEEXT_FALSE='#'
14998 am__EXEEXT_TRUE='#'
15002 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15003 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15006 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
15007 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
15008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15010 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15011 as_fn_error $? "conditional \"AMDEP\" was never defined.
15012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15014 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15015 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15018 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
15019 as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
15020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15022 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
15023 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
15024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15026 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15027 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15030 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15031 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15034 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15035 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15038 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15039 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15042 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15043 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15046 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
15047 as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
15048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15050 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
15051 as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
15052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15055 : "${CONFIG_STATUS=./config.status}"
15057 ac_clean_files_save=$ac_clean_files
15058 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15060 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15062 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15064 # Generated by $as_me.
15065 # Run this file to recreate the current configuration.
15066 # Compiler output produced by configure, useful for debugging
15067 # configure, is in config.log if it exists.
15070 ac_cs_recheck=false
15073 SHELL=\${CONFIG_SHELL-$SHELL}
15076 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15077 ## -------------------- ##
15078 ## M4sh Initialization. ##
15079 ## -------------------- ##
15081 # Be more Bourne compatible
15082 DUALCASE=1; export DUALCASE # for MKS sh
15083 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15086 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15087 # is contrary to our usage. Disable this feature.
15088 alias -g '${1+"$@"}'='"$@"'
15089 setopt NO_GLOB_SUBST
15091 case `(set -o) 2>/dev/null` in #(
15103 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15104 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15107 # Prefer a ksh shell builtin over an external printf program on Solaris,
15108 # but without wasting forks for bash or zsh.
15109 if test -z "$BASH_VERSION$ZSH_VERSION" \
15110 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15111 as_echo='print -r --'
15112 as_echo_n='print -rn --'
15113 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15114 as_echo='printf %s\n'
15115 as_echo_n='printf %s'
15117 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15118 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15119 as_echo_n='/usr/ucb/echo -n'
15121 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15122 as_echo_n_body='eval
15126 expr "X$arg" : "X\\(.*\\)$as_nl";
15127 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15129 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15131 export as_echo_n_body
15132 as_echo_n='sh -c $as_echo_n_body as_echo'
15134 export as_echo_body
15135 as_echo='sh -c $as_echo_body as_echo'
15138 # The user is always right.
15139 if test "${PATH_SEPARATOR+set}" != set; then
15141 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15142 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15149 # We need space, tab and new line, in precisely that order. Quoting is
15150 # there to prevent editors from complaining about space-tab.
15151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15152 # splitting by setting IFS to empty value.)
15155 # Find who we are. Look in the path if we contain no directory separator.
15158 *[\\/]* ) as_myself=$0 ;;
15159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15160 for as_dir in $PATH
15163 test -z "$as_dir" && as_dir=.
15164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15170 # We did not find ourselves, most probably we were run as `sh COMMAND'
15171 # in which case we are not to be found in the path.
15172 if test "x$as_myself" = x; then
15175 if test ! -f "$as_myself"; then
15176 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15180 # Unset variables that we do not need and which cause bugs (e.g. in
15181 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15182 # suppresses any "Segmentation fault" message there. '((' could
15183 # trigger a bug in pdksh 5.2.14.
15184 for as_var in BASH_ENV ENV MAIL MAILPATH
15185 do eval test x\${$as_var+set} = xset \
15186 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15199 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15202 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15203 # ----------------------------------------
15204 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15205 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15206 # script with STATUS, using 1 if that was 0.
15209 as_status=$1; test $as_status -eq 0 && as_status=1
15211 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15212 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15214 $as_echo "$as_me: error: $2" >&2
15215 as_fn_exit $as_status
15219 # as_fn_set_status STATUS
15220 # -----------------------
15221 # Set $? to STATUS, without forking.
15222 as_fn_set_status ()
15225 } # as_fn_set_status
15227 # as_fn_exit STATUS
15228 # -----------------
15229 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15233 as_fn_set_status $1
15239 # Portably unset VAR.
15242 { eval $1=; unset $1;}
15244 as_unset=as_fn_unset
15245 # as_fn_append VAR VALUE
15246 # ----------------------
15247 # Append the text in VALUE to the end of the definition contained in VAR. Take
15248 # advantage of any shell optimizations that allow amortized linear growth over
15249 # repeated appends, instead of the typical quadratic growth present in naive
15251 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15252 eval 'as_fn_append ()
15263 # as_fn_arith ARG...
15264 # ------------------
15265 # Perform arithmetic evaluation on the ARGs, and store the result in the
15266 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15267 # must be portable across $(()) and expr.
15268 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15269 eval 'as_fn_arith ()
15276 as_val=`expr "$@" || test $? -eq 1`
15281 if expr a : '\(a\)' >/dev/null 2>&1 &&
15282 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15288 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15289 as_basename=basename
15294 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15300 as_me=`$as_basename -- "$0" ||
15301 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15302 X"$0" : 'X\(//\)$' \| \
15303 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15305 sed '/^.*\/\([^/][^/]*\)\/*$/{
15319 # Avoid depending upon Character Ranges.
15320 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15321 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15322 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15323 as_cr_digits='0123456789'
15324 as_cr_alnum=$as_cr_Letters$as_cr_digits
15326 ECHO_C= ECHO_N= ECHO_T=
15327 case `echo -n x` in #(((((
15329 case `echo 'xy\c'` in
15330 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15332 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15339 rm -f conf$$ conf$$.exe conf$$.file
15340 if test -d conf$$.dir; then
15341 rm -f conf$$.dir/conf$$.file
15344 mkdir conf$$.dir 2>/dev/null
15346 if (echo >conf$$.file) 2>/dev/null; then
15347 if ln -s conf$$.file conf$$ 2>/dev/null; then
15349 # ... but there are two gotchas:
15350 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15351 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15352 # In both cases, we have to default to `cp -pR'.
15353 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15355 elif ln conf$$.file conf$$ 2>/dev/null; then
15363 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15364 rmdir conf$$.dir 2>/dev/null
15369 # Create "$as_dir" as a directory, including parents if necessary.
15374 -*) as_dir=./$as_dir;;
15376 test -d "$as_dir" || eval $as_mkdir_p || {
15380 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15381 *) as_qdir=$as_dir;;
15383 as_dirs="'$as_qdir' $as_dirs"
15384 as_dir=`$as_dirname -- "$as_dir" ||
15385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15386 X"$as_dir" : 'X\(//\)[^/]' \| \
15387 X"$as_dir" : 'X\(//\)$' \| \
15388 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15389 $as_echo X"$as_dir" |
15390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15394 /^X\(\/\/\)[^/].*/{
15407 test -d "$as_dir" && break
15409 test -z "$as_dirs" || eval "mkdir $as_dirs"
15410 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15414 if mkdir -p . 2>/dev/null; then
15415 as_mkdir_p='mkdir -p "$as_dir"'
15417 test -d ./-p && rmdir ./-p
15422 # as_fn_executable_p FILE
15423 # -----------------------
15424 # Test if FILE is an executable regular file.
15425 as_fn_executable_p ()
15427 test -f "$1" && test -x "$1"
15428 } # as_fn_executable_p
15429 as_test_x='test -x'
15430 as_executable_p=as_fn_executable_p
15432 # Sed expression to map a string onto a valid CPP name.
15433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15435 # Sed expression to map a string onto a valid variable name.
15436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15440 ## ----------------------------------- ##
15441 ## Main body of $CONFIG_STATUS script. ##
15442 ## ----------------------------------- ##
15444 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15447 # Save the log message, to keep $0 and so on meaningful, and to
15448 # report actual input values of CONFIG_FILES etc. instead of their
15449 # values after options handling.
15451 This file was extended by gobject-introspection $as_me 1.39.3, which was
15452 generated by GNU Autoconf 2.69. Invocation command line was
15454 CONFIG_FILES = $CONFIG_FILES
15455 CONFIG_HEADERS = $CONFIG_HEADERS
15456 CONFIG_LINKS = $CONFIG_LINKS
15457 CONFIG_COMMANDS = $CONFIG_COMMANDS
15460 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15465 case $ac_config_files in *"
15466 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15469 case $ac_config_headers in *"
15470 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15475 # Files that config.status was made for.
15476 config_files="$ac_config_files"
15477 config_headers="$ac_config_headers"
15478 config_commands="$ac_config_commands"
15482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15484 \`$as_me' instantiates files and other configuration actions
15485 from templates according to the current configuration. Unless the files
15486 and actions are specified as TAGs, all are instantiated by default.
15488 Usage: $0 [OPTION]... [TAG]...
15490 -h, --help print this help, then exit
15491 -V, --version print version number and configuration settings, then exit
15492 --config print configuration, then exit
15493 -q, --quiet, --silent
15494 do not print progress messages
15495 -d, --debug don't remove temporary files
15496 --recheck update $as_me by reconfiguring in the same conditions
15497 --file=FILE[:TEMPLATE]
15498 instantiate the configuration file FILE
15499 --header=FILE[:TEMPLATE]
15500 instantiate the configuration header FILE
15502 Configuration files:
15505 Configuration headers:
15508 Configuration commands:
15511 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15517 gobject-introspection config.status 1.39.3
15518 configured by $0, generated by GNU Autoconf 2.69,
15519 with options \\"\$ac_cs_config\\"
15521 Copyright (C) 2012 Free Software Foundation, Inc.
15522 This config.status script is free software; the Free Software Foundation
15523 gives unlimited permission to copy, distribute and modify it."
15530 test -n "\$AWK" || AWK=awk
15533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15534 # The default lists apply if the user does not specify any file.
15540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15545 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15557 # Handling of the options.
15558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15560 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15561 $as_echo "$ac_cs_version"; exit ;;
15562 --config | --confi | --conf | --con | --co | --c )
15563 $as_echo "$ac_cs_config"; exit ;;
15564 --debug | --debu | --deb | --de | --d | -d )
15566 --file | --fil | --fi | --f )
15569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15570 '') as_fn_error $? "missing file argument" ;;
15572 as_fn_append CONFIG_FILES " '$ac_optarg'"
15573 ac_need_defaults=false;;
15574 --header | --heade | --head | --hea )
15577 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15579 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15580 ac_need_defaults=false;;
15582 # Conflict between --help and --header
15583 as_fn_error $? "ambiguous option: \`$1'
15584 Try \`$0 --help' for more information.";;
15585 --help | --hel | -h )
15586 $as_echo "$ac_cs_usage"; exit ;;
15587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15591 # This is an error.
15592 -*) as_fn_error $? "unrecognized option: \`$1'
15593 Try \`$0 --help' for more information." ;;
15595 *) as_fn_append ac_config_targets " $1"
15596 ac_need_defaults=false ;;
15602 ac_configure_extra_args=
15604 if $ac_cs_silent; then
15606 ac_configure_extra_args="$ac_configure_extra_args --silent"
15610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15611 if \$ac_cs_recheck; then
15612 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15614 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15615 CONFIG_SHELL='$SHELL'
15616 export CONFIG_SHELL
15621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15625 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15626 ## Running $as_me. ##
15632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15639 # The HP-UX ksh and POSIX shell print the target directory to stdout
15640 # if CDPATH is set.
15641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15643 sed_quote_subst='$sed_quote_subst'
15644 double_quote_subst='$double_quote_subst'
15645 delay_variable_subst='$delay_variable_subst'
15646 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15647 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15648 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15649 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15650 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15651 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15652 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15653 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15654 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15655 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15656 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15657 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15658 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15659 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15660 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15661 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15662 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15663 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15664 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15665 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15666 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15667 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15668 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15669 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15670 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15671 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15672 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15673 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15674 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15675 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15676 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15677 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15678 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15679 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15680 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15681 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15682 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15683 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15684 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15685 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15686 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15687 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15688 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15689 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15690 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15691 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15692 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15693 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15694 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15695 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15696 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15697 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15698 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15699 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15700 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15701 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15702 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"`'
15703 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15704 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15705 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15706 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15707 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15708 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15709 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15710 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15711 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15712 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15713 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15714 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15715 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15716 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15717 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15718 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15719 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15720 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15721 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15722 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15723 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15724 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15725 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15726 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15727 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15728 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15729 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15730 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15731 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15732 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15733 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15734 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15735 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15736 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15737 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15738 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15739 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15740 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15741 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15742 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15743 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15744 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15745 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15746 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15747 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15748 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15749 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15750 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15751 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15752 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15753 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15754 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15755 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15756 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15757 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15758 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15759 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15760 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15761 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15762 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15763 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15764 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15765 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15766 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15767 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15768 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15769 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15770 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15771 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15772 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15773 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15774 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15775 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15778 LTCFLAGS='$LTCFLAGS'
15779 compiler='$compiler_DEFAULT'
15781 # A function that is used when there is no print builtin or printf.
15782 func_fallback_echo ()
15784 eval 'cat <<_LTECHO_EOF
15789 # Quote evaled strings.
15804 deplibs_check_method \
15809 sharedlib_from_linklib_cmd \
15812 archiver_list_spec \
15818 lt_cv_sys_global_symbol_pipe \
15819 lt_cv_sys_global_symbol_to_cdecl \
15820 lt_cv_sys_global_symbol_to_c_name_address \
15821 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15822 nm_file_list_spec \
15823 lt_prog_compiler_no_builtin_flag \
15824 lt_prog_compiler_pic \
15825 lt_prog_compiler_wl \
15826 lt_prog_compiler_static \
15827 lt_cv_prog_compiler_c_o \
15836 export_dynamic_flag_spec \
15837 whole_archive_flag_spec \
15838 compiler_needs_object \
15840 allow_undefined_flag \
15841 no_undefined_flag \
15842 hardcode_libdir_flag_spec \
15843 hardcode_libdir_separator \
15847 variables_saved_for_relink \
15849 library_names_spec \
15851 install_override_mode \
15855 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15856 *[\\\\\\\`\\"\\\$]*)
15857 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15860 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15865 # Double-quote double-evaled strings.
15866 for var in reload_cmds \
15867 old_postinstall_cmds \
15868 old_postuninstall_cmds \
15870 extract_expsyms_cmds \
15871 old_archive_from_new_cmds \
15872 old_archive_from_expsyms_cmds \
15874 archive_expsym_cmds \
15876 module_expsym_cmds \
15877 export_symbols_cmds \
15881 postuninstall_cmds \
15883 sys_lib_search_path_spec \
15884 sys_lib_dlsearch_path_spec; do
15885 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15886 *[\\\\\\\`\\"\\\$]*)
15887 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15890 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15895 ac_aux_dir='$ac_aux_dir'
15896 xsi_shell='$xsi_shell'
15897 lt_shell_append='$lt_shell_append'
15899 # See if we are running on zsh, and set the options which allow our
15900 # commands through without removal of \ escapes INIT.
15901 if test -n "\${ZSH_VERSION+set}" ; then
15902 setopt NO_GLOB_SUBST
15908 TIMESTAMP='$TIMESTAMP'
15917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15919 # Handling of arguments.
15920 for ac_config_target in $ac_config_targets
15922 case $ac_config_target in
15923 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15924 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15925 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15926 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15927 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15928 "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15929 "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15930 "tests/scanner/annotationparser/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/annotationparser/Makefile" ;;
15931 "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15932 "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15933 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15934 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15935 "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
15936 "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15937 "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15938 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
15939 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15940 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
15941 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
15942 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
15944 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15949 # If the user did not use the arguments to specify the items to instantiate,
15950 # then the envvar interface is used. Set only those that are not.
15951 # We use the long form for the default assignment because of an extremely
15952 # bizarre bug on SunOS 4.1.3.
15953 if $ac_need_defaults; then
15954 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15955 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15956 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15959 # Have a temporary directory for convenience. Make it in the build tree
15960 # simply because there is no reason against having it here, and in addition,
15961 # creating and moving files from /tmp can sometimes cause problems.
15962 # Hook for its removal unless debugging.
15963 # Note that there is a small window in which the directory will not be cleaned:
15964 # after its creation but before its name has been assigned to `$tmp'.
15968 trap 'exit_status=$?
15969 : "${ac_tmp:=$tmp}"
15970 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15972 trap 'as_fn_exit 1' 1 2 13 15
15974 # Create a (secure) tmp directory for tmp files.
15977 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15981 tmp=./conf$$-$RANDOM
15982 (umask 077 && mkdir "$tmp")
15983 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15986 # Set up the scripts for CONFIG_FILES section.
15987 # No need to generate them if there are no CONFIG_FILES.
15988 # This happens for instance with `./config.status config.h'.
15989 if test -n "$CONFIG_FILES"; then
15992 ac_cr=`echo X | tr X '\015'`
15993 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15994 # But we know of no other shell where ac_cr would be empty at this
15995 # point, so we can use a bashism as a fallback.
15996 if test "x$ac_cr" = x; then
15997 eval ac_cr=\$\'\\r\'
15999 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16000 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16003 ac_cs_awk_cr=$ac_cr
16006 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16011 echo "cat >conf$$subs.awk <<_ACEOF" &&
16012 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16014 } >conf$$subs.sh ||
16015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16016 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16018 for ac_last_try in false false false false false :; do
16019 . ./conf$$subs.sh ||
16020 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16022 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16023 if test $ac_delim_n = $ac_delim_num; then
16025 elif $ac_last_try; then
16026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16031 rm -f conf$$subs.sh
16033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16034 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16038 s/^/S["/; s/!.*/"]=/
16048 s/\(.\{148\}\)..*/\1/
16050 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16062 s/\(.\{148\}\)..*/\1/
16064 s/["\\]/\\&/g; s/^/"/; s/$/"/
16068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16073 ' <conf$$subs.awk | sed '
16078 ' >>$CONFIG_STATUS || ac_write_fail=1
16079 rm -f conf$$subs.awk
16080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16082 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16083 for (key in S) S_is_set[key] = 1
16089 nfields = split(line, field, "@")
16091 len = length(field[1])
16092 for (i = 2; i < nfields; i++) {
16094 keylen = length(key)
16095 if (S_is_set[key]) {
16097 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16098 len += length(value) + length(field[++i])
16109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16110 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16111 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16114 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16115 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16118 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16119 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16120 # trailing colons and then remove the whole line if VPATH becomes empty
16121 # (actually we leave an empty line to preserve line numbers).
16122 if test "x$srcdir" = x.; then
16123 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16142 fi # test -n "$CONFIG_FILES"
16144 # Set up the scripts for CONFIG_HEADERS section.
16145 # No need to generate them if there are no CONFIG_HEADERS.
16146 # This happens for instance with `./config.status Makefile'.
16147 if test -n "$CONFIG_HEADERS"; then
16148 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16152 # Transform confdefs.h into an awk script `defines.awk', embedded as
16153 # here-document in config.status, that substitutes the proper values into
16154 # config.h.in to produce config.h.
16156 # Create a delimiter string that does not exist in confdefs.h, to ease
16157 # handling of long lines.
16159 for ac_last_try in false false :; do
16160 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16161 if test -z "$ac_tt"; then
16163 elif $ac_last_try; then
16164 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16166 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16170 # For the awk script, D is an array of macro values keyed by name,
16171 # likewise P contains macro parameters if any. Preserve backslash
16172 # newline sequences.
16174 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16176 s/.\{148\}/&'"$ac_delim"'/g
16179 s/^[ ]*#[ ]*define[ ][ ]*/ /
16186 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16193 D["\1"]=" \3\\\\\\n"\\/p
16195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16200 s/.\{148\}/&'"$ac_delim"'/g
16205 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16208 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16210 ' <confdefs.h | sed '
16211 s/'"$ac_delim"'/"\\\
16212 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16215 for (key in D) D_is_set[key] = 1
16218 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16220 split(line, arg, " ")
16221 if (arg[1] == "#") {
16225 defundef = substr(arg[1], 2)
16228 split(mac1, mac2, "(") #)
16230 prefix = substr(line, 1, index(line, defundef) - 1)
16231 if (D_is_set[macro]) {
16232 # Preserve the white space surrounding the "#".
16233 print prefix "define", macro P[macro] D[macro]
16236 # Replace #undef with comments. This is necessary, for example,
16237 # in the case of _POSIX_SOURCE, which is predefined and required
16238 # on some systems where configure will not decide to define it.
16239 if (defundef == "undef") {
16240 print "/*", prefix defundef, macro, "*/"
16248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16249 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16250 fi # test -n "$CONFIG_HEADERS"
16253 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16258 :[FHLC]) ac_mode=$ac_tag; continue;;
16260 case $ac_mode$ac_tag in
16262 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16263 :[FH]-) ac_tag=-:-;;
16264 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16281 -) ac_f="$ac_tmp/stdin";;
16282 *) # Look for the file first in the build tree, then in the source tree
16283 # (if the path is not absolute). The absolute path cannot be DOS-style,
16284 # because $ac_f cannot contain `:'.
16288 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16290 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16292 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16293 as_fn_append ac_file_inputs " '$ac_f'"
16296 # Let's still pretend it is `configure' which instantiates (i.e., don't
16297 # use $as_me), people would be surprised to read:
16298 # /* config.h. Generated by config.status. */
16299 configure_input='Generated from '`
16300 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16302 if test x"$ac_file" != x-; then
16303 configure_input="$ac_file. $configure_input"
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16305 $as_echo "$as_me: creating $ac_file" >&6;}
16307 # Neutralize special characters interpreted by sed in replacement strings.
16308 case $configure_input in #(
16309 *\&* | *\|* | *\\* )
16310 ac_sed_conf_input=`$as_echo "$configure_input" |
16311 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16312 *) ac_sed_conf_input=$configure_input;;
16316 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16322 ac_dir=`$as_dirname -- "$ac_file" ||
16323 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16324 X"$ac_file" : 'X\(//\)[^/]' \| \
16325 X"$ac_file" : 'X\(//\)$' \| \
16326 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16327 $as_echo X"$ac_file" |
16328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16332 /^X\(\/\/\)[^/].*/{
16345 as_dir="$ac_dir"; as_fn_mkdir_p
16349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16352 # A ".." for each directory in $ac_dir_suffix.
16353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16354 case $ac_top_builddir_sub in
16355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16359 ac_abs_top_builddir=$ac_pwd
16360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16361 # for backward compatibility:
16362 ac_top_builddir=$ac_top_build_prefix
16365 .) # We are building in place.
16367 ac_top_srcdir=$ac_top_builddir_sub
16368 ac_abs_top_srcdir=$ac_pwd ;;
16369 [\\/]* | ?:[\\/]* ) # Absolute name.
16370 ac_srcdir=$srcdir$ac_dir_suffix;
16371 ac_top_srcdir=$srcdir
16372 ac_abs_top_srcdir=$srcdir ;;
16373 *) # Relative name.
16374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16375 ac_top_srcdir=$ac_top_build_prefix$srcdir
16376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16388 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16389 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16391 ac_MKDIR_P=$MKDIR_P
16393 [\\/$]* | ?:[\\/]* ) ;;
16394 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16399 # If the template does not know about datarootdir, expand it.
16400 # FIXME: This hack should be removed a few years after 2.60.
16401 ac_datarootdir_hack=; ac_datarootdir_seen=
16412 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16413 *datarootdir*) ac_datarootdir_seen=yes;;
16414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16416 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16419 ac_datarootdir_hack='
16420 s&@datadir@&$datadir&g
16421 s&@docdir@&$docdir&g
16422 s&@infodir@&$infodir&g
16423 s&@localedir@&$localedir&g
16424 s&@mandir@&$mandir&g
16425 s&\\\${datarootdir}&$datarootdir&g' ;;
16429 # Neutralize VPATH when `$srcdir' = `.'.
16430 # Shell code in configure.ac might set extrasub.
16431 # FIXME: do we really want to maintain this feature?
16432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433 ac_sed_extra="$ac_vpsub
16436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16439 s|@configure_input@|$ac_sed_conf_input|;t t
16440 s&@top_builddir@&$ac_top_builddir_sub&;t t
16441 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16442 s&@srcdir@&$ac_srcdir&;t t
16443 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16444 s&@top_srcdir@&$ac_top_srcdir&;t t
16445 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16446 s&@builddir@&$ac_builddir&;t t
16447 s&@abs_builddir@&$ac_abs_builddir&;t t
16448 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16449 s&@INSTALL@&$ac_INSTALL&;t t
16450 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16451 $ac_datarootdir_hack
16453 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16454 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16456 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16457 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16458 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16459 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16461 which seems to be undefined. Please make sure it is defined" >&5
16462 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16463 which seems to be undefined. Please make sure it is defined" >&2;}
16465 rm -f "$ac_tmp/stdin"
16467 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16468 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16476 if test x"$ac_file" != x-; then
16478 $as_echo "/* $configure_input */" \
16479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16480 } >"$ac_tmp/config.h" \
16481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16482 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16484 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16487 mv "$ac_tmp/config.h" "$ac_file" \
16488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16491 $as_echo "/* $configure_input */" \
16492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16493 || as_fn_error $? "could not create -" "$LINENO" 5
16495 # Compute "$ac_file"'s index in $config_headers.
16498 for _am_header in $config_headers :; do
16499 case $_am_header in
16500 $_am_arg | $_am_arg:* )
16503 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16506 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16507 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16508 X"$_am_arg" : 'X\(//\)[^/]' \| \
16509 X"$_am_arg" : 'X\(//\)$' \| \
16510 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16511 $as_echo X"$_am_arg" |
16512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16516 /^X\(\/\/\)[^/].*/{
16528 s/.*/./; q'`/stamp-h$_am_stamp_count
16531 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16532 $as_echo "$as_me: executing $ac_file commands" >&6;}
16537 case $ac_file$ac_mode in
16538 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16539 # Older Autoconf quotes --file arguments for eval, but not when files
16540 # are listed without --file. Let's play safe and only enable the eval
16541 # if we detect the quoting.
16542 case $CONFIG_FILES in
16543 *\'*) eval set x "$CONFIG_FILES" ;;
16544 *) set x $CONFIG_FILES ;;
16549 # Strip MF so we end up with the name of the file.
16550 mf=`echo "$mf" | sed -e 's/:.*$//'`
16551 # Check whether this is an Automake generated Makefile or not.
16552 # We used to match only the files named 'Makefile.in', but
16553 # some people rename them; so instead we look at the file content.
16554 # Grep'ing the first line is not enough: some people post-process
16555 # each Makefile.in and add a new line on top of each file to say so.
16556 # Grep'ing the whole file is not good either: AIX grep has a line
16557 # limit of 2048, but all sed's we know have understand at least 4000.
16558 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16559 dirpart=`$as_dirname -- "$mf" ||
16560 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16561 X"$mf" : 'X\(//\)[^/]' \| \
16562 X"$mf" : 'X\(//\)$' \| \
16563 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16569 /^X\(\/\/\)[^/].*/{
16585 # Extract the definition of DEPDIR, am__include, and am__quote
16586 # from the Makefile without running 'make'.
16587 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16588 test -z "$DEPDIR" && continue
16589 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16590 test -z "$am__include" && continue
16591 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16592 # Find all dependency output files, they are included files with
16593 # $(DEPDIR) in their names. We invoke sed twice because it is the
16594 # simplest approach to changing $(DEPDIR) to its actual value in the
16596 for file in `sed -n "
16597 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16598 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16599 # Make sure the directory exists.
16600 test -f "$dirpart/$file" && continue
16601 fdir=`$as_dirname -- "$file" ||
16602 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16603 X"$file" : 'X\(//\)[^/]' \| \
16604 X"$file" : 'X\(//\)$' \| \
16605 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16606 $as_echo X"$file" |
16607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16611 /^X\(\/\/\)[^/].*/{
16624 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16625 # echo "creating $dirpart/$file"
16626 echo '# dummy' > "$dirpart/$file"
16633 # See if we are running on zsh, and set the options which allow our
16634 # commands through without removal of \ escapes.
16635 if test -n "${ZSH_VERSION+set}" ; then
16636 setopt NO_GLOB_SUBST
16639 cfgfile="${ofile}T"
16640 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16643 cat <<_LT_EOF >> "$cfgfile"
16646 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16647 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16648 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16649 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16651 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16652 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16654 # Written by Gordon Matzigkeit, 1996
16656 # This file is part of GNU Libtool.
16658 # GNU Libtool is free software; you can redistribute it and/or
16659 # modify it under the terms of the GNU General Public License as
16660 # published by the Free Software Foundation; either version 2 of
16661 # the License, or (at your option) any later version.
16663 # As a special exception to the GNU General Public License,
16664 # if you distribute this file as part of a program or library that
16665 # is built using GNU Libtool, you may include this file under the
16666 # same distribution terms that you use for the rest of that program.
16668 # GNU Libtool is distributed in the hope that it will be useful,
16669 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16670 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16671 # GNU General Public License for more details.
16673 # You should have received a copy of the GNU General Public License
16674 # along with GNU Libtool; see the file COPYING. If not, a copy
16675 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16676 # obtained by writing to the Free Software Foundation, Inc.,
16677 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16680 # The names of the tagged configurations supported by this script.
16683 # ### BEGIN LIBTOOL CONFIG
16685 # Which release of libtool.m4 was used?
16686 macro_version=$macro_version
16687 macro_revision=$macro_revision
16689 # Whether or not to build shared libraries.
16690 build_libtool_libs=$enable_shared
16692 # Whether or not to build static libraries.
16693 build_old_libs=$enable_static
16695 # What type of objects to build.
16698 # Whether or not to optimize for fast installation.
16699 fast_install=$enable_fast_install
16701 # Shell to use when invoking shell scripts.
16704 # An echo program that protects backslashes.
16707 # The PATH separator for the build system.
16708 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16711 host_alias=$host_alias
16715 # The build system.
16716 build_alias=$build_alias
16720 # A sed program that does not truncate output.
16723 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16724 Xsed="\$SED -e 1s/^X//"
16726 # A grep program that handles long lines.
16732 # A literal string matcher.
16735 # A BSD- or MS-compatible name lister.
16738 # Whether we need soft or hard links.
16741 # What is the maximum length of a command?
16742 max_cmd_len=$max_cmd_len
16744 # Object file suffix (normally "o").
16747 # Executable file suffix (normally "").
16750 # whether the shell understands "unset".
16753 # turn spaces into newlines.
16756 # turn newlines into spaces.
16759 # convert \$build file names to \$host format.
16760 to_host_file_cmd=$lt_cv_to_host_file_cmd
16762 # convert \$build files to toolchain format.
16763 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16765 # An object symbol dumper.
16766 OBJDUMP=$lt_OBJDUMP
16768 # Method to check whether dependent libraries are shared objects.
16769 deplibs_check_method=$lt_deplibs_check_method
16771 # Command to use when deplibs_check_method = "file_magic".
16772 file_magic_cmd=$lt_file_magic_cmd
16774 # How to find potential files when deplibs_check_method = "file_magic".
16775 file_magic_glob=$lt_file_magic_glob
16777 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16778 want_nocaseglob=$lt_want_nocaseglob
16780 # DLL creation program.
16781 DLLTOOL=$lt_DLLTOOL
16783 # Command to associate shared and link libraries.
16784 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16789 # Flags to create an archive.
16790 AR_FLAGS=$lt_AR_FLAGS
16792 # How to feed a file listing to the archiver.
16793 archiver_list_spec=$lt_archiver_list_spec
16795 # A symbol stripping program.
16798 # Commands used to install an old-style archive.
16800 old_postinstall_cmds=$lt_old_postinstall_cmds
16801 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16803 # Whether to use a lock for old archive extraction.
16804 lock_old_archive_extraction=$lock_old_archive_extraction
16809 # LTCC compiler flags.
16810 LTCFLAGS=$lt_CFLAGS
16812 # Take the output of nm and produce a listing of raw symbols and C names.
16813 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16815 # Transform the output of nm in a proper C declaration.
16816 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16818 # Transform the output of nm in a C name address pair.
16819 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16821 # Transform the output of nm in a C name address pair when lib prefix is needed.
16822 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16824 # Specify filename containing input files for \$NM.
16825 nm_file_list_spec=$lt_nm_file_list_spec
16827 # The root where to search for dependent libraries,and in which our libraries should be installed.
16828 lt_sysroot=$lt_sysroot
16830 # The name of the directory that contains temporary libtool files.
16833 # Used to examine libraries when file_magic_cmd begins with "file".
16834 MAGIC_CMD=$MAGIC_CMD
16836 # Must we lock files when doing compilation?
16837 need_locks=$lt_need_locks
16840 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16842 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16843 DSYMUTIL=$lt_DSYMUTIL
16845 # Tool to change global to local symbols on Mac OS X.
16848 # Tool to manipulate fat objects and archives on Mac OS X.
16851 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16854 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16855 OTOOL64=$lt_OTOOL64
16857 # Old archive suffix (normally "a").
16860 # Shared library suffix (normally ".so").
16861 shrext_cmds=$lt_shrext_cmds
16863 # The commands to extract the exported symbol list from a shared archive.
16864 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16866 # Variables whose values should be saved in libtool wrapper scripts and
16867 # restored at link time.
16868 variables_saved_for_relink=$lt_variables_saved_for_relink
16870 # Do we need the "lib" prefix for modules?
16871 need_lib_prefix=$need_lib_prefix
16873 # Do we need a version for libraries?
16874 need_version=$need_version
16876 # Library versioning type.
16877 version_type=$version_type
16879 # Shared library runtime path variable.
16880 runpath_var=$runpath_var
16882 # Shared library path variable.
16883 shlibpath_var=$shlibpath_var
16885 # Is shlibpath searched before the hard-coded library search path?
16886 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16888 # Format of library name prefix.
16889 libname_spec=$lt_libname_spec
16891 # List of archive names. First name is the real one, the rest are links.
16892 # The last name is the one that the linker finds with -lNAME
16893 library_names_spec=$lt_library_names_spec
16895 # The coded name of the library, if different from the real name.
16896 soname_spec=$lt_soname_spec
16898 # Permission mode override for installation of shared libraries.
16899 install_override_mode=$lt_install_override_mode
16901 # Command to use after installation of a shared archive.
16902 postinstall_cmds=$lt_postinstall_cmds
16904 # Command to use after uninstallation of a shared archive.
16905 postuninstall_cmds=$lt_postuninstall_cmds
16907 # Commands used to finish a libtool library installation in a directory.
16908 finish_cmds=$lt_finish_cmds
16910 # As "finish_cmds", except a single script fragment to be evaled but
16912 finish_eval=$lt_finish_eval
16914 # Whether we should hardcode library paths into libraries.
16915 hardcode_into_libs=$hardcode_into_libs
16917 # Compile-time system search path for libraries.
16918 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16920 # Run-time system search path for libraries.
16921 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16923 # Whether dlopen is supported.
16924 dlopen_support=$enable_dlopen
16926 # Whether dlopen of programs is supported.
16927 dlopen_self=$enable_dlopen_self
16929 # Whether dlopen of statically linked programs is supported.
16930 dlopen_self_static=$enable_dlopen_self_static
16932 # Commands to strip libraries.
16933 old_striplib=$lt_old_striplib
16934 striplib=$lt_striplib
16937 # The linker used to build libraries.
16940 # How to create reloadable object files.
16941 reload_flag=$lt_reload_flag
16942 reload_cmds=$lt_reload_cmds
16944 # Commands used to build an old-style archive.
16945 old_archive_cmds=$lt_old_archive_cmds
16947 # A language specific compiler.
16950 # Is the compiler the GNU compiler?
16953 # Compiler flag to turn off builtin functions.
16954 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16956 # Additional compiler flags for building library objects.
16957 pic_flag=$lt_lt_prog_compiler_pic
16959 # How to pass a linker flag through the compiler.
16960 wl=$lt_lt_prog_compiler_wl
16962 # Compiler flag to prevent dynamic linking.
16963 link_static_flag=$lt_lt_prog_compiler_static
16965 # Does compiler simultaneously support -c and -o options?
16966 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16968 # Whether or not to add -lc for building shared libraries.
16969 build_libtool_need_lc=$archive_cmds_need_lc
16971 # Whether or not to disallow shared libs when runtime libs are static.
16972 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16974 # Compiler flag to allow reflexive dlopens.
16975 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16977 # Compiler flag to generate shared objects directly from archives.
16978 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16980 # Whether the compiler copes with passing no objects directly.
16981 compiler_needs_object=$lt_compiler_needs_object
16983 # Create an old-style archive from a shared archive.
16984 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16986 # Create a temporary old-style archive to link instead of a shared archive.
16987 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16989 # Commands used to build a shared archive.
16990 archive_cmds=$lt_archive_cmds
16991 archive_expsym_cmds=$lt_archive_expsym_cmds
16993 # Commands used to build a loadable module if different from building
16994 # a shared archive.
16995 module_cmds=$lt_module_cmds
16996 module_expsym_cmds=$lt_module_expsym_cmds
16998 # Whether we are building with GNU ld or not.
16999 with_gnu_ld=$lt_with_gnu_ld
17001 # Flag that allows shared libraries with undefined symbols to be built.
17002 allow_undefined_flag=$lt_allow_undefined_flag
17004 # Flag that enforces no undefined symbols.
17005 no_undefined_flag=$lt_no_undefined_flag
17007 # Flag to hardcode \$libdir into a binary during linking.
17008 # This must work even if \$libdir does not exist
17009 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17011 # Whether we need a single "-rpath" flag with a separated argument.
17012 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17014 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17015 # DIR into the resulting binary.
17016 hardcode_direct=$hardcode_direct
17018 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17019 # DIR into the resulting binary and the resulting library dependency is
17020 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17021 # library is relocated.
17022 hardcode_direct_absolute=$hardcode_direct_absolute
17024 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17025 # into the resulting binary.
17026 hardcode_minus_L=$hardcode_minus_L
17028 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17029 # into the resulting binary.
17030 hardcode_shlibpath_var=$hardcode_shlibpath_var
17032 # Set to "yes" if building a shared library automatically hardcodes DIR
17033 # into the library and all subsequent libraries and executables linked
17035 hardcode_automatic=$hardcode_automatic
17037 # Set to yes if linker adds runtime paths of dependent libraries
17038 # to runtime path list.
17039 inherit_rpath=$inherit_rpath
17041 # Whether libtool must link a program against all its dependency libraries.
17042 link_all_deplibs=$link_all_deplibs
17044 # Set to "yes" if exported symbols are required.
17045 always_export_symbols=$always_export_symbols
17047 # The commands to list exported symbols.
17048 export_symbols_cmds=$lt_export_symbols_cmds
17050 # Symbols that should not be listed in the preloaded symbols.
17051 exclude_expsyms=$lt_exclude_expsyms
17053 # Symbols that must always be exported.
17054 include_expsyms=$lt_include_expsyms
17056 # Commands necessary for linking programs (against libraries) with templates.
17057 prelink_cmds=$lt_prelink_cmds
17059 # Commands necessary for finishing linking programs.
17060 postlink_cmds=$lt_postlink_cmds
17062 # Specify filename containing input files.
17063 file_list_spec=$lt_file_list_spec
17065 # How to hardcode a shared library path into an executable.
17066 hardcode_action=$hardcode_action
17068 # ### END LIBTOOL CONFIG
17074 cat <<\_LT_EOF >> "$cfgfile"
17075 # AIX sometimes has problems with the GCC collect2 program. For some
17076 # reason, if we set the COLLECT_NAMES environment variable, the problems
17077 # vanish in a puff of smoke.
17078 if test "X${COLLECT_NAMES+set}" != Xset; then
17080 export COLLECT_NAMES
17087 ltmain="$ac_aux_dir/ltmain.sh"
17090 # We use sed instead of cat because bash on DJGPP gets confused if
17091 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17092 # text mode, it properly converts lines to CR/LF. This bash problem
17093 # is reportedly fixed, but why not run on old versions too?
17094 sed '$q' "$ltmain" >> "$cfgfile" \
17095 || (rm -f "$cfgfile"; exit 1)
17097 if test x"$xsi_shell" = xyes; then
17098 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17102 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17103 \ * ) func_dirname_result="${3}" ;;\
17105 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17106 && mv -f "$cfgfile.tmp" "$cfgfile" \
17107 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17108 test 0 -eq $? || _lt_function_replace_fail=:
17111 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17114 \ func_basename_result="${1##*/}"\
17115 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17116 && mv -f "$cfgfile.tmp" "$cfgfile" \
17117 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17118 test 0 -eq $? || _lt_function_replace_fail=:
17121 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17122 func_dirname_and_basename ()\
17125 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17126 \ * ) func_dirname_result="${3}" ;;\
17128 \ func_basename_result="${1##*/}"\
17129 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17130 && mv -f "$cfgfile.tmp" "$cfgfile" \
17131 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17132 test 0 -eq $? || _lt_function_replace_fail=:
17135 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17138 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17139 \ # positional parameters, so assign one to ordinary parameter first.\
17140 \ func_stripname_result=${3}\
17141 \ func_stripname_result=${func_stripname_result#"${1}"}\
17142 \ func_stripname_result=${func_stripname_result%"${2}"}\
17143 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17144 && mv -f "$cfgfile.tmp" "$cfgfile" \
17145 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17146 test 0 -eq $? || _lt_function_replace_fail=:
17149 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17150 func_split_long_opt ()\
17152 \ func_split_long_opt_name=${1%%=*}\
17153 \ func_split_long_opt_arg=${1#*=}\
17154 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17155 && mv -f "$cfgfile.tmp" "$cfgfile" \
17156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17157 test 0 -eq $? || _lt_function_replace_fail=:
17160 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17161 func_split_short_opt ()\
17163 \ func_split_short_opt_arg=${1#??}\
17164 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17165 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17166 && mv -f "$cfgfile.tmp" "$cfgfile" \
17167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17168 test 0 -eq $? || _lt_function_replace_fail=:
17171 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17175 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17176 \ *) func_lo2o_result=${1} ;;\
17178 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17179 && mv -f "$cfgfile.tmp" "$cfgfile" \
17180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17181 test 0 -eq $? || _lt_function_replace_fail=:
17184 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17187 func_xform_result=${1%.*}.lo\
17188 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17189 && mv -f "$cfgfile.tmp" "$cfgfile" \
17190 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17191 test 0 -eq $? || _lt_function_replace_fail=:
17194 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17197 func_arith_result=$(( $* ))\
17198 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17199 && mv -f "$cfgfile.tmp" "$cfgfile" \
17200 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17201 test 0 -eq $? || _lt_function_replace_fail=:
17204 sed -e '/^func_len ()$/,/^} # func_len /c\
17207 func_len_result=${#1}\
17208 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17209 && mv -f "$cfgfile.tmp" "$cfgfile" \
17210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17211 test 0 -eq $? || _lt_function_replace_fail=:
17215 if test x"$lt_shell_append" = xyes; then
17216 sed -e '/^func_append ()$/,/^} # func_append /c\
17219 eval "${1}+=\\${2}"\
17220 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17221 && mv -f "$cfgfile.tmp" "$cfgfile" \
17222 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17223 test 0 -eq $? || _lt_function_replace_fail=:
17226 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17227 func_append_quoted ()\
17229 \ func_quote_for_eval "${2}"\
17230 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17231 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17232 && mv -f "$cfgfile.tmp" "$cfgfile" \
17233 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17234 test 0 -eq $? || _lt_function_replace_fail=:
17237 # Save a `func_append' function call where possible by direct use of '+='
17238 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17239 && mv -f "$cfgfile.tmp" "$cfgfile" \
17240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17241 test 0 -eq $? || _lt_function_replace_fail=:
17243 # Save a `func_append' function call even when '+=' is not available
17244 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17245 && mv -f "$cfgfile.tmp" "$cfgfile" \
17246 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17247 test 0 -eq $? || _lt_function_replace_fail=:
17250 if test x"$_lt_function_replace_fail" = x":"; then
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17252 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17256 mv -f "$cfgfile" "$ofile" ||
17257 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17268 ac_clean_files=$ac_clean_files_save
17270 test $ac_write_fail = 0 ||
17271 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17274 # configure is writing to config.log, and then calls config.status.
17275 # config.status does its own redirection, appending to config.log.
17276 # Unfortunately, on DOS this fails, as config.log is still kept open
17277 # by configure, so config.status won't be able to write to it; its
17278 # output is simply discarded. So we exec the FD to /dev/null,
17279 # effectively closing config.log, so it can be properly (re)opened and
17280 # appended to by config.status. When coming back to configure, we
17281 # need to make the FD available again.
17282 if test "$no_create" != yes; then
17284 ac_config_status_args=
17285 test "$silent" = yes &&
17286 ac_config_status_args="$ac_config_status_args --quiet"
17288 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17290 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17291 # would make configure fail if this is the last instruction.
17292 $ac_cs_success || as_fn_exit 1
17294 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17296 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}