2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for vala 0.26.1.
5 # Report bugs to <j@bitron.ch>.
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 j@bitron.ch about
278 $0: your system, including any error possibly output before
279 $0: this message. Then install a modern shell, or manually
280 $0: run the script under such a shell if you do have one."
286 SHELL=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE= GREP_OPTIONS=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { eval $1=; unset $1;}
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
324 # Create "$as_dir" as a directory, including parents if necessary.
329 -*) as_dir=./$as_dir;;
331 test -d "$as_dir" || eval $as_mkdir_p || {
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 as_dirs="'$as_qdir' $as_dirs"
339 as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362 test -d "$as_dir" && break
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
408 as_val=`expr "$@" || test $? -eq 1`
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
420 as_status=$1; test $as_status -eq 0 && as_status=1
422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit $as_status
429 if expr a : '\(a\)' >/dev/null 2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
475 as_lineno_1=$LINENO as_lineno_1a=$LINENO
476 as_lineno_2=$LINENO as_lineno_2a=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec=no; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
506 # Exit status is that of the last command.
510 ECHO_C= ECHO_N= ECHO_T=
511 case `echo -n x` in #(((((
513 case `echo 'xy\c'` in
514 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
523 rm -f conf$$ conf$$.exe conf$$.file
524 if test -d conf$$.dir; then
525 rm -f conf$$.dir/conf$$.file
528 mkdir conf$$.dir 2>/dev/null
530 if (echo >conf$$.file) 2>/dev/null; then
531 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 elif ln conf$$.file conf$$ 2>/dev/null; then
547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
548 rmdir conf$$.dir 2>/dev/null
550 if mkdir -p . 2>/dev/null; then
551 as_mkdir_p='mkdir -p "$as_dir"'
553 test -d ./-p && rmdir ./-p
558 as_executable_p=as_fn_executable_p
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566 SHELL=${CONFIG_SHELL-/bin/sh}
569 test -n "$DJDIR" || exec 7<&0 </dev/null
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 ac_default_prefix=/usr/local
582 ac_config_libobj_dir=.
589 # Identity of this package.
591 PACKAGE_TARNAME='vala'
592 PACKAGE_VERSION='0.26.1'
593 PACKAGE_STRING='vala 0.26.1'
594 PACKAGE_BUGREPORT='j@bitron.ch'
597 ac_unique_file="Makefile.am"
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars='am__EXEEXT_FALSE
653 ENABLE_COVERAGE_FALSE
655 ENABLE_UNVERSIONED_FALSE
656 ENABLE_UNVERSIONED_TRUE
713 MAINTAINER_MODE_FALSE
727 INSTALL_STRIP_PROGRAM
769 program_transform_name
782 enable_option_checking
784 enable_maintainer_mode
785 enable_dependency_tracking
796 ac_precious_vars='build_alias
816 # Initialize some variables set by options.
818 ac_init_version=false
819 ac_unrecognized_opts=
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name=s,x,x,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir='${exec_prefix}/bin'
845 sbindir='${exec_prefix}/sbin'
846 libexecdir='${exec_prefix}/libexec'
847 datarootdir='${prefix}/share'
848 datadir='${datarootdir}'
849 sysconfdir='${prefix}/etc'
850 sharedstatedir='${prefix}/com'
851 localstatedir='${prefix}/var'
852 includedir='${prefix}/include'
853 oldincludedir='/usr/include'
854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir='${datarootdir}/info'
860 libdir='${exec_prefix}/lib'
861 localedir='${datarootdir}/locale'
862 mandir='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\$ac_option
876 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir | --bindir | --bindi | --bind | --bin | --bi)
889 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
892 -build | --build | --buil | --bui | --bu)
893 ac_prev=build_alias ;;
894 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
895 build_alias=$ac_optarg ;;
897 -cache-file | --cache-file | --cache-fil | --cache-fi \
898 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
899 ac_prev=cache_file ;;
900 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
901 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
902 cache_file=$ac_optarg ;;
905 cache_file=config.cache ;;
907 -datadir | --datadir | --datadi | --datad)
909 -datadir=* | --datadir=* | --datadi=* | --datad=*)
910 datadir=$ac_optarg ;;
912 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
913 | --dataroo | --dataro | --datar)
914 ac_prev=datarootdir ;;
915 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
916 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
917 datarootdir=$ac_optarg ;;
919 -disable-* | --disable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
933 eval enable_$ac_useropt=no ;;
935 -docdir | --docdir | --docdi | --doc | --do)
937 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
940 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
942 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
945 -enable-* | --enable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
959 eval enable_$ac_useropt=\$ac_optarg ;;
961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963 | --exec | --exe | --ex)
964 ac_prev=exec_prefix ;;
965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967 | --exec=* | --exe=* | --ex=*)
968 exec_prefix=$ac_optarg ;;
970 -gas | --gas | --ga | --g)
971 # Obsolete; use --with-gas.
974 -help | --help | --hel | --he | -h)
976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977 ac_init_help=recursive ;;
978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979 ac_init_help=short ;;
981 -host | --host | --hos | --ho)
982 ac_prev=host_alias ;;
983 -host=* | --host=* | --hos=* | --ho=*)
984 host_alias=$ac_optarg ;;
986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
990 htmldir=$ac_optarg ;;
992 -includedir | --includedir | --includedi | --included | --include \
993 | --includ | --inclu | --incl | --inc)
994 ac_prev=includedir ;;
995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996 | --includ=* | --inclu=* | --incl=* | --inc=*)
997 includedir=$ac_optarg ;;
999 -infodir | --infodir | --infodi | --infod | --info | --inf)
1001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002 infodir=$ac_optarg ;;
1004 -libdir | --libdir | --libdi | --libd)
1006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007 libdir=$ac_optarg ;;
1009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010 | --libexe | --libex | --libe)
1011 ac_prev=libexecdir ;;
1012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013 | --libexe=* | --libex=* | --libe=*)
1014 libexecdir=$ac_optarg ;;
1016 -localedir | --localedir | --localedi | --localed | --locale)
1017 ac_prev=localedir ;;
1018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019 localedir=$ac_optarg ;;
1021 -localstatedir | --localstatedir | --localstatedi | --localstated \
1022 | --localstate | --localstat | --localsta | --localst | --locals)
1023 ac_prev=localstatedir ;;
1024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026 localstatedir=$ac_optarg ;;
1028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031 mandir=$ac_optarg ;;
1033 -nfp | --nfp | --nf)
1034 # Obsolete; use --without-fp.
1037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038 | --no-cr | --no-c | -n)
1041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047 | --oldin | --oldi | --old | --ol | --o)
1048 ac_prev=oldincludedir ;;
1049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052 oldincludedir=$ac_optarg ;;
1054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057 prefix=$ac_optarg ;;
1059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060 | --program-pre | --program-pr | --program-p)
1061 ac_prev=program_prefix ;;
1062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064 program_prefix=$ac_optarg ;;
1066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067 | --program-suf | --program-su | --program-s)
1068 ac_prev=program_suffix ;;
1069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071 program_suffix=$ac_optarg ;;
1073 -program-transform-name | --program-transform-name \
1074 | --program-transform-nam | --program-transform-na \
1075 | --program-transform-n | --program-transform- \
1076 | --program-transform | --program-transfor \
1077 | --program-transfo | --program-transf \
1078 | --program-trans | --program-tran \
1079 | --progr-tra | --program-tr | --program-t)
1080 ac_prev=program_transform_name ;;
1081 -program-transform-name=* | --program-transform-name=* \
1082 | --program-transform-nam=* | --program-transform-na=* \
1083 | --program-transform-n=* | --program-transform-=* \
1084 | --program-transform=* | --program-transfor=* \
1085 | --program-transfo=* | --program-transf=* \
1086 | --program-trans=* | --program-tran=* \
1087 | --progr-tra=* | --program-tr=* | --program-t=*)
1088 program_transform_name=$ac_optarg ;;
1090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093 pdfdir=$ac_optarg ;;
1095 -psdir | --psdir | --psdi | --psd | --ps)
1097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101 | -silent | --silent | --silen | --sile | --sil)
1104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1108 sbindir=$ac_optarg ;;
1110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112 | --sharedst | --shareds | --shared | --share | --shar \
1114 ac_prev=sharedstatedir ;;
1115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1119 sharedstatedir=$ac_optarg ;;
1121 -site | --site | --sit)
1123 -site=* | --site=* | --sit=*)
1126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129 srcdir=$ac_optarg ;;
1131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132 | --syscon | --sysco | --sysc | --sys | --sy)
1133 ac_prev=sysconfdir ;;
1134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136 sysconfdir=$ac_optarg ;;
1138 -target | --target | --targe | --targ | --tar | --ta | --t)
1139 ac_prev=target_alias ;;
1140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141 target_alias=$ac_optarg ;;
1143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1146 -version | --version | --versio | --versi | --vers | -V)
1147 ac_init_version=: ;;
1150 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error $? "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1163 eval with_$ac_useropt=\$ac_optarg ;;
1165 -without-* | --without-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1179 eval with_$ac_useropt=no ;;
1182 # Obsolete; use --with-x.
1185 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1186 | --x-incl | --x-inc | --x-in | --x-i)
1187 ac_prev=x_includes ;;
1188 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1189 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1190 x_includes=$ac_optarg ;;
1192 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1193 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1194 ac_prev=x_libraries ;;
1195 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1196 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197 x_libraries=$ac_optarg ;;
1199 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information"
1204 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' | [0-9]* | *[!_$as_cr_alnum]* )
1208 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224 if test -n "$ac_prev"; then
1225 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error $? "missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val=\$$ac_var
1244 # Remove trailing slashes.
1247 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$]* | ?:[\\/]* ) continue;;
1253 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1255 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x; then
1267 if test "x$build_alias" = x; then
1268 cross_compiling=maybe
1269 elif test "x$build_alias" != "x$host_alias"; then
1275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1277 test "$silent" = yes && exec 6>/dev/null
1280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di=`ls -di .` &&
1282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error $? "working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error $? "pwd does not report name of working directory"
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290 ac_srcdir_defaulted=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1320 ac_srcdir_defaulted=no
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1324 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 for ac_var in $ac_precious_vars; do
1341 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1342 eval ac_env_${ac_var}_value=\$${ac_var}
1343 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1344 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348 # Report the --help message.
1350 if test "$ac_init_help" = "long"; then
1351 # Omit some internal or obsolete options to make the list less imposing.
1352 # This message is too long to be a string in the A/UX 3.1 sh.
1354 \`configure' configures vala 0.26.1 to adapt to many kinds of systems.
1356 Usage: $0 [OPTION]... [VAR=VALUE]...
1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359 VAR=VALUE. See below for descriptions of some of the useful variables.
1361 Defaults for the options are specified in brackets.
1364 -h, --help display this help and exit
1365 --help=short display options specific to this package
1366 --help=recursive display the short help of all the included packages
1367 -V, --version display version information and exit
1368 -q, --quiet, --silent do not print \`checking ...' messages
1369 --cache-file=FILE cache test results in FILE [disabled]
1370 -C, --config-cache alias for \`--cache-file=config.cache'
1371 -n, --no-create do not create output files
1372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1374 Installation directories:
1375 --prefix=PREFIX install architecture-independent files in PREFIX
1376 [$ac_default_prefix]
1377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1380 By default, \`make install' will install all the files in
1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383 for instance \`--prefix=\$HOME'.
1385 For better control, use the options below.
1387 Fine tuning of the installation directories:
1388 --bindir=DIR user executables [EPREFIX/bin]
1389 --sbindir=DIR system admin executables [EPREFIX/sbin]
1390 --libexecdir=DIR program executables [EPREFIX/libexec]
1391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/vala]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1417 --build=BUILD configure for building on BUILD [guessed]
1418 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive ) echo "Configuration of vala 0.26.1:";;
1429 --disable-option-checking ignore unrecognized --enable/--with options
1430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1432 --enable-silent-rules less verbose build output (undo: "make V=1")
1433 --disable-silent-rules verbose build output (undo: "make V=0")
1434 --disable-maintainer-mode
1435 disable make rules and dependencies not useful (and
1436 sometimes confusing) to the casual installer
1437 --enable-dependency-tracking
1438 do not reject slow dependency extractors
1439 --disable-dependency-tracking
1440 speeds up one-time build
1441 --enable-static[=PKGS] build static libraries [default=no]
1442 --enable-shared[=PKGS] build shared libraries [default=yes]
1443 --enable-fast-install[=PKGS]
1444 optimize for fast installation [default=yes]
1445 --disable-libtool-lock avoid locking (might break parallel builds)
1446 --disable-unversioned Disable unversioned binaries
1447 --enable-coverage Enable coverage analysis
1450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1452 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1454 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1455 --with-sysroot=DIR Search for dependent libraries within DIR
1456 (or the compiler's sysroot if not specified).
1458 Some influential environment variables:
1459 CC C compiler command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1462 nonstandard directory <lib dir>
1463 LIBS libraries to pass to the linker, e.g. -l<library>
1464 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1465 you have headers in a nonstandard directory <include dir>
1467 PKG_CONFIG path to pkg-config utility
1469 directories to add to pkg-config's search path
1471 path overriding pkg-config's built-in search path
1472 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1473 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1475 C compiler flags for GMODULE, overriding pkg-config
1477 linker flags for GMODULE, overriding pkg-config
1479 C compiler flags for GTHREAD, overriding pkg-config
1481 linker flags for GTHREAD, overriding pkg-config
1483 Use these variables to override the choices made by `configure' or to help
1484 it to find libraries and programs with nonstandard names/locations.
1486 Report bugs to <j@bitron.ch>.
1491 if test "$ac_init_help" = "recursive"; then
1492 # If there are subdirs, report their specific --help.
1493 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494 test -d "$ac_dir" ||
1495 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503 # A ".." for each directory in $ac_dir_suffix.
1504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505 case $ac_top_builddir_sub in
1506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1510 ac_abs_top_builddir=$ac_pwd
1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir=$ac_top_build_prefix
1516 .) # We are building in place.
1518 ac_top_srcdir=$ac_top_builddir_sub
1519 ac_abs_top_srcdir=$ac_pwd ;;
1520 [\\/]* | ?:[\\/]* ) # Absolute name.
1521 ac_srcdir=$srcdir$ac_dir_suffix;
1522 ac_top_srcdir=$srcdir
1523 ac_abs_top_srcdir=$srcdir ;;
1525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526 ac_top_srcdir=$ac_top_build_prefix$srcdir
1527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1531 cd "$ac_dir" || { ac_status=$?; continue; }
1532 # Check for guested configure.
1533 if test -f "$ac_srcdir/configure.gnu"; then
1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536 elif test -f "$ac_srcdir/configure"; then
1538 $SHELL "$ac_srcdir/configure" --help=recursive
1540 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 cd "$ac_pwd" || { ac_status=$?; break; }
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1549 vala configure 0.26.1
1550 generated by GNU Autoconf 2.69
1552 Copyright (C) 2012 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext
1570 if { { ac_try="$ac_compile"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_compile") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest.$ac_objext; then :
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 as_fn_set_status $ac_retval
1599 } # ac_fn_c_try_compile
1601 # ac_fn_c_try_link LINENO
1602 # -----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext conftest$ac_exeext
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest$ac_exeext && {
1627 test "$cross_compiling" = yes ||
1628 test -x conftest$ac_exeext
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1638 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1639 # interfere with the next link command; also delete a directory that is
1640 # left behind by Apple's compiler. We do this before executing the actions.
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_link
1647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists and can be compiled using the include files in
1650 # INCLUDES, setting the cache variable VAR accordingly.
1651 ac_fn_c_check_header_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \${$3+:} false; then :
1657 $as_echo_n "(cached) " >&6
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1664 if ac_fn_c_try_compile "$LINENO"; then :
1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 } # ac_fn_c_check_header_compile
1678 # ac_fn_c_try_cpp LINENO
1679 # ----------------------
1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_cpp conftest.$ac_ext"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } > conftest.i && {
1700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1715 # ac_fn_c_try_run LINENO
1716 # ----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1718 # that executables *can* be run.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1733 { { case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_try") 2>&5
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; }; }; then :
1745 $as_echo "$as_me: program exited with status $ac_status" >&5
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1749 ac_retval=$ac_status
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1757 # ac_fn_c_check_func LINENO FUNC VAR
1758 # ----------------------------------
1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1760 ac_fn_c_check_func ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1772 #define $2 innocuous_$2
1774 /* System header to define __stub macros and hopefully few prototypes,
1775 which can conflict with char $2 (); below.
1776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1777 <limits.h> exists even on freestanding compilers. */
1780 # include <limits.h>
1782 # include <assert.h>
1787 /* Override any GCC internal prototype to avoid an error.
1788 Use char because int might match the return type of a GCC
1789 builtin and then its argument prototype would still apply. */
1794 /* The GNU C library defines this for functions which it implements
1795 to always fail with ENOSYS. Some functions are actually named
1796 something starting with __ and the normal name is an alias. */
1797 #if defined __stub_$2 || defined __stub___$2
1809 if ac_fn_c_try_link "$LINENO"; then :
1814 rm -f core conftest.err conftest.$ac_objext \
1815 conftest$ac_exeext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_check_func
1823 cat >config.log <<_ACEOF
1824 This file contains any messages produced by compilers while
1825 running configure, to aid debugging if configure makes a mistake.
1827 It was created by vala $as_me 0.26.1, which was
1828 generated by GNU Autoconf 2.69. Invocation command line was
1840 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1841 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1842 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1843 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1844 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1846 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1847 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1849 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1850 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1851 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1852 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1853 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1854 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1855 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir=.
1864 $as_echo "PATH: $as_dir"
1880 # Keep a trace of the command line.
1881 # Strip out --no-create and --no-recursion so they do not pile up.
1882 # Strip out --silent because we don't want to record it for future runs.
1883 # Also quote any args containing shell meta-characters.
1884 # Make two passes to allow for proper duplicate-argument suppression.
1888 ac_must_keep_next=false
1894 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1896 | -silent | --silent | --silen | --sile | --sil)
1899 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1902 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1904 as_fn_append ac_configure_args1 " '$ac_arg'"
1905 if test $ac_must_keep_next = true; then
1906 ac_must_keep_next=false # Got value, back to normal.
1909 *=* | --config-cache | -C | -disable-* | --disable-* \
1910 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1911 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1912 | -with-* | --with-* | -without-* | --without-* | --x)
1913 case "$ac_configure_args0 " in
1914 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1917 -* ) ac_must_keep_next=true ;;
1920 as_fn_append ac_configure_args " '$ac_arg'"
1925 { ac_configure_args0=; unset ac_configure_args0;}
1926 { ac_configure_args1=; unset ac_configure_args1;}
1928 # When interrupted or exit'd, cleanup temporary files, and complete
1929 # config.log. We remove comments because anyway the quotes in there
1930 # would cause problems or look ugly.
1931 # WARNING: Use '\'' to represent an apostrophe within the trap.
1932 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1933 trap 'exit_status=$?
1934 # Save into config.log some information that might help in debugging.
1938 $as_echo "## ---------------- ##
1939 ## Cache variables. ##
1940 ## ---------------- ##"
1942 # The following way of writing the cache mishandles newlines in values,
1944 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1945 eval ac_val=\$$ac_var
1949 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1953 _ | IFS | as_nl) ;; #(
1954 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1955 *) { eval $ac_var=; unset $ac_var;} ;;
1960 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1961 *${as_nl}ac_space=\ *)
1963 "s/'\''/'\''\\\\'\'''\''/g;
1964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1974 $as_echo "## ----------------- ##
1975 ## Output variables. ##
1976 ## ----------------- ##"
1978 for ac_var in $ac_subst_vars
1980 eval ac_val=\$$ac_var
1982 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 $as_echo "$ac_var='\''$ac_val'\''"
1988 if test -n "$ac_subst_files"; then
1989 $as_echo "## ------------------- ##
1990 ## File substitutions. ##
1991 ## ------------------- ##"
1993 for ac_var in $ac_subst_files
1995 eval ac_val=\$$ac_var
1997 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1999 $as_echo "$ac_var='\''$ac_val'\''"
2004 if test -s confdefs.h; then
2005 $as_echo "## ----------- ##
2012 test "$ac_signal" != 0 &&
2013 $as_echo "$as_me: caught signal $ac_signal"
2014 $as_echo "$as_me: exit $exit_status"
2016 rm -f core *.core core.conftest.* &&
2017 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2020 for ac_signal in 1 2 13 15; do
2021 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2026 rm -f -r conftest* confdefs.h
2028 $as_echo "/* confdefs.h */" > confdefs.h
2030 # Predefined preprocessor variables.
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_NAME "$PACKAGE_NAME"
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_STRING "$PACKAGE_STRING"
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_URL "$PACKAGE_URL"
2057 # Let the site file select an alternate cache file if it wants to.
2058 # Prefer an explicitly selected file to automatically selected ones.
2061 if test -n "$CONFIG_SITE"; then
2062 # We do not want a PATH search for config.site.
2063 case $CONFIG_SITE in #((
2064 -*) ac_site_file1=./$CONFIG_SITE;;
2065 */*) ac_site_file1=$CONFIG_SITE;;
2066 *) ac_site_file1=./$CONFIG_SITE;;
2068 elif test "x$prefix" != xNONE; then
2069 ac_site_file1=$prefix/share/config.site
2070 ac_site_file2=$prefix/etc/config.site
2072 ac_site_file1=$ac_default_prefix/share/config.site
2073 ac_site_file2=$ac_default_prefix/etc/config.site
2075 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2077 test "x$ac_site_file" = xNONE && continue
2078 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2080 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2081 sed 's/^/| /' "$ac_site_file" >&5
2083 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2085 as_fn_error $? "failed to load site script $ac_site_file
2086 See \`config.log' for more details" "$LINENO" 5; }
2090 if test -r "$cache_file"; then
2091 # Some versions of bash will fail to source /dev/null (special files
2092 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2093 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2095 $as_echo "$as_me: loading cache $cache_file" >&6;}
2097 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2098 *) . "./$cache_file";;
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2103 $as_echo "$as_me: creating cache $cache_file" >&6;}
2107 # Check that the precious variables saved in the cache have kept the same
2109 ac_cache_corrupted=false
2110 for ac_var in $ac_precious_vars; do
2111 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2112 eval ac_new_set=\$ac_env_${ac_var}_set
2113 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2114 eval ac_new_val=\$ac_env_${ac_var}_value
2115 case $ac_old_set,$ac_new_set in
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2118 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2119 ac_cache_corrupted=: ;;
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2122 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2123 ac_cache_corrupted=: ;;
2126 if test "x$ac_old_val" != "x$ac_new_val"; then
2127 # differences in whitespace do not lead to failure.
2128 ac_old_val_w=`echo x $ac_old_val`
2129 ac_new_val_w=`echo x $ac_new_val`
2130 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2132 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2133 ac_cache_corrupted=:
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2136 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2137 eval $ac_var=\$ac_old_val
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2140 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2142 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2145 # Pass precious variables to config.status.
2146 if test "$ac_new_set" = set; then
2148 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2149 *) ac_arg=$ac_var=$ac_new_val ;;
2151 case " $ac_configure_args " in
2152 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2153 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2157 if $ac_cache_corrupted; then
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2161 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2162 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2164 ## -------------------- ##
2165 ## Main body of script. ##
2166 ## -------------------- ##
2169 ac_cpp='$CPP $CPPFLAGS'
2170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177 for ac_dir in build-aux "$srcdir"/build-aux; do
2178 if test -f "$ac_dir/install-sh"; then
2180 ac_install_sh="$ac_aux_dir/install-sh -c"
2182 elif test -f "$ac_dir/install.sh"; then
2184 ac_install_sh="$ac_aux_dir/install.sh -c"
2186 elif test -f "$ac_dir/shtool"; then
2188 ac_install_sh="$ac_aux_dir/shtool install -c"
2192 if test -z "$ac_aux_dir"; then
2193 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2196 # These three variables are undocumented and unsupported,
2197 # and are intended to be withdrawn in a future Autoconf release.
2198 # They can cause serious problems if a builder's source tree is in a directory
2199 # whose full name contains unusual characters.
2200 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2201 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2202 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2205 ac_config_headers="$ac_config_headers config.h"
2208 am__api_version='1.14'
2210 # Find a good install program. We prefer a C program (faster),
2211 # so one script is as good as another. But avoid the broken or
2212 # incompatible versions:
2213 # SysV /etc/install, /usr/sbin/install
2214 # SunOS /usr/etc/install
2215 # IRIX /sbin/install
2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2221 # OS/2's system install, which has a completely different semantic
2222 # ./install, which can be erroneously created by make from ./install.sh.
2223 # Reject install programs that cannot install multiple files.
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2225 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2226 if test -z "$INSTALL"; then
2227 if ${ac_cv_path_install+:} false; then :
2228 $as_echo_n "(cached) " >&6
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 # Account for people who put trailing slashes in PATH elements.
2236 case $as_dir/ in #((
2237 ./ | .// | /[cC]/* | \
2238 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2239 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2242 # OSF1 and SCO ODT 3.0 have their own names for install.
2243 # Don't use installbsd from OSF since it installs stuff as root
2245 for ac_prog in ginstall scoinst install; do
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2248 if test $ac_prog = install &&
2249 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2250 # AIX install. It has an incompatible calling convention.
2252 elif test $ac_prog = install &&
2253 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2254 # program-specific install script used by HP pwplus--don't use.
2257 rm -rf conftest.one conftest.two conftest.dir
2258 echo one > conftest.one
2259 echo two > conftest.two
2261 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2262 test -s conftest.one && test -s conftest.two &&
2263 test -s conftest.dir/conftest.one &&
2264 test -s conftest.dir/conftest.two
2266 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2279 rm -rf conftest.one conftest.two conftest.dir
2282 if test "${ac_cv_path_install+set}" = set; then
2283 INSTALL=$ac_cv_path_install
2285 # As a last resort, use the slow shell script. Don't cache a
2286 # value for INSTALL within a source directory, because that will
2287 # break other packages using the cache if that directory is
2288 # removed, or if the value is a relative name.
2289 INSTALL=$ac_install_sh
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2293 $as_echo "$INSTALL" >&6; }
2295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2296 # It thinks the first close brace ends the variable substitution.
2297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2301 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2304 $as_echo_n "checking whether build environment is sane... " >&6; }
2305 # Reject unsafe characters in $srcdir or the absolute working directory
2306 # name. Accept space and tab only in the latter.
2310 *[\\\"\#\$\&\'\`$am_lf]*)
2311 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2314 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2315 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2318 # Do 'set' in a subshell so we don't clobber the current shell's
2319 # arguments. Must try -L first in case configure is actually a
2320 # symlink; some systems play weird games with the mod time of symlinks
2321 # (eg FreeBSD returns the mod time of the symlink's containing
2325 for am_try in 1 2; do
2326 echo "timestamp, slept: $am_has_slept" > conftest.file
2327 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2328 if test "$*" = "X"; then
2330 set X `ls -t "$srcdir/configure" conftest.file`
2332 if test "$*" != "X $srcdir/configure conftest.file" \
2333 && test "$*" != "X conftest.file $srcdir/configure"; then
2335 # If neither matched, then we have a broken ls. This can happen
2336 # if, for instance, CONFIG_SHELL is bash and it inherits a
2337 # broken ls alias from the environment. This has actually
2338 # happened. Such a system could not be considered "sane".
2339 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2340 alias in your environment" "$LINENO" 5
2342 if test "$2" = conftest.file || test $am_try -eq 2; then
2349 test "$2" = conftest.file
2355 as_fn_error $? "newly created file is older than distributed files!
2356 Check your system clock" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2359 $as_echo "yes" >&6; }
2360 # If we didn't sleep, we still need to ensure time stamps of config.status and
2361 # generated files are strictly newer.
2363 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2370 test "$program_prefix" != NONE &&
2371 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2372 # Use a double $ so make ignores it.
2373 test "$program_suffix" != NONE &&
2374 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2375 # Double any \ or $.
2376 # By default was `s,x,x', remove it if useless.
2377 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2378 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2380 # expand $ac_aux_dir to an absolute path
2381 am_aux_dir=`cd $ac_aux_dir && pwd`
2383 if test x"${MISSING+set}" != xset; then
2386 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2388 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2391 # Use eval to expand $SHELL
2392 if eval "$MISSING --is-lightweight"; then
2393 am_missing_run="$MISSING "
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2397 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2400 if test x"${install_sh}" != xset; then
2403 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2405 install_sh="\${SHELL} $am_aux_dir/install-sh"
2409 # Installed binaries are usually stripped using 'strip' when the user
2410 # run "make install-strip". However 'strip' might not be the right
2411 # tool to use in cross-compilation environments, therefore Automake
2412 # will honor the 'STRIP' environment variable to overrule this program.
2413 if test "$cross_compiling" != no; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}strip; ac_word=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if ${ac_cv_prog_STRIP+:} false; then :
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$STRIP"; then
2423 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 STRIP=$ac_cv_prog_STRIP
2443 if test -n "$STRIP"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2445 $as_echo "$STRIP" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2453 if test -z "$ac_cv_prog_STRIP"; then
2455 # Extract the first word of "strip", so it can be a program name with args.
2456 set dummy strip; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$ac_ct_STRIP"; then
2463 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_ac_ct_STRIP="strip"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2483 if test -n "$ac_ct_STRIP"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2485 $as_echo "$ac_ct_STRIP" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2491 if test "x$ac_ct_STRIP" = x; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2498 ac_tool_warned=yes ;;
2503 STRIP="$ac_cv_prog_STRIP"
2507 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2510 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2511 if test -z "$MKDIR_P"; then
2512 if ${ac_cv_path_mkdir+:} false; then :
2513 $as_echo_n "(cached) " >&6
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2519 test -z "$as_dir" && as_dir=.
2520 for ac_prog in mkdir gmkdir; do
2521 for ac_exec_ext in '' $ac_executable_extensions; do
2522 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2523 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2524 'mkdir (GNU coreutils) '* | \
2525 'mkdir (coreutils) '* | \
2526 'mkdir (fileutils) '4.1*)
2527 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2537 test -d ./--version && rmdir ./--version
2538 if test "${ac_cv_path_mkdir+set}" = set; then
2539 MKDIR_P="$ac_cv_path_mkdir -p"
2541 # As a last resort, use the slow shell script. Don't cache a
2542 # value for MKDIR_P within a source directory, because that will
2543 # break other packages using the cache if that directory is
2544 # removed, or if the value is a relative name.
2545 MKDIR_P="$ac_install_sh -d"
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2549 $as_echo "$MKDIR_P" >&6; }
2551 for ac_prog in gawk mawk nawk awk
2553 # Extract the first word of "$ac_prog", so it can be a program name with args.
2554 set dummy $ac_prog; ac_word=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if ${ac_cv_prog_AWK+:} false; then :
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$AWK"; then
2561 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_AWK="$ac_prog"
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$AWK"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2583 $as_echo "$AWK" >&6; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2590 test -n "$AWK" && break
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2598 $as_echo_n "(cached) " >&6
2600 cat >conftest.make <<\_ACEOF
2603 @echo '@@@%%%=$(MAKE)=@@@%%%'
2605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2608 eval ac_cv_prog_make_${ac_make}_set=yes;;
2610 eval ac_cv_prog_make_${ac_make}_set=no;;
2614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2616 $as_echo "yes" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621 SET_MAKE="MAKE=${MAKE-make}"
2624 rm -rf .tst 2>/dev/null
2625 mkdir .tst 2>/dev/null
2626 if test -d .tst; then
2631 rmdir .tst 2>/dev/null
2633 # Check whether --enable-silent-rules was given.
2634 if test "${enable_silent_rules+set}" = set; then :
2635 enableval=$enable_silent_rules;
2638 case $enable_silent_rules in # (((
2639 yes) AM_DEFAULT_VERBOSITY=0;;
2640 no) AM_DEFAULT_VERBOSITY=1;;
2641 *) AM_DEFAULT_VERBOSITY=1;;
2643 am_make=${MAKE-make}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2646 if ${am_cv_make_support_nested_variables+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 if $as_echo 'TRUE=$(BAR$(V))
2655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2656 am_cv_make_support_nested_variables=yes
2658 am_cv_make_support_nested_variables=no
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2663 if test $am_cv_make_support_nested_variables = yes; then
2665 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2667 AM_V=$AM_DEFAULT_VERBOSITY
2668 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2673 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2674 # is not polluted with repeated "-I."
2675 am__isrc=' -I$(srcdir)'
2676 # test to see if srcdir already configured
2677 if test -f $srcdir/config.status; then
2678 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2682 # test whether we have cygpath
2683 if test -z "$CYGPATH_W"; then
2684 if (cygpath --version) >/dev/null 2>/dev/null; then
2685 CYGPATH_W='cygpath -w'
2692 # Define the identity of the package.
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE "$PACKAGE"
2702 cat >>confdefs.h <<_ACEOF
2703 #define VERSION "$VERSION"
2706 # Some tools Automake needs.
2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2722 # For better backward compatibility. To be removed once Automake 1.9.x
2723 # dies out for good. For more background, see:
2724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2726 mkdir_p='$(MKDIR_P)'
2728 # We need awk for the "check" target. The system "awk" is bad on
2730 # Always define AMTAR for backward compatibility. Yes, it's still used
2731 # in the wild :-( We should find a proper way to deprecate it ...
2735 # We'll loop over all known methods to create a tar archive until one works.
2736 _am_tools='gnutar pax cpio none'
2738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2745 # POSIX will say in a future version that running "rm -f" with no argument
2746 # is OK; and we want to be able to make that assumption in our Makefile
2747 # recipes. So use an aggressive probe to check that the usage we want is
2748 # actually supported "in the wild" to an acceptable degree.
2749 # See automake bug#10828.
2750 # To make any issue more visible, cause the running configure to be aborted
2751 # by default if the 'rm' program in use doesn't match our expectations; the
2752 # user can still override this though.
2753 if rm -f && rm -fr && rm -rf; then : OK; else
2757 Your 'rm' program seems unable to run without file operands specified
2758 on the command line, even when the '-f' option is present. This is contrary
2759 to the behaviour of most rm programs out there, and not conforming with
2760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2762 Please tell bug-automake@gnu.org about your system, including the value
2763 of your $PATH and any error possibly output before this message. This
2764 can help us improve future automake versions.
2767 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2768 echo 'Configuration will proceed anyway, since you have set the' >&2
2769 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2773 Aborting the configuration process, to ensure you take notice of the issue.
2775 You can download and install GNU coreutils to get an 'rm' implementation
2776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2778 If you want to complete the configuration process using your problematic
2779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2780 to "yes", and re-run configure.
2783 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2788 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2789 # Check whether --enable-maintainer-mode was given.
2790 if test "${enable_maintainer_mode+set}" = set; then :
2791 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2793 USE_MAINTAINER_MODE=yes
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2797 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2798 if test $USE_MAINTAINER_MODE = yes; then
2799 MAINTAINER_MODE_TRUE=
2800 MAINTAINER_MODE_FALSE='#'
2802 MAINTAINER_MODE_TRUE='#'
2803 MAINTAINER_MODE_FALSE=
2806 MAINT=$MAINTAINER_MODE_TRUE
2810 PACKAGE_SUFFIX=-0.26
2812 echo \#buildapi-variable-no-builddir >/dev/null
2816 cat >>confdefs.h <<_ACEOF
2817 #define PACKAGE_SUFFIX "$PACKAGE_SUFFIX"
2821 program_transform_name="s,\$\$,${PACKAGE_SUFFIX},"
2823 pkgdatadir=${datadir}/vala${PACKAGE_SUFFIX}
2826 # Checks for programs.
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 if test -n "$ac_tool_prefix"; then
2833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2834 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 if test -n "$CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2871 if test -z "$ac_cv_prog_CC"; then
2873 # Extract the first word of "gcc", so it can be a program name with args.
2874 set dummy gcc; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$ac_ct_CC"; then
2881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_ac_ct_CC="gcc"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2901 if test -n "$ac_ct_CC"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2903 $as_echo "$ac_ct_CC" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2909 if test "x$ac_ct_CC" = x; then
2912 case $cross_compiling:$ac_tool_warned in
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916 ac_tool_warned=yes ;;
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2927 set dummy ${ac_tool_prefix}cc; ac_word=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if ${ac_cv_prog_CC+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$CC"; then
2934 ac_cv_prog_CC="$CC" # Let the user override the test.
2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir=.
2941 for ac_exec_ext in '' $ac_executable_extensions; do
2942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943 ac_cv_prog_CC="${ac_tool_prefix}cc"
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2965 if test -z "$CC"; then
2966 # Extract the first word of "cc", so it can be a program name with args.
2967 set dummy cc; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2985 ac_prog_rejected=yes
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test $ac_prog_rejected = yes; then
2997 # We found a bogon in the path, so make sure we never use it.
2998 set dummy $ac_cv_prog_CC
3000 if test $# != 0; then
3001 # We chose a different compiler from the bogus one.
3002 # However, it has the same basename, so the bogon will be chosen
3003 # first if we set CC to just the basename; use the full file name.
3005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3011 if test -n "$CC"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013 $as_echo "$CC" >&6; }
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3021 if test -z "$CC"; then
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in cl.exe
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_CC+:} false; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC="$CC" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3062 test -n "$CC" && break
3065 if test -z "$CC"; then
3067 for ac_prog in cl.exe
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$ac_ct_CC"; then
3077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_ac_ct_CC="$ac_prog"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3097 if test -n "$ac_ct_CC"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3099 $as_echo "$ac_ct_CC" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 test -n "$ac_ct_CC" && break
3109 if test "x$ac_ct_CC" = x; then
3112 case $cross_compiling:$ac_tool_warned in
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116 ac_tool_warned=yes ;;
3125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 as_fn_error $? "no acceptable C compiler found in \$PATH
3128 See \`config.log' for more details" "$LINENO" 5; }
3130 # Provide some information about the compiler.
3131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3134 for ac_option in --version -v -V -qversion; do
3135 { { ac_try="$ac_compiler $ac_option >&5"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3144 if test -s conftest.err; then
3146 ... rest of stderr output deleted ...
3147 10q' conftest.err >conftest.er1
3148 cat conftest.er1 >&5
3150 rm -f conftest.er1 conftest.err
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3166 ac_clean_files_save=$ac_clean_files
3167 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3168 # Try to create an executable without -o first, disregard a.out.
3169 # It will help us diagnose broken compilers, and finding out an intuition
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3172 $as_echo_n "checking whether the C compiler works... " >&6; }
3173 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3175 # The possible output files:
3176 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3179 for ac_file in $ac_files
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3183 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3188 if { { ac_try="$ac_link_default"
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_link_default") 2>&5
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }; then :
3199 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3200 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3201 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3202 # so that the user can short-circuit this test for compilers unknown to
3204 for ac_file in $ac_files ''
3206 test -f "$ac_file" || continue
3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3211 # We found the default executable, but exeext='' is most
3215 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3217 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3219 # We set ac_cv_exeext here because the later test for it is not
3220 # safe: cross compilers may not add the suffix if given an `-o'
3221 # argument, so we may need to know it at that point already.
3222 # Even if this section looks crufty: it has the advantage of
3229 test "$ac_cv_exeext" = no && ac_cv_exeext=
3234 if test -z "$ac_file"; then :
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242 as_fn_error 77 "C compiler cannot create executables
3243 See \`config.log' for more details" "$LINENO" 5; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3249 $as_echo_n "checking for C compiler default output file name... " >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3251 $as_echo "$ac_file" >&6; }
3252 ac_exeext=$ac_cv_exeext
3254 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3255 ac_clean_files=$ac_clean_files_save
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3257 $as_echo_n "checking for suffix of executables... " >&6; }
3258 if { { ac_try="$ac_link"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3270 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3271 # work properly (i.e., refer to `conftest.exe'), while it won't with
3273 for ac_file in conftest.exe conftest conftest.*; do
3274 test -f "$ac_file" || continue
3276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3277 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 rm -f conftest conftest$ac_cv_exeext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3290 $as_echo "$ac_cv_exeext" >&6; }
3292 rm -f conftest.$ac_ext
3293 EXEEXT=$ac_cv_exeext
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3301 FILE *f = fopen ("conftest.out", "w");
3302 return ferror (f) || fclose (f) != 0;
3308 ac_clean_files="$ac_clean_files conftest.out"
3309 # Check that the compiler produces executables we can run. If not, either
3310 # the compiler is broken, or we cross compile.
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3312 $as_echo_n "checking whether we are cross compiling... " >&6; }
3313 if test "$cross_compiling" != yes; then
3314 { { ac_try="$ac_link"
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_link") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }
3325 if { ac_try='./conftest$ac_cv_exeext'
3326 { { case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_try") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; }; then
3338 if test "$cross_compiling" = maybe; then
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error $? "cannot run C compiled programs.
3344 If you meant to cross compile, use \`--host'.
3345 See \`config.log' for more details" "$LINENO" 5; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3350 $as_echo "$cross_compiling" >&6; }
3352 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3353 ac_clean_files=$ac_clean_files_save
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3355 $as_echo_n "checking for suffix of object files... " >&6; }
3356 if ${ac_cv_objext+:} false; then :
3357 $as_echo_n "(cached) " >&6
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 rm -f conftest.o conftest.obj
3371 if { { ac_try="$ac_compile"
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_compile") 2>&5
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; then :
3382 for ac_file in conftest.o conftest.obj conftest.*; do
3383 test -f "$ac_file" || continue;
3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3386 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3391 $as_echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396 as_fn_error $? "cannot compute suffix of object files: cannot compile
3397 See \`config.log' for more details" "$LINENO" 5; }
3399 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3402 $as_echo "$ac_cv_objext" >&6; }
3403 OBJEXT=$ac_cv_objext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3406 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3407 if ${ac_cv_c_compiler_gnu+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3434 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3435 if test $ac_compiler_gnu = yes; then
3440 ac_test_CFLAGS=${CFLAGS+set}
3441 ac_save_CFLAGS=$CFLAGS
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3443 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3444 if ${ac_cv_prog_cc_g+:} false; then :
3445 $as_echo_n "(cached) " >&6
3447 ac_save_c_werror_flag=$ac_c_werror_flag
3448 ac_c_werror_flag=yes
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 if ac_fn_c_try_compile "$LINENO"; then :
3480 ac_c_werror_flag=$ac_save_c_werror_flag
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 ac_c_werror_flag=$ac_save_c_werror_flag
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3504 $as_echo "$ac_cv_prog_cc_g" >&6; }
3505 if test "$ac_test_CFLAGS" = set; then
3506 CFLAGS=$ac_save_CFLAGS
3507 elif test $ac_cv_prog_cc_g = yes; then
3508 if test "$GCC" = yes; then
3514 if test "$GCC" = yes; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3521 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3522 if ${ac_cv_prog_cc_c89+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 ac_cv_prog_cc_c89=no
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3533 struct buf { int x; };
3534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3535 static char *e (p, i)
3541 static char *f (char * (*g) (char **, int), char **p, ...)
3546 s = g (p, va_arg (v,int));
3551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3552 function prototypes and stuff, but not '\xHH' hex character constants.
3553 These don't provoke an error unfortunately, instead are silently treated
3554 as 'x'. The following induces an error, until -std is added to get
3555 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3556 array size at least. It's necessary to write '\x00'==0 to get something
3557 that's true only with -std. */
3558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3560 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3561 inside strings and character constants. */
3563 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3565 int test (int i, double x);
3566 struct s1 {int (*f) (int a);};
3567 struct s2 {int (*f) (double a);};
3568 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3574 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3579 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3580 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3582 CC="$ac_save_CC $ac_arg"
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 ac_cv_prog_cc_c89=$ac_arg
3586 rm -f core conftest.err conftest.$ac_objext
3587 test "x$ac_cv_prog_cc_c89" != "xno" && break
3589 rm -f conftest.$ac_ext
3594 case "x$ac_cv_prog_cc_c89" in
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3597 $as_echo "none needed" >&6; } ;;
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3600 $as_echo "unsupported" >&6; } ;;
3602 CC="$CC $ac_cv_prog_cc_c89"
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3604 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3606 if test "x$ac_cv_prog_cc_c89" != xno; then :
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3617 ac_cpp='$CPP $CPPFLAGS'
3618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3622 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3623 if ${am_cv_prog_cc_c_o+:} false; then :
3624 $as_echo_n "(cached) " >&6
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 # Make sure it works both with $CC and with simple cc.
3638 # Following AC_PROG_CC_C_O, we do the test twice because some
3639 # compilers refuse to overwrite an existing .o file with -o,
3640 # though they will create one.
3641 am_cv_prog_cc_c_o=yes
3643 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3644 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); } \
3648 && test -f conftest2.$ac_objext; then
3651 am_cv_prog_cc_c_o=no
3655 rm -f core conftest*
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3659 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3660 if test "$am_cv_prog_cc_c_o" != yes; then
3661 # Losing compiler, so override with the script.
3662 # FIXME: It is wrong to rewrite CC.
3663 # But if we don't then we get into trouble of one sort or another.
3664 # A longer-term fix would be to have automake use am__CC in this case,
3665 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3666 CC="$am_aux_dir/compile $CC"
3669 ac_cpp='$CPP $CPPFLAGS'
3670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3674 DEPDIR="${am__leading_dot}deps"
3676 ac_config_commands="$ac_config_commands depfiles"
3679 am_make=${MAKE-make}
3680 cat > confinc << 'END'
3682 @echo this is the am__doit target
3685 # If we don't find an include directive, just comment out the code.
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3687 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3691 # First try GNU make style include.
3692 echo "include confinc" > confmf
3693 # Ignore all kinds of additional output from 'make'.
3694 case `$am_make -s -f confmf 2> /dev/null` in #(
3695 *the\ am__doit\ target*)
3701 # Now try BSD make style include.
3702 if test "$am__include" = "#"; then
3703 echo '.include "confinc"' > confmf
3704 case `$am_make -s -f confmf 2> /dev/null` in #(
3705 *the\ am__doit\ target*)
3706 am__include=.include
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3715 $as_echo "$_am_result" >&6; }
3716 rm -f confinc confmf
3718 # Check whether --enable-dependency-tracking was given.
3719 if test "${enable_dependency_tracking+set}" = set; then :
3720 enableval=$enable_dependency_tracking;
3723 if test "x$enable_dependency_tracking" != xno; then
3724 am_depcomp="$ac_aux_dir/depcomp"
3728 if test "x$enable_dependency_tracking" != xno; then
3738 depcc="$CC" am_compiler_list=
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3741 $as_echo_n "checking dependency style of $depcc... " >&6; }
3742 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3746 # We make a subdir and do the tests there. Otherwise we can end up
3747 # making bogus files that we don't know about and never remove. For
3748 # instance it was reported that on HP-UX the gcc test will end up
3749 # making a dummy file named 'D' -- because '-MD' means "put the output
3753 # Copy depcomp to subdir because otherwise we won't find it if we're
3754 # using a relative directory.
3755 cp "$am_depcomp" conftest.dir
3757 # We will build objects and dependencies in a subdirectory because
3758 # it helps to detect inapplicable dependency modes. For instance
3759 # both Tru64's cc and ICC support -MD to output dependencies as a
3760 # side effect of compilation, but ICC will put the dependencies in
3761 # the current directory while Tru64 will put them in the object
3765 am_cv_CC_dependencies_compiler_type=none
3766 if test "$am_compiler_list" = ""; then
3767 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3770 case " $depcc " in #(
3771 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3774 for depmode in $am_compiler_list; do
3775 # Setup a source with many dependencies, because some compilers
3776 # like to wrap large dependency lists on column 80 (with \), and
3777 # we should not choose a depcomp mode which is confused by this.
3779 # We need to recreate these files for each test, as the compiler may
3780 # overwrite some of them when testing with obscure command lines.
3781 # This happens at least with the AIX C compiler.
3783 for i in 1 2 3 4 5 6; do
3784 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3785 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3786 # Solaris 10 /bin/sh.
3787 echo '/* dummy */' > sub/conftst$i.h
3789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3791 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3792 # mode. It turns out that the SunPro C++ compiler does not properly
3793 # handle '-M -o', and we need to detect this. Also, some Intel
3794 # versions had trouble with output in subdirs.
3795 am__obj=sub/conftest.${OBJEXT-o}
3796 am__minus_obj="-o $am__obj"
3799 # This depmode causes a compiler race in universal mode.
3800 test "$am__universal" = false || continue
3803 # After this tag, mechanisms are not by side-effect, so they'll
3804 # only be used when explicitly requested.
3805 if test "x$enable_dependency_tracking" = xyes; then
3811 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3812 # This compiler won't grok '-c -o', but also, the minuso test has
3813 # not run yet. These depmodes are late enough in the game, and
3814 # so weak that their functioning should not be impacted.
3815 am__obj=conftest.${OBJEXT-o}
3820 if depmode=$depmode \
3821 source=sub/conftest.c object=$am__obj \
3822 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3823 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3824 >/dev/null 2>conftest.err &&
3825 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3826 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3827 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3828 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3829 # icc doesn't choke on unknown options, it will just issue warnings
3830 # or remarks (even with -Werror). So we grep stderr for any message
3831 # that says an option was ignored or not supported.
3832 # When given -MP, icc 7.0 and 7.1 complain thusly:
3833 # icc: Command line warning: ignoring option '-M'; no argument required
3834 # The diagnosis changed in icc 8.0:
3835 # icc: Command line remark: option '-MP' not supported
3836 if (grep 'ignoring option' conftest.err ||
3837 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3838 am_cv_CC_dependencies_compiler_type=$depmode
3847 am_cv_CC_dependencies_compiler_type=none
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3852 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3853 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3856 test "x$enable_dependency_tracking" != xno \
3857 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3859 am__fastdepCC_FALSE='#'
3861 am__fastdepCC_TRUE='#'
3862 am__fastdepCC_FALSE=
3867 # Check whether --enable-static was given.
3868 if test "${enable_static+set}" = set; then :
3869 enableval=$enable_static; p=${PACKAGE-default}
3871 yes) enable_static=yes ;;
3872 no) enable_static=no ;;
3875 # Look at the argument we got. We use all the common list separators.
3876 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3877 for pkg in $enableval; do
3879 if test "X$pkg" = "X$p"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3901 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3906 macro_version='2.4.2'
3907 macro_revision='1.3337'
3921 ltmain="$ac_aux_dir/ltmain.sh"
3923 # Make sure we can run config.sub.
3924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3925 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3928 $as_echo_n "checking build system type... " >&6; }
3929 if ${ac_cv_build+:} false; then :
3930 $as_echo_n "(cached) " >&6
3932 ac_build_alias=$build_alias
3933 test "x$ac_build_alias" = x &&
3934 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3935 test "x$ac_build_alias" = x &&
3936 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3937 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3938 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3942 $as_echo "$ac_cv_build" >&6; }
3943 case $ac_cv_build in
3945 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3948 ac_save_IFS=$IFS; IFS='-'
3954 # Remember, the first character of IFS is used to create $*,
3955 # except with old shells:
3958 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3962 $as_echo_n "checking host system type... " >&6; }
3963 if ${ac_cv_host+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 if test "x$host_alias" = x; then
3967 ac_cv_host=$ac_cv_build
3969 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3970 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3975 $as_echo "$ac_cv_host" >&6; }
3978 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3981 ac_save_IFS=$IFS; IFS='-'
3987 # Remember, the first character of IFS is used to create $*,
3988 # except with old shells:
3991 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3994 # Backslashify metacharacters that are still active within
3995 # double-quoted strings.
3996 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3998 # Same as above, but do not quote variable references.
3999 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4001 # Sed substitution to delay expansion of an escaped shell variable in a
4002 # double_quote_subst'ed string.
4003 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4005 # Sed substitution to delay expansion of an escaped single quote.
4006 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4008 # Sed substitution to avoid accidental globbing in evaled expressions
4009 no_glob_subst='s/\*/\\\*/g'
4011 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4012 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4013 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4016 $as_echo_n "checking how to print strings... " >&6; }
4017 # Test print first, because it will be a builtin if present.
4018 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4019 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4021 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4024 # Use this function as a fallback that always works.
4025 func_fallback_echo ()
4027 eval 'cat <<_LTECHO_EOF
4031 ECHO='func_fallback_echo'
4034 # func_echo_all arg...
4035 # Invoke $ECHO with all args, space-separated.
4042 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4043 $as_echo "printf" >&6; } ;;
4044 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4045 $as_echo "print -r" >&6; } ;;
4046 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4047 $as_echo "cat" >&6; } ;;
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4064 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4065 if ${ac_cv_path_SED+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4069 for ac_i in 1 2 3 4 5 6 7; do
4070 ac_script="$ac_script$as_nl$ac_script"
4072 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4073 { ac_script=; unset ac_script;}
4074 if test -z "$SED"; then
4075 ac_path_SED_found=false
4076 # Loop through the user's path and test for each of PROGNAME-LIST
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir=.
4082 for ac_prog in sed gsed; do
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4085 as_fn_executable_p "$ac_path_SED" || continue
4086 # Check for GNU ac_path_SED and select it if it is found.
4087 # Check for GNU $ac_path_SED
4088 case `"$ac_path_SED" --version 2>&1` in
4090 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4093 $as_echo_n 0123456789 >"conftest.in"
4096 cat "conftest.in" "conftest.in" >"conftest.tmp"
4097 mv "conftest.tmp" "conftest.in"
4098 cp "conftest.in" "conftest.nl"
4099 $as_echo '' >> "conftest.nl"
4100 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4101 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4102 as_fn_arith $ac_count + 1 && ac_count=$as_val
4103 if test $ac_count -gt ${ac_path_SED_max-0}; then
4104 # Best one so far, save it but keep looking for a better one
4105 ac_cv_path_SED="$ac_path_SED"
4106 ac_path_SED_max=$ac_count
4108 # 10*(2^10) chars as input seems more than enough
4109 test $ac_count -gt 10 && break
4111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4114 $ac_path_SED_found && break 3
4119 if test -z "$ac_cv_path_SED"; then
4120 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4128 $as_echo "$ac_cv_path_SED" >&6; }
4129 SED="$ac_cv_path_SED"
4132 test -z "$SED" && SED=sed
4133 Xsed="$SED -e 1s/^X//"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4146 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4147 if ${ac_cv_path_GREP+:} false; then :
4148 $as_echo_n "(cached) " >&6
4150 if test -z "$GREP"; then
4151 ac_path_GREP_found=false
4152 # Loop through the user's path and test for each of PROGNAME-LIST
4153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4157 test -z "$as_dir" && as_dir=.
4158 for ac_prog in grep ggrep; do
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4161 as_fn_executable_p "$ac_path_GREP" || continue
4162 # Check for GNU ac_path_GREP and select it if it is found.
4163 # Check for GNU $ac_path_GREP
4164 case `"$ac_path_GREP" --version 2>&1` in
4166 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4169 $as_echo_n 0123456789 >"conftest.in"
4172 cat "conftest.in" "conftest.in" >"conftest.tmp"
4173 mv "conftest.tmp" "conftest.in"
4174 cp "conftest.in" "conftest.nl"
4175 $as_echo 'GREP' >> "conftest.nl"
4176 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4177 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4178 as_fn_arith $ac_count + 1 && ac_count=$as_val
4179 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4180 # Best one so far, save it but keep looking for a better one
4181 ac_cv_path_GREP="$ac_path_GREP"
4182 ac_path_GREP_max=$ac_count
4184 # 10*(2^10) chars as input seems more than enough
4185 test $ac_count -gt 10 && break
4187 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4190 $ac_path_GREP_found && break 3
4195 if test -z "$ac_cv_path_GREP"; then
4196 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4199 ac_cv_path_GREP=$GREP
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4204 $as_echo "$ac_cv_path_GREP" >&6; }
4205 GREP="$ac_cv_path_GREP"
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4209 $as_echo_n "checking for egrep... " >&6; }
4210 if ${ac_cv_path_EGREP+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4214 then ac_cv_path_EGREP="$GREP -E"
4216 if test -z "$EGREP"; then
4217 ac_path_EGREP_found=false
4218 # Loop through the user's path and test for each of PROGNAME-LIST
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4223 test -z "$as_dir" && as_dir=.
4224 for ac_prog in egrep; do
4225 for ac_exec_ext in '' $ac_executable_extensions; do
4226 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4227 as_fn_executable_p "$ac_path_EGREP" || continue
4228 # Check for GNU ac_path_EGREP and select it if it is found.
4229 # Check for GNU $ac_path_EGREP
4230 case `"$ac_path_EGREP" --version 2>&1` in
4232 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4235 $as_echo_n 0123456789 >"conftest.in"
4238 cat "conftest.in" "conftest.in" >"conftest.tmp"
4239 mv "conftest.tmp" "conftest.in"
4240 cp "conftest.in" "conftest.nl"
4241 $as_echo 'EGREP' >> "conftest.nl"
4242 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4244 as_fn_arith $ac_count + 1 && ac_count=$as_val
4245 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4246 # Best one so far, save it but keep looking for a better one
4247 ac_cv_path_EGREP="$ac_path_EGREP"
4248 ac_path_EGREP_max=$ac_count
4250 # 10*(2^10) chars as input seems more than enough
4251 test $ac_count -gt 10 && break
4253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4256 $ac_path_EGREP_found && break 3
4261 if test -z "$ac_cv_path_EGREP"; then
4262 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4265 ac_cv_path_EGREP=$EGREP
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4271 $as_echo "$ac_cv_path_EGREP" >&6; }
4272 EGREP="$ac_cv_path_EGREP"
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4276 $as_echo_n "checking for fgrep... " >&6; }
4277 if ${ac_cv_path_FGREP+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4281 then ac_cv_path_FGREP="$GREP -F"
4283 if test -z "$FGREP"; then
4284 ac_path_FGREP_found=false
4285 # Loop through the user's path and test for each of PROGNAME-LIST
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4290 test -z "$as_dir" && as_dir=.
4291 for ac_prog in fgrep; do
4292 for ac_exec_ext in '' $ac_executable_extensions; do
4293 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4294 as_fn_executable_p "$ac_path_FGREP" || continue
4295 # Check for GNU ac_path_FGREP and select it if it is found.
4296 # Check for GNU $ac_path_FGREP
4297 case `"$ac_path_FGREP" --version 2>&1` in
4299 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4302 $as_echo_n 0123456789 >"conftest.in"
4305 cat "conftest.in" "conftest.in" >"conftest.tmp"
4306 mv "conftest.tmp" "conftest.in"
4307 cp "conftest.in" "conftest.nl"
4308 $as_echo 'FGREP' >> "conftest.nl"
4309 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311 as_fn_arith $ac_count + 1 && ac_count=$as_val
4312 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4313 # Best one so far, save it but keep looking for a better one
4314 ac_cv_path_FGREP="$ac_path_FGREP"
4315 ac_path_FGREP_max=$ac_count
4317 # 10*(2^10) chars as input seems more than enough
4318 test $ac_count -gt 10 && break
4320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4323 $ac_path_FGREP_found && break 3
4328 if test -z "$ac_cv_path_FGREP"; then
4329 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4332 ac_cv_path_FGREP=$FGREP
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4338 $as_echo "$ac_cv_path_FGREP" >&6; }
4339 FGREP="$ac_cv_path_FGREP"
4342 test -z "$GREP" && GREP=grep
4362 # Check whether --with-gnu-ld was given.
4363 if test "${with_gnu_ld+set}" = set; then :
4364 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4370 if test "$GCC" = yes; then
4371 # Check if gcc -print-prog-name=ld gives a path.
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4373 $as_echo_n "checking for ld used by $CC... " >&6; }
4376 # gcc leaves a trailing carriage return which upsets mingw
4377 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4379 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4382 # Accept absolute paths.
4384 re_direlt='/[^/][^/]*/\.\./'
4385 # Canonicalize the pathname of ld
4386 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4387 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4388 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4390 test -z "$LD" && LD="$ac_prog"
4393 # If it fails, then pretend we aren't using GCC.
4397 # If it is relative, then search for the first ld in PATH.
4401 elif test "$with_gnu_ld" = yes; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4403 $as_echo_n "checking for GNU ld... " >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4406 $as_echo_n "checking for non-GNU ld... " >&6; }
4408 if ${lt_cv_path_LD+:} false; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -z "$LD"; then
4412 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4413 for ac_dir in $PATH; do
4415 test -z "$ac_dir" && ac_dir=.
4416 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4417 lt_cv_path_LD="$ac_dir/$ac_prog"
4418 # Check to see if the program is GNU ld. I'd rather use --version,
4419 # but apparently some variants of GNU ld only accept -v.
4420 # Break only if it was the GNU/non-GNU ld that we prefer.
4421 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4422 *GNU* | *'with BFD'*)
4423 test "$with_gnu_ld" != no && break
4426 test "$with_gnu_ld" != yes && break
4433 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4438 if test -n "$LD"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4440 $as_echo "$LD" >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4445 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4447 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4448 if ${lt_cv_prog_gnu_ld+:} false; then :
4449 $as_echo_n "(cached) " >&6
4451 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4452 case `$LD -v 2>&1 </dev/null` in
4453 *GNU* | *'with BFD'*)
4454 lt_cv_prog_gnu_ld=yes
4457 lt_cv_prog_gnu_ld=no
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4462 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4463 with_gnu_ld=$lt_cv_prog_gnu_ld
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4474 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4475 if ${lt_cv_path_NM+:} false; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -n "$NM"; then
4479 # Let the user override the test.
4482 lt_nm_to_check="${ac_tool_prefix}nm"
4483 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4484 lt_nm_to_check="$lt_nm_to_check nm"
4486 for lt_tmp_nm in $lt_nm_to_check; do
4487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4488 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4490 test -z "$ac_dir" && ac_dir=.
4491 tmp_nm="$ac_dir/$lt_tmp_nm"
4492 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4493 # Check to see if the nm accepts a BSD-compat flag.
4494 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4495 # nm: unknown option "B" ignored
4496 # Tru64's nm complains that /dev/null is an invalid object file
4497 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4498 */dev/null* | *'Invalid file or object type'*)
4499 lt_cv_path_NM="$tmp_nm -B"
4503 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4505 lt_cv_path_NM="$tmp_nm -p"
4509 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4510 continue # so that we can try to find one that supports BSD flags
4519 : ${lt_cv_path_NM=no}
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4523 $as_echo "$lt_cv_path_NM" >&6; }
4524 if test "$lt_cv_path_NM" != "no"; then
4527 # Didn't find any BSD compatible name lister, look for dumpbin.
4528 if test -n "$DUMPBIN"; then :
4529 # Let the user override the test.
4531 if test -n "$ac_tool_prefix"; then
4532 for ac_prog in dumpbin "link -dump"
4534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4535 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_DUMPBIN+:} false; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$DUMPBIN"; then
4542 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 DUMPBIN=$ac_cv_prog_DUMPBIN
4562 if test -n "$DUMPBIN"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4564 $as_echo "$DUMPBIN" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4571 test -n "$DUMPBIN" && break
4574 if test -z "$DUMPBIN"; then
4575 ac_ct_DUMPBIN=$DUMPBIN
4576 for ac_prog in dumpbin "link -dump"
4578 # Extract the first word of "$ac_prog", so it can be a program name with args.
4579 set dummy $ac_prog; ac_word=$2
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$ac_ct_DUMPBIN"; then
4586 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4606 if test -n "$ac_ct_DUMPBIN"; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4608 $as_echo "$ac_ct_DUMPBIN" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4615 test -n "$ac_ct_DUMPBIN" && break
4618 if test "x$ac_ct_DUMPBIN" = x; then
4621 case $cross_compiling:$ac_tool_warned in
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4625 ac_tool_warned=yes ;;
4627 DUMPBIN=$ac_ct_DUMPBIN
4631 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4633 DUMPBIN="$DUMPBIN -symbols"
4641 if test "$DUMPBIN" != ":"; then
4645 test -z "$NM" && NM=nm
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4653 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4654 if ${lt_cv_nm_interface+:} false; then :
4655 $as_echo_n "(cached) " >&6
4657 lt_cv_nm_interface="BSD nm"
4658 echo "int some_variable = 0;" > conftest.$ac_ext
4659 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4660 (eval "$ac_compile" 2>conftest.err)
4661 cat conftest.err >&5
4662 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4663 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4664 cat conftest.err >&5
4665 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4666 cat conftest.out >&5
4667 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4668 lt_cv_nm_interface="MS dumpbin"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4673 $as_echo "$lt_cv_nm_interface" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4676 $as_echo_n "checking whether ln -s works... " >&6; }
4678 if test "$LN_S" = "ln -s"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4680 $as_echo "yes" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4683 $as_echo "no, using $LN_S" >&6; }
4686 # find the maximum length of command line arguments
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4688 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4689 if ${lt_cv_sys_max_cmd_len+:} false; then :
4690 $as_echo_n "(cached) " >&6
4697 # On DJGPP, this test can blow up pretty badly due to problems in libc
4698 # (any single argument exceeding 2000 bytes causes a buffer overrun
4699 # during glob expansion). Even if it were fixed, the result of this
4700 # check would be larger than it should be.
4701 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4705 # Under GNU Hurd, this test is not required because there is
4706 # no limit to the length of command line arguments.
4707 # Libtool will interpret -1 as no limit whatsoever
4708 lt_cv_sys_max_cmd_len=-1;
4711 cygwin* | mingw* | cegcc*)
4712 # On Win9x/ME, this test blows up -- it succeeds, but takes
4713 # about 5 minutes as the teststring grows exponentially.
4714 # Worse, since 9x/ME are not pre-emptively multitasking,
4715 # you end up with a "frozen" computer, even though with patience
4716 # the test eventually succeeds (with a max line length of 256k).
4717 # Instead, let's just punt: use the minimum linelength reported by
4718 # all of the supported platforms: 8192 (on NT/2K/XP).
4719 lt_cv_sys_max_cmd_len=8192;
4723 # On MiNT this can take a long time and run out of memory.
4724 lt_cv_sys_max_cmd_len=8192;
4728 # On AmigaOS with pdksh, this test takes hours, literally.
4729 # So we just punt and use a minimum line length of 8192.
4730 lt_cv_sys_max_cmd_len=8192;
4733 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4734 # This has been around since 386BSD, at least. Likely further.
4735 if test -x /sbin/sysctl; then
4736 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4737 elif test -x /usr/sbin/sysctl; then
4738 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4740 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4742 # And add a safety zone
4743 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4744 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4748 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4749 lt_cv_sys_max_cmd_len=196608
4753 # The test takes a long time on OS/2.
4754 lt_cv_sys_max_cmd_len=8192
4758 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4759 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4760 # nice to cause kernel panics so lets avoid the loop below.
4761 # First set a reasonable default.
4762 lt_cv_sys_max_cmd_len=16384
4764 if test -x /sbin/sysconfig; then
4765 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4766 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4771 lt_cv_sys_max_cmd_len=102400
4773 sysv5* | sco5v6* | sysv4.2uw2*)
4774 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4775 if test -n "$kargmax"; then
4776 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4778 lt_cv_sys_max_cmd_len=32768
4782 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4783 if test -n "$lt_cv_sys_max_cmd_len"; then
4784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4785 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4787 # Make teststring a little bigger before we do anything with it.
4788 # a 1K string should be a reasonable start.
4789 for i in 1 2 3 4 5 6 7 8 ; do
4790 teststring=$teststring$teststring
4792 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4793 # If test is not a shell built-in, we'll probably end up computing a
4794 # maximum length that is only half of the actual maximum length, but
4796 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4797 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4798 test $i != 17 # 1/2 MB should be enough
4801 teststring=$teststring$teststring
4803 # Only check the string length outside the loop.
4804 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4806 # Add a significant safety factor because C++ compilers can tack on
4807 # massive amounts of additional arguments before passing them to the
4808 # linker. It appears as though 1/2 is a usable value.
4809 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4816 if test -n $lt_cv_sys_max_cmd_len ; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4818 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4821 $as_echo "none" >&6; }
4823 max_cmd_len=$lt_cv_sys_max_cmd_len
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4835 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4836 # Try some XSI features
4839 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4841 && eval 'test $(( 1 + 1 )) -eq 2 \
4842 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4845 $as_echo "$xsi_shell" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4849 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4851 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4853 && lt_shell_append=yes
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4855 $as_echo "$lt_shell_append" >&6; }
4858 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4868 # test EBCDIC or ASCII
4869 case `echo X|tr X '\101'` in
4870 A) # ASCII based system
4871 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4872 lt_SP2NL='tr \040 \012'
4873 lt_NL2SP='tr \015\012 \040\040'
4875 *) # EBCDIC based system
4876 lt_SP2NL='tr \100 \n'
4877 lt_NL2SP='tr \r\n \100\100'
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4890 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4891 if ${lt_cv_to_host_file_cmd+:} false; then :
4892 $as_echo_n "(cached) " >&6
4897 *-*-mingw* ) # actually msys
4898 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4901 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4903 * ) # otherwise, assume *nix
4904 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4910 *-*-mingw* ) # actually msys
4911 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4914 lt_cv_to_host_file_cmd=func_convert_file_noop
4916 * ) # otherwise, assume *nix
4917 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4921 * ) # unhandled hosts (and "normal" native builds)
4922 lt_cv_to_host_file_cmd=func_convert_file_noop
4928 to_host_file_cmd=$lt_cv_to_host_file_cmd
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4930 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4937 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4938 if ${lt_cv_to_tool_file_cmd+:} false; then :
4939 $as_echo_n "(cached) " >&6
4941 #assume ordinary cross tools, or native build.
4942 lt_cv_to_tool_file_cmd=func_convert_file_noop
4946 *-*-mingw* ) # actually msys
4947 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4955 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4957 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4964 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4965 if ${lt_cv_ld_reload_flag+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 lt_cv_ld_reload_flag='-r'
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4971 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4972 reload_flag=$lt_cv_ld_reload_flag
4973 case $reload_flag in
4975 *) reload_flag=" $reload_flag" ;;
4977 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4979 cygwin* | mingw* | pw32* | cegcc*)
4980 if test "$GCC" != yes; then
4985 if test "$GCC" = yes; then
4986 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4988 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_OBJDUMP+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$OBJDUMP"; then
5010 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 OBJDUMP=$ac_cv_prog_OBJDUMP
5030 if test -n "$OBJDUMP"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5032 $as_echo "$OBJDUMP" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5040 if test -z "$ac_cv_prog_OBJDUMP"; then
5041 ac_ct_OBJDUMP=$OBJDUMP
5042 # Extract the first word of "objdump", so it can be a program name with args.
5043 set dummy objdump; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$ac_ct_OBJDUMP"; then
5050 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5070 if test -n "$ac_ct_OBJDUMP"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5072 $as_echo "$ac_ct_OBJDUMP" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5078 if test "x$ac_ct_OBJDUMP" = x; then
5081 case $cross_compiling:$ac_tool_warned in
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned=yes ;;
5087 OBJDUMP=$ac_ct_OBJDUMP
5090 OBJDUMP="$ac_cv_prog_OBJDUMP"
5093 test -z "$OBJDUMP" && OBJDUMP=objdump
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5104 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5105 if ${lt_cv_deplibs_check_method+:} false; then :
5106 $as_echo_n "(cached) " >&6
5108 lt_cv_file_magic_cmd='$MAGIC_CMD'
5109 lt_cv_file_magic_test_file=
5110 lt_cv_deplibs_check_method='unknown'
5111 # Need to set the preceding variable on all platforms that support
5112 # interlibrary dependencies.
5113 # 'none' -- dependencies not supported.
5114 # `unknown' -- same as none, but documents that we really don't know.
5115 # 'pass_all' -- all dependencies passed with no checks.
5116 # 'test_compile' -- check by making test program.
5117 # 'file_magic [[regex]]' -- check by looking for files in library path
5118 # which responds to the $file_magic_cmd with a given extended regex.
5119 # If you have `file' or equivalent on your system and you're not sure
5120 # whether `pass_all' will *always* work, you probably want this one.
5124 lt_cv_deplibs_check_method=pass_all
5128 lt_cv_deplibs_check_method=pass_all
5132 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5133 lt_cv_file_magic_cmd='/usr/bin/file -L'
5134 lt_cv_file_magic_test_file=/shlib/libc.so
5138 # func_win32_libid is a shell function defined in ltmain.sh
5139 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5140 lt_cv_file_magic_cmd='func_win32_libid'
5144 # Base MSYS/MinGW do not provide the 'file' command needed by
5145 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5146 # unless we find 'file', for example because we are cross-compiling.
5147 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5148 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5149 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5150 lt_cv_file_magic_cmd='func_win32_libid'
5152 # Keep this pattern in sync with the one in func_win32_libid.
5153 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5154 lt_cv_file_magic_cmd='$OBJDUMP -f'
5159 # use the weaker test based on 'objdump'. See mingw*.
5160 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5161 lt_cv_file_magic_cmd='$OBJDUMP -f'
5164 darwin* | rhapsody*)
5165 lt_cv_deplibs_check_method=pass_all
5168 freebsd* | dragonfly*)
5169 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5172 # Not sure whether the presence of OpenBSD here was a mistake.
5173 # Let's accept both of them until this is cleared up.
5174 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5175 lt_cv_file_magic_cmd=/usr/bin/file
5176 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5180 lt_cv_deplibs_check_method=pass_all
5185 lt_cv_deplibs_check_method=pass_all
5189 lt_cv_deplibs_check_method=pass_all
5192 hpux10.20* | hpux11*)
5193 lt_cv_file_magic_cmd=/usr/bin/file
5196 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5197 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5200 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]'
5201 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5204 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5205 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5211 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5212 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5215 irix5* | irix6* | nonstopux*)
5217 *-32|*"-32 ") libmagic=32-bit;;
5218 *-n32|*"-n32 ") libmagic=N32;;
5219 *-64|*"-64 ") libmagic=64-bit;;
5220 *) libmagic=never-match;;
5222 lt_cv_deplibs_check_method=pass_all
5225 # This must be glibc/ELF.
5226 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5227 lt_cv_deplibs_check_method=pass_all
5231 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5232 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5234 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5239 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5240 lt_cv_file_magic_cmd=/usr/bin/file
5241 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5245 lt_cv_deplibs_check_method=pass_all
5249 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5252 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5256 osf3* | osf4* | osf5*)
5257 lt_cv_deplibs_check_method=pass_all
5261 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_deplibs_check_method=pass_all
5268 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5269 lt_cv_deplibs_check_method=pass_all
5273 case $host_vendor in
5275 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]'
5276 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5279 lt_cv_deplibs_check_method=pass_all
5282 lt_cv_file_magic_cmd='/bin/file'
5283 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5286 lt_cv_file_magic_cmd='/bin/file'
5287 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5288 lt_cv_file_magic_test_file=/lib/libc.so
5291 lt_cv_deplibs_check_method=pass_all
5294 lt_cv_deplibs_check_method=pass_all
5300 lt_cv_deplibs_check_method=pass_all
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5306 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5310 if test "$build" = "$host"; then
5313 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5316 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5322 file_magic_cmd=$lt_cv_file_magic_cmd
5323 deplibs_check_method=$lt_cv_deplibs_check_method
5324 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_DLLTOOL+:} false; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$DLLTOOL"; then
5356 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 DLLTOOL=$ac_cv_prog_DLLTOOL
5376 if test -n "$DLLTOOL"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5378 $as_echo "$DLLTOOL" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_DLLTOOL"; then
5387 ac_ct_DLLTOOL=$DLLTOOL
5388 # Extract the first word of "dlltool", so it can be a program name with args.
5389 set dummy dlltool; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$ac_ct_DLLTOOL"; then
5396 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5416 if test -n "$ac_ct_DLLTOOL"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5418 $as_echo "$ac_ct_DLLTOOL" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_DLLTOOL" = x; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5433 DLLTOOL=$ac_ct_DLLTOOL
5436 DLLTOOL="$ac_cv_prog_DLLTOOL"
5439 test -z "$DLLTOOL" && DLLTOOL=dlltool
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5451 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5452 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5453 $as_echo_n "(cached) " >&6
5455 lt_cv_sharedlib_from_linklib_cmd='unknown'
5458 cygwin* | mingw* | pw32* | cegcc*)
5459 # two different shell functions defined in ltmain.sh
5460 # decide which to use based on capabilities of $DLLTOOL
5461 case `$DLLTOOL --help 2>&1` in
5462 *--identify-strict*)
5463 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5466 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5471 # fallback: assume linklib IS sharedlib
5472 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5478 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5479 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5480 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5489 if test -n "$ac_tool_prefix"; then
5492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_AR+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 if test -n "$AR"; then
5500 ac_cv_prog_AR="$AR" # Let the user override the test.
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 if test -n "$AR"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5522 $as_echo "$AR" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5529 test -n "$AR" && break
5532 if test -z "$AR"; then
5536 # Extract the first word of "$ac_prog", so it can be a program name with args.
5537 set dummy $ac_prog; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5541 $as_echo_n "(cached) " >&6
5543 if test -n "$ac_ct_AR"; then
5544 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_ac_ct_AR="$ac_prog"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5564 if test -n "$ac_ct_AR"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5566 $as_echo "$ac_ct_AR" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5573 test -n "$ac_ct_AR" && break
5576 if test "x$ac_ct_AR" = x; then
5579 case $cross_compiling:$ac_tool_warned in
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583 ac_tool_warned=yes ;;
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5603 $as_echo_n "checking for archiver @FILE support... " >&6; }
5604 if ${lt_cv_ar_at_file+:} false; then :
5605 $as_echo_n "(cached) " >&6
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5619 if ac_fn_c_try_compile "$LINENO"; then :
5620 echo conftest.$ac_objext > conftest.lst
5621 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5623 (eval $lt_ar_try) 2>&5
5625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5626 test $ac_status = 0; }
5627 if test "$ac_status" -eq 0; then
5628 # Ensure the archiver fails upon bogus file names.
5629 rm -f conftest.$ac_objext libconftest.a
5630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5631 (eval $lt_ar_try) 2>&5
5633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5634 test $ac_status = 0; }
5635 if test "$ac_status" -ne 0; then
5639 rm -f conftest.* libconftest.a
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5646 $as_echo "$lt_cv_ar_at_file" >&6; }
5648 if test "x$lt_cv_ar_at_file" = xno; then
5651 archiver_list_spec=$lt_cv_ar_at_file
5660 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5662 set dummy ${ac_tool_prefix}strip; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_STRIP+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$STRIP"; then
5669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 STRIP=$ac_cv_prog_STRIP
5689 if test -n "$STRIP"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5691 $as_echo "$STRIP" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5699 if test -z "$ac_cv_prog_STRIP"; then
5701 # Extract the first word of "strip", so it can be a program name with args.
5702 set dummy strip; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$ac_ct_STRIP"; then
5709 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_ac_ct_STRIP="strip"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5729 if test -n "$ac_ct_STRIP"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5731 $as_echo "$ac_ct_STRIP" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5737 if test "x$ac_ct_STRIP" = x; then
5740 case $cross_compiling:$ac_tool_warned in
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744 ac_tool_warned=yes ;;
5749 STRIP="$ac_cv_prog_STRIP"
5752 test -z "$STRIP" && STRIP=:
5759 if test -n "$ac_tool_prefix"; then
5760 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5761 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_RANLIB+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$RANLIB"; then
5768 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 RANLIB=$ac_cv_prog_RANLIB
5788 if test -n "$RANLIB"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5790 $as_echo "$RANLIB" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5798 if test -z "$ac_cv_prog_RANLIB"; then
5799 ac_ct_RANLIB=$RANLIB
5800 # Extract the first word of "ranlib", so it can be a program name with args.
5801 set dummy ranlib; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$ac_ct_RANLIB"; then
5808 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_prog_ac_ct_RANLIB="ranlib"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5828 if test -n "$ac_ct_RANLIB"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5830 $as_echo "$ac_ct_RANLIB" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5836 if test "x$ac_ct_RANLIB" = x; then
5839 case $cross_compiling:$ac_tool_warned in
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5845 RANLIB=$ac_ct_RANLIB
5848 RANLIB="$ac_cv_prog_RANLIB"
5851 test -z "$RANLIB" && RANLIB=:
5858 # Determine commands to create old-style static archives.
5859 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5860 old_postinstall_cmds='chmod 644 $oldlib'
5861 old_postuninstall_cmds=
5863 if test -n "$RANLIB"; then
5866 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5869 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5872 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5877 lock_old_archive_extraction=yes ;;
5879 lock_old_archive_extraction=no ;;
5920 # If no C compiler was specified, use CC.
5923 # If no C compiler flags were specified, use CFLAGS.
5924 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5926 # Allow CC to be a program name with arguments.
5930 # Check for command to grab the raw symbol name followed by C symbol from nm.
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5932 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5933 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5934 $as_echo_n "(cached) " >&6
5937 # These are sane defaults that work on at least a few old systems.
5938 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5940 # Character class describing NM global symbol codes.
5941 symcode='[BCDEGRST]'
5943 # Regexp to match symbols that can be accessed directly from C.
5944 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5946 # Define system-specific variables.
5951 cygwin* | mingw* | pw32* | cegcc*)
5952 symcode='[ABCDGISTW]'
5955 if test "$host_cpu" = ia64; then
5956 symcode='[ABCDEGRST]'
5960 symcode='[BCDEGRST]'
5963 symcode='[BCDEGQRST]'
5974 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5982 # If we're using GNU nm, then use its standard symbol codes.
5983 case `$NM -V 2>&1` in
5984 *GNU* | *'with BFD'*)
5985 symcode='[ABCDGIRSTW]' ;;
5988 # Transform an extracted symbol line into a proper C declaration.
5989 # Some systems (esp. on ia64) link data and code symbols differently,
5990 # so use this general approach.
5991 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5993 # Transform an extracted symbol line into symbol name and symbol address
5994 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5995 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'"
5997 # Handle CRLF in mingw tool chain
6001 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6005 # Try without a prefix underscore, then with it.
6006 for ac_symprfx in "" "_"; do
6008 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6009 symxfrm="\\1 $ac_symprfx\\2 \\2"
6011 # Write the raw and C identifiers.
6012 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6013 # Fake it for dumpbin and say T for any non-static function
6014 # and D for any global variable.
6015 # Also find C++ and __fastcall symbols from MSVC++,
6016 # which start with @ or ?.
6017 lt_cv_sys_global_symbol_pipe="$AWK '"\
6018 " {last_section=section; section=\$ 3};"\
6019 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6020 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6021 " \$ 0!~/External *\|/{next};"\
6022 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6023 " {if(hide[section]) next};"\
6024 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6025 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6026 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6027 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6028 " ' prfx=^$ac_symprfx"
6030 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6032 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6034 # Check to see that the pipe works correctly.
6038 cat > conftest.$ac_ext <<_LT_EOF
6043 void nm_test_func(void);
6044 void nm_test_func(void){}
6048 int main(){nm_test_var='a';nm_test_func();return(0);}
6051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6052 (eval $ac_compile) 2>&5
6054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6055 test $ac_status = 0; }; then
6056 # Now try to grab the symbols.
6058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6059 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6062 test $ac_status = 0; } && test -s "$nlist"; then
6063 # Try sorting and uniquifying the output.
6064 if sort "$nlist" | uniq > "$nlist"T; then
6065 mv -f "$nlist"T "$nlist"
6070 # Make sure that we snagged all the symbols we need.
6071 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6072 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6073 cat <<_LT_EOF > conftest.$ac_ext
6074 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6075 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6076 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6077 relocations are performed -- see ld's documentation on pseudo-relocs. */
6078 # define LT_DLSYM_CONST
6079 #elif defined(__osf__)
6080 /* This system does not cope well with relocations in const data. */
6081 # define LT_DLSYM_CONST
6083 # define LT_DLSYM_CONST const
6091 # Now generate the symbol file.
6092 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6094 cat <<_LT_EOF >> conftest.$ac_ext
6096 /* The mapping between symbol names and symbols. */
6097 LT_DLSYM_CONST struct {
6101 lt__PROGRAM__LTX_preloaded_symbols[] =
6103 { "@PROGRAM@", (void *) 0 },
6105 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6106 cat <<\_LT_EOF >> conftest.$ac_ext
6110 /* This works around a problem in FreeBSD linker */
6111 #ifdef FREEBSD_WORKAROUND
6112 static const void *lt_preloaded_setup() {
6113 return lt__PROGRAM__LTX_preloaded_symbols;
6121 # Now try linking the two files.
6122 mv conftest.$ac_objext conftstm.$ac_objext
6123 lt_globsym_save_LIBS=$LIBS
6124 lt_globsym_save_CFLAGS=$CFLAGS
6125 LIBS="conftstm.$ac_objext"
6126 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6128 (eval $ac_link) 2>&5
6130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6131 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6134 LIBS=$lt_globsym_save_LIBS
6135 CFLAGS=$lt_globsym_save_CFLAGS
6137 echo "cannot find nm_test_func in $nlist" >&5
6140 echo "cannot find nm_test_var in $nlist" >&5
6143 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6146 echo "$progname: failed program was:" >&5
6147 cat conftest.$ac_ext >&5
6149 rm -rf conftest* conftst*
6151 # Do not use the global_symbol_pipe unless it works.
6152 if test "$pipe_works" = yes; then
6155 lt_cv_sys_global_symbol_pipe=
6161 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6162 lt_cv_sys_global_symbol_to_cdecl=
6164 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6166 $as_echo "failed" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6169 $as_echo "ok" >&6; }
6172 # Response file support.
6173 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6174 nm_file_list_spec='@'
6175 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6176 nm_file_list_spec='@'
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6206 $as_echo_n "checking for sysroot... " >&6; }
6208 # Check whether --with-sysroot was given.
6209 if test "${with_sysroot+set}" = set; then :
6210 withval=$with_sysroot;
6217 case ${with_sysroot} in #(
6219 if test "$GCC" = yes; then
6220 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6224 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6230 $as_echo "${with_sysroot}" >&6; }
6231 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6236 $as_echo "${lt_sysroot:-no}" >&6; }
6242 # Check whether --enable-libtool-lock was given.
6243 if test "${enable_libtool_lock+set}" = set; then :
6244 enableval=$enable_libtool_lock;
6247 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6249 # Some flags need to be propagated to the compiler or linker for good
6253 # Find out which ABI we are using.
6254 echo 'int i;' > conftest.$ac_ext
6255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256 (eval $ac_compile) 2>&5
6258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6259 test $ac_status = 0; }; then
6260 case `/usr/bin/file conftest.$ac_objext` in
6272 # Find out which ABI we are using.
6273 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6275 (eval $ac_compile) 2>&5
6277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6278 test $ac_status = 0; }; then
6279 if test "$lt_cv_prog_gnu_ld" = yes; then
6280 case `/usr/bin/file conftest.$ac_objext` in
6282 LD="${LD-ld} -melf32bsmip"
6285 LD="${LD-ld} -melf32bmipn32"
6288 LD="${LD-ld} -melf64bmip"
6292 case `/usr/bin/file conftest.$ac_objext` in
6308 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6309 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6310 # Find out which ABI we are using.
6311 echo 'int i;' > conftest.$ac_ext
6312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6313 (eval $ac_compile) 2>&5
6315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316 test $ac_status = 0; }; then
6317 case `/usr/bin/file conftest.o` in
6320 x86_64-*kfreebsd*-gnu)
6321 LD="${LD-ld} -m elf_i386_fbsd"
6324 LD="${LD-ld} -m elf_i386"
6326 ppc64-*linux*|powerpc64-*linux*)
6327 LD="${LD-ld} -m elf32ppclinux"
6330 LD="${LD-ld} -m elf_s390"
6333 LD="${LD-ld} -m elf32_sparc"
6339 x86_64-*kfreebsd*-gnu)
6340 LD="${LD-ld} -m elf_x86_64_fbsd"
6343 LD="${LD-ld} -m elf_x86_64"
6345 ppc*-*linux*|powerpc*-*linux*)
6346 LD="${LD-ld} -m elf64ppc"
6348 s390*-*linux*|s390*-*tpf*)
6349 LD="${LD-ld} -m elf64_s390"
6352 LD="${LD-ld} -m elf64_sparc"
6362 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6363 SAVE_CFLAGS="$CFLAGS"
6364 CFLAGS="$CFLAGS -belf"
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6366 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6367 if ${lt_cv_cc_needs_belf+:} false; then :
6368 $as_echo_n "(cached) " >&6
6371 ac_cpp='$CPP $CPPFLAGS'
6372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6387 if ac_fn_c_try_link "$LINENO"; then :
6388 lt_cv_cc_needs_belf=yes
6390 lt_cv_cc_needs_belf=no
6392 rm -f core conftest.err conftest.$ac_objext \
6393 conftest$ac_exeext conftest.$ac_ext
6395 ac_cpp='$CPP $CPPFLAGS'
6396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6402 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6403 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6404 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6405 CFLAGS="$SAVE_CFLAGS"
6409 # Find out which ABI we are using.
6410 echo 'int i;' > conftest.$ac_ext
6411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6412 (eval $ac_compile) 2>&5
6414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6415 test $ac_status = 0; }; then
6416 case `/usr/bin/file conftest.o` in
6418 case $lt_cv_prog_gnu_ld in
6422 LD="${LD-ld} -m elf_x86_64"
6425 LD="${LD-ld} -m elf64_sparc"
6428 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6429 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6434 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6446 need_locks="$enable_libtool_lock"
6448 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}mt; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6454 $as_echo_n "(cached) " >&6
6456 if test -n "$MANIFEST_TOOL"; then
6457 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6477 if test -n "$MANIFEST_TOOL"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6479 $as_echo "$MANIFEST_TOOL" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6487 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6488 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6489 # Extract the first word of "mt", so it can be a program name with args.
6490 set dummy mt; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6494 $as_echo_n "(cached) " >&6
6496 if test -n "$ac_ct_MANIFEST_TOOL"; then
6497 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6517 if test -n "$ac_ct_MANIFEST_TOOL"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6519 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6525 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6528 case $cross_compiling:$ac_tool_warned in
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6532 ac_tool_warned=yes ;;
6534 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6537 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6540 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6542 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6543 if ${lt_cv_path_mainfest_tool+:} false; then :
6544 $as_echo_n "(cached) " >&6
6546 lt_cv_path_mainfest_tool=no
6547 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6548 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6549 cat conftest.err >&5
6550 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6551 lt_cv_path_mainfest_tool=yes
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6556 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6557 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6567 rhapsody* | darwin*)
6568 if test -n "$ac_tool_prefix"; then
6569 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6570 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6574 $as_echo_n "(cached) " >&6
6576 if test -n "$DSYMUTIL"; then
6577 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6597 if test -n "$DSYMUTIL"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6599 $as_echo "$DSYMUTIL" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6607 if test -z "$ac_cv_prog_DSYMUTIL"; then
6608 ac_ct_DSYMUTIL=$DSYMUTIL
6609 # Extract the first word of "dsymutil", so it can be a program name with args.
6610 set dummy dsymutil; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6614 $as_echo_n "(cached) " >&6
6616 if test -n "$ac_ct_DSYMUTIL"; then
6617 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6637 if test -n "$ac_ct_DSYMUTIL"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6639 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6645 if test "x$ac_ct_DSYMUTIL" = x; then
6648 case $cross_compiling:$ac_tool_warned in
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6652 ac_tool_warned=yes ;;
6654 DSYMUTIL=$ac_ct_DSYMUTIL
6657 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6660 if test -n "$ac_tool_prefix"; then
6661 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6662 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_NMEDIT+:} false; then :
6666 $as_echo_n "(cached) " >&6
6668 if test -n "$NMEDIT"; then
6669 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 NMEDIT=$ac_cv_prog_NMEDIT
6689 if test -n "$NMEDIT"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6691 $as_echo "$NMEDIT" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6699 if test -z "$ac_cv_prog_NMEDIT"; then
6700 ac_ct_NMEDIT=$NMEDIT
6701 # Extract the first word of "nmedit", so it can be a program name with args.
6702 set dummy nmedit; ac_word=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6706 $as_echo_n "(cached) " >&6
6708 if test -n "$ac_ct_NMEDIT"; then
6709 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6729 if test -n "$ac_ct_NMEDIT"; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6731 $as_echo "$ac_ct_NMEDIT" >&6; }
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6737 if test "x$ac_ct_NMEDIT" = x; then
6740 case $cross_compiling:$ac_tool_warned in
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744 ac_tool_warned=yes ;;
6746 NMEDIT=$ac_ct_NMEDIT
6749 NMEDIT="$ac_cv_prog_NMEDIT"
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_LIPO+:} false; then :
6758 $as_echo_n "(cached) " >&6
6760 if test -n "$LIPO"; then
6761 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 LIPO=$ac_cv_prog_LIPO
6781 if test -n "$LIPO"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6783 $as_echo "$LIPO" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_LIPO"; then
6793 # Extract the first word of "lipo", so it can be a program name with args.
6794 set dummy lipo; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6798 $as_echo_n "(cached) " >&6
6800 if test -n "$ac_ct_LIPO"; then
6801 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_LIPO="lipo"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6821 if test -n "$ac_ct_LIPO"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6823 $as_echo "$ac_ct_LIPO" >&6; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_LIPO" = x; then
6832 case $cross_compiling:$ac_tool_warned in
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6841 LIPO="$ac_cv_prog_LIPO"
6844 if test -n "$ac_tool_prefix"; then
6845 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6846 set dummy ${ac_tool_prefix}otool; ac_word=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if ${ac_cv_prog_OTOOL+:} false; then :
6850 $as_echo_n "(cached) " >&6
6852 if test -n "$OTOOL"; then
6853 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 test -z "$as_dir" && as_dir=.
6860 for ac_exec_ext in '' $ac_executable_extensions; do
6861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 OTOOL=$ac_cv_prog_OTOOL
6873 if test -n "$OTOOL"; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6875 $as_echo "$OTOOL" >&6; }
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 $as_echo "no" >&6; }
6883 if test -z "$ac_cv_prog_OTOOL"; then
6885 # Extract the first word of "otool", so it can be a program name with args.
6886 set dummy otool; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6890 $as_echo_n "(cached) " >&6
6892 if test -n "$ac_ct_OTOOL"; then
6893 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_OTOOL="otool"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6913 if test -n "$ac_ct_OTOOL"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6915 $as_echo "$ac_ct_OTOOL" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6921 if test "x$ac_ct_OTOOL" = x; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6933 OTOOL="$ac_cv_prog_OTOOL"
6936 if test -n "$ac_tool_prefix"; then
6937 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6938 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_OTOOL64+:} false; then :
6942 $as_echo_n "(cached) " >&6
6944 if test -n "$OTOOL64"; then
6945 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 OTOOL64=$ac_cv_prog_OTOOL64
6965 if test -n "$OTOOL64"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6967 $as_echo "$OTOOL64" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6975 if test -z "$ac_cv_prog_OTOOL64"; then
6976 ac_ct_OTOOL64=$OTOOL64
6977 # Extract the first word of "otool64", so it can be a program name with args.
6978 set dummy otool64; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6982 $as_echo_n "(cached) " >&6
6984 if test -n "$ac_ct_OTOOL64"; then
6985 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_ac_ct_OTOOL64="otool64"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7005 if test -n "$ac_ct_OTOOL64"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7007 $as_echo "$ac_ct_OTOOL64" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7013 if test "x$ac_ct_OTOOL64" = x; then
7016 case $cross_compiling:$ac_tool_warned in
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020 ac_tool_warned=yes ;;
7022 OTOOL64=$ac_ct_OTOOL64
7025 OTOOL64="$ac_cv_prog_OTOOL64"
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7055 $as_echo_n "checking for -single_module linker flag... " >&6; }
7056 if ${lt_cv_apple_cc_single_mod+:} false; then :
7057 $as_echo_n "(cached) " >&6
7059 lt_cv_apple_cc_single_mod=no
7060 if test -z "${LT_MULTI_MODULE}"; then
7061 # By default we will add the -single_module flag. You can override
7062 # by either setting the environment variable LT_MULTI_MODULE
7063 # non-empty at configure time, or by adding -multi_module to the
7065 rm -rf libconftest.dylib*
7066 echo "int foo(void){return 1;}" > conftest.c
7067 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7068 -dynamiclib -Wl,-single_module conftest.c" >&5
7069 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7070 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7072 # If there is a non-empty error log, and "single_module"
7073 # appears in it, assume the flag caused a linker warning
7074 if test -s conftest.err && $GREP single_module conftest.err; then
7075 cat conftest.err >&5
7076 # Otherwise, if the output was created with a 0 exit code from
7077 # the compiler, it worked.
7078 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7079 lt_cv_apple_cc_single_mod=yes
7081 cat conftest.err >&5
7083 rm -rf libconftest.dylib*
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7088 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7091 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7092 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 lt_cv_ld_exported_symbols_list=no
7096 save_LDFLAGS=$LDFLAGS
7097 echo "_main" > conftest.sym
7098 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7110 if ac_fn_c_try_link "$LINENO"; then :
7111 lt_cv_ld_exported_symbols_list=yes
7113 lt_cv_ld_exported_symbols_list=no
7115 rm -f core conftest.err conftest.$ac_objext \
7116 conftest$ac_exeext conftest.$ac_ext
7117 LDFLAGS="$save_LDFLAGS"
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7121 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7124 $as_echo_n "checking for -force_load linker flag... " >&6; }
7125 if ${lt_cv_ld_force_load+:} false; then :
7126 $as_echo_n "(cached) " >&6
7128 lt_cv_ld_force_load=no
7129 cat > conftest.c << _LT_EOF
7130 int forced_loaded() { return 2;}
7132 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7133 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7134 echo "$AR cru libconftest.a conftest.o" >&5
7135 $AR cru libconftest.a conftest.o 2>&5
7136 echo "$RANLIB libconftest.a" >&5
7137 $RANLIB libconftest.a 2>&5
7138 cat > conftest.c << _LT_EOF
7139 int main() { return 0;}
7141 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7142 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7144 if test -s conftest.err && $GREP force_load conftest.err; then
7145 cat conftest.err >&5
7146 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7147 lt_cv_ld_force_load=yes
7149 cat conftest.err >&5
7151 rm -f conftest.err libconftest.a conftest conftest.c
7152 rm -rf conftest.dSYM
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7156 $as_echo "$lt_cv_ld_force_load" >&6; }
7158 rhapsody* | darwin1.[012])
7159 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7161 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7162 darwin*) # darwin 5.x on
7163 # if running on 10.5 or later, the deployment target defaults
7164 # to the OS version, if on x86, and 10.4, the deployment
7165 # target defaults to 10.4. Don't you love it?
7166 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7167 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7168 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7170 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7172 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7176 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7177 _lt_dar_single_mod='$single_module'
7179 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7180 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7182 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7184 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7185 _lt_dsymutil='~$DSYMUTIL $lib || :'
7193 ac_cpp='$CPP $CPPFLAGS'
7194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7199 # On Suns, sometimes $CPP names a directory.
7200 if test -n "$CPP" && test -d "$CPP"; then
7203 if test -z "$CPP"; then
7204 if ${ac_cv_prog_CPP+:} false; then :
7205 $as_echo_n "(cached) " >&6
7207 # Double quotes because CPP needs to be expanded
7208 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7211 for ac_c_preproc_warn_flag in '' yes
7213 # Use a header file that comes with gcc, so configuring glibc
7214 # with a fresh cross-compiler works.
7215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7216 # <limits.h> exists even on freestanding compilers.
7217 # On the NeXT, cc -E runs the code through the compiler's parser,
7218 # not just through cpp. "Syntax error" is here to catch this case.
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7222 # include <limits.h>
7224 # include <assert.h>
7228 if ac_fn_c_try_cpp "$LINENO"; then :
7231 # Broken: fails on valid input.
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 # OK, works on sane cases. Now check whether nonexistent headers
7237 # can be detected and how.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <ac_nonexistent.h>
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7243 # Broken: success on invalid input.
7246 # Passes both tests.
7250 rm -f conftest.err conftest.i conftest.$ac_ext
7253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7254 rm -f conftest.i conftest.err conftest.$ac_ext
7255 if $ac_preproc_ok; then :
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7268 $as_echo "$CPP" >&6; }
7270 for ac_c_preproc_warn_flag in '' yes
7272 # Use a header file that comes with gcc, so configuring glibc
7273 # with a fresh cross-compiler works.
7274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7275 # <limits.h> exists even on freestanding compilers.
7276 # On the NeXT, cc -E runs the code through the compiler's parser,
7277 # not just through cpp. "Syntax error" is here to catch this case.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7281 # include <limits.h>
7283 # include <assert.h>
7287 if ac_fn_c_try_cpp "$LINENO"; then :
7290 # Broken: fails on valid input.
7293 rm -f conftest.err conftest.i conftest.$ac_ext
7295 # OK, works on sane cases. Now check whether nonexistent headers
7296 # can be detected and how.
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ac_nonexistent.h>
7301 if ac_fn_c_try_cpp "$LINENO"; then :
7302 # Broken: success on invalid input.
7305 # Passes both tests.
7309 rm -f conftest.err conftest.i conftest.$ac_ext
7312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7313 rm -f conftest.i conftest.err conftest.$ac_ext
7314 if $ac_preproc_ok; then :
7317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7320 See \`config.log' for more details" "$LINENO" 5; }
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7331 $as_echo_n "checking for ANSI C header files... " >&6; }
7332 if ${ac_cv_header_stdc+:} false; then :
7333 $as_echo_n "(cached) " >&6
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7350 if ac_fn_c_try_compile "$LINENO"; then :
7351 ac_cv_header_stdc=yes
7353 ac_cv_header_stdc=no
7355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7357 if test $ac_cv_header_stdc = yes; then
7358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7365 $EGREP "memchr" >/dev/null 2>&1; then :
7368 ac_cv_header_stdc=no
7374 if test $ac_cv_header_stdc = yes; then
7375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7382 $EGREP "free" >/dev/null 2>&1; then :
7385 ac_cv_header_stdc=no
7391 if test $ac_cv_header_stdc = yes; then
7392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7393 if test "$cross_compiling" = yes; then :
7396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7400 #if ((' ' & 0x0FF) == 0x020)
7401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7404 # define ISLOWER(c) \
7405 (('a' <= (c) && (c) <= 'i') \
7406 || ('j' <= (c) && (c) <= 'r') \
7407 || ('s' <= (c) && (c) <= 'z'))
7408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7416 for (i = 0; i < 256; i++)
7417 if (XOR (islower (i), ISLOWER (i))
7418 || toupper (i) != TOUPPER (i))
7423 if ac_fn_c_try_run "$LINENO"; then :
7426 ac_cv_header_stdc=no
7428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7429 conftest.$ac_objext conftest.beam conftest.$ac_ext
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7435 $as_echo "$ac_cv_header_stdc" >&6; }
7436 if test $ac_cv_header_stdc = yes; then
7438 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7442 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7443 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7444 inttypes.h stdint.h unistd.h
7446 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7447 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7450 cat >>confdefs.h <<_ACEOF
7451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7459 for ac_header in dlfcn.h
7461 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7463 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7464 cat >>confdefs.h <<_ACEOF
7465 #define HAVE_DLFCN_H 1
7486 # Check whether --enable-shared was given.
7487 if test "${enable_shared+set}" = set; then :
7488 enableval=$enable_shared; p=${PACKAGE-default}
7490 yes) enable_shared=yes ;;
7491 no) enable_shared=no ;;
7494 # Look at the argument we got. We use all the common list separators.
7495 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7496 for pkg in $enableval; do
7498 if test "X$pkg" = "X$p"; then
7519 # Check whether --with-pic was given.
7520 if test "${with_pic+set}" = set; then :
7521 withval=$with_pic; lt_p=${PACKAGE-default}
7523 yes|no) pic_mode=$withval ;;
7526 # Look at the argument we got. We use all the common list separators.
7527 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7528 for lt_pkg in $withval; do
7530 if test "X$lt_pkg" = "X$lt_p"; then
7542 test -z "$pic_mode" && pic_mode=default
7550 # Check whether --enable-fast-install was given.
7551 if test "${enable_fast_install+set}" = set; then :
7552 enableval=$enable_fast_install; p=${PACKAGE-default}
7554 yes) enable_fast_install=yes ;;
7555 no) enable_fast_install=no ;;
7557 enable_fast_install=no
7558 # Look at the argument we got. We use all the common list separators.
7559 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7560 for pkg in $enableval; do
7562 if test "X$pkg" = "X$p"; then
7563 enable_fast_install=yes
7570 enable_fast_install=yes
7583 # This can be used to rebuild libtool when needed
7584 LIBTOOL_DEPS="$ltmain"
7586 # Always use our own libtool.
7587 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7618 test -z "$LN_S" && LN_S="ln -s"
7633 if test -n "${ZSH_VERSION+set}" ; then
7634 setopt NO_GLOB_SUBST
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7638 $as_echo_n "checking for objdir... " >&6; }
7639 if ${lt_cv_objdir+:} false; then :
7640 $as_echo_n "(cached) " >&6
7642 rm -f .libs 2>/dev/null
7643 mkdir .libs 2>/dev/null
7644 if test -d .libs; then
7647 # MS-DOS does not allow filenames that begin with a dot.
7650 rmdir .libs 2>/dev/null
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7653 $as_echo "$lt_cv_objdir" >&6; }
7654 objdir=$lt_cv_objdir
7660 cat >>confdefs.h <<_ACEOF
7661 #define LT_OBJDIR "$lt_cv_objdir/"
7669 # AIX sometimes has problems with the GCC collect2 program. For some
7670 # reason, if we set the COLLECT_NAMES environment variable, the problems
7671 # vanish in a puff of smoke.
7672 if test "X${COLLECT_NAMES+set}" != Xset; then
7674 export COLLECT_NAMES
7681 can_build_shared=yes
7683 # All known linkers require a `.a' archive for static linking (except MSVC,
7684 # which needs '.lib').
7687 with_gnu_ld="$lt_cv_prog_gnu_ld"
7690 old_CFLAGS="$CFLAGS"
7692 # Set sane defaults for various variables
7693 test -z "$CC" && CC=cc
7694 test -z "$LTCC" && LTCC=$CC
7695 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7696 test -z "$LD" && LD=ld
7697 test -z "$ac_objext" && ac_objext=o
7699 for cc_temp in $compiler""; do
7701 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7702 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7707 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7710 # Only perform the check for file, if the check method requires it
7711 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7712 case $deplibs_check_method in
7714 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7716 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7717 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7718 $as_echo_n "(cached) " >&6
7722 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7725 lt_save_MAGIC_CMD="$MAGIC_CMD"
7726 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7727 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7728 for ac_dir in $ac_dummy; do
7730 test -z "$ac_dir" && ac_dir=.
7731 if test -f $ac_dir/${ac_tool_prefix}file; then
7732 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7733 if test -n "$file_magic_test_file"; then
7734 case $deplibs_check_method in
7736 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7737 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7738 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7739 $EGREP "$file_magic_regex" > /dev/null; then
7744 *** Warning: the command libtool uses to detect shared libraries,
7745 *** $file_magic_cmd, produces output that libtool cannot recognize.
7746 *** The result is that libtool may fail to recognize shared libraries
7747 *** as such. This will affect the creation of libtool libraries that
7748 *** depend on shared libraries, but programs linked with such libtool
7749 *** libraries will work regardless of this problem. Nevertheless, you
7750 *** may want to report the problem to your system manager and/or to
7751 *** bug-libtool@gnu.org
7761 MAGIC_CMD="$lt_save_MAGIC_CMD"
7766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7767 if test -n "$MAGIC_CMD"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7769 $as_echo "$MAGIC_CMD" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7779 if test -z "$lt_cv_path_MAGIC_CMD"; then
7780 if test -n "$ac_tool_prefix"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7782 $as_echo_n "checking for file... " >&6; }
7783 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7784 $as_echo_n "(cached) " >&6
7788 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7791 lt_save_MAGIC_CMD="$MAGIC_CMD"
7792 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7793 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7794 for ac_dir in $ac_dummy; do
7796 test -z "$ac_dir" && ac_dir=.
7797 if test -f $ac_dir/file; then
7798 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7799 if test -n "$file_magic_test_file"; then
7800 case $deplibs_check_method in
7802 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7803 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7804 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7805 $EGREP "$file_magic_regex" > /dev/null; then
7810 *** Warning: the command libtool uses to detect shared libraries,
7811 *** $file_magic_cmd, produces output that libtool cannot recognize.
7812 *** The result is that libtool may fail to recognize shared libraries
7813 *** as such. This will affect the creation of libtool libraries that
7814 *** depend on shared libraries, but programs linked with such libtool
7815 *** libraries will work regardless of this problem. Nevertheless, you
7816 *** may want to report the problem to your system manager and/or to
7817 *** bug-libtool@gnu.org
7827 MAGIC_CMD="$lt_save_MAGIC_CMD"
7832 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7833 if test -n "$MAGIC_CMD"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7835 $as_echo "$MAGIC_CMD" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7851 # Use C for the default configuration in the libtool script
7855 ac_cpp='$CPP $CPPFLAGS'
7856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7861 # Source file extension for C test sources.
7864 # Object file extension for compiled C test sources.
7868 # Code to be used in simple compile tests
7869 lt_simple_compile_test_code="int some_variable = 0;"
7871 # Code to be used in simple link tests
7872 lt_simple_link_test_code='int main(){return(0);}'
7880 # If no C compiler was specified, use CC.
7883 # If no C compiler flags were specified, use CFLAGS.
7884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7886 # Allow CC to be a program name with arguments.
7889 # Save the default compiler, since it gets overwritten when the other
7890 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7891 compiler_DEFAULT=$CC
7893 # save warnings/boilerplate of simple test code
7894 ac_outfile=conftest.$ac_objext
7895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7897 _lt_compiler_boilerplate=`cat conftest.err`
7900 ac_outfile=conftest.$ac_objext
7901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7903 _lt_linker_boilerplate=`cat conftest.err`
7908 ## There is no encapsulation within the following macros, do not change
7909 ## the running order or otherwise move them around unless you know exactly
7910 ## what you are doing...
7911 if test -n "$compiler"; then
7913 lt_prog_compiler_no_builtin_flag=
7915 if test "$GCC" = yes; then
7916 case $cc_basename in
7918 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7920 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7924 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7925 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7926 $as_echo_n "(cached) " >&6
7928 lt_cv_prog_compiler_rtti_exceptions=no
7929 ac_outfile=conftest.$ac_objext
7930 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7931 lt_compiler_flag="-fno-rtti -fno-exceptions"
7932 # Insert the option either (1) after the last *FLAGS variable, or
7933 # (2) before a word containing "conftest.", or (3) at the end.
7934 # Note that $ac_compile itself does not contain backslashes and begins
7935 # with a dollar sign (not a hyphen), so the echo should work correctly.
7936 # The option is referenced via a variable to avoid confusing sed.
7937 lt_compile=`echo "$ac_compile" | $SED \
7938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7940 -e 's:$: $lt_compiler_flag:'`
7941 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7942 (eval "$lt_compile" 2>conftest.err)
7944 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 if (exit $ac_status) && test -s "$ac_outfile"; then
7947 # The compiler can only warn and ignore the option if not recognized
7948 # So say no if there are warnings other than the usual output.
7949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7950 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7951 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7952 lt_cv_prog_compiler_rtti_exceptions=yes
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7959 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7961 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7962 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7974 lt_prog_compiler_wl=
7975 lt_prog_compiler_pic=
7976 lt_prog_compiler_static=
7979 if test "$GCC" = yes; then
7980 lt_prog_compiler_wl='-Wl,'
7981 lt_prog_compiler_static='-static'
7985 # All AIX code is PIC.
7986 if test "$host_cpu" = ia64; then
7987 # AIX 5 now supports IA64 processor
7988 lt_prog_compiler_static='-Bstatic'
7995 # see comment about AmigaOS4 .so support
7996 lt_prog_compiler_pic='-fPIC'
7999 # FIXME: we need at least 68020 code to build shared libraries, but
8000 # adding the `-m68020' flag to GCC prevents building anything better,
8002 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8007 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8008 # PIC is the default for these OSes.
8011 mingw* | cygwin* | pw32* | os2* | cegcc*)
8012 # This hack is so that the source file can tell whether it is being
8013 # built for inclusion in a dll (and should export symbols for example).
8014 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8015 # (--disable-auto-import) libraries
8016 lt_prog_compiler_pic='-DDLL_EXPORT'
8019 darwin* | rhapsody*)
8020 # PIC is the default on this platform
8021 # Common symbols not allowed in MH_DYLIB files
8022 lt_prog_compiler_pic='-fno-common'
8026 # PIC is the default for Haiku.
8027 # The "-static" flag exists, but is broken.
8028 lt_prog_compiler_static=
8032 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8033 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8034 # sets the default TLS model and affects inlining.
8040 lt_prog_compiler_pic='-fPIC'
8046 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8047 # Instead, we relocate shared libraries at runtime.
8051 # Just because we use GCC doesn't mean we suddenly get shared libraries
8052 # on systems that don't support them.
8053 lt_prog_compiler_can_build_shared=no
8058 # QNX uses GNU C++, but need to define -shared option too, otherwise
8060 lt_prog_compiler_pic='-fPIC -shared'
8064 if test -d /usr/nec; then
8065 lt_prog_compiler_pic=-Kconform_pic
8070 lt_prog_compiler_pic='-fPIC'
8074 case $cc_basename in
8075 nvcc*) # Cuda Compiler Driver 2.2
8076 lt_prog_compiler_wl='-Xlinker '
8077 if test -n "$lt_prog_compiler_pic"; then
8078 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8083 # PORTME Check for flag to pass linker flags through the system compiler.
8086 lt_prog_compiler_wl='-Wl,'
8087 if test "$host_cpu" = ia64; then
8088 # AIX 5 now supports IA64 processor
8089 lt_prog_compiler_static='-Bstatic'
8091 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8095 mingw* | cygwin* | pw32* | os2* | cegcc*)
8096 # This hack is so that the source file can tell whether it is being
8097 # built for inclusion in a dll (and should export symbols for example).
8098 lt_prog_compiler_pic='-DDLL_EXPORT'
8101 hpux9* | hpux10* | hpux11*)
8102 lt_prog_compiler_wl='-Wl,'
8103 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8110 lt_prog_compiler_pic='+Z'
8113 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8114 lt_prog_compiler_static='${wl}-a ${wl}archive'
8117 irix5* | irix6* | nonstopux*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # PIC (with -KPIC) is the default.
8120 lt_prog_compiler_static='-non_shared'
8123 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8124 case $cc_basename in
8125 # old Intel for x86_64 which still supported -KPIC.
8127 lt_prog_compiler_wl='-Wl,'
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-static'
8131 # icc used to be incompatible with GCC.
8132 # ICC 10 doesn't accept -KPIC any more.
8134 lt_prog_compiler_wl='-Wl,'
8135 lt_prog_compiler_pic='-fPIC'
8136 lt_prog_compiler_static='-static'
8138 # Lahey Fortran 8.1.
8140 lt_prog_compiler_wl='-Wl,'
8141 lt_prog_compiler_pic='--shared'
8142 lt_prog_compiler_static='--static'
8145 # NAG Fortran compiler
8146 lt_prog_compiler_wl='-Wl,-Wl,,'
8147 lt_prog_compiler_pic='-PIC'
8148 lt_prog_compiler_static='-Bstatic'
8150 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8151 # Portland Group compilers (*not* the Pentium gcc compiler,
8152 # which looks to be a dead project)
8153 lt_prog_compiler_wl='-Wl,'
8154 lt_prog_compiler_pic='-fpic'
8155 lt_prog_compiler_static='-Bstatic'
8158 lt_prog_compiler_wl='-Wl,'
8159 # All Alpha code is PIC.
8160 lt_prog_compiler_static='-non_shared'
8162 xl* | bgxl* | bgf* | mpixl*)
8163 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8164 lt_prog_compiler_wl='-Wl,'
8165 lt_prog_compiler_pic='-qpic'
8166 lt_prog_compiler_static='-qstaticlink'
8169 case `$CC -V 2>&1 | sed 5q` in
8170 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8171 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8172 lt_prog_compiler_pic='-KPIC'
8173 lt_prog_compiler_static='-Bstatic'
8174 lt_prog_compiler_wl=''
8176 *Sun\ F* | *Sun*Fortran*)
8177 lt_prog_compiler_pic='-KPIC'
8178 lt_prog_compiler_static='-Bstatic'
8179 lt_prog_compiler_wl='-Qoption ld '
8183 lt_prog_compiler_pic='-KPIC'
8184 lt_prog_compiler_static='-Bstatic'
8185 lt_prog_compiler_wl='-Wl,'
8187 *Intel*\ [CF]*Compiler*)
8188 lt_prog_compiler_wl='-Wl,'
8189 lt_prog_compiler_pic='-fPIC'
8190 lt_prog_compiler_static='-static'
8193 lt_prog_compiler_wl='-Wl,'
8194 lt_prog_compiler_pic='-fpic'
8195 lt_prog_compiler_static='-Bstatic'
8203 lt_prog_compiler_pic='-KPIC'
8204 lt_prog_compiler_static='-Bstatic'
8208 # QNX uses GNU C++, but need to define -shared option too, otherwise
8210 lt_prog_compiler_pic='-fPIC -shared'
8213 osf3* | osf4* | osf5*)
8214 lt_prog_compiler_wl='-Wl,'
8215 # All OSF/1 code is PIC.
8216 lt_prog_compiler_static='-non_shared'
8220 lt_prog_compiler_static='-non_shared'
8224 lt_prog_compiler_pic='-KPIC'
8225 lt_prog_compiler_static='-Bstatic'
8226 case $cc_basename in
8227 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8228 lt_prog_compiler_wl='-Qoption ld ';;
8230 lt_prog_compiler_wl='-Wl,';;
8235 lt_prog_compiler_wl='-Qoption ld '
8236 lt_prog_compiler_pic='-PIC'
8237 lt_prog_compiler_static='-Bstatic'
8240 sysv4 | sysv4.2uw2* | sysv4.3*)
8241 lt_prog_compiler_wl='-Wl,'
8242 lt_prog_compiler_pic='-KPIC'
8243 lt_prog_compiler_static='-Bstatic'
8247 if test -d /usr/nec ;then
8248 lt_prog_compiler_pic='-Kconform_pic'
8249 lt_prog_compiler_static='-Bstatic'
8253 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8254 lt_prog_compiler_wl='-Wl,'
8255 lt_prog_compiler_pic='-KPIC'
8256 lt_prog_compiler_static='-Bstatic'
8260 lt_prog_compiler_wl='-Wl,'
8261 lt_prog_compiler_can_build_shared=no
8265 lt_prog_compiler_pic='-pic'
8266 lt_prog_compiler_static='-Bstatic'
8270 lt_prog_compiler_can_build_shared=no
8276 # For platforms which do not support PIC, -DPIC is meaningless:
8278 lt_prog_compiler_pic=
8281 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8286 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8287 if ${lt_cv_prog_compiler_pic+:} false; then :
8288 $as_echo_n "(cached) " >&6
8290 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8293 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8294 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8297 # Check to make sure the PIC flag actually works.
8299 if test -n "$lt_prog_compiler_pic"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8301 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8302 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 lt_cv_prog_compiler_pic_works=no
8306 ac_outfile=conftest.$ac_objext
8307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8308 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8309 # Insert the option either (1) after the last *FLAGS variable, or
8310 # (2) before a word containing "conftest.", or (3) at the end.
8311 # Note that $ac_compile itself does not contain backslashes and begins
8312 # with a dollar sign (not a hyphen), so the echo should work correctly.
8313 # The option is referenced via a variable to avoid confusing sed.
8314 lt_compile=`echo "$ac_compile" | $SED \
8315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8317 -e 's:$: $lt_compiler_flag:'`
8318 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8319 (eval "$lt_compile" 2>conftest.err)
8321 cat conftest.err >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 if (exit $ac_status) && test -s "$ac_outfile"; then
8324 # The compiler can only warn and ignore the option if not recognized
8325 # So say no if there are warnings other than the usual output.
8326 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8327 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8328 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8329 lt_cv_prog_compiler_pic_works=yes
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8336 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8338 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8339 case $lt_prog_compiler_pic in
8341 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8344 lt_prog_compiler_pic=
8345 lt_prog_compiler_can_build_shared=no
8361 # Check to make sure the static flag actually works.
8363 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8365 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8366 if ${lt_cv_prog_compiler_static_works+:} false; then :
8367 $as_echo_n "(cached) " >&6
8369 lt_cv_prog_compiler_static_works=no
8370 save_LDFLAGS="$LDFLAGS"
8371 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8372 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8373 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8374 # The linker can only warn and ignore the option if not recognized
8375 # So say no if there are warnings
8376 if test -s conftest.err; then
8377 # Append any errors to the config.log.
8378 cat conftest.err 1>&5
8379 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8380 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8381 if diff conftest.exp conftest.er2 >/dev/null; then
8382 lt_cv_prog_compiler_static_works=yes
8385 lt_cv_prog_compiler_static_works=yes
8389 LDFLAGS="$save_LDFLAGS"
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8393 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8395 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8398 lt_prog_compiler_static=
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8408 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8409 if ${lt_cv_prog_compiler_c_o+:} false; then :
8410 $as_echo_n "(cached) " >&6
8412 lt_cv_prog_compiler_c_o=no
8413 $RM -r conftest 2>/dev/null
8417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8419 lt_compiler_flag="-o out/conftest2.$ac_objext"
8420 # Insert the option either (1) after the last *FLAGS variable, or
8421 # (2) before a word containing "conftest.", or (3) at the end.
8422 # Note that $ac_compile itself does not contain backslashes and begins
8423 # with a dollar sign (not a hyphen), so the echo should work correctly.
8424 lt_compile=`echo "$ac_compile" | $SED \
8425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8427 -e 's:$: $lt_compiler_flag:'`
8428 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8429 (eval "$lt_compile" 2>out/conftest.err)
8431 cat out/conftest.err >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8435 # The compiler can only warn and ignore the option if not recognized
8436 # So say no if there are warnings
8437 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8438 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8439 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8440 lt_cv_prog_compiler_c_o=yes
8445 # SGI C++ compiler will create directory out/ii_files/ for
8446 # template instantiation
8447 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8448 $RM out/* && rmdir out
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8455 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8463 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8464 if ${lt_cv_prog_compiler_c_o+:} false; then :
8465 $as_echo_n "(cached) " >&6
8467 lt_cv_prog_compiler_c_o=no
8468 $RM -r conftest 2>/dev/null
8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8474 lt_compiler_flag="-o out/conftest2.$ac_objext"
8475 # Insert the option either (1) after the last *FLAGS variable, or
8476 # (2) before a word containing "conftest.", or (3) at the end.
8477 # Note that $ac_compile itself does not contain backslashes and begins
8478 # with a dollar sign (not a hyphen), so the echo should work correctly.
8479 lt_compile=`echo "$ac_compile" | $SED \
8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482 -e 's:$: $lt_compiler_flag:'`
8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484 (eval "$lt_compile" 2>out/conftest.err)
8486 cat out/conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8490 # The compiler can only warn and ignore the option if not recognized
8491 # So say no if there are warnings
8492 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8493 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8494 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8495 lt_cv_prog_compiler_c_o=yes
8500 # SGI C++ compiler will create directory out/ii_files/ for
8501 # template instantiation
8502 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8503 $RM out/* && rmdir out
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8515 hard_links="nottested"
8516 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8517 # do not overwrite the value of need_locks provided by the user
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8519 $as_echo_n "checking if we can lock with hard links... " >&6; }
8522 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8524 ln conftest.a conftest.b 2>&5 || hard_links=no
8525 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8527 $as_echo "$hard_links" >&6; }
8528 if test "$hard_links" = no; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8530 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8543 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8546 allow_undefined_flag=
8547 always_export_symbols=no
8549 archive_expsym_cmds=
8550 compiler_needs_object=no
8551 enable_shared_with_static_runtimes=no
8552 export_dynamic_flag_spec=
8553 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8554 hardcode_automatic=no
8556 hardcode_direct_absolute=no
8557 hardcode_libdir_flag_spec=
8558 hardcode_libdir_separator=
8560 hardcode_shlibpath_var=unsupported
8562 link_all_deplibs=unknown
8565 old_archive_from_new_cmds=
8566 old_archive_from_expsyms_cmds=
8567 thread_safe_flag_spec=
8568 whole_archive_flag_spec=
8569 # include_expsyms should be a list of space-separated symbols to be *always*
8570 # included in the symbol list
8572 # exclude_expsyms can be an extended regexp of symbols to exclude
8573 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8574 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8575 # as well as any symbol that contains `d'.
8576 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8577 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8578 # platforms (ab)use it in PIC code, but their linkers get confused if
8579 # the symbol is explicitly referenced. Since portable code cannot
8580 # rely on this symbol name, it's probably fine to never include it in
8581 # preloaded symbol tables.
8582 # Exclude shared library initialization/finalization symbols.
8583 extract_expsyms_cmds=
8586 cygwin* | mingw* | pw32* | cegcc*)
8587 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8588 # When not using gcc, we currently assume that we are using
8589 # Microsoft Visual C++.
8590 if test "$GCC" != yes; then
8595 # we just hope/assume this is gcc and not c89 (= MSVC++)
8605 # On some targets, GNU ld is compatible enough with the native linker
8606 # that we're better off using the native interface for both.
8607 lt_use_gnu_ld_interface=no
8608 if test "$with_gnu_ld" = yes; then
8611 # The AIX port of GNU ld has always aspired to compatibility
8612 # with the native linker. However, as the warning in the GNU ld
8613 # block says, versions before 2.19.5* couldn't really create working
8614 # shared libraries, regardless of the interface used.
8615 case `$LD -v 2>&1` in
8616 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8617 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8618 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8620 lt_use_gnu_ld_interface=yes
8625 lt_use_gnu_ld_interface=yes
8630 if test "$lt_use_gnu_ld_interface" = yes; then
8631 # If archive_cmds runs LD, not CC, wlarc should be empty
8634 # Set some defaults for GNU ld with shared library support. These
8635 # are reset later if shared libraries are not supported. Putting them
8636 # here allows them to be overridden if necessary.
8637 runpath_var=LD_RUN_PATH
8638 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8639 export_dynamic_flag_spec='${wl}--export-dynamic'
8640 # ancient GNU ld didn't support --whole-archive et. al.
8641 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8642 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8644 whole_archive_flag_spec=
8646 supports_anon_versioning=no
8647 case `$LD -v 2>&1` in
8648 *GNU\ gold*) supports_anon_versioning=yes ;;
8649 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8650 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8651 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8652 *\ 2.11.*) ;; # other 2.11 versions
8653 *) supports_anon_versioning=yes ;;
8656 # See if GNU ld supports shared libraries.
8659 # On AIX/PPC, the GNU linker is very broken
8660 if test "$host_cpu" != ia64; then
8664 *** Warning: the GNU linker, at least up to release 2.19, is reported
8665 *** to be unable to reliably create shared libraries on AIX.
8666 *** Therefore, libtool is disabling shared libraries support. If you
8667 *** really care for shared libraries, you may want to install binutils
8668 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8669 *** You will then need to restart the configuration process.
8678 # see comment about AmigaOS4 .so support
8679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680 archive_expsym_cmds=''
8683 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)'
8684 hardcode_libdir_flag_spec='-L$libdir'
8685 hardcode_minus_L=yes
8691 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8692 allow_undefined_flag=unsupported
8693 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8694 # support --undefined. This deserves some investigation. FIXME
8695 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8701 cygwin* | mingw* | pw32* | cegcc*)
8702 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8703 # as there is no search path for DLLs.
8704 hardcode_libdir_flag_spec='-L$libdir'
8705 export_dynamic_flag_spec='${wl}--export-all-symbols'
8706 allow_undefined_flag=unsupported
8707 always_export_symbols=no
8708 enable_shared_with_static_runtimes=yes
8709 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'
8710 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8712 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8713 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8714 # If the export-symbols file already is a .def file (1st line
8715 # is EXPORTS), use it as is; otherwise, prepend...
8716 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8717 cp $export_symbols $output_objdir/$soname.def;
8719 echo EXPORTS > $output_objdir/$soname.def;
8720 cat $export_symbols >> $output_objdir/$soname.def;
8722 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8730 link_all_deplibs=yes
8735 hardcode_shlibpath_var=no
8736 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8737 export_dynamic_flag_spec='${wl}-E'
8738 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8739 # Instead, shared libraries are loaded at an image base (0x10000000 by
8740 # default) and relocated if they conflict, which is a slow very memory
8741 # consuming and fragmenting process. To avoid this, we pick a random,
8742 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8743 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8744 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8745 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'
8748 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8750 if test "$host_os" = linux-dietlibc; then
8751 case $cc_basename in
8752 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8755 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8756 && test "$tmp_diet" = no
8758 tmp_addflag=' $pic_flag'
8759 tmp_sharedflag='-shared'
8760 case $cc_basename,$host_cpu in
8761 pgcc*) # Portland Group C compiler
8762 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'
8763 tmp_addflag=' $pic_flag'
8765 pgf77* | pgf90* | pgf95* | pgfortran*)
8766 # Portland Group f77 and f90 compilers
8767 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'
8768 tmp_addflag=' $pic_flag -Mnomain' ;;
8769 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8770 tmp_addflag=' -i_dynamic' ;;
8771 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8772 tmp_addflag=' -i_dynamic -nofor_main' ;;
8773 ifc* | ifort*) # Intel Fortran compiler
8774 tmp_addflag=' -nofor_main' ;;
8775 lf95*) # Lahey Fortran 8.1
8776 whole_archive_flag_spec=
8777 tmp_sharedflag='--shared' ;;
8778 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8779 tmp_sharedflag='-qmkshrobj'
8781 nvcc*) # Cuda Compiler Driver 2.2
8782 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'
8783 compiler_needs_object=yes
8786 case `$CC -V 2>&1 | sed 5q` in
8787 *Sun\ C*) # Sun C 5.9
8788 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'
8789 compiler_needs_object=yes
8790 tmp_sharedflag='-G' ;;
8791 *Sun\ F*) # Sun Fortran 8.3
8792 tmp_sharedflag='-G' ;;
8794 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796 if test "x$supports_anon_versioning" = xyes; then
8797 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8798 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8799 echo "local: *; };" >> $output_objdir/$libname.ver~
8800 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8803 case $cc_basename in
8804 xlf* | bgf* | bgxlf* | mpixlf*)
8805 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8806 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8807 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8808 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8809 if test "x$supports_anon_versioning" = xyes; then
8810 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8811 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8812 echo "local: *; };" >> $output_objdir/$libname.ver~
8813 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8823 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8824 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8827 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8828 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8833 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8838 *** create shared libraries on Solaris systems. Therefore, libtool
8839 *** is disabling shared libraries support. We urge you to upgrade GNU
8840 *** binutils to release 2.9.1 or newer. Another option is to modify
8841 *** your PATH or compiler configuration so that the native linker is
8842 *** used, and then restart.
8845 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8846 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8853 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8854 case `$LD -v 2>&1` in
8855 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8859 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8860 *** reliably create shared libraries on SCO systems. Therefore, libtool
8861 *** is disabling shared libraries support. We urge you to upgrade GNU
8862 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8863 *** your PATH or compiler configuration so that the native linker is
8864 *** used, and then restart.
8869 # For security reasons, it is highly recommended that you always
8870 # use absolute paths for naming shared libraries, and exclude the
8871 # DT_RUNPATH tag from executables and libraries. But doing so
8872 # requires that you compile everything twice, which is a pain.
8873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8874 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8875 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8885 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8888 hardcode_shlibpath_var=no
8892 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8893 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8894 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8901 if test "$ld_shlibs" = no; then
8903 hardcode_libdir_flag_spec=
8904 export_dynamic_flag_spec=
8905 whole_archive_flag_spec=
8908 # PORTME fill in a description of your system's linker (not GNU ld)
8911 allow_undefined_flag=unsupported
8912 always_export_symbols=yes
8913 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'
8914 # Note: this linker hardcodes the directories in LIBPATH if there
8915 # are no directories specified by -L.
8916 hardcode_minus_L=yes
8917 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8918 # Neither direct hardcoding nor static linking is supported with a
8920 hardcode_direct=unsupported
8925 if test "$host_cpu" = ia64; then
8926 # On IA64, the linker does run time linking by default, so we don't
8927 # have to do anything special.
8928 aix_use_runtimelinking=no
8929 exp_sym_flag='-Bexport'
8932 # If we're using GNU nm, then we don't want the "-C" option.
8933 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8934 # Also, AIX nm treats weak defined symbols like other global
8935 # defined symbols, whereas GNU nm marks them as "W".
8936 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8937 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'
8939 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'
8941 aix_use_runtimelinking=no
8943 # Test if we are trying to use run time linking or normal
8944 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8945 # need to do runtime linking.
8946 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8947 for ld_flag in $LDFLAGS; do
8948 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8949 aix_use_runtimelinking=yes
8956 exp_sym_flag='-bexport'
8957 no_entry_flag='-bnoentry'
8960 # When large executables or shared objects are built, AIX ld can
8961 # have problems creating the table of contents. If linking a library
8962 # or program results in "error TOC overflow" add -mminimal-toc to
8963 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8964 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8968 hardcode_direct_absolute=yes
8969 hardcode_libdir_separator=':'
8970 link_all_deplibs=yes
8971 file_list_spec='${wl}-f,'
8973 if test "$GCC" = yes; then
8974 case $host_os in aix4.[012]|aix4.[012].*)
8975 # We only want to do this on AIX 4.2 and lower, the check
8976 # below for broken collect2 doesn't work under 4.3+
8977 collect2name=`${CC} -print-prog-name=collect2`
8978 if test -f "$collect2name" &&
8979 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8981 # We have reworked collect2
8984 # We have old collect2
8985 hardcode_direct=unsupported
8986 # It fails to find uninstalled libraries when the uninstalled
8987 # path is not listed in the libpath. Setting hardcode_minus_L
8988 # to unsupported forces relinking
8989 hardcode_minus_L=yes
8990 hardcode_libdir_flag_spec='-L$libdir'
8991 hardcode_libdir_separator=
8995 shared_flag='-shared'
8996 if test "$aix_use_runtimelinking" = yes; then
8997 shared_flag="$shared_flag "'${wl}-G'
9001 if test "$host_cpu" = ia64; then
9002 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9003 # chokes on -Wl,-G. The following line is correct:
9006 if test "$aix_use_runtimelinking" = yes; then
9007 shared_flag='${wl}-G'
9009 shared_flag='${wl}-bM:SRE'
9014 export_dynamic_flag_spec='${wl}-bexpall'
9015 # It seems that -bexpall does not export symbols beginning with
9016 # underscore (_), so it is better to generate a list of symbols to export.
9017 always_export_symbols=yes
9018 if test "$aix_use_runtimelinking" = yes; then
9019 # Warning - without using the other runtime loading flags (-brtl),
9020 # -berok will link without error, but may produce a broken library.
9021 allow_undefined_flag='-berok'
9022 # Determine the default libpath from the value encoded in an
9024 if test "${lt_cv_aix_libpath+set}" = set; then
9025 aix_libpath=$lt_cv_aix_libpath
9027 if ${lt_cv_aix_libpath_+:} false; then :
9028 $as_echo_n "(cached) " >&6
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9041 if ac_fn_c_try_link "$LINENO"; then :
9043 lt_aix_libpath_sed='
9044 /Import File Strings/,/^$/ {
9046 s/^0 *\([^ ]*\) *$/\1/
9050 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9051 # Check for a 64-bit object if we didn't find anything.
9052 if test -z "$lt_cv_aix_libpath_"; then
9053 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9056 rm -f core conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 if test -z "$lt_cv_aix_libpath_"; then
9059 lt_cv_aix_libpath_="/usr/lib:/lib"
9064 aix_libpath=$lt_cv_aix_libpath_
9067 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9068 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"
9070 if test "$host_cpu" = ia64; then
9071 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9072 allow_undefined_flag="-z nodefs"
9073 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"
9075 # Determine the default libpath from the value encoded in an
9077 if test "${lt_cv_aix_libpath+set}" = set; then
9078 aix_libpath=$lt_cv_aix_libpath
9080 if ${lt_cv_aix_libpath_+:} false; then :
9081 $as_echo_n "(cached) " >&6
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9094 if ac_fn_c_try_link "$LINENO"; then :
9096 lt_aix_libpath_sed='
9097 /Import File Strings/,/^$/ {
9099 s/^0 *\([^ ]*\) *$/\1/
9103 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9104 # Check for a 64-bit object if we didn't find anything.
9105 if test -z "$lt_cv_aix_libpath_"; then
9106 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 if test -z "$lt_cv_aix_libpath_"; then
9112 lt_cv_aix_libpath_="/usr/lib:/lib"
9117 aix_libpath=$lt_cv_aix_libpath_
9120 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9121 # Warning - without using the other run time loading flags,
9122 # -berok will link without error, but may produce a broken library.
9123 no_undefined_flag=' ${wl}-bernotok'
9124 allow_undefined_flag=' ${wl}-berok'
9125 if test "$with_gnu_ld" = yes; then
9126 # We only use this code for GNU lds that support --whole-archive.
9127 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9129 # Exported symbols can be pulled into shared objects from archives
9130 whole_archive_flag_spec='$convenience'
9132 archive_cmds_need_lc=yes
9133 # This is similar to how AIX traditionally builds its shared libraries.
9134 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'
9142 # see comment about AmigaOS4 .so support
9143 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144 archive_expsym_cmds=''
9147 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)'
9148 hardcode_libdir_flag_spec='-L$libdir'
9149 hardcode_minus_L=yes
9155 export_dynamic_flag_spec=-rdynamic
9158 cygwin* | mingw* | pw32* | cegcc*)
9159 # When not using gcc, we currently assume that we are using
9160 # Microsoft Visual C++.
9161 # hardcode_libdir_flag_spec is actually meaningless, as there is
9162 # no search path for DLLs.
9163 case $cc_basename in
9166 hardcode_libdir_flag_spec=' '
9167 allow_undefined_flag=unsupported
9168 always_export_symbols=yes
9170 # Tell ltmain to make .lib files, not .a files.
9172 # Tell ltmain to make .dll files, not .so files.
9174 # FIXME: Setting linknames here is a bad hack.
9175 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9176 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9179 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9181 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9183 # The linker will not automatically build a static lib if we build a DLL.
9184 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9185 enable_shared_with_static_runtimes=yes
9186 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9187 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9189 old_postinstall_cmds='chmod 644 $oldlib'
9190 postlink_cmds='lt_outputfile="@OUTPUT@"~
9191 lt_tool_outputfile="@TOOL_OUTPUT@"~
9192 case $lt_outputfile in
9195 lt_outputfile="$lt_outputfile.exe"
9196 lt_tool_outputfile="$lt_tool_outputfile.exe"
9199 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9200 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9201 $RM "$lt_outputfile.manifest";
9205 # Assume MSVC wrapper
9206 hardcode_libdir_flag_spec=' '
9207 allow_undefined_flag=unsupported
9208 # Tell ltmain to make .lib files, not .a files.
9210 # Tell ltmain to make .dll files, not .so files.
9212 # FIXME: Setting linknames here is a bad hack.
9213 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9214 # The linker will automatically build a .lib file if we build a DLL.
9215 old_archive_from_new_cmds='true'
9216 # FIXME: Should let the user specify the lib program.
9217 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9218 enable_shared_with_static_runtimes=yes
9223 darwin* | rhapsody*)
9226 archive_cmds_need_lc=no
9228 hardcode_automatic=yes
9229 hardcode_shlibpath_var=unsupported
9230 if test "$lt_cv_ld_force_load" = "yes"; then
9231 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\"`'
9234 whole_archive_flag_spec=''
9236 link_all_deplibs=yes
9237 allow_undefined_flag="$_lt_dar_allow_undefined"
9238 case $cc_basename in
9239 ifort*) _lt_dar_can_shared=yes ;;
9240 *) _lt_dar_can_shared=$GCC ;;
9242 if test "$_lt_dar_can_shared" = "yes"; then
9243 output_verbose_link_cmd=func_echo_all
9244 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9245 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9246 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}"
9247 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}"
9256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9257 hardcode_libdir_flag_spec='-L$libdir'
9258 hardcode_shlibpath_var=no
9261 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9262 # support. Future versions do this automatically, but an explicit c++rt0.o
9263 # does not break anything, and helps significantly (at the cost of a little
9266 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9267 hardcode_libdir_flag_spec='-R$libdir'
9269 hardcode_shlibpath_var=no
9272 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9274 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9276 hardcode_minus_L=yes
9277 hardcode_shlibpath_var=no
9280 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9281 freebsd* | dragonfly*)
9282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9283 hardcode_libdir_flag_spec='-R$libdir'
9285 hardcode_shlibpath_var=no
9289 if test "$GCC" = yes; then
9290 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'
9292 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'
9294 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9295 hardcode_libdir_separator=:
9298 # hardcode_minus_L: Not really in the search PATH,
9299 # but as the default location of the library.
9300 hardcode_minus_L=yes
9301 export_dynamic_flag_spec='${wl}-E'
9305 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9306 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9308 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9310 if test "$with_gnu_ld" = no; then
9311 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9312 hardcode_libdir_separator=:
9314 hardcode_direct_absolute=yes
9315 export_dynamic_flag_spec='${wl}-E'
9316 # hardcode_minus_L: Not really in the search PATH,
9317 # but as the default location of the library.
9318 hardcode_minus_L=yes
9323 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9326 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9329 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9332 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9338 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9341 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9345 # Older versions of the 11.00 compiler do not understand -b yet
9346 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9348 $as_echo_n "checking if $CC understands -b... " >&6; }
9349 if ${lt_cv_prog_compiler__b+:} false; then :
9350 $as_echo_n "(cached) " >&6
9352 lt_cv_prog_compiler__b=no
9353 save_LDFLAGS="$LDFLAGS"
9354 LDFLAGS="$LDFLAGS -b"
9355 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9356 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9357 # The linker can only warn and ignore the option if not recognized
9358 # So say no if there are warnings
9359 if test -s conftest.err; then
9360 # Append any errors to the config.log.
9361 cat conftest.err 1>&5
9362 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9363 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9364 if diff conftest.exp conftest.er2 >/dev/null; then
9365 lt_cv_prog_compiler__b=yes
9368 lt_cv_prog_compiler__b=yes
9372 LDFLAGS="$save_LDFLAGS"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9376 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9378 if test x"$lt_cv_prog_compiler__b" = xyes; then
9379 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9387 if test "$with_gnu_ld" = no; then
9388 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9389 hardcode_libdir_separator=:
9394 hardcode_shlibpath_var=no
9398 hardcode_direct_absolute=yes
9399 export_dynamic_flag_spec='${wl}-E'
9401 # hardcode_minus_L: Not really in the search PATH,
9402 # but as the default location of the library.
9403 hardcode_minus_L=yes
9409 irix5* | irix6* | nonstopux*)
9410 if test "$GCC" = yes; then
9411 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'
9412 # Try to use the -exported_symbol ld option, if it does not
9413 # work, assume that -exports_file does not work either and
9414 # implicitly export all symbols.
9415 # This should be the same for all languages, so no per-tag cache variable.
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9417 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9418 if ${lt_cv_irix_exported_symbol+:} false; then :
9419 $as_echo_n "(cached) " >&6
9421 save_LDFLAGS="$LDFLAGS"
9422 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9425 int foo (void) { return 0; }
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 lt_cv_irix_exported_symbol=yes
9430 lt_cv_irix_exported_symbol=no
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LDFLAGS="$save_LDFLAGS"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9437 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9438 if test "$lt_cv_irix_exported_symbol" = yes; then
9439 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'
9442 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'
9443 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'
9445 archive_cmds_need_lc='no'
9446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9447 hardcode_libdir_separator=:
9449 link_all_deplibs=yes
9453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9454 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9456 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9458 hardcode_libdir_flag_spec='-R$libdir'
9460 hardcode_shlibpath_var=no
9464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9467 hardcode_libdir_separator=:
9468 hardcode_shlibpath_var=no
9475 if test -f /usr/libexec/ld.so; then
9477 hardcode_shlibpath_var=no
9478 hardcode_direct_absolute=yes
9479 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9480 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9481 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9482 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9483 export_dynamic_flag_spec='${wl}-E'
9486 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9487 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488 hardcode_libdir_flag_spec='-R$libdir'
9491 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9492 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_minus_L=yes
9504 allow_undefined_flag=unsupported
9505 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'
9506 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9510 if test "$GCC" = yes; then
9511 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9512 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'
9514 allow_undefined_flag=' -expect_unresolved \*'
9515 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'
9517 archive_cmds_need_lc='no'
9518 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9519 hardcode_libdir_separator=:
9522 osf4* | osf5*) # as osf3* with the addition of -msym flag
9523 if test "$GCC" = yes; then
9524 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9525 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'
9526 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9528 allow_undefined_flag=' -expect_unresolved \*'
9529 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'
9530 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~
9531 $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'
9533 # Both c and cxx compiler support -rpath directly
9534 hardcode_libdir_flag_spec='-rpath $libdir'
9536 archive_cmds_need_lc='no'
9537 hardcode_libdir_separator=:
9541 no_undefined_flag=' -z defs'
9542 if test "$GCC" = yes; then
9544 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9546 $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'
9548 case `$CC -V 2>&1` in
9551 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9553 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9557 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9559 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9563 hardcode_libdir_flag_spec='-R$libdir'
9564 hardcode_shlibpath_var=no
9566 solaris2.[0-5] | solaris2.[0-5].*) ;;
9568 # The compiler driver will combine and reorder linker options,
9569 # but understands `-z linker_flag'. GCC discards it without `$wl',
9570 # but is careful enough not to reorder.
9571 # Supported since Solaris 2.6 (maybe 2.5.1?)
9572 if test "$GCC" = yes; then
9573 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9575 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9579 link_all_deplibs=yes
9583 if test "x$host_vendor" = xsequent; then
9584 # Use $CC to link under sequent, because it throws in some extra .o
9585 # files that make .init and .fini sections work.
9586 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9588 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9590 hardcode_libdir_flag_spec='-L$libdir'
9592 hardcode_minus_L=yes
9593 hardcode_shlibpath_var=no
9597 case $host_vendor in
9599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9600 hardcode_direct=yes # is this really true???
9603 ## LD is ld it makes a PLAMLIB
9604 ## CC just makes a GrossModule.
9605 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9606 reload_cmds='$CC -r -o $output$reload_objs'
9610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9611 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9614 runpath_var='LD_RUN_PATH'
9615 hardcode_shlibpath_var=no
9619 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620 hardcode_shlibpath_var=no
9621 export_dynamic_flag_spec='-Bexport'
9625 if test -d /usr/nec; then
9626 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9627 hardcode_shlibpath_var=no
9628 runpath_var=LD_RUN_PATH
9629 hardcode_runpath_var=yes
9634 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9635 no_undefined_flag='${wl}-z,text'
9636 archive_cmds_need_lc=no
9637 hardcode_shlibpath_var=no
9638 runpath_var='LD_RUN_PATH'
9640 if test "$GCC" = yes; then
9641 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 sysv5* | sco3.2v5* | sco5v6*)
9650 # Note: We can NOT use -z defs as we might desire, because we do not
9651 # link with -lc, and that would cause any symbols used from libc to
9652 # always be unresolved, which means just about no library would
9653 # ever link correctly. If we're not using GNU ld we use -z text
9654 # though, which does catch some bad symbols but isn't as heavy-handed
9656 no_undefined_flag='${wl}-z,text'
9657 allow_undefined_flag='${wl}-z,nodefs'
9658 archive_cmds_need_lc=no
9659 hardcode_shlibpath_var=no
9660 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9661 hardcode_libdir_separator=':'
9662 link_all_deplibs=yes
9663 export_dynamic_flag_spec='${wl}-Bexport'
9664 runpath_var='LD_RUN_PATH'
9666 if test "$GCC" = yes; then
9667 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9670 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_libdir_flag_spec='-L$libdir'
9678 hardcode_shlibpath_var=no
9686 if test x$host_vendor = xsni; then
9688 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9689 export_dynamic_flag_spec='${wl}-Blargedynsym'
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9696 $as_echo "$ld_shlibs" >&6; }
9697 test "$ld_shlibs" = no && can_build_shared=no
9699 with_gnu_ld=$with_gnu_ld
9716 # Do we need to explicitly link libc?
9718 case "x$archive_cmds_need_lc" in
9720 # Assume -lc should be added
9721 archive_cmds_need_lc=yes
9723 if test "$enable_shared" = yes && test "$GCC" = yes; then
9724 case $archive_cmds in
9726 # FIXME: we may have to deal with multi-command sequences.
9729 # Test whether the compiler implicitly links with -lc since on some
9730 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9731 # to ld, don't add -lc before -lgcc.
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9733 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9734 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9735 $as_echo_n "(cached) " >&6
9738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9741 (eval $ac_compile) 2>&5
9743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9744 test $ac_status = 0; } 2>conftest.err; then
9747 libobjs=conftest.$ac_objext
9749 wl=$lt_prog_compiler_wl
9750 pic_flag=$lt_prog_compiler_pic
9756 lt_save_allow_undefined_flag=$allow_undefined_flag
9757 allow_undefined_flag=
9758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9759 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762 test $ac_status = 0; }
9764 lt_cv_archive_cmds_need_lc=no
9766 lt_cv_archive_cmds_need_lc=yes
9768 allow_undefined_flag=$lt_save_allow_undefined_flag
9770 cat conftest.err 1>&5
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9776 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9777 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9936 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9938 if test "$GCC" = yes; then
9940 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9941 *) lt_awk_arg="/^libraries:/" ;;
9944 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9945 *) lt_sed_strip_eq="s,=/,/,g" ;;
9947 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9948 case $lt_search_path_spec in
9950 # if the path contains ";" then we assume it to be the separator
9951 # otherwise default to the standard path separator (i.e. ":") - it is
9952 # assumed that no part of a normal pathname contains ";" but that should
9953 # okay in the real world where ";" in dirpaths is itself problematic.
9954 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9957 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9960 # Ok, now we have the path, separated by spaces, we can step through it
9961 # and add multilib dir if necessary.
9962 lt_tmp_lt_search_path_spec=
9963 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9964 for lt_sys_path in $lt_search_path_spec; do
9965 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9966 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9968 test -d "$lt_sys_path" && \
9969 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9972 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9973 BEGIN {RS=" "; FS="/|\n";} {
9976 for (lt_i = NF; lt_i > 0; lt_i--) {
9977 if ($lt_i != "" && $lt_i != ".") {
9978 if ($lt_i == "..") {
9981 if (lt_count == 0) {
9982 lt_foo="/" $lt_i lt_foo;
9989 if (lt_foo != "") { lt_freq[lt_foo]++; }
9990 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9992 # AWK program above erroneously prepends '/' to C:/dos/paths
9995 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9996 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9998 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10000 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10002 library_names_spec=
10003 libname_spec='lib$name'
10007 postuninstall_cmds=
10011 shlibpath_overrides_runpath=unknown
10013 dynamic_linker="$host_os ld.so"
10014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10015 need_lib_prefix=unknown
10016 hardcode_into_libs=no
10018 # when you set need_version to no, make sure it does not cause -set_version
10019 # flags to be left without arguments
10020 need_version=unknown
10024 version_type=linux # correct to gnu/linux during the next big refactor
10025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10026 shlibpath_var=LIBPATH
10028 # AIX 3 has no versioning support, so we append a major version to the name.
10029 soname_spec='${libname}${release}${shared_ext}$major'
10033 version_type=linux # correct to gnu/linux during the next big refactor
10036 hardcode_into_libs=yes
10037 if test "$host_cpu" = ia64; then
10038 # AIX 5 supports IA64
10039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10040 shlibpath_var=LD_LIBRARY_PATH
10042 # With GCC up to 2.95.x, collect2 would create an import file
10043 # for dependence libraries. The import file would start with
10044 # the line `#! .'. This would cause the generated library to
10045 # depend on `.', always an invalid library. This was fixed in
10046 # development snapshots of GCC prior to 3.0.
10048 aix4 | aix4.[01] | aix4.[01].*)
10049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10054 can_build_shared=no
10058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10059 # soname into executable. Probably we can add versioning support to
10060 # collect2, so additional links can be useful in future.
10061 if test "$aix_use_runtimelinking" = yes; then
10062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10063 # instead of lib<name>.a to let people know that these are not
10064 # typical AIX shared libraries.
10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10067 # We preserve .a as extension for shared libraries through AIX4.2
10068 # and later when we are not doing run time linking.
10069 library_names_spec='${libname}${release}.a $libname.a'
10070 soname_spec='${libname}${release}${shared_ext}$major'
10072 shlibpath_var=LIBPATH
10079 # Since July 2007 AmigaOS4 officially supports .so libraries.
10080 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10084 library_names_spec='$libname.ixlibrary $libname.a'
10085 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10086 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'
10092 library_names_spec='${libname}${shared_ext}'
10093 dynamic_linker="$host_os ld.so"
10094 shlibpath_var=LIBRARY_PATH
10098 version_type=linux # correct to gnu/linux during the next big refactor
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 soname_spec='${libname}${release}${shared_ext}$major'
10102 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10103 shlibpath_var=LD_LIBRARY_PATH
10104 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10105 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10106 # the default ld.so.conf also contains /usr/contrib/lib and
10107 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10108 # libtool to hard-code these into programs
10111 cygwin* | mingw* | pw32* | cegcc*)
10112 version_type=windows
10117 case $GCC,$cc_basename in
10120 library_names_spec='$libname.dll.a'
10121 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10122 postinstall_cmds='base_file=`basename \${file}`~
10123 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10124 dldir=$destdir/`dirname \$dlpath`~
10125 test -d \$dldir || mkdir -p \$dldir~
10126 $install_prog $dir/$dlname \$dldir/$dlname~
10127 chmod a+x \$dldir/$dlname~
10128 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10129 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10131 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10132 dlpath=$dir/\$dldll~
10134 shlibpath_overrides_runpath=yes
10138 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10139 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10141 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10144 # MinGW DLLs use traditional 'lib' prefix
10145 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10148 # pw32 DLLs use 'pw' prefix rather than 'lib'
10149 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10152 dynamic_linker='Win32 ld.exe'
10157 libname_spec='$name'
10158 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10159 library_names_spec='${libname}.dll.lib'
10163 sys_lib_search_path_spec=
10166 for lt_path in $LIB
10169 # Let DOS variable expansion print the short 8.3 style file name.
10170 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10171 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10174 # Convert to MSYS style.
10175 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10178 # Convert to unix form, then to dos form, then back to unix form
10179 # but this time dos style (no spaces!) so that the unix form looks
10180 # like /cygdrive/c/PROGRA~1:/cygdr...
10181 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10182 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10183 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10186 sys_lib_search_path_spec="$LIB"
10187 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10188 # It is most probably a Windows format PATH.
10189 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10191 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10193 # FIXME: find the short name or the path components, as spaces are
10194 # common. (e.g. "Program Files" -> "PROGRA~1")
10198 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10199 postinstall_cmds='base_file=`basename \${file}`~
10200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10201 dldir=$destdir/`dirname \$dlpath`~
10202 test -d \$dldir || mkdir -p \$dldir~
10203 $install_prog $dir/$dlname \$dldir/$dlname'
10204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10205 dlpath=$dir/\$dldll~
10207 shlibpath_overrides_runpath=yes
10208 dynamic_linker='Win32 link.exe'
10212 # Assume MSVC wrapper
10213 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10214 dynamic_linker='Win32 ld.exe'
10217 # FIXME: first we should search . and the directory the executable is in
10221 darwin* | rhapsody*)
10222 dynamic_linker="$host_os dyld"
10223 version_type=darwin
10226 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10227 soname_spec='${libname}${release}${major}$shared_ext'
10228 shlibpath_overrides_runpath=yes
10229 shlibpath_var=DYLD_LIBRARY_PATH
10230 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10232 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10233 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10237 version_type=linux # correct to gnu/linux during the next big refactor
10240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10241 soname_spec='${libname}${release}${shared_ext}$major'
10242 shlibpath_var=LD_LIBRARY_PATH
10245 freebsd* | dragonfly*)
10246 # DragonFly does not have aout. When/if they implement a new
10247 # versioning mechanism, adjust this.
10248 if test -x /usr/bin/objformat; then
10249 objformat=`/usr/bin/objformat`
10252 freebsd[23].*) objformat=aout ;;
10253 *) objformat=elf ;;
10256 version_type=freebsd-$objformat
10257 case $version_type in
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10264 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10268 shlibpath_var=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath=yes
10273 freebsd3.[01]* | freebsdelf3.[01]*)
10274 shlibpath_overrides_runpath=yes
10275 hardcode_into_libs=yes
10277 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10278 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10279 shlibpath_overrides_runpath=no
10280 hardcode_into_libs=yes
10282 *) # from 4.6 on, and DragonFly
10283 shlibpath_overrides_runpath=yes
10284 hardcode_into_libs=yes
10290 version_type=linux # correct to gnu/linux during the next big refactor
10293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10294 soname_spec='${libname}${release}${shared_ext}$major'
10295 shlibpath_var=LD_LIBRARY_PATH
10296 shlibpath_overrides_runpath=no
10297 hardcode_into_libs=yes
10301 version_type=linux # correct to gnu/linux during the next big refactor
10304 dynamic_linker="$host_os runtime_loader"
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10306 soname_spec='${libname}${release}${shared_ext}$major'
10307 shlibpath_var=LIBRARY_PATH
10308 shlibpath_overrides_runpath=yes
10309 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10310 hardcode_into_libs=yes
10313 hpux9* | hpux10* | hpux11*)
10314 # Give a soname corresponding to the major version so that dld.sl refuses to
10315 # link against other versions.
10322 hardcode_into_libs=yes
10323 dynamic_linker="$host_os dld.so"
10324 shlibpath_var=LD_LIBRARY_PATH
10325 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 soname_spec='${libname}${release}${shared_ext}$major'
10328 if test "X$HPUX_IA64_MODE" = X32; then
10329 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10331 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10333 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10337 hardcode_into_libs=yes
10338 dynamic_linker="$host_os dld.sl"
10339 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10340 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342 soname_spec='${libname}${release}${shared_ext}$major'
10343 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10344 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10348 dynamic_linker="$host_os dld.sl"
10349 shlibpath_var=SHLIB_PATH
10350 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352 soname_spec='${libname}${release}${shared_ext}$major'
10355 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10356 postinstall_cmds='chmod 555 $lib'
10357 # or fails outright, so override atomically:
10358 install_override_mode=555
10362 version_type=linux # correct to gnu/linux during the next big refactor
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10366 soname_spec='${libname}${release}${shared_ext}$major'
10367 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10368 shlibpath_var=LD_LIBRARY_PATH
10369 shlibpath_overrides_runpath=no
10370 hardcode_into_libs=yes
10373 irix5* | irix6* | nonstopux*)
10375 nonstopux*) version_type=nonstopux ;;
10377 if test "$lt_cv_prog_gnu_ld" = yes; then
10378 version_type=linux # correct to gnu/linux during the next big refactor
10385 soname_spec='${libname}${release}${shared_ext}$major'
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10388 irix5* | nonstopux*)
10389 libsuff= shlibsuff=
10392 case $LD in # libtool.m4 will add one of these switches to LD
10393 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10394 libsuff= shlibsuff= libmagic=32-bit;;
10395 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10396 libsuff=32 shlibsuff=N32 libmagic=N32;;
10397 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10398 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10399 *) libsuff= shlibsuff= libmagic=never-match;;
10403 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10404 shlibpath_overrides_runpath=no
10405 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10406 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10407 hardcode_into_libs=yes
10410 # No shared lib support for Linux oldld, aout, or coff.
10411 linux*oldld* | linux*aout* | linux*coff*)
10415 # This must be glibc/ELF.
10416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10417 version_type=linux # correct to gnu/linux during the next big refactor
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10423 shlibpath_var=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath=no
10426 # Some binutils ld are patched to set DT_RUNPATH
10427 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10428 $as_echo_n "(cached) " >&6
10430 lt_cv_shlibpath_overrides_runpath=no
10431 save_LDFLAGS=$LDFLAGS
10432 save_libdir=$libdir
10433 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10434 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10448 lt_cv_shlibpath_overrides_runpath=yes
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LDFLAGS=$save_LDFLAGS
10454 libdir=$save_libdir
10458 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10460 # This implies no fast_install, which is unacceptable.
10461 # Some rework will be needed to allow for fast_install
10462 # before this can be enabled.
10463 hardcode_into_libs=yes
10465 # Append ld.so.conf contents to the search path
10466 if test -f /etc/ld.so.conf; then
10467 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' ' '`
10468 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10471 # We used to test for /lib/ld.so.1 and disable shared libraries on
10472 # powerpc, because MkLinux only supported shared libraries with the
10473 # GNU dynamic linker. Since this was broken with cross compilers,
10474 # most powerpc-linux boxes support dynamic linking these days and
10475 # people can always --disable-shared, the test was removed, and we
10476 # assume the GNU/Linux dynamic linker is in use.
10477 dynamic_linker='GNU/Linux ld.so'
10484 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10486 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10487 dynamic_linker='NetBSD (a.out) ld.so'
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10490 soname_spec='${libname}${release}${shared_ext}$major'
10491 dynamic_linker='NetBSD ld.elf_so'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 shlibpath_overrides_runpath=yes
10495 hardcode_into_libs=yes
10499 version_type=linux # correct to gnu/linux during the next big refactor
10500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501 shlibpath_var=LD_LIBRARY_PATH
10502 shlibpath_overrides_runpath=yes
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec='${libname}${release}${shared_ext}$major'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 shlibpath_overrides_runpath=no
10513 hardcode_into_libs=yes
10514 dynamic_linker='ldqnx.so'
10519 sys_lib_dlsearch_path_spec="/usr/lib"
10521 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10523 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10524 *) need_version=no ;;
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10527 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10531 openbsd2.[89] | openbsd2.[89].*)
10532 shlibpath_overrides_runpath=no
10535 shlibpath_overrides_runpath=yes
10539 shlibpath_overrides_runpath=yes
10544 libname_spec='$name'
10547 library_names_spec='$libname${shared_ext} $libname.a'
10548 dynamic_linker='OS/2 ld.exe'
10549 shlibpath_var=LIBPATH
10552 osf3* | osf4* | osf5*)
10556 soname_spec='${libname}${release}${shared_ext}$major'
10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558 shlibpath_var=LD_LIBRARY_PATH
10559 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10560 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10568 version_type=linux # correct to gnu/linux during the next big refactor
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 shlibpath_var=LD_LIBRARY_PATH
10574 shlibpath_overrides_runpath=yes
10575 hardcode_into_libs=yes
10576 # ldd complains unless libraries are executable
10577 postinstall_cmds='chmod +x $lib'
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10583 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10584 shlibpath_var=LD_LIBRARY_PATH
10585 shlibpath_overrides_runpath=yes
10586 if test "$with_gnu_ld" = yes; then
10593 version_type=linux # correct to gnu/linux during the next big refactor
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 shlibpath_var=LD_LIBRARY_PATH
10597 case $host_vendor in
10599 shlibpath_overrides_runpath=no
10601 runpath_var=LD_RUN_PATH
10609 shlibpath_overrides_runpath=no
10610 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10616 if test -d /usr/nec ;then
10617 version_type=linux # correct to gnu/linux during the next big refactor
10618 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10619 soname_spec='$libname${shared_ext}.$major'
10620 shlibpath_var=LD_LIBRARY_PATH
10624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10625 version_type=freebsd-elf
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath=yes
10632 hardcode_into_libs=yes
10633 if test "$with_gnu_ld" = yes; then
10634 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10636 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10643 sys_lib_dlsearch_path_spec='/usr/lib'
10647 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10648 version_type=linux # correct to gnu/linux during the next big refactor
10651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 shlibpath_var=LD_LIBRARY_PATH
10653 shlibpath_overrides_runpath=no
10654 hardcode_into_libs=yes
10658 version_type=linux # correct to gnu/linux during the next big refactor
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 shlibpath_var=LD_LIBRARY_PATH
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10669 $as_echo "$dynamic_linker" >&6; }
10670 test "$dynamic_linker" = no && can_build_shared=no
10672 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10673 if test "$GCC" = yes; then
10674 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10677 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10678 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10680 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10681 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10778 if test -n "$hardcode_libdir_flag_spec" ||
10779 test -n "$runpath_var" ||
10780 test "X$hardcode_automatic" = "Xyes" ; then
10782 # We can hardcode non-existent directories.
10783 if test "$hardcode_direct" != no &&
10784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10785 # have to relink, otherwise we might link with an installed library
10786 # when we should be linking with a yet-to-be-installed one
10787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10788 test "$hardcode_minus_L" != no; then
10789 # Linking always hardcodes the temporary library directory.
10790 hardcode_action=relink
10792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10793 hardcode_action=immediate
10796 # We cannot hardcode anything, or else we can only hardcode existing
10798 hardcode_action=unsupported
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10801 $as_echo "$hardcode_action" >&6; }
10803 if test "$hardcode_action" = relink ||
10804 test "$inherit_rpath" = yes; then
10805 # Fast installation is not supported
10806 enable_fast_install=no
10807 elif test "$shlibpath_overrides_runpath" = yes ||
10808 test "$enable_shared" = no; then
10809 # Fast installation is not necessary
10810 enable_fast_install=needless
10818 if test "x$enable_dlopen" != xyes; then
10819 enable_dlopen=unknown
10820 enable_dlopen_self=unknown
10821 enable_dlopen_self_static=unknown
10828 lt_cv_dlopen="load_add_on"
10830 lt_cv_dlopen_self=yes
10833 mingw* | pw32* | cegcc*)
10834 lt_cv_dlopen="LoadLibrary"
10839 lt_cv_dlopen="dlopen"
10844 # if libdl is installed we need to link against it
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10847 if ${ac_cv_lib_dl_dlopen+:} false; then :
10848 $as_echo_n "(cached) " >&6
10850 ac_check_lib_save_LIBS=$LIBS
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10870 if ac_fn_c_try_link "$LINENO"; then :
10871 ac_cv_lib_dl_dlopen=yes
10873 ac_cv_lib_dl_dlopen=no
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10880 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10881 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10882 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10885 lt_cv_dlopen="dyld"
10887 lt_cv_dlopen_self=yes
10894 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10895 if test "x$ac_cv_func_shl_load" = xyes; then :
10896 lt_cv_dlopen="shl_load"
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10899 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10900 if ${ac_cv_lib_dld_shl_load+:} false; then :
10901 $as_echo_n "(cached) " >&6
10903 ac_check_lib_save_LIBS=$LIBS
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10918 return shl_load ();
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 ac_cv_lib_dld_shl_load=yes
10926 ac_cv_lib_dld_shl_load=no
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10933 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10934 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10935 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10937 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10938 if test "x$ac_cv_func_dlopen" = xyes; then :
10939 lt_cv_dlopen="dlopen"
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10943 if ${ac_cv_lib_dl_dlopen+:} false; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS=$LIBS
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10966 if ac_fn_c_try_link "$LINENO"; then :
10967 ac_cv_lib_dl_dlopen=yes
10969 ac_cv_lib_dl_dlopen=no
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10976 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10977 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10978 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10981 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10982 if ${ac_cv_lib_svld_dlopen+:} false; then :
10983 $as_echo_n "(cached) " >&6
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lsvld $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_svld_dlopen=yes
11008 ac_cv_lib_svld_dlopen=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11015 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11016 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11017 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11020 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11021 if ${ac_cv_lib_dld_dld_link+:} false; then :
11022 $as_echo_n "(cached) " >&6
11024 ac_check_lib_save_LIBS=$LIBS
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11039 return dld_link ();
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 ac_cv_lib_dld_dld_link=yes
11047 ac_cv_lib_dld_dld_link=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11054 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11055 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11056 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11077 if test "x$lt_cv_dlopen" != xno; then
11083 case $lt_cv_dlopen in
11085 save_CPPFLAGS="$CPPFLAGS"
11086 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11088 save_LDFLAGS="$LDFLAGS"
11089 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11092 LIBS="$lt_cv_dlopen_libs $LIBS"
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11095 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11096 if ${lt_cv_dlopen_self+:} false; then :
11097 $as_echo_n "(cached) " >&6
11099 if test "$cross_compiling" = yes; then :
11100 lt_cv_dlopen_self=cross
11102 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11103 lt_status=$lt_dlunknown
11104 cat > conftest.$ac_ext <<_LT_EOF
11105 #line $LINENO "configure"
11106 #include "confdefs.h"
11115 # define LT_DLGLOBAL RTLD_GLOBAL
11118 # define LT_DLGLOBAL DL_GLOBAL
11120 # define LT_DLGLOBAL 0
11124 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11125 find out it does not work in some platform. */
11126 #ifndef LT_DLLAZY_OR_NOW
11128 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11131 # define LT_DLLAZY_OR_NOW DL_LAZY
11134 # define LT_DLLAZY_OR_NOW RTLD_NOW
11137 # define LT_DLLAZY_OR_NOW DL_NOW
11139 # define LT_DLLAZY_OR_NOW 0
11146 /* When -fvisbility=hidden is used, assume the code has been annotated
11147 correspondingly for the symbols needed. */
11148 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11149 int fnord () __attribute__((visibility("default")));
11152 int fnord () { return 42; }
11155 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11156 int status = $lt_dlunknown;
11160 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11163 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11164 else puts (dlerror ());
11166 /* dlclose (self); */
11174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11175 (eval $ac_link) 2>&5
11177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11178 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11179 (./conftest; exit; ) >&5 2>/dev/null
11181 case x$lt_status in
11182 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11183 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11184 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11187 # compilation failed
11188 lt_cv_dlopen_self=no
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11196 $as_echo "$lt_cv_dlopen_self" >&6; }
11198 if test "x$lt_cv_dlopen_self" = xyes; then
11199 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11201 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11202 if ${lt_cv_dlopen_self_static+:} false; then :
11203 $as_echo_n "(cached) " >&6
11205 if test "$cross_compiling" = yes; then :
11206 lt_cv_dlopen_self_static=cross
11208 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11209 lt_status=$lt_dlunknown
11210 cat > conftest.$ac_ext <<_LT_EOF
11211 #line $LINENO "configure"
11212 #include "confdefs.h"
11221 # define LT_DLGLOBAL RTLD_GLOBAL
11224 # define LT_DLGLOBAL DL_GLOBAL
11226 # define LT_DLGLOBAL 0
11230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11231 find out it does not work in some platform. */
11232 #ifndef LT_DLLAZY_OR_NOW
11234 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11237 # define LT_DLLAZY_OR_NOW DL_LAZY
11240 # define LT_DLLAZY_OR_NOW RTLD_NOW
11243 # define LT_DLLAZY_OR_NOW DL_NOW
11245 # define LT_DLLAZY_OR_NOW 0
11252 /* When -fvisbility=hidden is used, assume the code has been annotated
11253 correspondingly for the symbols needed. */
11254 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11255 int fnord () __attribute__((visibility("default")));
11258 int fnord () { return 42; }
11261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11262 int status = $lt_dlunknown;
11266 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11269 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11270 else puts (dlerror ());
11272 /* dlclose (self); */
11280 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11281 (eval $ac_link) 2>&5
11283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11284 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11285 (./conftest; exit; ) >&5 2>/dev/null
11287 case x$lt_status in
11288 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11289 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11290 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11293 # compilation failed
11294 lt_cv_dlopen_self_static=no
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11302 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11305 CPPFLAGS="$save_CPPFLAGS"
11306 LDFLAGS="$save_LDFLAGS"
11311 case $lt_cv_dlopen_self in
11312 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11313 *) enable_dlopen_self=unknown ;;
11316 case $lt_cv_dlopen_self_static in
11317 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11318 *) enable_dlopen_self_static=unknown ;;
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11341 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11342 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11343 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11344 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11346 $as_echo "yes" >&6; }
11348 # FIXME - insert some real tests, host_os isn't really good enough
11351 if test -n "$STRIP" ; then
11352 striplib="$STRIP -x"
11353 old_striplib="$STRIP -S"
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11355 $as_echo "yes" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11358 $as_echo "no" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11379 # Report which library types will actually be built
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11381 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11383 $as_echo "$can_build_shared" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11386 $as_echo_n "checking whether to build shared libraries... " >&6; }
11387 test "$can_build_shared" = "no" && enable_shared=no
11389 # On AIX, shared libraries and static libraries use the same namespace, and
11390 # are all built from PIC.
11393 test "$enable_shared" = yes && enable_static=no
11394 if test -n "$RANLIB"; then
11395 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11396 postinstall_cmds='$RANLIB $lib'
11401 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11402 test "$enable_shared" = yes && enable_static=no
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11407 $as_echo "$enable_shared" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11410 $as_echo_n "checking whether to build static libraries... " >&6; }
11411 # Make sure either enable_shared or enable_static is yes.
11412 test "$enable_shared" = yes || enable_static=yes
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11414 $as_echo "$enable_static" >&6; }
11421 ac_cpp='$CPP $CPPFLAGS'
11422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11442 ac_config_commands="$ac_config_commands libtool"
11447 # Only expand once:
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11451 $as_echo_n "checking whether ln -s works... " >&6; }
11453 if test "$LN_S" = "ln -s"; then
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11455 $as_echo "yes" >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11458 $as_echo "no, using $LN_S" >&6; }
11462 for ac_prog in flex lex
11464 # Extract the first word of "$ac_prog", so it can be a program name with args.
11465 set dummy $ac_prog; ac_word=$2
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11467 $as_echo_n "checking for $ac_word... " >&6; }
11468 if ${ac_cv_prog_LEX+:} false; then :
11469 $as_echo_n "(cached) " >&6
11471 if test -n "$LEX"; then
11472 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11475 for as_dir in $PATH
11478 test -z "$as_dir" && as_dir=.
11479 for ac_exec_ext in '' $ac_executable_extensions; do
11480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11481 ac_cv_prog_LEX="$ac_prog"
11482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 LEX=$ac_cv_prog_LEX
11492 if test -n "$LEX"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
11494 $as_echo "$LEX" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11501 test -n "$LEX" && break
11503 test -n "$LEX" || LEX=":"
11505 if test "x$LEX" != "x:"; then
11506 cat >conftest.l <<_ACEOF
11512 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
11513 yyless ((input () != 0)); }
11514 f { unput (yytext[0]); }
11515 . { BEGIN INITIAL; }
11517 #ifdef YYTEXT_POINTER
11518 extern char *yytext;
11523 return ! yylex () + ! yywrap ();
11526 { { ac_try="$LEX conftest.l"
11527 case "(($ac_try" in
11528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11529 *) ac_try_echo=$ac_try;;
11531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11532 $as_echo "$ac_try_echo"; } >&5
11533 (eval "$LEX conftest.l") 2>&5
11535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11536 test $ac_status = 0; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
11538 $as_echo_n "checking lex output file root... " >&6; }
11539 if ${ac_cv_prog_lex_root+:} false; then :
11540 $as_echo_n "(cached) " >&6
11543 if test -f lex.yy.c; then
11544 ac_cv_prog_lex_root=lex.yy
11545 elif test -f lexyy.c; then
11546 ac_cv_prog_lex_root=lexyy
11548 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
11552 $as_echo "$ac_cv_prog_lex_root" >&6; }
11553 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11555 if test -z "${LEXLIB+set}"; then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
11557 $as_echo_n "checking lex library... " >&6; }
11558 if ${ac_cv_lib_lex+:} false; then :
11559 $as_echo_n "(cached) " >&6
11563 ac_cv_lib_lex='none needed'
11564 for ac_lib in '' -lfl -ll; do
11565 LIBS="$ac_lib $ac_save_LIBS"
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11568 `cat $LEX_OUTPUT_ROOT.c`
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 ac_cv_lib_lex=$ac_lib
11573 rm -f core conftest.err conftest.$ac_objext \
11574 conftest$ac_exeext conftest.$ac_ext
11575 test "$ac_cv_lib_lex" != 'none needed' && break
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
11581 $as_echo "$ac_cv_lib_lex" >&6; }
11582 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
11587 $as_echo_n "checking whether yytext is a pointer... " >&6; }
11588 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
11589 $as_echo_n "(cached) " >&6
11591 # POSIX says lex can declare yytext either as a pointer or an array; the
11592 # default is implementation-dependent. Figure out which it is, since
11593 # not all implementations provide the %pointer and %array declarations.
11594 ac_cv_prog_lex_yytext_pointer=no
11596 LIBS="$LEXLIB $ac_save_LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 #define YYTEXT_POINTER 1
11601 `cat $LEX_OUTPUT_ROOT.c`
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 ac_cv_prog_lex_yytext_pointer=yes
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
11612 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
11613 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11615 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
11618 rm -f conftest.l $LEX_OUTPUT_ROOT.c
11621 if test "$LEX" = :; then
11622 as_fn_error $? "flex not found but required" "$LINENO" 5
11625 for ac_prog in 'bison -y' byacc yacc
11627 # Extract the first word of "$ac_prog", so it can be a program name with args.
11628 set dummy $ac_prog; ac_word=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11630 $as_echo_n "checking for $ac_word... " >&6; }
11631 if ${ac_cv_prog_YACC+:} false; then :
11632 $as_echo_n "(cached) " >&6
11634 if test -n "$YACC"; then
11635 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $PATH
11641 test -z "$as_dir" && as_dir=.
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11644 ac_cv_prog_YACC="$ac_prog"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11654 YACC=$ac_cv_prog_YACC
11655 if test -n "$YACC"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
11657 $as_echo "$YACC" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11660 $as_echo "no" >&6; }
11664 test -n "$YACC" && break
11666 test -n "$YACC" || YACC=":"
11668 if test "$YACC" = :; then
11669 as_fn_error $? "bison not found but required" "$LINENO" 5
11672 # Extract the first word of "valac", so it can be a program name with args.
11673 set dummy valac; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_VALAC+:} false; then :
11677 $as_echo_n "(cached) " >&6
11681 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11688 test -z "$as_dir" && as_dir=.
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
11703 VALAC=$ac_cv_path_VALAC
11704 if test -n "$VALAC"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11706 $as_echo "$VALAC" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11715 VALAFLAGS="$VALAFLAGS --disable-version-header"
11722 # Check whether --enable-unversioned was given.
11723 if test "${enable_unversioned+set}" = set; then :
11724 enableval=$enable_unversioned; enable_unversioned=$enableval
11726 enable_unversioned=yes
11729 if test x$enable_unversioned = xyes; then
11730 ENABLE_UNVERSIONED_TRUE=
11731 ENABLE_UNVERSIONED_FALSE='#'
11733 ENABLE_UNVERSIONED_TRUE='#'
11734 ENABLE_UNVERSIONED_FALSE=
11738 # Check whether --enable-coverage was given.
11739 if test "${enable_coverage+set}" = set; then :
11740 enableval=$enable_coverage; enable_coverage=$enableval
11745 if test x$enable_coverage = xyes; then
11746 ENABLE_COVERAGE_TRUE=
11747 ENABLE_COVERAGE_FALSE='#'
11749 ENABLE_COVERAGE_TRUE='#'
11750 ENABLE_COVERAGE_FALSE=
11754 if test "$enable_coverage" = "yes"; then
11755 COVERAGE_VALAFLAGS="-g"
11756 COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
11757 COVERAGE_LIBS="-lgcov"
11759 COVERAGE_VALAFLAGS=
11767 GLIB_REQUIRED=2.24.0
11776 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11777 if test -n "$ac_tool_prefix"; then
11778 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11779 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11781 $as_echo_n "checking for $ac_word... " >&6; }
11782 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11783 $as_echo_n "(cached) " >&6
11785 case $PKG_CONFIG in
11787 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11797 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11809 if test -n "$PKG_CONFIG"; then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11811 $as_echo "$PKG_CONFIG" >&6; }
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11814 $as_echo "no" >&6; }
11819 if test -z "$ac_cv_path_PKG_CONFIG"; then
11820 ac_pt_PKG_CONFIG=$PKG_CONFIG
11821 # Extract the first word of "pkg-config", so it can be a program name with args.
11822 set dummy pkg-config; ac_word=$2
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11824 $as_echo_n "checking for $ac_word... " >&6; }
11825 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11826 $as_echo_n "(cached) " >&6
11828 case $ac_pt_PKG_CONFIG in
11830 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11834 for as_dir in $PATH
11837 test -z "$as_dir" && as_dir=.
11838 for ac_exec_ext in '' $ac_executable_extensions; do
11839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11840 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11852 if test -n "$ac_pt_PKG_CONFIG"; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11854 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11860 if test "x$ac_pt_PKG_CONFIG" = x; then
11863 case $cross_compiling:$ac_tool_warned in
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11867 ac_tool_warned=yes ;;
11869 PKG_CONFIG=$ac_pt_PKG_CONFIG
11872 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11876 if test -n "$PKG_CONFIG"; then
11877 _pkg_min_version=0.9.0
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11879 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11880 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11882 $as_echo "yes" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11885 $as_echo "no" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11892 $as_echo_n "checking for GLIB... " >&6; }
11894 if test -n "$GLIB_CFLAGS"; then
11895 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11896 elif test -n "$PKG_CONFIG"; then
11897 if test -n "$PKG_CONFIG" && \
11898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11899 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902 test $ac_status = 0; }; then
11903 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11904 test "x$?" != "x0" && pkg_failed=yes
11911 if test -n "$GLIB_LIBS"; then
11912 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11913 elif test -n "$PKG_CONFIG"; then
11914 if test -n "$PKG_CONFIG" && \
11915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11916 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11919 test $ac_status = 0; }; then
11920 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11921 test "x$?" != "x0" && pkg_failed=yes
11931 if test $pkg_failed = yes; then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11933 $as_echo "no" >&6; }
11935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11936 _pkg_short_errors_supported=yes
11938 _pkg_short_errors_supported=no
11940 if test $_pkg_short_errors_supported = yes; then
11941 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11943 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11945 # Put the nasty error message in config.log where it belongs
11946 echo "$GLIB_PKG_ERRORS" >&5
11948 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
11952 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11953 installed software in a non-standard prefix.
11955 Alternatively, you may set the environment variables GLIB_CFLAGS
11956 and GLIB_LIBS to avoid the need to call pkg-config.
11957 See the pkg-config man page for more details." "$LINENO" 5
11958 elif test $pkg_failed = untried; then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11963 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11964 is in your PATH or set the PKG_CONFIG environment variable to the full
11965 path to pkg-config.
11967 Alternatively, you may set the environment variables GLIB_CFLAGS
11968 and GLIB_LIBS to avoid the need to call pkg-config.
11969 See the pkg-config man page for more details.
11971 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11972 See \`config.log' for more details" "$LINENO" 5; }
11974 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11975 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11977 $as_echo "yes" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11987 $as_echo_n "checking for GMODULE... " >&6; }
11989 if test -n "$GMODULE_CFLAGS"; then
11990 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11991 elif test -n "$PKG_CONFIG"; then
11992 if test -n "$PKG_CONFIG" && \
11993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
11994 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997 test $ac_status = 0; }; then
11998 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11999 test "x$?" != "x0" && pkg_failed=yes
12006 if test -n "$GMODULE_LIBS"; then
12007 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12008 elif test -n "$PKG_CONFIG"; then
12009 if test -n "$PKG_CONFIG" && \
12010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
12011 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
12013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12014 test $ac_status = 0; }; then
12015 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12016 test "x$?" != "x0" && pkg_failed=yes
12026 if test $pkg_failed = yes; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12031 _pkg_short_errors_supported=yes
12033 _pkg_short_errors_supported=no
12035 if test $_pkg_short_errors_supported = yes; then
12036 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12038 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12040 # Put the nasty error message in config.log where it belongs
12041 echo "$GMODULE_PKG_ERRORS" >&5
12043 as_fn_error $? "Package requirements (gmodule-2.0 >= $GLIB_REQUIRED) were not met:
12045 $GMODULE_PKG_ERRORS
12047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12048 installed software in a non-standard prefix.
12050 Alternatively, you may set the environment variables GMODULE_CFLAGS
12051 and GMODULE_LIBS to avoid the need to call pkg-config.
12052 See the pkg-config man page for more details." "$LINENO" 5
12053 elif test $pkg_failed = untried; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12058 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12059 is in your PATH or set the PKG_CONFIG environment variable to the full
12060 path to pkg-config.
12062 Alternatively, you may set the environment variables GMODULE_CFLAGS
12063 and GMODULE_LIBS to avoid the need to call pkg-config.
12064 See the pkg-config man page for more details.
12066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12067 See \`config.log' for more details" "$LINENO" 5; }
12069 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12070 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12072 $as_echo "yes" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
12082 $as_echo_n "checking for GTHREAD... " >&6; }
12084 if test -n "$GTHREAD_CFLAGS"; then
12085 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
12086 elif test -n "$PKG_CONFIG"; then
12087 if test -n "$PKG_CONFIG" && \
12088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
12089 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GLIB_REQUIRED") 2>&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092 test $ac_status = 0; }; then
12093 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12094 test "x$?" != "x0" && pkg_failed=yes
12101 if test -n "$GTHREAD_LIBS"; then
12102 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
12103 elif test -n "$PKG_CONFIG"; then
12104 if test -n "$PKG_CONFIG" && \
12105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
12106 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GLIB_REQUIRED") 2>&5
12108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12109 test $ac_status = 0; }; then
12110 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12111 test "x$?" != "x0" && pkg_failed=yes
12121 if test $pkg_failed = yes; then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12126 _pkg_short_errors_supported=yes
12128 _pkg_short_errors_supported=no
12130 if test $_pkg_short_errors_supported = yes; then
12131 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
12133 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
12135 # Put the nasty error message in config.log where it belongs
12136 echo "$GTHREAD_PKG_ERRORS" >&5
12138 as_fn_error $? "Package requirements (gthread-2.0 >= $GLIB_REQUIRED) were not met:
12140 $GTHREAD_PKG_ERRORS
12142 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12143 installed software in a non-standard prefix.
12145 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12146 and GTHREAD_LIBS to avoid the need to call pkg-config.
12147 See the pkg-config man page for more details." "$LINENO" 5
12148 elif test $pkg_failed = untried; then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12153 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12154 is in your PATH or set the PKG_CONFIG environment variable to the full
12155 path to pkg-config.
12157 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12158 and GTHREAD_LIBS to avoid the need to call pkg-config.
12159 See the pkg-config man page for more details.
12161 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12162 See \`config.log' for more details" "$LINENO" 5; }
12164 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
12165 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12167 $as_echo "yes" >&6; }
12174 # Extract the first word of "xsltproc", so it can be a program name with args.
12175 set dummy xsltproc; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12177 $as_echo_n "checking for $ac_word... " >&6; }
12178 if ${ac_cv_path_XSLTPROC+:} false; then :
12179 $as_echo_n "(cached) " >&6
12183 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187 for as_dir in $PATH
12190 test -z "$as_dir" && as_dir=.
12191 for ac_exec_ext in '' $ac_executable_extensions; do
12192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12193 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
12194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12201 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
12205 XSLTPROC=$ac_cv_path_XSLTPROC
12206 if test -n "$XSLTPROC"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
12208 $as_echo "$XSLTPROC" >&6; }
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211 $as_echo "no" >&6; }
12215 if test "$XSLTPROC" != :; then
12216 HAVE_XSLTPROC_TRUE=
12217 HAVE_XSLTPROC_FALSE='#'
12219 HAVE_XSLTPROC_TRUE='#'
12220 HAVE_XSLTPROC_FALSE=
12224 # Check whether --enable-silent-rules was given.
12225 if test "${enable_silent_rules+set}" = set; then :
12226 enableval=$enable_silent_rules;
12229 case $enable_silent_rules in # (((
12230 yes) AM_DEFAULT_VERBOSITY=0;;
12231 no) AM_DEFAULT_VERBOSITY=1;;
12232 *) AM_DEFAULT_VERBOSITY=0;;
12234 am_make=${MAKE-make}
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12236 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12237 if ${am_cv_make_support_nested_variables+:} false; then :
12238 $as_echo_n "(cached) " >&6
12240 if $as_echo 'TRUE=$(BAR$(V))
12246 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
12247 am_cv_make_support_nested_variables=yes
12249 am_cv_make_support_nested_variables=no
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12253 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12254 if test $am_cv_make_support_nested_variables = yes; then
12256 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
12258 AM_V=$AM_DEFAULT_VERBOSITY
12259 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
12264 ac_config_files="$ac_config_files Makefile libvala.pc gee/Makefile ccode/Makefile vala/Makefile codegen/Makefile compiler/Makefile vapi/Makefile tests/Makefile doc/Makefile doc/vala/Makefile gobject-introspection/Makefile vapigen/vapigen.pc vapigen/Makefile vapigen/vala-gen-introspect/Makefile vapigen/vala-gen-introspect/vala-gen-introspect"
12267 cat >confcache <<\_ACEOF
12268 # This file is a shell script that caches the results of configure
12269 # tests run on this system so they can be shared between configure
12270 # scripts and configure runs, see configure's option --config-cache.
12271 # It is not useful on other systems. If it contains results you don't
12272 # want to keep, you may remove or edit it.
12274 # config.status only pays attention to the cache file if you give it
12275 # the --recheck option to rerun configure.
12277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12279 # following values.
12283 # The following way of writing the cache mishandles newlines in values,
12284 # but we know of no workaround that is simple, portable, and efficient.
12285 # So, we kill variables containing newlines.
12286 # Ultrix sh set writes to stderr and can't be redirected directly,
12287 # and sets the high bit in the cache file unless we assign to the vars.
12289 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12290 eval ac_val=\$$ac_var
12294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12298 _ | IFS | as_nl) ;; #(
12299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12300 *) { eval $ac_var=; unset $ac_var;} ;;
12306 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12307 *${as_nl}ac_space=\ *)
12308 # `set' does not quote correctly, so add quotes: double-quote
12309 # substitution turns \\\\ into \\, and sed turns \\ into \.
12312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12315 # `set' quotes correctly as required by POSIX, so do not add quotes.
12316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12325 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12327 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12330 if test -w "$cache_file"; then
12331 if test "x$cache_file" != "x/dev/null"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12333 $as_echo "$as_me: updating cache $cache_file" >&6;}
12334 if test ! -f "$cache_file" || test -h "$cache_file"; then
12335 cat confcache >"$cache_file"
12337 case $cache_file in #(
12339 mv -f confcache "$cache_file"$$ &&
12340 mv -f "$cache_file"$$ "$cache_file" ;; #(
12342 mv -f confcache "$cache_file" ;;
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12354 # Let make expand exec_prefix.
12355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12357 DEFS=-DHAVE_CONFIG_H
12362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12363 # 1. Remove the extension, and $U if already installed.
12364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12367 # will be set to the directory where LIBOBJS objects are built.
12368 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12369 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12371 LIBOBJS=$ac_libobjs
12373 LTLIBOBJS=$ac_ltlibobjs
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12377 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12378 if test -n "$am_sleep_pid"; then
12379 # Hide warnings about reused PIDs.
12380 wait $am_sleep_pid 2>/dev/null
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12383 $as_echo "done" >&6; }
12384 if test -n "$EXEEXT"; then
12386 am__EXEEXT_FALSE='#'
12388 am__EXEEXT_TRUE='#'
12392 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12393 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12396 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12397 as_fn_error $? "conditional \"AMDEP\" was never defined.
12398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12400 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12401 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12404 if test -z "${ENABLE_UNVERSIONED_TRUE}" && test -z "${ENABLE_UNVERSIONED_FALSE}"; then
12405 as_fn_error $? "conditional \"ENABLE_UNVERSIONED\" was never defined.
12406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12408 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
12409 as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
12410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12412 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
12413 as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
12414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12417 : "${CONFIG_STATUS=./config.status}"
12419 ac_clean_files_save=$ac_clean_files
12420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12426 # Generated by $as_me.
12427 # Run this file to recreate the current configuration.
12428 # Compiler output produced by configure, useful for debugging
12429 # configure, is in config.log if it exists.
12432 ac_cs_recheck=false
12435 SHELL=\${CONFIG_SHELL-$SHELL}
12438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12439 ## -------------------- ##
12440 ## M4sh Initialization. ##
12441 ## -------------------- ##
12443 # Be more Bourne compatible
12444 DUALCASE=1; export DUALCASE # for MKS sh
12445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12448 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12449 # is contrary to our usage. Disable this feature.
12450 alias -g '${1+"$@"}'='"$@"'
12451 setopt NO_GLOB_SUBST
12453 case `(set -o) 2>/dev/null` in #(
12465 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12469 # Prefer a ksh shell builtin over an external printf program on Solaris,
12470 # but without wasting forks for bash or zsh.
12471 if test -z "$BASH_VERSION$ZSH_VERSION" \
12472 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12473 as_echo='print -r --'
12474 as_echo_n='print -rn --'
12475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12476 as_echo='printf %s\n'
12477 as_echo_n='printf %s'
12479 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12480 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12481 as_echo_n='/usr/ucb/echo -n'
12483 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12484 as_echo_n_body='eval
12488 expr "X$arg" : "X\\(.*\\)$as_nl";
12489 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12491 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12493 export as_echo_n_body
12494 as_echo_n='sh -c $as_echo_n_body as_echo'
12496 export as_echo_body
12497 as_echo='sh -c $as_echo_body as_echo'
12500 # The user is always right.
12501 if test "${PATH_SEPARATOR+set}" != set; then
12503 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12504 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12511 # We need space, tab and new line, in precisely that order. Quoting is
12512 # there to prevent editors from complaining about space-tab.
12513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12514 # splitting by setting IFS to empty value.)
12517 # Find who we are. Look in the path if we contain no directory separator.
12520 *[\\/]* ) as_myself=$0 ;;
12521 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522 for as_dir in $PATH
12525 test -z "$as_dir" && as_dir=.
12526 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12532 # We did not find ourselves, most probably we were run as `sh COMMAND'
12533 # in which case we are not to be found in the path.
12534 if test "x$as_myself" = x; then
12537 if test ! -f "$as_myself"; then
12538 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12542 # Unset variables that we do not need and which cause bugs (e.g. in
12543 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12544 # suppresses any "Segmentation fault" message there. '((' could
12545 # trigger a bug in pdksh 5.2.14.
12546 for as_var in BASH_ENV ENV MAIL MAILPATH
12547 do eval test x\${$as_var+set} = xset \
12548 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12561 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12564 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12565 # ----------------------------------------
12566 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12567 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12568 # script with STATUS, using 1 if that was 0.
12571 as_status=$1; test $as_status -eq 0 && as_status=1
12573 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12574 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12576 $as_echo "$as_me: error: $2" >&2
12577 as_fn_exit $as_status
12581 # as_fn_set_status STATUS
12582 # -----------------------
12583 # Set $? to STATUS, without forking.
12584 as_fn_set_status ()
12587 } # as_fn_set_status
12589 # as_fn_exit STATUS
12590 # -----------------
12591 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12595 as_fn_set_status $1
12601 # Portably unset VAR.
12604 { eval $1=; unset $1;}
12606 as_unset=as_fn_unset
12607 # as_fn_append VAR VALUE
12608 # ----------------------
12609 # Append the text in VALUE to the end of the definition contained in VAR. Take
12610 # advantage of any shell optimizations that allow amortized linear growth over
12611 # repeated appends, instead of the typical quadratic growth present in naive
12613 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12614 eval 'as_fn_append ()
12625 # as_fn_arith ARG...
12626 # ------------------
12627 # Perform arithmetic evaluation on the ARGs, and store the result in the
12628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12629 # must be portable across $(()) and expr.
12630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12631 eval 'as_fn_arith ()
12638 as_val=`expr "$@" || test $? -eq 1`
12643 if expr a : '\(a\)' >/dev/null 2>&1 &&
12644 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12650 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12651 as_basename=basename
12656 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12662 as_me=`$as_basename -- "$0" ||
12663 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12664 X"$0" : 'X\(//\)$' \| \
12665 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12667 sed '/^.*\/\([^/][^/]*\)\/*$/{
12681 # Avoid depending upon Character Ranges.
12682 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12683 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12684 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12685 as_cr_digits='0123456789'
12686 as_cr_alnum=$as_cr_Letters$as_cr_digits
12688 ECHO_C= ECHO_N= ECHO_T=
12689 case `echo -n x` in #(((((
12691 case `echo 'xy\c'` in
12692 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12694 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12701 rm -f conf$$ conf$$.exe conf$$.file
12702 if test -d conf$$.dir; then
12703 rm -f conf$$.dir/conf$$.file
12706 mkdir conf$$.dir 2>/dev/null
12708 if (echo >conf$$.file) 2>/dev/null; then
12709 if ln -s conf$$.file conf$$ 2>/dev/null; then
12711 # ... but there are two gotchas:
12712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12714 # In both cases, we have to default to `cp -pR'.
12715 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12717 elif ln conf$$.file conf$$ 2>/dev/null; then
12725 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12726 rmdir conf$$.dir 2>/dev/null
12731 # Create "$as_dir" as a directory, including parents if necessary.
12736 -*) as_dir=./$as_dir;;
12738 test -d "$as_dir" || eval $as_mkdir_p || {
12742 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12743 *) as_qdir=$as_dir;;
12745 as_dirs="'$as_qdir' $as_dirs"
12746 as_dir=`$as_dirname -- "$as_dir" ||
12747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12748 X"$as_dir" : 'X\(//\)[^/]' \| \
12749 X"$as_dir" : 'X\(//\)$' \| \
12750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12751 $as_echo X"$as_dir" |
12752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12756 /^X\(\/\/\)[^/].*/{
12769 test -d "$as_dir" && break
12771 test -z "$as_dirs" || eval "mkdir $as_dirs"
12772 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12776 if mkdir -p . 2>/dev/null; then
12777 as_mkdir_p='mkdir -p "$as_dir"'
12779 test -d ./-p && rmdir ./-p
12784 # as_fn_executable_p FILE
12785 # -----------------------
12786 # Test if FILE is an executable regular file.
12787 as_fn_executable_p ()
12789 test -f "$1" && test -x "$1"
12790 } # as_fn_executable_p
12791 as_test_x='test -x'
12792 as_executable_p=as_fn_executable_p
12794 # Sed expression to map a string onto a valid CPP name.
12795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12797 # Sed expression to map a string onto a valid variable name.
12798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12802 ## ----------------------------------- ##
12803 ## Main body of $CONFIG_STATUS script. ##
12804 ## ----------------------------------- ##
12806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12809 # Save the log message, to keep $0 and so on meaningful, and to
12810 # report actual input values of CONFIG_FILES etc. instead of their
12811 # values after options handling.
12813 This file was extended by vala $as_me 0.26.1, which was
12814 generated by GNU Autoconf 2.69. Invocation command line was
12816 CONFIG_FILES = $CONFIG_FILES
12817 CONFIG_HEADERS = $CONFIG_HEADERS
12818 CONFIG_LINKS = $CONFIG_LINKS
12819 CONFIG_COMMANDS = $CONFIG_COMMANDS
12822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12827 case $ac_config_files in *"
12828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12831 case $ac_config_headers in *"
12832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12837 # Files that config.status was made for.
12838 config_files="$ac_config_files"
12839 config_headers="$ac_config_headers"
12840 config_commands="$ac_config_commands"
12844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12846 \`$as_me' instantiates files and other configuration actions
12847 from templates according to the current configuration. Unless the files
12848 and actions are specified as TAGs, all are instantiated by default.
12850 Usage: $0 [OPTION]... [TAG]...
12852 -h, --help print this help, then exit
12853 -V, --version print version number and configuration settings, then exit
12854 --config print configuration, then exit
12855 -q, --quiet, --silent
12856 do not print progress messages
12857 -d, --debug don't remove temporary files
12858 --recheck update $as_me by reconfiguring in the same conditions
12859 --file=FILE[:TEMPLATE]
12860 instantiate the configuration file FILE
12861 --header=FILE[:TEMPLATE]
12862 instantiate the configuration header FILE
12864 Configuration files:
12867 Configuration headers:
12870 Configuration commands:
12873 Report bugs to <j@bitron.ch>."
12876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12879 vala config.status 0.26.1
12880 configured by $0, generated by GNU Autoconf 2.69,
12881 with options \\"\$ac_cs_config\\"
12883 Copyright (C) 2012 Free Software Foundation, Inc.
12884 This config.status script is free software; the Free Software Foundation
12885 gives unlimited permission to copy, distribute and modify it."
12892 test -n "\$AWK" || AWK=awk
12895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12896 # The default lists apply if the user does not specify any file.
12902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12903 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12907 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12919 # Handling of the options.
12920 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12922 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12923 $as_echo "$ac_cs_version"; exit ;;
12924 --config | --confi | --conf | --con | --co | --c )
12925 $as_echo "$ac_cs_config"; exit ;;
12926 --debug | --debu | --deb | --de | --d | -d )
12928 --file | --fil | --fi | --f )
12931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12932 '') as_fn_error $? "missing file argument" ;;
12934 as_fn_append CONFIG_FILES " '$ac_optarg'"
12935 ac_need_defaults=false;;
12936 --header | --heade | --head | --hea )
12939 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12941 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12942 ac_need_defaults=false;;
12944 # Conflict between --help and --header
12945 as_fn_error $? "ambiguous option: \`$1'
12946 Try \`$0 --help' for more information.";;
12947 --help | --hel | -h )
12948 $as_echo "$ac_cs_usage"; exit ;;
12949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12950 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12953 # This is an error.
12954 -*) as_fn_error $? "unrecognized option: \`$1'
12955 Try \`$0 --help' for more information." ;;
12957 *) as_fn_append ac_config_targets " $1"
12958 ac_need_defaults=false ;;
12964 ac_configure_extra_args=
12966 if $ac_cs_silent; then
12968 ac_configure_extra_args="$ac_configure_extra_args --silent"
12972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12973 if \$ac_cs_recheck; then
12974 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12976 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12977 CONFIG_SHELL='$SHELL'
12978 export CONFIG_SHELL
12983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12988 ## Running $as_me. ##
12994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13001 # The HP-UX ksh and POSIX shell print the target directory to stdout
13002 # if CDPATH is set.
13003 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13005 sed_quote_subst='$sed_quote_subst'
13006 double_quote_subst='$double_quote_subst'
13007 delay_variable_subst='$delay_variable_subst'
13008 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13012 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13013 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13014 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13015 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13016 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13017 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13018 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13019 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13020 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13021 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13022 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13023 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13024 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13025 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13026 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13027 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13028 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13029 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13030 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13031 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13032 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13033 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13034 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13035 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13036 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13037 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13038 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13039 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13040 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13041 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13042 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13043 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13044 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13045 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13046 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13047 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13048 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13049 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13050 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13051 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13052 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13053 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13054 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13055 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13056 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13057 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13058 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13059 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13060 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13061 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13062 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13063 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13064 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"`'
13065 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13066 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13067 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13068 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13069 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13071 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13072 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13073 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13074 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13075 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13076 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13077 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13078 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13079 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13080 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13081 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13082 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13083 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13084 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13085 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13086 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13087 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13088 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13089 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13090 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13091 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13092 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13093 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13094 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13095 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13096 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13097 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13098 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13099 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13100 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13101 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13102 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13103 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13104 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13105 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13106 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13112 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13113 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13114 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13115 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13116 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13117 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13118 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13119 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13120 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13121 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13122 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13123 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13124 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13125 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13126 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13127 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13128 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13129 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13130 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13131 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13132 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13133 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13134 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13135 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13136 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13137 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13140 LTCFLAGS='$LTCFLAGS'
13141 compiler='$compiler_DEFAULT'
13143 # A function that is used when there is no print builtin or printf.
13144 func_fallback_echo ()
13146 eval 'cat <<_LTECHO_EOF
13151 # Quote evaled strings.
13166 deplibs_check_method \
13171 sharedlib_from_linklib_cmd \
13174 archiver_list_spec \
13180 lt_cv_sys_global_symbol_pipe \
13181 lt_cv_sys_global_symbol_to_cdecl \
13182 lt_cv_sys_global_symbol_to_c_name_address \
13183 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13184 nm_file_list_spec \
13185 lt_prog_compiler_no_builtin_flag \
13186 lt_prog_compiler_pic \
13187 lt_prog_compiler_wl \
13188 lt_prog_compiler_static \
13189 lt_cv_prog_compiler_c_o \
13198 export_dynamic_flag_spec \
13199 whole_archive_flag_spec \
13200 compiler_needs_object \
13202 allow_undefined_flag \
13203 no_undefined_flag \
13204 hardcode_libdir_flag_spec \
13205 hardcode_libdir_separator \
13209 variables_saved_for_relink \
13211 library_names_spec \
13213 install_override_mode \
13217 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13218 *[\\\\\\\`\\"\\\$]*)
13219 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13222 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13227 # Double-quote double-evaled strings.
13228 for var in reload_cmds \
13229 old_postinstall_cmds \
13230 old_postuninstall_cmds \
13232 extract_expsyms_cmds \
13233 old_archive_from_new_cmds \
13234 old_archive_from_expsyms_cmds \
13236 archive_expsym_cmds \
13238 module_expsym_cmds \
13239 export_symbols_cmds \
13243 postuninstall_cmds \
13245 sys_lib_search_path_spec \
13246 sys_lib_dlsearch_path_spec; do
13247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13248 *[\\\\\\\`\\"\\\$]*)
13249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13257 ac_aux_dir='$ac_aux_dir'
13258 xsi_shell='$xsi_shell'
13259 lt_shell_append='$lt_shell_append'
13261 # See if we are running on zsh, and set the options which allow our
13262 # commands through without removal of \ escapes INIT.
13263 if test -n "\${ZSH_VERSION+set}" ; then
13264 setopt NO_GLOB_SUBST
13270 TIMESTAMP='$TIMESTAMP'
13279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13281 # Handling of arguments.
13282 for ac_config_target in $ac_config_targets
13284 case $ac_config_target in
13285 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13286 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13287 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13288 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13289 "libvala.pc") CONFIG_FILES="$CONFIG_FILES libvala.pc" ;;
13290 "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
13291 "ccode/Makefile") CONFIG_FILES="$CONFIG_FILES ccode/Makefile" ;;
13292 "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
13293 "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
13294 "compiler/Makefile") CONFIG_FILES="$CONFIG_FILES compiler/Makefile" ;;
13295 "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
13296 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13297 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13298 "doc/vala/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vala/Makefile" ;;
13299 "gobject-introspection/Makefile") CONFIG_FILES="$CONFIG_FILES gobject-introspection/Makefile" ;;
13300 "vapigen/vapigen.pc") CONFIG_FILES="$CONFIG_FILES vapigen/vapigen.pc" ;;
13301 "vapigen/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/Makefile" ;;
13302 "vapigen/vala-gen-introspect/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/Makefile" ;;
13303 "vapigen/vala-gen-introspect/vala-gen-introspect") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/vala-gen-introspect" ;;
13305 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13310 # If the user did not use the arguments to specify the items to instantiate,
13311 # then the envvar interface is used. Set only those that are not.
13312 # We use the long form for the default assignment because of an extremely
13313 # bizarre bug on SunOS 4.1.3.
13314 if $ac_need_defaults; then
13315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13317 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13320 # Have a temporary directory for convenience. Make it in the build tree
13321 # simply because there is no reason against having it here, and in addition,
13322 # creating and moving files from /tmp can sometimes cause problems.
13323 # Hook for its removal unless debugging.
13324 # Note that there is a small window in which the directory will not be cleaned:
13325 # after its creation but before its name has been assigned to `$tmp'.
13329 trap 'exit_status=$?
13330 : "${ac_tmp:=$tmp}"
13331 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13333 trap 'as_fn_exit 1' 1 2 13 15
13335 # Create a (secure) tmp directory for tmp files.
13338 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13342 tmp=./conf$$-$RANDOM
13343 (umask 077 && mkdir "$tmp")
13344 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13347 # Set up the scripts for CONFIG_FILES section.
13348 # No need to generate them if there are no CONFIG_FILES.
13349 # This happens for instance with `./config.status config.h'.
13350 if test -n "$CONFIG_FILES"; then
13353 ac_cr=`echo X | tr X '\015'`
13354 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13355 # But we know of no other shell where ac_cr would be empty at this
13356 # point, so we can use a bashism as a fallback.
13357 if test "x$ac_cr" = x; then
13358 eval ac_cr=\$\'\\r\'
13360 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13361 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13364 ac_cs_awk_cr=$ac_cr
13367 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13372 echo "cat >conf$$subs.awk <<_ACEOF" &&
13373 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13375 } >conf$$subs.sh ||
13376 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13377 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13379 for ac_last_try in false false false false false :; do
13380 . ./conf$$subs.sh ||
13381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13383 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13384 if test $ac_delim_n = $ac_delim_num; then
13386 elif $ac_last_try; then
13387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13392 rm -f conf$$subs.sh
13394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13399 s/^/S["/; s/!.*/"]=/
13409 s/\(.\{148\}\)..*/\1/
13411 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13416 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13423 s/\(.\{148\}\)..*/\1/
13425 s/["\\]/\\&/g; s/^/"/; s/$/"/
13429 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13434 ' <conf$$subs.awk | sed '
13439 ' >>$CONFIG_STATUS || ac_write_fail=1
13440 rm -f conf$$subs.awk
13441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13443 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13444 for (key in S) S_is_set[key] = 1
13450 nfields = split(line, field, "@")
13452 len = length(field[1])
13453 for (i = 2; i < nfields; i++) {
13455 keylen = length(key)
13456 if (S_is_set[key]) {
13458 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13459 len += length(value) + length(field[++i])
13470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13471 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13472 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13475 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13476 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13479 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13480 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13481 # trailing colons and then remove the whole line if VPATH becomes empty
13482 # (actually we leave an empty line to preserve line numbers).
13483 if test "x$srcdir" = x.; then
13484 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13503 fi # test -n "$CONFIG_FILES"
13505 # Set up the scripts for CONFIG_HEADERS section.
13506 # No need to generate them if there are no CONFIG_HEADERS.
13507 # This happens for instance with `./config.status Makefile'.
13508 if test -n "$CONFIG_HEADERS"; then
13509 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13513 # Transform confdefs.h into an awk script `defines.awk', embedded as
13514 # here-document in config.status, that substitutes the proper values into
13515 # config.h.in to produce config.h.
13517 # Create a delimiter string that does not exist in confdefs.h, to ease
13518 # handling of long lines.
13520 for ac_last_try in false false :; do
13521 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13522 if test -z "$ac_tt"; then
13524 elif $ac_last_try; then
13525 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13527 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13531 # For the awk script, D is an array of macro values keyed by name,
13532 # likewise P contains macro parameters if any. Preserve backslash
13533 # newline sequences.
13535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13537 s/.\{148\}/&'"$ac_delim"'/g
13540 s/^[ ]*#[ ]*define[ ][ ]*/ /
13547 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13549 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13554 D["\1"]=" \3\\\\\\n"\\/p
13556 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13561 s/.\{148\}/&'"$ac_delim"'/g
13566 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13569 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13571 ' <confdefs.h | sed '
13572 s/'"$ac_delim"'/"\\\
13573 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13576 for (key in D) D_is_set[key] = 1
13579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13581 split(line, arg, " ")
13582 if (arg[1] == "#") {
13586 defundef = substr(arg[1], 2)
13589 split(mac1, mac2, "(") #)
13591 prefix = substr(line, 1, index(line, defundef) - 1)
13592 if (D_is_set[macro]) {
13593 # Preserve the white space surrounding the "#".
13594 print prefix "define", macro P[macro] D[macro]
13597 # Replace #undef with comments. This is necessary, for example,
13598 # in the case of _POSIX_SOURCE, which is predefined and required
13599 # on some systems where configure will not decide to define it.
13600 if (defundef == "undef") {
13601 print "/*", prefix defundef, macro, "*/"
13609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13610 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13611 fi # test -n "$CONFIG_HEADERS"
13614 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13619 :[FHLC]) ac_mode=$ac_tag; continue;;
13621 case $ac_mode$ac_tag in
13623 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13624 :[FH]-) ac_tag=-:-;;
13625 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13642 -) ac_f="$ac_tmp/stdin";;
13643 *) # Look for the file first in the build tree, then in the source tree
13644 # (if the path is not absolute). The absolute path cannot be DOS-style,
13645 # because $ac_f cannot contain `:'.
13649 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13651 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13653 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13654 as_fn_append ac_file_inputs " '$ac_f'"
13657 # Let's still pretend it is `configure' which instantiates (i.e., don't
13658 # use $as_me), people would be surprised to read:
13659 # /* config.h. Generated by config.status. */
13660 configure_input='Generated from '`
13661 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13663 if test x"$ac_file" != x-; then
13664 configure_input="$ac_file. $configure_input"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13666 $as_echo "$as_me: creating $ac_file" >&6;}
13668 # Neutralize special characters interpreted by sed in replacement strings.
13669 case $configure_input in #(
13670 *\&* | *\|* | *\\* )
13671 ac_sed_conf_input=`$as_echo "$configure_input" |
13672 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13673 *) ac_sed_conf_input=$configure_input;;
13677 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13683 ac_dir=`$as_dirname -- "$ac_file" ||
13684 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13685 X"$ac_file" : 'X\(//\)[^/]' \| \
13686 X"$ac_file" : 'X\(//\)$' \| \
13687 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13688 $as_echo X"$ac_file" |
13689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13693 /^X\(\/\/\)[^/].*/{
13706 as_dir="$ac_dir"; as_fn_mkdir_p
13710 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13712 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13713 # A ".." for each directory in $ac_dir_suffix.
13714 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13715 case $ac_top_builddir_sub in
13716 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13717 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13720 ac_abs_top_builddir=$ac_pwd
13721 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13722 # for backward compatibility:
13723 ac_top_builddir=$ac_top_build_prefix
13726 .) # We are building in place.
13728 ac_top_srcdir=$ac_top_builddir_sub
13729 ac_abs_top_srcdir=$ac_pwd ;;
13730 [\\/]* | ?:[\\/]* ) # Absolute name.
13731 ac_srcdir=$srcdir$ac_dir_suffix;
13732 ac_top_srcdir=$srcdir
13733 ac_abs_top_srcdir=$srcdir ;;
13734 *) # Relative name.
13735 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13736 ac_top_srcdir=$ac_top_build_prefix$srcdir
13737 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13739 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13749 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13750 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13752 ac_MKDIR_P=$MKDIR_P
13754 [\\/$]* | ?:[\\/]* ) ;;
13755 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13760 # If the template does not know about datarootdir, expand it.
13761 # FIXME: This hack should be removed a few years after 2.60.
13762 ac_datarootdir_hack=; ac_datarootdir_seen=
13773 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13774 *datarootdir*) ac_datarootdir_seen=yes;;
13775 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13777 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780 ac_datarootdir_hack='
13781 s&@datadir@&$datadir&g
13782 s&@docdir@&$docdir&g
13783 s&@infodir@&$infodir&g
13784 s&@localedir@&$localedir&g
13785 s&@mandir@&$mandir&g
13786 s&\\\${datarootdir}&$datarootdir&g' ;;
13790 # Neutralize VPATH when `$srcdir' = `.'.
13791 # Shell code in configure.ac might set extrasub.
13792 # FIXME: do we really want to maintain this feature?
13793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13794 ac_sed_extra="$ac_vpsub
13797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13800 s|@configure_input@|$ac_sed_conf_input|;t t
13801 s&@top_builddir@&$ac_top_builddir_sub&;t t
13802 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13803 s&@srcdir@&$ac_srcdir&;t t
13804 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13805 s&@top_srcdir@&$ac_top_srcdir&;t t
13806 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13807 s&@builddir@&$ac_builddir&;t t
13808 s&@abs_builddir@&$ac_abs_builddir&;t t
13809 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13810 s&@INSTALL@&$ac_INSTALL&;t t
13811 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13812 $ac_datarootdir_hack
13814 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13815 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13818 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13819 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13820 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13822 which seems to be undefined. Please make sure it is defined" >&5
13823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13824 which seems to be undefined. Please make sure it is defined" >&2;}
13826 rm -f "$ac_tmp/stdin"
13828 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13829 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13837 if test x"$ac_file" != x-; then
13839 $as_echo "/* $configure_input */" \
13840 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13841 } >"$ac_tmp/config.h" \
13842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13843 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13845 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13848 mv "$ac_tmp/config.h" "$ac_file" \
13849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13852 $as_echo "/* $configure_input */" \
13853 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13854 || as_fn_error $? "could not create -" "$LINENO" 5
13856 # Compute "$ac_file"'s index in $config_headers.
13859 for _am_header in $config_headers :; do
13860 case $_am_header in
13861 $_am_arg | $_am_arg:* )
13864 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13867 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13868 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13869 X"$_am_arg" : 'X\(//\)[^/]' \| \
13870 X"$_am_arg" : 'X\(//\)$' \| \
13871 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13872 $as_echo X"$_am_arg" |
13873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13877 /^X\(\/\/\)[^/].*/{
13889 s/.*/./; q'`/stamp-h$_am_stamp_count
13892 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13893 $as_echo "$as_me: executing $ac_file commands" >&6;}
13898 case $ac_file$ac_mode in
13899 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13900 # Older Autoconf quotes --file arguments for eval, but not when files
13901 # are listed without --file. Let's play safe and only enable the eval
13902 # if we detect the quoting.
13903 case $CONFIG_FILES in
13904 *\'*) eval set x "$CONFIG_FILES" ;;
13905 *) set x $CONFIG_FILES ;;
13910 # Strip MF so we end up with the name of the file.
13911 mf=`echo "$mf" | sed -e 's/:.*$//'`
13912 # Check whether this is an Automake generated Makefile or not.
13913 # We used to match only the files named 'Makefile.in', but
13914 # some people rename them; so instead we look at the file content.
13915 # Grep'ing the first line is not enough: some people post-process
13916 # each Makefile.in and add a new line on top of each file to say so.
13917 # Grep'ing the whole file is not good either: AIX grep has a line
13918 # limit of 2048, but all sed's we know have understand at least 4000.
13919 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13920 dirpart=`$as_dirname -- "$mf" ||
13921 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13922 X"$mf" : 'X\(//\)[^/]' \| \
13923 X"$mf" : 'X\(//\)$' \| \
13924 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13930 /^X\(\/\/\)[^/].*/{
13946 # Extract the definition of DEPDIR, am__include, and am__quote
13947 # from the Makefile without running 'make'.
13948 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13949 test -z "$DEPDIR" && continue
13950 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13951 test -z "$am__include" && continue
13952 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13953 # Find all dependency output files, they are included files with
13954 # $(DEPDIR) in their names. We invoke sed twice because it is the
13955 # simplest approach to changing $(DEPDIR) to its actual value in the
13957 for file in `sed -n "
13958 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13959 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13960 # Make sure the directory exists.
13961 test -f "$dirpart/$file" && continue
13962 fdir=`$as_dirname -- "$file" ||
13963 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13964 X"$file" : 'X\(//\)[^/]' \| \
13965 X"$file" : 'X\(//\)$' \| \
13966 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13967 $as_echo X"$file" |
13968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13972 /^X\(\/\/\)[^/].*/{
13985 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13986 # echo "creating $dirpart/$file"
13987 echo '# dummy' > "$dirpart/$file"
13994 # See if we are running on zsh, and set the options which allow our
13995 # commands through without removal of \ escapes.
13996 if test -n "${ZSH_VERSION+set}" ; then
13997 setopt NO_GLOB_SUBST
14000 cfgfile="${ofile}T"
14001 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14004 cat <<_LT_EOF >> "$cfgfile"
14007 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14008 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14009 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14010 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14012 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14013 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14015 # Written by Gordon Matzigkeit, 1996
14017 # This file is part of GNU Libtool.
14019 # GNU Libtool is free software; you can redistribute it and/or
14020 # modify it under the terms of the GNU General Public License as
14021 # published by the Free Software Foundation; either version 2 of
14022 # the License, or (at your option) any later version.
14024 # As a special exception to the GNU General Public License,
14025 # if you distribute this file as part of a program or library that
14026 # is built using GNU Libtool, you may include this file under the
14027 # same distribution terms that you use for the rest of that program.
14029 # GNU Libtool is distributed in the hope that it will be useful,
14030 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14031 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14032 # GNU General Public License for more details.
14034 # You should have received a copy of the GNU General Public License
14035 # along with GNU Libtool; see the file COPYING. If not, a copy
14036 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14037 # obtained by writing to the Free Software Foundation, Inc.,
14038 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14041 # The names of the tagged configurations supported by this script.
14044 # ### BEGIN LIBTOOL CONFIG
14046 # Whether or not to build static libraries.
14047 build_old_libs=$enable_static
14049 # Which release of libtool.m4 was used?
14050 macro_version=$macro_version
14051 macro_revision=$macro_revision
14053 # Whether or not to build shared libraries.
14054 build_libtool_libs=$enable_shared
14056 # What type of objects to build.
14059 # Whether or not to optimize for fast installation.
14060 fast_install=$enable_fast_install
14062 # Shell to use when invoking shell scripts.
14065 # An echo program that protects backslashes.
14068 # The PATH separator for the build system.
14069 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14072 host_alias=$host_alias
14076 # The build system.
14077 build_alias=$build_alias
14081 # A sed program that does not truncate output.
14084 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14085 Xsed="\$SED -e 1s/^X//"
14087 # A grep program that handles long lines.
14093 # A literal string matcher.
14096 # A BSD- or MS-compatible name lister.
14099 # Whether we need soft or hard links.
14102 # What is the maximum length of a command?
14103 max_cmd_len=$max_cmd_len
14105 # Object file suffix (normally "o").
14108 # Executable file suffix (normally "").
14111 # whether the shell understands "unset".
14114 # turn spaces into newlines.
14117 # turn newlines into spaces.
14120 # convert \$build file names to \$host format.
14121 to_host_file_cmd=$lt_cv_to_host_file_cmd
14123 # convert \$build files to toolchain format.
14124 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14126 # An object symbol dumper.
14127 OBJDUMP=$lt_OBJDUMP
14129 # Method to check whether dependent libraries are shared objects.
14130 deplibs_check_method=$lt_deplibs_check_method
14132 # Command to use when deplibs_check_method = "file_magic".
14133 file_magic_cmd=$lt_file_magic_cmd
14135 # How to find potential files when deplibs_check_method = "file_magic".
14136 file_magic_glob=$lt_file_magic_glob
14138 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14139 want_nocaseglob=$lt_want_nocaseglob
14141 # DLL creation program.
14142 DLLTOOL=$lt_DLLTOOL
14144 # Command to associate shared and link libraries.
14145 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14150 # Flags to create an archive.
14151 AR_FLAGS=$lt_AR_FLAGS
14153 # How to feed a file listing to the archiver.
14154 archiver_list_spec=$lt_archiver_list_spec
14156 # A symbol stripping program.
14159 # Commands used to install an old-style archive.
14161 old_postinstall_cmds=$lt_old_postinstall_cmds
14162 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14164 # Whether to use a lock for old archive extraction.
14165 lock_old_archive_extraction=$lock_old_archive_extraction
14170 # LTCC compiler flags.
14171 LTCFLAGS=$lt_CFLAGS
14173 # Take the output of nm and produce a listing of raw symbols and C names.
14174 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14176 # Transform the output of nm in a proper C declaration.
14177 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14179 # Transform the output of nm in a C name address pair.
14180 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14182 # Transform the output of nm in a C name address pair when lib prefix is needed.
14183 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14185 # Specify filename containing input files for \$NM.
14186 nm_file_list_spec=$lt_nm_file_list_spec
14188 # The root where to search for dependent libraries,and in which our libraries should be installed.
14189 lt_sysroot=$lt_sysroot
14191 # The name of the directory that contains temporary libtool files.
14194 # Used to examine libraries when file_magic_cmd begins with "file".
14195 MAGIC_CMD=$MAGIC_CMD
14197 # Must we lock files when doing compilation?
14198 need_locks=$lt_need_locks
14201 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14203 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14204 DSYMUTIL=$lt_DSYMUTIL
14206 # Tool to change global to local symbols on Mac OS X.
14209 # Tool to manipulate fat objects and archives on Mac OS X.
14212 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14215 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14216 OTOOL64=$lt_OTOOL64
14218 # Old archive suffix (normally "a").
14221 # Shared library suffix (normally ".so").
14222 shrext_cmds=$lt_shrext_cmds
14224 # The commands to extract the exported symbol list from a shared archive.
14225 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14227 # Variables whose values should be saved in libtool wrapper scripts and
14228 # restored at link time.
14229 variables_saved_for_relink=$lt_variables_saved_for_relink
14231 # Do we need the "lib" prefix for modules?
14232 need_lib_prefix=$need_lib_prefix
14234 # Do we need a version for libraries?
14235 need_version=$need_version
14237 # Library versioning type.
14238 version_type=$version_type
14240 # Shared library runtime path variable.
14241 runpath_var=$runpath_var
14243 # Shared library path variable.
14244 shlibpath_var=$shlibpath_var
14246 # Is shlibpath searched before the hard-coded library search path?
14247 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14249 # Format of library name prefix.
14250 libname_spec=$lt_libname_spec
14252 # List of archive names. First name is the real one, the rest are links.
14253 # The last name is the one that the linker finds with -lNAME
14254 library_names_spec=$lt_library_names_spec
14256 # The coded name of the library, if different from the real name.
14257 soname_spec=$lt_soname_spec
14259 # Permission mode override for installation of shared libraries.
14260 install_override_mode=$lt_install_override_mode
14262 # Command to use after installation of a shared archive.
14263 postinstall_cmds=$lt_postinstall_cmds
14265 # Command to use after uninstallation of a shared archive.
14266 postuninstall_cmds=$lt_postuninstall_cmds
14268 # Commands used to finish a libtool library installation in a directory.
14269 finish_cmds=$lt_finish_cmds
14271 # As "finish_cmds", except a single script fragment to be evaled but
14273 finish_eval=$lt_finish_eval
14275 # Whether we should hardcode library paths into libraries.
14276 hardcode_into_libs=$hardcode_into_libs
14278 # Compile-time system search path for libraries.
14279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14281 # Run-time system search path for libraries.
14282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14284 # Whether dlopen is supported.
14285 dlopen_support=$enable_dlopen
14287 # Whether dlopen of programs is supported.
14288 dlopen_self=$enable_dlopen_self
14290 # Whether dlopen of statically linked programs is supported.
14291 dlopen_self_static=$enable_dlopen_self_static
14293 # Commands to strip libraries.
14294 old_striplib=$lt_old_striplib
14295 striplib=$lt_striplib
14298 # The linker used to build libraries.
14301 # How to create reloadable object files.
14302 reload_flag=$lt_reload_flag
14303 reload_cmds=$lt_reload_cmds
14305 # Commands used to build an old-style archive.
14306 old_archive_cmds=$lt_old_archive_cmds
14308 # A language specific compiler.
14311 # Is the compiler the GNU compiler?
14314 # Compiler flag to turn off builtin functions.
14315 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14317 # Additional compiler flags for building library objects.
14318 pic_flag=$lt_lt_prog_compiler_pic
14320 # How to pass a linker flag through the compiler.
14321 wl=$lt_lt_prog_compiler_wl
14323 # Compiler flag to prevent dynamic linking.
14324 link_static_flag=$lt_lt_prog_compiler_static
14326 # Does compiler simultaneously support -c and -o options?
14327 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14329 # Whether or not to add -lc for building shared libraries.
14330 build_libtool_need_lc=$archive_cmds_need_lc
14332 # Whether or not to disallow shared libs when runtime libs are static.
14333 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14335 # Compiler flag to allow reflexive dlopens.
14336 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14338 # Compiler flag to generate shared objects directly from archives.
14339 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14341 # Whether the compiler copes with passing no objects directly.
14342 compiler_needs_object=$lt_compiler_needs_object
14344 # Create an old-style archive from a shared archive.
14345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14347 # Create a temporary old-style archive to link instead of a shared archive.
14348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14350 # Commands used to build a shared archive.
14351 archive_cmds=$lt_archive_cmds
14352 archive_expsym_cmds=$lt_archive_expsym_cmds
14354 # Commands used to build a loadable module if different from building
14355 # a shared archive.
14356 module_cmds=$lt_module_cmds
14357 module_expsym_cmds=$lt_module_expsym_cmds
14359 # Whether we are building with GNU ld or not.
14360 with_gnu_ld=$lt_with_gnu_ld
14362 # Flag that allows shared libraries with undefined symbols to be built.
14363 allow_undefined_flag=$lt_allow_undefined_flag
14365 # Flag that enforces no undefined symbols.
14366 no_undefined_flag=$lt_no_undefined_flag
14368 # Flag to hardcode \$libdir into a binary during linking.
14369 # This must work even if \$libdir does not exist
14370 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14372 # Whether we need a single "-rpath" flag with a separated argument.
14373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14376 # DIR into the resulting binary.
14377 hardcode_direct=$hardcode_direct
14379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14380 # DIR into the resulting binary and the resulting library dependency is
14381 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14382 # library is relocated.
14383 hardcode_direct_absolute=$hardcode_direct_absolute
14385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14386 # into the resulting binary.
14387 hardcode_minus_L=$hardcode_minus_L
14389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14390 # into the resulting binary.
14391 hardcode_shlibpath_var=$hardcode_shlibpath_var
14393 # Set to "yes" if building a shared library automatically hardcodes DIR
14394 # into the library and all subsequent libraries and executables linked
14396 hardcode_automatic=$hardcode_automatic
14398 # Set to yes if linker adds runtime paths of dependent libraries
14399 # to runtime path list.
14400 inherit_rpath=$inherit_rpath
14402 # Whether libtool must link a program against all its dependency libraries.
14403 link_all_deplibs=$link_all_deplibs
14405 # Set to "yes" if exported symbols are required.
14406 always_export_symbols=$always_export_symbols
14408 # The commands to list exported symbols.
14409 export_symbols_cmds=$lt_export_symbols_cmds
14411 # Symbols that should not be listed in the preloaded symbols.
14412 exclude_expsyms=$lt_exclude_expsyms
14414 # Symbols that must always be exported.
14415 include_expsyms=$lt_include_expsyms
14417 # Commands necessary for linking programs (against libraries) with templates.
14418 prelink_cmds=$lt_prelink_cmds
14420 # Commands necessary for finishing linking programs.
14421 postlink_cmds=$lt_postlink_cmds
14423 # Specify filename containing input files.
14424 file_list_spec=$lt_file_list_spec
14426 # How to hardcode a shared library path into an executable.
14427 hardcode_action=$hardcode_action
14429 # ### END LIBTOOL CONFIG
14435 cat <<\_LT_EOF >> "$cfgfile"
14436 # AIX sometimes has problems with the GCC collect2 program. For some
14437 # reason, if we set the COLLECT_NAMES environment variable, the problems
14438 # vanish in a puff of smoke.
14439 if test "X${COLLECT_NAMES+set}" != Xset; then
14441 export COLLECT_NAMES
14448 ltmain="$ac_aux_dir/ltmain.sh"
14451 # We use sed instead of cat because bash on DJGPP gets confused if
14452 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14453 # text mode, it properly converts lines to CR/LF. This bash problem
14454 # is reportedly fixed, but why not run on old versions too?
14455 sed '$q' "$ltmain" >> "$cfgfile" \
14456 || (rm -f "$cfgfile"; exit 1)
14458 if test x"$xsi_shell" = xyes; then
14459 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14463 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14464 \ * ) func_dirname_result="${3}" ;;\
14466 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14467 && mv -f "$cfgfile.tmp" "$cfgfile" \
14468 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14469 test 0 -eq $? || _lt_function_replace_fail=:
14472 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14475 \ func_basename_result="${1##*/}"\
14476 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14477 && mv -f "$cfgfile.tmp" "$cfgfile" \
14478 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14479 test 0 -eq $? || _lt_function_replace_fail=:
14482 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14483 func_dirname_and_basename ()\
14486 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14487 \ * ) func_dirname_result="${3}" ;;\
14489 \ func_basename_result="${1##*/}"\
14490 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14491 && mv -f "$cfgfile.tmp" "$cfgfile" \
14492 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14493 test 0 -eq $? || _lt_function_replace_fail=:
14496 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14499 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14500 \ # positional parameters, so assign one to ordinary parameter first.\
14501 \ func_stripname_result=${3}\
14502 \ func_stripname_result=${func_stripname_result#"${1}"}\
14503 \ func_stripname_result=${func_stripname_result%"${2}"}\
14504 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14505 && mv -f "$cfgfile.tmp" "$cfgfile" \
14506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14507 test 0 -eq $? || _lt_function_replace_fail=:
14510 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14511 func_split_long_opt ()\
14513 \ func_split_long_opt_name=${1%%=*}\
14514 \ func_split_long_opt_arg=${1#*=}\
14515 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14516 && mv -f "$cfgfile.tmp" "$cfgfile" \
14517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14518 test 0 -eq $? || _lt_function_replace_fail=:
14521 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14522 func_split_short_opt ()\
14524 \ func_split_short_opt_arg=${1#??}\
14525 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14526 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14527 && mv -f "$cfgfile.tmp" "$cfgfile" \
14528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14529 test 0 -eq $? || _lt_function_replace_fail=:
14532 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14536 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14537 \ *) func_lo2o_result=${1} ;;\
14539 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14540 && mv -f "$cfgfile.tmp" "$cfgfile" \
14541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14542 test 0 -eq $? || _lt_function_replace_fail=:
14545 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14548 func_xform_result=${1%.*}.lo\
14549 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14550 && mv -f "$cfgfile.tmp" "$cfgfile" \
14551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14552 test 0 -eq $? || _lt_function_replace_fail=:
14555 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14558 func_arith_result=$(( $* ))\
14559 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14560 && mv -f "$cfgfile.tmp" "$cfgfile" \
14561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14562 test 0 -eq $? || _lt_function_replace_fail=:
14565 sed -e '/^func_len ()$/,/^} # func_len /c\
14568 func_len_result=${#1}\
14569 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14570 && mv -f "$cfgfile.tmp" "$cfgfile" \
14571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14572 test 0 -eq $? || _lt_function_replace_fail=:
14576 if test x"$lt_shell_append" = xyes; then
14577 sed -e '/^func_append ()$/,/^} # func_append /c\
14580 eval "${1}+=\\${2}"\
14581 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14582 && mv -f "$cfgfile.tmp" "$cfgfile" \
14583 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14584 test 0 -eq $? || _lt_function_replace_fail=:
14587 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14588 func_append_quoted ()\
14590 \ func_quote_for_eval "${2}"\
14591 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14592 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14593 && mv -f "$cfgfile.tmp" "$cfgfile" \
14594 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14595 test 0 -eq $? || _lt_function_replace_fail=:
14598 # Save a `func_append' function call where possible by direct use of '+='
14599 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14600 && mv -f "$cfgfile.tmp" "$cfgfile" \
14601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14602 test 0 -eq $? || _lt_function_replace_fail=:
14604 # Save a `func_append' function call even when '+=' is not available
14605 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14606 && mv -f "$cfgfile.tmp" "$cfgfile" \
14607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14608 test 0 -eq $? || _lt_function_replace_fail=:
14611 if test x"$_lt_function_replace_fail" = x":"; then
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14613 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14617 mv -f "$cfgfile" "$ofile" ||
14618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14629 ac_clean_files=$ac_clean_files_save
14631 test $ac_write_fail = 0 ||
14632 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14635 # configure is writing to config.log, and then calls config.status.
14636 # config.status does its own redirection, appending to config.log.
14637 # Unfortunately, on DOS this fails, as config.log is still kept open
14638 # by configure, so config.status won't be able to write to it; its
14639 # output is simply discarded. So we exec the FD to /dev/null,
14640 # effectively closing config.log, so it can be properly (re)opened and
14641 # appended to by config.status. When coming back to configure, we
14642 # need to make the FD available again.
14643 if test "$no_create" != yes; then
14645 ac_config_status_args=
14646 test "$silent" = yes &&
14647 ac_config_status_args="$ac_config_status_args --quiet"
14649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14652 # would make configure fail if this is the last instruction.
14653 $ac_cs_success || as_fn_exit 1
14655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14657 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}