2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libgsignon-glib 2.0.3.
5 # Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://code.google.com/p/accounts-sso/issues/entry
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='libgsignon-glib'
573 PACKAGE_TARNAME='libgsignon-glib'
574 PACKAGE_VERSION='2.0.3'
575 PACKAGE_STRING='libgsignon-glib 2.0.3'
576 PACKAGE_BUGREPORT='http://code.google.com/p/accounts-sso/issues/entry'
577 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
579 ac_unique_file="libgsignon-glib.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
632 GTK_DOC_USE_REBASE_FALSE
633 GTK_DOC_USE_REBASE_TRUE
634 GTK_DOC_USE_LIBTOOL_FALSE
635 GTK_DOC_USE_LIBTOOL_TRUE
636 GTK_DOC_BUILD_PDF_FALSE
637 GTK_DOC_BUILD_PDF_TRUE
638 GTK_DOC_BUILD_HTML_FALSE
639 GTK_DOC_BUILD_HTML_TRUE
658 HAVE_INTROSPECTION_FALSE
659 HAVE_INTROSPECTION_TRUE
660 INTROSPECTION_MAKEFILE
663 INTROSPECTION_TYPELIBDIR
665 INTROSPECTION_GENERATE
666 INTROSPECTION_COMPILER
667 INTROSPECTION_SCANNER
730 INSTALL_STRIP_PROGRAM
772 program_transform_name
785 enable_option_checking
787 enable_dependency_tracking
809 ac_precious_vars='build_alias
832 # Initialize some variables set by options.
834 ac_init_version=false
835 ac_unrecognized_opts=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name=s,x,x,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
892 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 -build | --build | --buil | --bui | --bu)
909 ac_prev=build_alias ;;
910 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911 build_alias=$ac_optarg ;;
913 -cache-file | --cache-file | --cache-fil | --cache-fi \
914 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915 ac_prev=cache_file ;;
916 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918 cache_file=$ac_optarg ;;
921 cache_file=config.cache ;;
923 -datadir | --datadir | --datadi | --datad)
925 -datadir=* | --datadir=* | --datadi=* | --datad=*)
926 datadir=$ac_optarg ;;
928 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929 | --dataroo | --dataro | --datar)
930 ac_prev=datarootdir ;;
931 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933 datarootdir=$ac_optarg ;;
935 -disable-* | --disable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=no ;;
951 -docdir | --docdir | --docdi | --doc | --do)
953 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 -enable-* | --enable-*)
962 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 as_fn_error $? "invalid feature name: $ac_useropt"
966 ac_useropt_orig=$ac_useropt
967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep=', ';;
975 eval enable_$ac_useropt=\$ac_optarg ;;
977 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979 | --exec | --exe | --ex)
980 ac_prev=exec_prefix ;;
981 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983 | --exec=* | --exe=* | --ex=*)
984 exec_prefix=$ac_optarg ;;
986 -gas | --gas | --ga | --g)
987 # Obsolete; use --with-gas.
990 -help | --help | --hel | --he | -h)
992 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993 ac_init_help=recursive ;;
994 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995 ac_init_help=short ;;
997 -host | --host | --hos | --ho)
998 ac_prev=host_alias ;;
999 -host=* | --host=* | --hos=* | --ho=*)
1000 host_alias=$ac_optarg ;;
1002 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 htmldir=$ac_optarg ;;
1008 -includedir | --includedir | --includedi | --included | --include \
1009 | --includ | --inclu | --incl | --inc)
1010 ac_prev=includedir ;;
1011 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012 | --includ=* | --inclu=* | --incl=* | --inc=*)
1013 includedir=$ac_optarg ;;
1015 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018 infodir=$ac_optarg ;;
1020 -libdir | --libdir | --libdi | --libd)
1022 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023 libdir=$ac_optarg ;;
1025 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026 | --libexe | --libex | --libe)
1027 ac_prev=libexecdir ;;
1028 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029 | --libexe=* | --libex=* | --libe=*)
1030 libexecdir=$ac_optarg ;;
1032 -localedir | --localedir | --localedi | --localed | --locale)
1033 ac_prev=localedir ;;
1034 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035 localedir=$ac_optarg ;;
1037 -localstatedir | --localstatedir | --localstatedi | --localstated \
1038 | --localstate | --localstat | --localsta | --localst | --locals)
1039 ac_prev=localstatedir ;;
1040 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042 localstatedir=$ac_optarg ;;
1044 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047 mandir=$ac_optarg ;;
1049 -nfp | --nfp | --nf)
1050 # Obsolete; use --without-fp.
1053 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054 | --no-cr | --no-c | -n)
1057 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063 | --oldin | --oldi | --old | --ol | --o)
1064 ac_prev=oldincludedir ;;
1065 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068 oldincludedir=$ac_optarg ;;
1070 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073 prefix=$ac_optarg ;;
1075 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076 | --program-pre | --program-pr | --program-p)
1077 ac_prev=program_prefix ;;
1078 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080 program_prefix=$ac_optarg ;;
1082 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083 | --program-suf | --program-su | --program-s)
1084 ac_prev=program_suffix ;;
1085 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087 program_suffix=$ac_optarg ;;
1089 -program-transform-name | --program-transform-name \
1090 | --program-transform-nam | --program-transform-na \
1091 | --program-transform-n | --program-transform- \
1092 | --program-transform | --program-transfor \
1093 | --program-transfo | --program-transf \
1094 | --program-trans | --program-tran \
1095 | --progr-tra | --program-tr | --program-t)
1096 ac_prev=program_transform_name ;;
1097 -program-transform-name=* | --program-transform-name=* \
1098 | --program-transform-nam=* | --program-transform-na=* \
1099 | --program-transform-n=* | --program-transform-=* \
1100 | --program-transform=* | --program-transfor=* \
1101 | --program-transfo=* | --program-transf=* \
1102 | --program-trans=* | --program-tran=* \
1103 | --progr-tra=* | --program-tr=* | --program-t=*)
1104 program_transform_name=$ac_optarg ;;
1106 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109 pdfdir=$ac_optarg ;;
1111 -psdir | --psdir | --psdi | --psd | --ps)
1113 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117 | -silent | --silent | --silen | --sile | --sil)
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 sbindir=$ac_optarg ;;
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1130 ac_prev=sharedstatedir ;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 sharedstatedir=$ac_optarg ;;
1137 -site | --site | --sit)
1139 -site=* | --site=* | --sit=*)
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir=$ac_optarg ;;
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev=sysconfdir ;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir=$ac_optarg ;;
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev=target_alias ;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias=$ac_optarg ;;
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version=: ;;
1166 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1179 eval with_$ac_useropt=\$ac_optarg ;;
1181 -without-* | --without-*)
1182 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=no ;;
1198 # Obsolete; use --with-x.
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev=x_includes ;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes=$ac_optarg ;;
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev=x_libraries ;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries=$ac_optarg ;;
1215 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240 if test -n "$ac_prev"; then
1241 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $? "missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val=\$$ac_var
1260 # Remove trailing slashes.
1263 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$]* | ?:[\\/]* ) continue;;
1269 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283 if test "x$build_alias" = x; then
1284 cross_compiling=maybe
1285 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1286 If a cross compiler is detected then cross compile mode will be used" >&2
1287 elif test "x$build_alias" != "x$host_alias"; then
1293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1295 test "$silent" = yes && exec 6>/dev/null
1298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di=`ls -di .` &&
1300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1301 as_fn_error $? "working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 as_fn_error $? "pwd does not report name of working directory"
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$as_myself" : 'X\(//\)[^/]' \| \
1313 X"$as_myself" : 'X\(//\)$' \| \
1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 for ac_var in $ac_precious_vars; do
1359 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_${ac_var}_value=\$${ac_var}
1361 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures libgsignon-glib 2.0.3 to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking ...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/libgsignon-glib]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --program-prefix=PREFIX prepend PREFIX to installed program names
1431 --program-suffix=SUFFIX append SUFFIX to installed program names
1432 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1435 --build=BUILD configure for building on BUILD [guessed]
1436 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive ) echo "Configuration of libgsignon-glib 2.0.3:";;
1447 --disable-option-checking ignore unrecognized --enable/--with options
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --enable-silent-rules less verbose build output (undo: `make V=1')
1451 --disable-silent-rules verbose build output (undo: `make V=0')
1452 --disable-dependency-tracking speeds up one-time build
1453 --enable-dependency-tracking do not reject slow dependency extractors
1454 --enable-static[=PKGS] build static libraries [default=no]
1455 --enable-shared[=PKGS] build shared libraries [default=yes]
1456 --enable-fast-install[=PKGS]
1457 optimize for fast installation [default=yes]
1458 --disable-libtool-lock avoid locking (might break parallel builds)
1459 --enable-introspection=[no/auto/yes]
1460 Enable introspection for this build
1461 --enable-dbus-type=dbus-type specify daemon dbus type:
1462 p2p(default): uses peer to peer dbus
1463 session: uses session message bus
1464 system: uses system message bus
1465 --disable-tests build with testing support disabled
1466 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1467 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1468 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1469 --disable-cast-checks compile with GLib cast checks disabled
1470 --disable-asserts compile with GLib assertions disabled
1471 --disable-checks compile with GLib checks disabled
1472 --enable-debug enable printing of debug messages
1473 --enable-coverage compile with coverage info
1474 --enable-python Build with python support
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1481 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1482 --with-sysroot=DIR Search for dependent libraries within DIR
1483 (or the compiler's sysroot if not specified).
1484 --with-html-dir=PATH path to installed docs
1486 Some influential environment variables:
1487 CC C compiler command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1490 nonstandard directory <lib dir>
1491 LIBS libraries to pass to the linker, e.g. -l<library>
1492 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1493 you have headers in a nonstandard directory <include dir>
1495 PKG_CONFIG path to pkg-config utility
1497 directories to add to pkg-config's search path
1499 path overriding pkg-config's built-in search path
1500 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1501 DEPS_LIBS linker flags for DEPS, overriding pkg-config
1503 C compiler flags for GTestDBus, overriding pkg-config
1505 linker flags for GTestDBus, overriding pkg-config
1507 C compiler flags for CHECK, overriding pkg-config
1508 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1510 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1512 linker flags for GTKDOC_DEPS, overriding pkg-config
1513 PYTHON the Python interpreter
1515 Use these variables to override the choices made by `configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1518 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
1519 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>.
1524 if test "$ac_init_help" = "recursive"; then
1525 # If there are subdirs, report their specific --help.
1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527 test -d "$ac_dir" ||
1528 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536 # A ".." for each directory in $ac_dir_suffix.
1537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538 case $ac_top_builddir_sub in
1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1549 .) # We are building in place.
1551 ac_top_srcdir=$ac_top_builddir_sub
1552 ac_abs_top_srcdir=$ac_pwd ;;
1553 [\\/]* | ?:[\\/]* ) # Absolute name.
1554 ac_srcdir=$srcdir$ac_dir_suffix;
1555 ac_top_srcdir=$srcdir
1556 ac_abs_top_srcdir=$srcdir ;;
1558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559 ac_top_srcdir=$ac_top_build_prefix$srcdir
1560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564 cd "$ac_dir" || { ac_status=$?; continue; }
1565 # Check for guested configure.
1566 if test -f "$ac_srcdir/configure.gnu"; then
1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569 elif test -f "$ac_srcdir/configure"; then
1571 $SHELL "$ac_srcdir/configure" --help=recursive
1573 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575 cd "$ac_pwd" || { ac_status=$?; break; }
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1582 libgsignon-glib configure 2.0.3
1583 generated by GNU Autoconf 2.68
1585 Copyright (C) 2010 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext
1603 if { { ac_try="$ac_compile"
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_compile") 2>conftest.err
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest.$ac_objext; then :
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status $ac_retval
1632 } # ac_fn_c_try_compile
1634 # ac_fn_c_try_link LINENO
1635 # -----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 rm -f conftest.$ac_objext conftest$ac_exeext
1641 if { { ac_try="$ac_link"
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>conftest.err
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } && {
1657 test -z "$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1659 } && test -s conftest$ac_exeext && {
1660 test "$cross_compiling" = yes ||
1661 $as_test_x conftest$ac_exeext
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672 # interfere with the next link command; also delete a directory that is
1673 # left behind by Apple's compiler. We do this before executing the actions.
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_c_try_link
1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1681 # -------------------------------------------------------
1682 # Tests whether HEADER exists and can be compiled using the include files in
1683 # INCLUDES, setting the cache variable VAR accordingly.
1684 ac_fn_c_check_header_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690 $as_echo_n "(cached) " >&6
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1697 if ac_fn_c_try_compile "$LINENO"; then :
1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1706 $as_echo "$ac_res" >&6; }
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 } # ac_fn_c_check_header_compile
1711 # ac_fn_c_try_cpp LINENO
1712 # ----------------------
1713 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 if { { ac_try="$ac_cpp conftest.$ac_ext"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } > conftest.i && {
1733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>&5
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766 { { case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_try") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; }; }; then :
1778 $as_echo "$as_me: program exited with status $ac_status" >&5
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1782 ac_retval=$ac_status
1784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1790 # ac_fn_c_check_func LINENO FUNC VAR
1791 # ----------------------------------
1792 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1793 ac_fn_c_check_func ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1803 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1805 #define $2 innocuous_$2
1807 /* System header to define __stub macros and hopefully few prototypes,
1808 which can conflict with char $2 (); below.
1809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1810 <limits.h> exists even on freestanding compilers. */
1813 # include <limits.h>
1815 # include <assert.h>
1820 /* Override any GCC internal prototype to avoid an error.
1821 Use char because int might match the return type of a GCC
1822 builtin and then its argument prototype would still apply. */
1827 /* The GNU C library defines this for functions which it implements
1828 to always fail with ENOSYS. Some functions are actually named
1829 something starting with __ and the normal name is an alias. */
1830 #if defined __stub_$2 || defined __stub___$2
1842 if ac_fn_c_try_link "$LINENO"; then :
1847 rm -f core conftest.err conftest.$ac_objext \
1848 conftest$ac_exeext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_func
1856 cat >config.log <<_ACEOF
1857 This file contains any messages produced by compilers while
1858 running configure, to aid debugging if configure makes a mistake.
1860 It was created by libgsignon-glib $as_me 2.0.3, which was
1861 generated by GNU Autoconf 2.68. Invocation command line was
1873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 $as_echo "PATH: $as_dir"
1913 # Keep a trace of the command line.
1914 # Strip out --no-create and --no-recursion so they do not pile up.
1915 # Strip out --silent because we don't want to record it for future runs.
1916 # Also quote any args containing shell meta-characters.
1917 # Make two passes to allow for proper duplicate-argument suppression.
1921 ac_must_keep_next=false
1927 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1929 | -silent | --silent | --silen | --sile | --sil)
1932 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1935 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1937 as_fn_append ac_configure_args1 " '$ac_arg'"
1938 if test $ac_must_keep_next = true; then
1939 ac_must_keep_next=false # Got value, back to normal.
1942 *=* | --config-cache | -C | -disable-* | --disable-* \
1943 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1944 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1945 | -with-* | --with-* | -without-* | --without-* | --x)
1946 case "$ac_configure_args0 " in
1947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1950 -* ) ac_must_keep_next=true ;;
1953 as_fn_append ac_configure_args " '$ac_arg'"
1958 { ac_configure_args0=; unset ac_configure_args0;}
1959 { ac_configure_args1=; unset ac_configure_args1;}
1961 # When interrupted or exit'd, cleanup temporary files, and complete
1962 # config.log. We remove comments because anyway the quotes in there
1963 # would cause problems or look ugly.
1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1966 trap 'exit_status=$?
1967 # Save into config.log some information that might help in debugging.
1971 $as_echo "## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##"
1975 # The following way of writing the cache mishandles newlines in values,
1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978 eval ac_val=\$$ac_var
1982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2007 $as_echo "## ----------------- ##
2008 ## Output variables. ##
2009 ## ----------------- ##"
2011 for ac_var in $ac_subst_vars
2013 eval ac_val=\$$ac_var
2015 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2017 $as_echo "$ac_var='\''$ac_val'\''"
2021 if test -n "$ac_subst_files"; then
2022 $as_echo "## ------------------- ##
2023 ## File substitutions. ##
2024 ## ------------------- ##"
2026 for ac_var in $ac_subst_files
2028 eval ac_val=\$$ac_var
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032 $as_echo "$ac_var='\''$ac_val'\''"
2037 if test -s confdefs.h; then
2038 $as_echo "## ----------- ##
2045 test "$ac_signal" != 0 &&
2046 $as_echo "$as_me: caught signal $ac_signal"
2047 $as_echo "$as_me: exit $exit_status"
2049 rm -f core *.core core.conftest.* &&
2050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2053 for ac_signal in 1 2 13 15; do
2054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2059 rm -f -r conftest* confdefs.h
2061 $as_echo "/* confdefs.h */" > confdefs.h
2063 # Predefined preprocessor variables.
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_NAME "$PACKAGE_NAME"
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_STRING "$PACKAGE_STRING"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_URL "$PACKAGE_URL"
2090 # Let the site file select an alternate cache file if it wants to.
2091 # Prefer an explicitly selected file to automatically selected ones.
2094 if test -n "$CONFIG_SITE"; then
2095 # We do not want a PATH search for config.site.
2096 case $CONFIG_SITE in #((
2097 -*) ac_site_file1=./$CONFIG_SITE;;
2098 */*) ac_site_file1=$CONFIG_SITE;;
2099 *) ac_site_file1=./$CONFIG_SITE;;
2101 elif test "x$prefix" != xNONE; then
2102 ac_site_file1=$prefix/share/config.site
2103 ac_site_file2=$prefix/etc/config.site
2105 ac_site_file1=$ac_default_prefix/share/config.site
2106 ac_site_file2=$ac_default_prefix/etc/config.site
2108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2110 test "x$ac_site_file" = xNONE && continue
2111 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2114 sed 's/^/| /' "$ac_site_file" >&5
2116 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2118 as_fn_error $? "failed to load site script $ac_site_file
2119 See \`config.log' for more details" "$LINENO" 5; }
2123 if test -r "$cache_file"; then
2124 # Some versions of bash will fail to source /dev/null (special files
2125 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2126 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
2130 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2131 *) . "./$cache_file";;
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
2140 # Check that the precious variables saved in the cache have kept the same
2142 ac_cache_corrupted=false
2143 for ac_var in $ac_precious_vars; do
2144 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2145 eval ac_new_set=\$ac_env_${ac_var}_set
2146 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2147 eval ac_new_val=\$ac_env_${ac_var}_value
2148 case $ac_old_set,$ac_new_set in
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2152 ac_cache_corrupted=: ;;
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2156 ac_cache_corrupted=: ;;
2159 if test "x$ac_old_val" != "x$ac_new_val"; then
2160 # differences in whitespace do not lead to failure.
2161 ac_old_val_w=`echo x $ac_old_val`
2162 ac_new_val_w=`echo x $ac_new_val`
2163 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2166 ac_cache_corrupted=:
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2170 eval $ac_var=\$ac_old_val
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2173 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2175 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2178 # Pass precious variables to config.status.
2179 if test "$ac_new_set" = set; then
2181 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 *) ac_arg=$ac_var=$ac_new_val ;;
2184 case " $ac_configure_args " in
2185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2186 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2190 if $ac_cache_corrupted; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2195 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2197 ## -------------------- ##
2198 ## Main body of script. ##
2199 ## -------------------- ##
2202 ac_cpp='$CPP $CPPFLAGS'
2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2210 for ac_dir in build-aux "$srcdir"/build-aux; do
2211 if test -f "$ac_dir/install-sh"; then
2213 ac_install_sh="$ac_aux_dir/install-sh -c"
2215 elif test -f "$ac_dir/install.sh"; then
2217 ac_install_sh="$ac_aux_dir/install.sh -c"
2219 elif test -f "$ac_dir/shtool"; then
2221 ac_install_sh="$ac_aux_dir/shtool install -c"
2225 if test -z "$ac_aux_dir"; then
2226 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2229 # These three variables are undocumented and unsupported,
2230 # and are intended to be withdrawn in a future Autoconf release.
2231 # They can cause serious problems if a builder's source tree is in a directory
2232 # whose full name contains unusual characters.
2233 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2234 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2235 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2238 ac_config_headers="$ac_config_headers config.h"
2243 am__api_version='1.11'
2245 # Find a good install program. We prefer a C program (faster),
2246 # so one script is as good as another. But avoid the broken or
2247 # incompatible versions:
2248 # SysV /etc/install, /usr/sbin/install
2249 # SunOS /usr/etc/install
2250 # IRIX /sbin/install
2252 # AmigaOS /C/install, which installs bootblocks on floppy discs
2253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2256 # OS/2's system install, which has a completely different semantic
2257 # ./install, which can be erroneously created by make from ./install.sh.
2258 # Reject install programs that cannot install multiple files.
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2261 if test -z "$INSTALL"; then
2262 if ${ac_cv_path_install+:} false; then :
2263 $as_echo_n "(cached) " >&6
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 # Account for people who put trailing slashes in PATH elements.
2271 case $as_dir/ in #((
2272 ./ | .// | /[cC]/* | \
2273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2274 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2277 # OSF1 and SCO ODT 3.0 have their own names for install.
2278 # Don't use installbsd from OSF since it installs stuff as root
2280 for ac_prog in ginstall scoinst install; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2283 if test $ac_prog = install &&
2284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285 # AIX install. It has an incompatible calling convention.
2287 elif test $ac_prog = install &&
2288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # program-specific install script used by HP pwplus--don't use.
2292 rm -rf conftest.one conftest.two conftest.dir
2293 echo one > conftest.one
2294 echo two > conftest.two
2296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2297 test -s conftest.one && test -s conftest.two &&
2298 test -s conftest.dir/conftest.one &&
2299 test -s conftest.dir/conftest.two
2301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314 rm -rf conftest.one conftest.two conftest.dir
2317 if test "${ac_cv_path_install+set}" = set; then
2318 INSTALL=$ac_cv_path_install
2320 # As a last resort, use the slow shell script. Don't cache a
2321 # value for INSTALL within a source directory, because that will
2322 # break other packages using the cache if that directory is
2323 # removed, or if the value is a relative name.
2324 INSTALL=$ac_install_sh
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2328 $as_echo "$INSTALL" >&6; }
2330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2331 # It thinks the first close brace ends the variable substitution.
2332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2339 $as_echo_n "checking whether build environment is sane... " >&6; }
2342 echo timestamp > conftest.file
2343 # Reject unsafe characters in $srcdir or the absolute working directory
2344 # name. Accept space and tab only in the latter.
2348 *[\\\"\#\$\&\'\`$am_lf]*)
2349 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2352 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2353 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2356 # Do `set' in a subshell so we don't clobber the current shell's
2357 # arguments. Must try -L first in case configure is actually a
2358 # symlink; some systems play weird games with the mod time of symlinks
2359 # (eg FreeBSD returns the mod time of the symlink's containing
2362 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2363 if test "$*" = "X"; then
2365 set X `ls -t "$srcdir/configure" conftest.file`
2368 if test "$*" != "X $srcdir/configure conftest.file" \
2369 && test "$*" != "X conftest.file $srcdir/configure"; then
2371 # If neither matched, then we have a broken ls. This can happen
2372 # if, for instance, CONFIG_SHELL is bash and it inherits a
2373 # broken ls alias from the environment. This has actually
2374 # happened. Such a system could not be considered "sane".
2375 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2376 alias in your environment" "$LINENO" 5
2379 test "$2" = conftest.file
2385 as_fn_error $? "newly created file is older than distributed files!
2386 Check your system clock" "$LINENO" 5
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2389 $as_echo "yes" >&6; }
2390 test "$program_prefix" != NONE &&
2391 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2392 # Use a double $ so make ignores it.
2393 test "$program_suffix" != NONE &&
2394 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2395 # Double any \ or $.
2396 # By default was `s,x,x', remove it if useless.
2397 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2398 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400 # expand $ac_aux_dir to an absolute path
2401 am_aux_dir=`cd $ac_aux_dir && pwd`
2403 if test x"${MISSING+set}" != xset; then
2406 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2408 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2411 # Use eval to expand $SHELL
2412 if eval "$MISSING --run true"; then
2413 am_missing_run="$MISSING --run "
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2417 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2420 if test x"${install_sh}" != xset; then
2423 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2425 install_sh="\${SHELL} $am_aux_dir/install-sh"
2429 # Installed binaries are usually stripped using `strip' when the user
2430 # run `make install-strip'. However `strip' might not be the right
2431 # tool to use in cross-compilation environments, therefore Automake
2432 # will honor the `STRIP' environment variable to overrule this program.
2433 if test "$cross_compiling" != no; then
2434 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}strip; ac_word=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_STRIP+:} false; then :
2440 $as_echo_n "(cached) " >&6
2442 if test -n "$STRIP"; then
2443 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 STRIP=$ac_cv_prog_STRIP
2463 if test -n "$STRIP"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2465 $as_echo "$STRIP" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2473 if test -z "$ac_cv_prog_STRIP"; then
2475 # Extract the first word of "strip", so it can be a program name with args.
2476 set dummy strip; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$ac_ct_STRIP"; then
2483 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_ac_ct_STRIP="strip"
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2503 if test -n "$ac_ct_STRIP"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2505 $as_echo "$ac_ct_STRIP" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2511 if test "x$ac_ct_STRIP" = x; then
2514 case $cross_compiling:$ac_tool_warned in
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2518 ac_tool_warned=yes ;;
2523 STRIP="$ac_cv_prog_STRIP"
2527 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2530 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2531 if test -z "$MKDIR_P"; then
2532 if ${ac_cv_path_mkdir+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2539 test -z "$as_dir" && as_dir=.
2540 for ac_prog in mkdir gmkdir; do
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2543 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2544 'mkdir (GNU coreutils) '* | \
2545 'mkdir (coreutils) '* | \
2546 'mkdir (fileutils) '4.1*)
2547 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2557 test -d ./--version && rmdir ./--version
2558 if test "${ac_cv_path_mkdir+set}" = set; then
2559 MKDIR_P="$ac_cv_path_mkdir -p"
2561 # As a last resort, use the slow shell script. Don't cache a
2562 # value for MKDIR_P within a source directory, because that will
2563 # break other packages using the cache if that directory is
2564 # removed, or if the value is a relative name.
2565 MKDIR_P="$ac_install_sh -d"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2569 $as_echo "$MKDIR_P" >&6; }
2573 [\\/$]* | ?:[\\/]*) ;;
2574 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2577 for ac_prog in gawk mawk nawk awk
2579 # Extract the first word of "$ac_prog", so it can be a program name with args.
2580 set dummy $ac_prog; ac_word=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if ${ac_cv_prog_AWK+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$AWK"; then
2587 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_AWK="$ac_prog"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$AWK"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2609 $as_echo "$AWK" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2616 test -n "$AWK" && break
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2620 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2622 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2623 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 cat >conftest.make <<\_ACEOF
2629 @echo '@@@%%%=$(MAKE)=@@@%%%'
2631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2634 eval ac_cv_prog_make_${ac_make}_set=yes;;
2636 eval ac_cv_prog_make_${ac_make}_set=no;;
2640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642 $as_echo "yes" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 SET_MAKE="MAKE=${MAKE-make}"
2650 rm -rf .tst 2>/dev/null
2651 mkdir .tst 2>/dev/null
2652 if test -d .tst; then
2657 rmdir .tst 2>/dev/null
2659 # Check whether --enable-silent-rules was given.
2660 if test "${enable_silent_rules+set}" = set; then :
2661 enableval=$enable_silent_rules;
2664 case $enable_silent_rules in
2665 yes) AM_DEFAULT_VERBOSITY=0;;
2666 no) AM_DEFAULT_VERBOSITY=1;;
2667 *) AM_DEFAULT_VERBOSITY=1;;
2669 am_make=${MAKE-make}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2671 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2672 if ${am_cv_make_support_nested_variables+:} false; then :
2673 $as_echo_n "(cached) " >&6
2675 if $as_echo 'TRUE=$(BAR$(V))
2681 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2682 am_cv_make_support_nested_variables=yes
2684 am_cv_make_support_nested_variables=no
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2688 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2689 if test $am_cv_make_support_nested_variables = yes; then
2691 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2693 AM_V=$AM_DEFAULT_VERBOSITY
2694 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2698 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2699 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2700 # is not polluted with repeated "-I."
2701 am__isrc=' -I$(srcdir)'
2702 # test to see if srcdir already configured
2703 if test -f $srcdir/config.status; then
2704 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2708 # test whether we have cygpath
2709 if test -z "$CYGPATH_W"; then
2710 if (cygpath --version) >/dev/null 2>/dev/null; then
2711 CYGPATH_W='cygpath -w'
2718 # Define the identity of the package.
2719 PACKAGE='libgsignon-glib'
2723 cat >>confdefs.h <<_ACEOF
2724 #define PACKAGE "$PACKAGE"
2728 cat >>confdefs.h <<_ACEOF
2729 #define VERSION "$VERSION"
2732 # Some tools Automake needs.
2734 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2737 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2740 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2743 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2746 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2748 # We need awk for the "check" target. The system "awk" is bad on
2750 # Always define AMTAR for backward compatibility. Yes, it's still used
2751 # in the wild :-( We should find a proper way to deprecate it ...
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2756 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2757 # Loop over all known methods to create a tar archive until one works.
2758 _am_tools='gnutar pax cpio none'
2759 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2760 # Do not fold the above two line into one, because Tru64 sh and
2761 # Solaris sh will not grok spaces in the rhs of `-'.
2762 for _am_tool in $_am_tools
2766 for _am_tar in tar gnutar gtar;
2768 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2769 ($_am_tar --version) >&5 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } && break
2774 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2775 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2776 am__untar="$_am_tar -xf -"
2779 # Must skip GNU tar: if it does not support --format= it doesn't create
2780 # ustar tarball either.
2781 (tar --version) >/dev/null 2>&1 && continue
2782 am__tar='tar chf - "$$tardir"'
2783 am__tar_='tar chf - "$tardir"'
2784 am__untar='tar xf -'
2787 am__tar='pax -L -x pax -w "$$tardir"'
2788 am__tar_='pax -L -x pax -w "$tardir"'
2792 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2793 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2794 am__untar='cpio -i -H pax -d'
2803 # If the value was cached, stop now. We just wanted to have am__tar
2804 # and am__untar set.
2805 test -n "${am_cv_prog_tar_pax}" && break
2807 # tar/untar a dummy directory, and stop if the command works
2810 echo GrepMe > conftest.dir/file
2811 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2812 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 if test -s conftest.tar; then
2818 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2819 ($am__untar <conftest.tar) >&5 2>&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }
2823 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2828 if ${am_cv_prog_tar_pax+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 am_cv_prog_tar_pax=$_am_tool
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2835 $as_echo "$am_cv_prog_tar_pax" >&6; }
2843 ac_cpp='$CPP $CPPFLAGS'
2844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2847 if test -n "$ac_tool_prefix"; then
2848 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2849 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if ${ac_cv_prog_CC+:} false; then :
2853 $as_echo_n "(cached) " >&6
2855 if test -n "$CC"; then
2856 ac_cv_prog_CC="$CC" # Let the user override the test.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$CC"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2878 $as_echo "$CC" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2886 if test -z "$ac_cv_prog_CC"; then
2888 # Extract the first word of "gcc", so it can be a program name with args.
2889 set dummy gcc; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2893 $as_echo_n "(cached) " >&6
2895 if test -n "$ac_ct_CC"; then
2896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905 ac_cv_prog_ac_ct_CC="gcc"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2916 if test -n "$ac_ct_CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2918 $as_echo "$ac_ct_CC" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2924 if test "x$ac_ct_CC" = x; then
2927 case $cross_compiling:$ac_tool_warned in
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931 ac_tool_warned=yes ;;
2939 if test -z "$CC"; then
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2942 set dummy ${ac_tool_prefix}cc; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_CC+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC="$CC" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_CC="${ac_tool_prefix}cc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 if test -n "$CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2980 if test -z "$CC"; then
2981 # Extract the first word of "cc", so it can be a program name with args.
2982 set dummy cc; ac_word=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_CC+:} false; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$CC"; then
2989 ac_cv_prog_CC="$CC" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3000 ac_prog_rejected=yes
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 if test $ac_prog_rejected = yes; then
3012 # We found a bogon in the path, so make sure we never use it.
3013 set dummy $ac_cv_prog_CC
3015 if test $# != 0; then
3016 # We chose a different compiler from the bogus one.
3017 # However, it has the same basename, so the bogon will be chosen
3018 # first if we set CC to just the basename; use the full file name.
3020 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3026 if test -n "$CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3028 $as_echo "$CC" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3036 if test -z "$CC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 for ac_prog in cl.exe
3040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_CC+:} false; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$CC"; then
3048 ac_cv_prog_CC="$CC" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$CC"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 $as_echo "$CC" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3077 test -n "$CC" && break
3080 if test -z "$CC"; then
3082 for ac_prog in cl.exe
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$ac_ct_CC"; then
3092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CC="$ac_prog"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3112 if test -n "$ac_ct_CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3114 $as_echo "$ac_ct_CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3121 test -n "$ac_ct_CC" && break
3124 if test "x$ac_ct_CC" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3140 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error $? "no acceptable C compiler found in \$PATH
3143 See \`config.log' for more details" "$LINENO" 5; }
3145 # Provide some information about the compiler.
3146 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3149 for ac_option in --version -v -V -qversion; do
3150 { { ac_try="$ac_compiler $ac_option >&5"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3159 if test -s conftest.err; then
3161 ... rest of stderr output deleted ...
3162 10q' conftest.err >conftest.er1
3163 cat conftest.er1 >&5
3165 rm -f conftest.er1 conftest.err
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3181 ac_clean_files_save=$ac_clean_files
3182 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3183 # Try to create an executable without -o first, disregard a.out.
3184 # It will help us diagnose broken compilers, and finding out an intuition
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3187 $as_echo_n "checking whether the C compiler works... " >&6; }
3188 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3190 # The possible output files:
3191 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3194 for ac_file in $ac_files
3197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3198 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3203 if { { ac_try="$ac_link_default"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_link_default") 2>&5
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }; then :
3214 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3215 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3216 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3217 # so that the user can short-circuit this test for compilers unknown to
3219 for ac_file in $ac_files ''
3221 test -f "$ac_file" || continue
3223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3226 # We found the default executable, but exeext='' is most
3230 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3232 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 # We set ac_cv_exeext here because the later test for it is not
3235 # safe: cross compilers may not add the suffix if given an `-o'
3236 # argument, so we may need to know it at that point already.
3237 # Even if this section looks crufty: it has the advantage of
3244 test "$ac_cv_exeext" = no && ac_cv_exeext=
3249 if test -z "$ac_file"; then :
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3257 as_fn_error 77 "C compiler cannot create executables
3258 See \`config.log' for more details" "$LINENO" 5; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3261 $as_echo "yes" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3264 $as_echo_n "checking for C compiler default output file name... " >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3266 $as_echo "$ac_file" >&6; }
3267 ac_exeext=$ac_cv_exeext
3269 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3270 ac_clean_files=$ac_clean_files_save
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3272 $as_echo_n "checking for suffix of executables... " >&6; }
3273 if { { ac_try="$ac_link"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_link") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; then :
3284 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3285 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3286 # work properly (i.e., refer to `conftest.exe'), while it won't with
3288 for ac_file in conftest.exe conftest conftest.*; do
3289 test -f "$ac_file" || continue
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3292 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3301 See \`config.log' for more details" "$LINENO" 5; }
3303 rm -f conftest conftest$ac_cv_exeext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3305 $as_echo "$ac_cv_exeext" >&6; }
3307 rm -f conftest.$ac_ext
3308 EXEEXT=$ac_cv_exeext
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3316 FILE *f = fopen ("conftest.out", "w");
3317 return ferror (f) || fclose (f) != 0;
3323 ac_clean_files="$ac_clean_files conftest.out"
3324 # Check that the compiler produces executables we can run. If not, either
3325 # the compiler is broken, or we cross compile.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3327 $as_echo_n "checking whether we are cross compiling... " >&6; }
3328 if test "$cross_compiling" != yes; then
3329 { { ac_try="$ac_link"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_link") 2>&5
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }
3340 if { ac_try='./conftest$ac_cv_exeext'
3341 { { case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_try") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; }; then
3353 if test "$cross_compiling" = maybe; then
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "cannot run C compiled programs.
3359 If you meant to cross compile, use \`--host'.
3360 See \`config.log' for more details" "$LINENO" 5; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3365 $as_echo "$cross_compiling" >&6; }
3367 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3368 ac_clean_files=$ac_clean_files_save
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3370 $as_echo_n "checking for suffix of object files... " >&6; }
3371 if ${ac_cv_objext+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 rm -f conftest.o conftest.obj
3386 if { { ac_try="$ac_compile"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393 (eval "$ac_compile") 2>&5
3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396 test $ac_status = 0; }; then :
3397 for ac_file in conftest.o conftest.obj conftest.*; do
3398 test -f "$ac_file" || continue;
3400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3401 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3406 $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "cannot compute suffix of object files: cannot compile
3412 See \`config.log' for more details" "$LINENO" 5; }
3414 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3417 $as_echo "$ac_cv_objext" >&6; }
3418 OBJEXT=$ac_cv_objext
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3421 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3422 if ${ac_cv_c_compiler_gnu+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3439 if ac_fn_c_try_compile "$LINENO"; then :
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3449 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3450 if test $ac_compiler_gnu = yes; then
3455 ac_test_CFLAGS=${CFLAGS+set}
3456 ac_save_CFLAGS=$CFLAGS
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3458 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3459 if ${ac_cv_prog_cc_g+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 ac_save_c_werror_flag=$ac_c_werror_flag
3463 ac_c_werror_flag=yes
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 if ac_fn_c_try_compile "$LINENO"; then :
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3492 if ac_fn_c_try_compile "$LINENO"; then :
3495 ac_c_werror_flag=$ac_save_c_werror_flag
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 if ac_fn_c_try_compile "$LINENO"; then :
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 ac_c_werror_flag=$ac_save_c_werror_flag
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3519 $as_echo "$ac_cv_prog_cc_g" >&6; }
3520 if test "$ac_test_CFLAGS" = set; then
3521 CFLAGS=$ac_save_CFLAGS
3522 elif test $ac_cv_prog_cc_g = yes; then
3523 if test "$GCC" = yes; then
3529 if test "$GCC" = yes; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3536 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3537 if ${ac_cv_prog_cc_c89+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 ac_cv_prog_cc_c89=no
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3546 #include <sys/types.h>
3547 #include <sys/stat.h>
3548 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3549 struct buf { int x; };
3550 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3551 static char *e (p, i)
3557 static char *f (char * (*g) (char **, int), char **p, ...)
3562 s = g (p, va_arg (v,int));
3567 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3568 function prototypes and stuff, but not '\xHH' hex character constants.
3569 These don't provoke an error unfortunately, instead are silently treated
3570 as 'x'. The following induces an error, until -std is added to get
3571 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3572 array size at least. It's necessary to write '\x00'==0 to get something
3573 that's true only with -std. */
3574 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3576 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3577 inside strings and character constants. */
3579 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3581 int test (int i, double x);
3582 struct s1 {int (*f) (int a);};
3583 struct s2 {int (*f) (double a);};
3584 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3590 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3595 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3596 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3598 CC="$ac_save_CC $ac_arg"
3599 if ac_fn_c_try_compile "$LINENO"; then :
3600 ac_cv_prog_cc_c89=$ac_arg
3602 rm -f core conftest.err conftest.$ac_objext
3603 test "x$ac_cv_prog_cc_c89" != "xno" && break
3605 rm -f conftest.$ac_ext
3610 case "x$ac_cv_prog_cc_c89" in
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3613 $as_echo "none needed" >&6; } ;;
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3616 $as_echo "unsupported" >&6; } ;;
3618 CC="$CC $ac_cv_prog_cc_c89"
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3620 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3622 if test "x$ac_cv_prog_cc_c89" != xno; then :
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 DEPDIR="${am__leading_dot}deps"
3633 ac_config_commands="$ac_config_commands depfiles"
3636 am_make=${MAKE-make}
3637 cat > confinc << 'END'
3639 @echo this is the am__doit target
3642 # If we don't find an include directive, just comment out the code.
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3644 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3648 # First try GNU make style include.
3649 echo "include confinc" > confmf
3650 # Ignore all kinds of additional output from `make'.
3651 case `$am_make -s -f confmf 2> /dev/null` in #(
3652 *the\ am__doit\ target*)
3658 # Now try BSD make style include.
3659 if test "$am__include" = "#"; then
3660 echo '.include "confinc"' > confmf
3661 case `$am_make -s -f confmf 2> /dev/null` in #(
3662 *the\ am__doit\ target*)
3663 am__include=.include
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3672 $as_echo "$_am_result" >&6; }
3673 rm -f confinc confmf
3675 # Check whether --enable-dependency-tracking was given.
3676 if test "${enable_dependency_tracking+set}" = set; then :
3677 enableval=$enable_dependency_tracking;
3680 if test "x$enable_dependency_tracking" != xno; then
3681 am_depcomp="$ac_aux_dir/depcomp"
3685 if test "x$enable_dependency_tracking" != xno; then
3695 depcc="$CC" am_compiler_list=
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698 $as_echo_n "checking dependency style of $depcc... " >&6; }
3699 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3703 # We make a subdir and do the tests there. Otherwise we can end up
3704 # making bogus files that we don't know about and never remove. For
3705 # instance it was reported that on HP-UX the gcc test will end up
3706 # making a dummy file named `D' -- because `-MD' means `put the output
3710 # Copy depcomp to subdir because otherwise we won't find it if we're
3711 # using a relative directory.
3712 cp "$am_depcomp" conftest.dir
3714 # We will build objects and dependencies in a subdirectory because
3715 # it helps to detect inapplicable dependency modes. For instance
3716 # both Tru64's cc and ICC support -MD to output dependencies as a
3717 # side effect of compilation, but ICC will put the dependencies in
3718 # the current directory while Tru64 will put them in the object
3722 am_cv_CC_dependencies_compiler_type=none
3723 if test "$am_compiler_list" = ""; then
3724 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3727 case " $depcc " in #(
3728 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3731 for depmode in $am_compiler_list; do
3732 # Setup a source with many dependencies, because some compilers
3733 # like to wrap large dependency lists on column 80 (with \), and
3734 # we should not choose a depcomp mode which is confused by this.
3736 # We need to recreate these files for each test, as the compiler may
3737 # overwrite some of them when testing with obscure command lines.
3738 # This happens at least with the AIX C compiler.
3740 for i in 1 2 3 4 5 6; do
3741 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3742 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3743 # Solaris 8's {/usr,}/bin/sh.
3744 touch sub/conftst$i.h
3746 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3748 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3749 # mode. It turns out that the SunPro C++ compiler does not properly
3750 # handle `-M -o', and we need to detect this. Also, some Intel
3751 # versions had trouble with output in subdirs
3752 am__obj=sub/conftest.${OBJEXT-o}
3753 am__minus_obj="-o $am__obj"
3756 # This depmode causes a compiler race in universal mode.
3757 test "$am__universal" = false || continue
3760 # after this tag, mechanisms are not by side-effect, so they'll
3761 # only be used when explicitly requested
3762 if test "x$enable_dependency_tracking" = xyes; then
3768 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3769 # This compiler won't grok `-c -o', but also, the minuso test has
3770 # not run yet. These depmodes are late enough in the game, and
3771 # so weak that their functioning should not be impacted.
3772 am__obj=conftest.${OBJEXT-o}
3777 if depmode=$depmode \
3778 source=sub/conftest.c object=$am__obj \
3779 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3780 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3781 >/dev/null 2>conftest.err &&
3782 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3783 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3784 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3785 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3786 # icc doesn't choke on unknown options, it will just issue warnings
3787 # or remarks (even with -Werror). So we grep stderr for any message
3788 # that says an option was ignored or not supported.
3789 # When given -MP, icc 7.0 and 7.1 complain thusly:
3790 # icc: Command line warning: ignoring option '-M'; no argument required
3791 # The diagnosis changed in icc 8.0:
3792 # icc: Command line remark: option '-MP' not supported
3793 if (grep 'ignoring option' conftest.err ||
3794 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3795 am_cv_CC_dependencies_compiler_type=$depmode
3804 am_cv_CC_dependencies_compiler_type=none
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3809 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3810 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3813 test "x$enable_dependency_tracking" != xno \
3814 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3816 am__fastdepCC_FALSE='#'
3818 am__fastdepCC_TRUE='#'
3819 am__fastdepCC_FALSE=
3823 case $ac_cv_prog_cc_stdc in #(
3825 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3828 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3829 if ${ac_cv_prog_cc_c99+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 ac_cv_prog_cc_c99=no
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3837 #include <stdbool.h>
3842 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3843 #define debug(...) fprintf (stderr, __VA_ARGS__)
3844 #define showlist(...) puts (#__VA_ARGS__)
3845 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3847 test_varargs_macros (void)
3852 debug ("X = %d\n", x);
3853 showlist (The first, second, and third items.);
3854 report (x>y, "x is %d but y is %d", x, y);
3857 // Check long long types.
3858 #define BIG64 18446744073709551615ull
3859 #define BIG32 4294967295ul
3860 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3862 your preprocessor is broken;
3866 your preprocessor is broken;
3868 static long long int bignum = -9223372036854775807LL;
3869 static unsigned long long int ubignum = BIG64;
3871 struct incomplete_array
3879 const wchar_t *name;
3883 typedef const char *ccp;
3886 test_restrict (ccp restrict text)
3888 // See if C++-style comments work.
3889 // Iterate through items via the restricted pointer.
3890 // Also check for declarations in for loops.
3891 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3896 // Check varargs and va_copy.
3898 test_varargs (const char *format, ...)
3901 va_start (args, format);
3903 va_copy (args_copy, args);
3914 str = va_arg (args_copy, const char *);
3917 number = va_arg (args_copy, int);
3920 fnumber = va_arg (args_copy, double);
3935 _Bool success = false;
3938 if (test_restrict ("String literal") == 0)
3940 char *restrict newvar = "Another string";
3943 test_varargs ("s, d' f .", "string", 65, 34.234);
3944 test_varargs_macros ();
3946 // Check flexible array members.
3947 struct incomplete_array *ia =
3948 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3950 for (int i = 0; i < ia->datasize; ++i)
3951 ia->data[i] = i * 1.234;
3953 // Check named initializers.
3954 struct named_init ni = {
3956 .name = L"Test wide string",
3957 .average = 543.34343,
3962 int dynamic_array[ni.number];
3963 dynamic_array[ni.number - 1] = 543;
3965 // work around unused variable warnings
3966 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3967 || dynamic_array[ni.number - 1] != 543);
3973 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3975 CC="$ac_save_CC $ac_arg"
3976 if ac_fn_c_try_compile "$LINENO"; then :
3977 ac_cv_prog_cc_c99=$ac_arg
3979 rm -f core conftest.err conftest.$ac_objext
3980 test "x$ac_cv_prog_cc_c99" != "xno" && break
3982 rm -f conftest.$ac_ext
3987 case "x$ac_cv_prog_cc_c99" in
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3990 $as_echo "none needed" >&6; } ;;
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3993 $as_echo "unsupported" >&6; } ;;
3995 CC="$CC $ac_cv_prog_cc_c99"
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3997 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3999 if test "x$ac_cv_prog_cc_c99" != xno; then :
4000 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4003 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4004 if ${ac_cv_prog_cc_c89+:} false; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_cv_prog_cc_c89=no
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4013 #include <sys/types.h>
4014 #include <sys/stat.h>
4015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4016 struct buf { int x; };
4017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4018 static char *e (p, i)
4024 static char *f (char * (*g) (char **, int), char **p, ...)
4029 s = g (p, va_arg (v,int));
4034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4035 function prototypes and stuff, but not '\xHH' hex character constants.
4036 These don't provoke an error unfortunately, instead are silently treated
4037 as 'x'. The following induces an error, until -std is added to get
4038 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4039 array size at least. It's necessary to write '\x00'==0 to get something
4040 that's true only with -std. */
4041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4044 inside strings and character constants. */
4046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4048 int test (int i, double x);
4049 struct s1 {int (*f) (int a);};
4050 struct s2 {int (*f) (double a);};
4051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4057 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4062 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4063 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4065 CC="$ac_save_CC $ac_arg"
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067 ac_cv_prog_cc_c89=$ac_arg
4069 rm -f core conftest.err conftest.$ac_objext
4070 test "x$ac_cv_prog_cc_c89" != "xno" && break
4072 rm -f conftest.$ac_ext
4077 case "x$ac_cv_prog_cc_c89" in
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4080 $as_echo "none needed" >&6; } ;;
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4083 $as_echo "unsupported" >&6; } ;;
4085 CC="$CC $ac_cv_prog_cc_c89"
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4087 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4089 if test "x$ac_cv_prog_cc_c89" != xno; then :
4090 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4092 ac_cv_prog_cc_stdc=no
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4099 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4100 if ${ac_cv_prog_cc_stdc+:} false; then :
4101 $as_echo_n "(cached) " >&6
4104 case $ac_cv_prog_cc_stdc in #(
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4107 $as_echo "unsupported" >&6; } ;; #(
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4110 $as_echo "none needed" >&6; } ;; #(
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4113 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4116 if test "x$CC" != xcc; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4118 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4121 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4123 set dummy $CC; ac_cc=`$as_echo "$2" |
4124 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4125 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4126 $as_echo_n "(cached) " >&6
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 # Make sure it works both with $CC and with simple cc.
4140 # We do the test twice because some compilers refuse to overwrite an
4141 # existing .o file with -o, though they will create one.
4142 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4144 if { { case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_try") 2>&5
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; } &&
4154 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159 $as_echo "$ac_try_echo"; } >&5
4160 (eval "$ac_try") 2>&5
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; };
4165 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4166 if test "x$CC" != xcc; then
4167 # Test first that cc exists at all.
4168 if { ac_try='cc -c conftest.$ac_ext >&5'
4169 { { case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_try") 2>&5
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; }; then
4179 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4181 if { { case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_try") 2>&5
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; } &&
4191 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_try") 2>&5
4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200 test $ac_status = 0; };
4205 # cc exists but doesn't like -o.
4206 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4211 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4213 rm -f core conftest*
4216 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218 $as_echo "yes" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4223 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4227 # FIXME: we rely on the cache variable name because
4228 # there is no other way.
4230 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4231 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4232 if test "$am_t" != yes; then
4233 # Losing compiler, so override with the script.
4234 # FIXME: It is wrong to rewrite CC.
4235 # But if we don't then we get into trouble of one sort or another.
4236 # A longer-term fix would be to have automake use am__CC in this case,
4237 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4238 CC="$am_aux_dir/compile $CC"
4243 if test -n "$ac_tool_prefix"; then
4244 for ac_prog in ar lib "link -lib"
4246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_AR+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$AR"; then
4254 ac_cv_prog_AR="$AR" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4263 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 if test -n "$AR"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4276 $as_echo "$AR" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4283 test -n "$AR" && break
4286 if test -z "$AR"; then
4288 for ac_prog in ar lib "link -lib"
4290 # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 if test -n "$ac_ct_AR"; then
4298 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304 test -z "$as_dir" && as_dir=.
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4307 ac_cv_prog_ac_ct_AR="$ac_prog"
4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4318 if test -n "$ac_ct_AR"; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4320 $as_echo "$ac_ct_AR" >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4327 test -n "$ac_ct_AR" && break
4330 if test "x$ac_ct_AR" = x; then
4333 case $cross_compiling:$ac_tool_warned in
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4337 ac_tool_warned=yes ;;
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4346 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4347 if ${am_cv_ar_interface+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 am_cv_ar_interface=ar
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353 int some_variable = 0;
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4358 (eval $am_ar_try) 2>&5
4360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }
4362 if test "$ac_status" -eq 0; then
4363 am_cv_ar_interface=ar
4365 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4366 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4367 (eval $am_ar_try) 2>&5
4369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4370 test $ac_status = 0; }
4371 if test "$ac_status" -eq 0; then
4372 am_cv_ar_interface=lib
4374 am_cv_ar_interface=unknown
4377 rm -f conftest.lib libconftest.a
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4384 $as_echo "$am_cv_ar_interface" >&6; }
4386 case $am_cv_ar_interface in
4390 # Microsoft lib, so override with the ar-lib wrapper script.
4391 # FIXME: It is wrong to rewrite AR.
4392 # But if we don't then we get into trouble of one sort or another.
4393 # A longer-term fix would be to have automake use am__AR in this case,
4394 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4396 AR="$am_aux_dir/ar-lib $AR"
4399 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4404 if test "x$ifGNUmake" = "x#" ; then
4405 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4412 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4417 macro_version='2.4.2'
4418 macro_revision='1.3337'
4432 ltmain="$ac_aux_dir/ltmain.sh"
4434 # Make sure we can run config.sub.
4435 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4436 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4439 $as_echo_n "checking build system type... " >&6; }
4440 if ${ac_cv_build+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 ac_build_alias=$build_alias
4444 test "x$ac_build_alias" = x &&
4445 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4446 test "x$ac_build_alias" = x &&
4447 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4448 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4449 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4453 $as_echo "$ac_cv_build" >&6; }
4454 case $ac_cv_build in
4456 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4459 ac_save_IFS=$IFS; IFS='-'
4465 # Remember, the first character of IFS is used to create $*,
4466 # except with old shells:
4469 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4473 $as_echo_n "checking host system type... " >&6; }
4474 if ${ac_cv_host+:} false; then :
4475 $as_echo_n "(cached) " >&6
4477 if test "x$host_alias" = x; then
4478 ac_cv_host=$ac_cv_build
4480 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4481 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4486 $as_echo "$ac_cv_host" >&6; }
4489 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4492 ac_save_IFS=$IFS; IFS='-'
4498 # Remember, the first character of IFS is used to create $*,
4499 # except with old shells:
4502 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4505 # Backslashify metacharacters that are still active within
4506 # double-quoted strings.
4507 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4509 # Same as above, but do not quote variable references.
4510 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4512 # Sed substitution to delay expansion of an escaped shell variable in a
4513 # double_quote_subst'ed string.
4514 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4516 # Sed substitution to delay expansion of an escaped single quote.
4517 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4519 # Sed substitution to avoid accidental globbing in evaled expressions
4520 no_glob_subst='s/\*/\\\*/g'
4522 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4523 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4524 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4527 $as_echo_n "checking how to print strings... " >&6; }
4528 # Test print first, because it will be a builtin if present.
4529 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4530 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4532 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4535 # Use this function as a fallback that always works.
4536 func_fallback_echo ()
4538 eval 'cat <<_LTECHO_EOF
4542 ECHO='func_fallback_echo'
4545 # func_echo_all arg...
4546 # Invoke $ECHO with all args, space-separated.
4553 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4554 $as_echo "printf" >&6; } ;;
4555 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4556 $as_echo "print -r" >&6; } ;;
4557 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4558 $as_echo "cat" >&6; } ;;
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4575 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4576 if ${ac_cv_path_SED+:} false; then :
4577 $as_echo_n "(cached) " >&6
4579 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4580 for ac_i in 1 2 3 4 5 6 7; do
4581 ac_script="$ac_script$as_nl$ac_script"
4583 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4584 { ac_script=; unset ac_script;}
4585 if test -z "$SED"; then
4586 ac_path_SED_found=false
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_prog in sed gsed; do
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4596 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4597 # Check for GNU ac_path_SED and select it if it is found.
4598 # Check for GNU $ac_path_SED
4599 case `"$ac_path_SED" --version 2>&1` in
4601 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4604 $as_echo_n 0123456789 >"conftest.in"
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
4610 $as_echo '' >> "conftest.nl"
4611 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613 as_fn_arith $ac_count + 1 && ac_count=$as_val
4614 if test $ac_count -gt ${ac_path_SED_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4616 ac_cv_path_SED="$ac_path_SED"
4617 ac_path_SED_max=$ac_count
4619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4625 $ac_path_SED_found && break 3
4630 if test -z "$ac_cv_path_SED"; then
4631 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4639 $as_echo "$ac_cv_path_SED" >&6; }
4640 SED="$ac_cv_path_SED"
4643 test -z "$SED" && SED=sed
4644 Xsed="$SED -e 1s/^X//"
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4657 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4658 if ${ac_cv_path_GREP+:} false; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -z "$GREP"; then
4662 ac_path_GREP_found=false
4663 # Loop through the user's path and test for each of PROGNAME-LIST
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4668 test -z "$as_dir" && as_dir=.
4669 for ac_prog in grep ggrep; do
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4672 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4673 # Check for GNU ac_path_GREP and select it if it is found.
4674 # Check for GNU $ac_path_GREP
4675 case `"$ac_path_GREP" --version 2>&1` in
4677 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4680 $as_echo_n 0123456789 >"conftest.in"
4683 cat "conftest.in" "conftest.in" >"conftest.tmp"
4684 mv "conftest.tmp" "conftest.in"
4685 cp "conftest.in" "conftest.nl"
4686 $as_echo 'GREP' >> "conftest.nl"
4687 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4689 as_fn_arith $ac_count + 1 && ac_count=$as_val
4690 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4691 # Best one so far, save it but keep looking for a better one
4692 ac_cv_path_GREP="$ac_path_GREP"
4693 ac_path_GREP_max=$ac_count
4695 # 10*(2^10) chars as input seems more than enough
4696 test $ac_count -gt 10 && break
4698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4701 $ac_path_GREP_found && break 3
4706 if test -z "$ac_cv_path_GREP"; then
4707 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4710 ac_cv_path_GREP=$GREP
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4715 $as_echo "$ac_cv_path_GREP" >&6; }
4716 GREP="$ac_cv_path_GREP"
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4720 $as_echo_n "checking for egrep... " >&6; }
4721 if ${ac_cv_path_EGREP+:} false; then :
4722 $as_echo_n "(cached) " >&6
4724 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4725 then ac_cv_path_EGREP="$GREP -E"
4727 if test -z "$EGREP"; then
4728 ac_path_EGREP_found=false
4729 # Loop through the user's path and test for each of PROGNAME-LIST
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4734 test -z "$as_dir" && as_dir=.
4735 for ac_prog in egrep; do
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4738 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4739 # Check for GNU ac_path_EGREP and select it if it is found.
4740 # Check for GNU $ac_path_EGREP
4741 case `"$ac_path_EGREP" --version 2>&1` in
4743 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4746 $as_echo_n 0123456789 >"conftest.in"
4749 cat "conftest.in" "conftest.in" >"conftest.tmp"
4750 mv "conftest.tmp" "conftest.in"
4751 cp "conftest.in" "conftest.nl"
4752 $as_echo 'EGREP' >> "conftest.nl"
4753 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4755 as_fn_arith $ac_count + 1 && ac_count=$as_val
4756 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4757 # Best one so far, save it but keep looking for a better one
4758 ac_cv_path_EGREP="$ac_path_EGREP"
4759 ac_path_EGREP_max=$ac_count
4761 # 10*(2^10) chars as input seems more than enough
4762 test $ac_count -gt 10 && break
4764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4767 $ac_path_EGREP_found && break 3
4772 if test -z "$ac_cv_path_EGREP"; then
4773 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4776 ac_cv_path_EGREP=$EGREP
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4782 $as_echo "$ac_cv_path_EGREP" >&6; }
4783 EGREP="$ac_cv_path_EGREP"
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4787 $as_echo_n "checking for fgrep... " >&6; }
4788 if ${ac_cv_path_FGREP+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4792 then ac_cv_path_FGREP="$GREP -F"
4794 if test -z "$FGREP"; then
4795 ac_path_FGREP_found=false
4796 # Loop through the user's path and test for each of PROGNAME-LIST
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4801 test -z "$as_dir" && as_dir=.
4802 for ac_prog in fgrep; do
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4805 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4806 # Check for GNU ac_path_FGREP and select it if it is found.
4807 # Check for GNU $ac_path_FGREP
4808 case `"$ac_path_FGREP" --version 2>&1` in
4810 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4813 $as_echo_n 0123456789 >"conftest.in"
4816 cat "conftest.in" "conftest.in" >"conftest.tmp"
4817 mv "conftest.tmp" "conftest.in"
4818 cp "conftest.in" "conftest.nl"
4819 $as_echo 'FGREP' >> "conftest.nl"
4820 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4821 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4822 as_fn_arith $ac_count + 1 && ac_count=$as_val
4823 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4824 # Best one so far, save it but keep looking for a better one
4825 ac_cv_path_FGREP="$ac_path_FGREP"
4826 ac_path_FGREP_max=$ac_count
4828 # 10*(2^10) chars as input seems more than enough
4829 test $ac_count -gt 10 && break
4831 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4834 $ac_path_FGREP_found && break 3
4839 if test -z "$ac_cv_path_FGREP"; then
4840 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4843 ac_cv_path_FGREP=$FGREP
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4849 $as_echo "$ac_cv_path_FGREP" >&6; }
4850 FGREP="$ac_cv_path_FGREP"
4853 test -z "$GREP" && GREP=grep
4873 # Check whether --with-gnu-ld was given.
4874 if test "${with_gnu_ld+set}" = set; then :
4875 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4881 if test "$GCC" = yes; then
4882 # Check if gcc -print-prog-name=ld gives a path.
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4884 $as_echo_n "checking for ld used by $CC... " >&6; }
4887 # gcc leaves a trailing carriage return which upsets mingw
4888 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4890 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4893 # Accept absolute paths.
4895 re_direlt='/[^/][^/]*/\.\./'
4896 # Canonicalize the pathname of ld
4897 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4898 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4899 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4901 test -z "$LD" && LD="$ac_prog"
4904 # If it fails, then pretend we aren't using GCC.
4908 # If it is relative, then search for the first ld in PATH.
4912 elif test "$with_gnu_ld" = yes; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4914 $as_echo_n "checking for GNU ld... " >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4917 $as_echo_n "checking for non-GNU ld... " >&6; }
4919 if ${lt_cv_path_LD+:} false; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -z "$LD"; then
4923 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4924 for ac_dir in $PATH; do
4926 test -z "$ac_dir" && ac_dir=.
4927 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4928 lt_cv_path_LD="$ac_dir/$ac_prog"
4929 # Check to see if the program is GNU ld. I'd rather use --version,
4930 # but apparently some variants of GNU ld only accept -v.
4931 # Break only if it was the GNU/non-GNU ld that we prefer.
4932 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4933 *GNU* | *'with BFD'*)
4934 test "$with_gnu_ld" != no && break
4937 test "$with_gnu_ld" != yes && break
4944 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4949 if test -n "$LD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4951 $as_echo "$LD" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4956 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4958 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4959 if ${lt_cv_prog_gnu_ld+:} false; then :
4960 $as_echo_n "(cached) " >&6
4962 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4963 case `$LD -v 2>&1 </dev/null` in
4964 *GNU* | *'with BFD'*)
4965 lt_cv_prog_gnu_ld=yes
4968 lt_cv_prog_gnu_ld=no
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4973 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4974 with_gnu_ld=$lt_cv_prog_gnu_ld
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4985 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4986 if ${lt_cv_path_NM+:} false; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$NM"; then
4990 # Let the user override the test.
4993 lt_nm_to_check="${ac_tool_prefix}nm"
4994 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4995 lt_nm_to_check="$lt_nm_to_check nm"
4997 for lt_tmp_nm in $lt_nm_to_check; do
4998 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4999 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5001 test -z "$ac_dir" && ac_dir=.
5002 tmp_nm="$ac_dir/$lt_tmp_nm"
5003 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5004 # Check to see if the nm accepts a BSD-compat flag.
5005 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5006 # nm: unknown option "B" ignored
5007 # Tru64's nm complains that /dev/null is an invalid object file
5008 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5009 */dev/null* | *'Invalid file or object type'*)
5010 lt_cv_path_NM="$tmp_nm -B"
5014 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5016 lt_cv_path_NM="$tmp_nm -p"
5020 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5021 continue # so that we can try to find one that supports BSD flags
5030 : ${lt_cv_path_NM=no}
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5034 $as_echo "$lt_cv_path_NM" >&6; }
5035 if test "$lt_cv_path_NM" != "no"; then
5038 # Didn't find any BSD compatible name lister, look for dumpbin.
5039 if test -n "$DUMPBIN"; then :
5040 # Let the user override the test.
5042 if test -n "$ac_tool_prefix"; then
5043 for ac_prog in dumpbin "link -dump"
5045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_DUMPBIN+:} false; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$DUMPBIN"; then
5053 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 DUMPBIN=$ac_cv_prog_DUMPBIN
5073 if test -n "$DUMPBIN"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5075 $as_echo "$DUMPBIN" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 test -n "$DUMPBIN" && break
5085 if test -z "$DUMPBIN"; then
5086 ac_ct_DUMPBIN=$DUMPBIN
5087 for ac_prog in dumpbin "link -dump"
5089 # Extract the first word of "$ac_prog", so it can be a program name with args.
5090 set dummy $ac_prog; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$ac_ct_DUMPBIN"; then
5097 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5117 if test -n "$ac_ct_DUMPBIN"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5119 $as_echo "$ac_ct_DUMPBIN" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5126 test -n "$ac_ct_DUMPBIN" && break
5129 if test "x$ac_ct_DUMPBIN" = x; then
5132 case $cross_compiling:$ac_tool_warned in
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5136 ac_tool_warned=yes ;;
5138 DUMPBIN=$ac_ct_DUMPBIN
5142 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5144 DUMPBIN="$DUMPBIN -symbols"
5152 if test "$DUMPBIN" != ":"; then
5156 test -z "$NM" && NM=nm
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5164 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5165 if ${lt_cv_nm_interface+:} false; then :
5166 $as_echo_n "(cached) " >&6
5168 lt_cv_nm_interface="BSD nm"
5169 echo "int some_variable = 0;" > conftest.$ac_ext
5170 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5171 (eval "$ac_compile" 2>conftest.err)
5172 cat conftest.err >&5
5173 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5174 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5175 cat conftest.err >&5
5176 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5177 cat conftest.out >&5
5178 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5179 lt_cv_nm_interface="MS dumpbin"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5184 $as_echo "$lt_cv_nm_interface" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5187 $as_echo_n "checking whether ln -s works... " >&6; }
5189 if test "$LN_S" = "ln -s"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5194 $as_echo "no, using $LN_S" >&6; }
5197 # find the maximum length of command line arguments
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5199 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5200 if ${lt_cv_sys_max_cmd_len+:} false; then :
5201 $as_echo_n "(cached) " >&6
5208 # On DJGPP, this test can blow up pretty badly due to problems in libc
5209 # (any single argument exceeding 2000 bytes causes a buffer overrun
5210 # during glob expansion). Even if it were fixed, the result of this
5211 # check would be larger than it should be.
5212 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5216 # Under GNU Hurd, this test is not required because there is
5217 # no limit to the length of command line arguments.
5218 # Libtool will interpret -1 as no limit whatsoever
5219 lt_cv_sys_max_cmd_len=-1;
5222 cygwin* | mingw* | cegcc*)
5223 # On Win9x/ME, this test blows up -- it succeeds, but takes
5224 # about 5 minutes as the teststring grows exponentially.
5225 # Worse, since 9x/ME are not pre-emptively multitasking,
5226 # you end up with a "frozen" computer, even though with patience
5227 # the test eventually succeeds (with a max line length of 256k).
5228 # Instead, let's just punt: use the minimum linelength reported by
5229 # all of the supported platforms: 8192 (on NT/2K/XP).
5230 lt_cv_sys_max_cmd_len=8192;
5234 # On MiNT this can take a long time and run out of memory.
5235 lt_cv_sys_max_cmd_len=8192;
5239 # On AmigaOS with pdksh, this test takes hours, literally.
5240 # So we just punt and use a minimum line length of 8192.
5241 lt_cv_sys_max_cmd_len=8192;
5244 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5245 # This has been around since 386BSD, at least. Likely further.
5246 if test -x /sbin/sysctl; then
5247 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5248 elif test -x /usr/sbin/sysctl; then
5249 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5251 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5253 # And add a safety zone
5254 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5259 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5260 lt_cv_sys_max_cmd_len=196608
5264 # The test takes a long time on OS/2.
5265 lt_cv_sys_max_cmd_len=8192
5269 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5270 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5271 # nice to cause kernel panics so lets avoid the loop below.
5272 # First set a reasonable default.
5273 lt_cv_sys_max_cmd_len=16384
5275 if test -x /sbin/sysconfig; then
5276 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5277 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5282 lt_cv_sys_max_cmd_len=102400
5284 sysv5* | sco5v6* | sysv4.2uw2*)
5285 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5286 if test -n "$kargmax"; then
5287 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5289 lt_cv_sys_max_cmd_len=32768
5293 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5294 if test -n "$lt_cv_sys_max_cmd_len"; then
5295 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5298 # Make teststring a little bigger before we do anything with it.
5299 # a 1K string should be a reasonable start.
5300 for i in 1 2 3 4 5 6 7 8 ; do
5301 teststring=$teststring$teststring
5303 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5304 # If test is not a shell built-in, we'll probably end up computing a
5305 # maximum length that is only half of the actual maximum length, but
5307 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5308 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5309 test $i != 17 # 1/2 MB should be enough
5312 teststring=$teststring$teststring
5314 # Only check the string length outside the loop.
5315 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5317 # Add a significant safety factor because C++ compilers can tack on
5318 # massive amounts of additional arguments before passing them to the
5319 # linker. It appears as though 1/2 is a usable value.
5320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5327 if test -n $lt_cv_sys_max_cmd_len ; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5329 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5332 $as_echo "none" >&6; }
5334 max_cmd_len=$lt_cv_sys_max_cmd_len
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5346 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5347 # Try some XSI features
5350 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5352 && eval 'test $(( 1 + 1 )) -eq 2 \
5353 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5356 $as_echo "$xsi_shell" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5360 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5362 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5364 && lt_shell_append=yes
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5366 $as_echo "$lt_shell_append" >&6; }
5369 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5379 # test EBCDIC or ASCII
5380 case `echo X|tr X '\101'` in
5381 A) # ASCII based system
5382 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5383 lt_SP2NL='tr \040 \012'
5384 lt_NL2SP='tr \015\012 \040\040'
5386 *) # EBCDIC based system
5387 lt_SP2NL='tr \100 \n'
5388 lt_NL2SP='tr \r\n \100\100'
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5401 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5402 if ${lt_cv_to_host_file_cmd+:} false; then :
5403 $as_echo_n "(cached) " >&6
5408 *-*-mingw* ) # actually msys
5409 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5412 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5414 * ) # otherwise, assume *nix
5415 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5421 *-*-mingw* ) # actually msys
5422 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5425 lt_cv_to_host_file_cmd=func_convert_file_noop
5427 * ) # otherwise, assume *nix
5428 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5432 * ) # unhandled hosts (and "normal" native builds)
5433 lt_cv_to_host_file_cmd=func_convert_file_noop
5439 to_host_file_cmd=$lt_cv_to_host_file_cmd
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5441 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5448 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5449 if ${lt_cv_to_tool_file_cmd+:} false; then :
5450 $as_echo_n "(cached) " >&6
5452 #assume ordinary cross tools, or native build.
5453 lt_cv_to_tool_file_cmd=func_convert_file_noop
5457 *-*-mingw* ) # actually msys
5458 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5466 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5468 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5475 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5476 if ${lt_cv_ld_reload_flag+:} false; then :
5477 $as_echo_n "(cached) " >&6
5479 lt_cv_ld_reload_flag='-r'
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5482 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5483 reload_flag=$lt_cv_ld_reload_flag
5484 case $reload_flag in
5486 *) reload_flag=" $reload_flag" ;;
5488 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5490 cygwin* | mingw* | pw32* | cegcc*)
5491 if test "$GCC" != yes; then
5496 if test "$GCC" = yes; then
5497 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5499 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_OBJDUMP+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$OBJDUMP"; then
5521 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 OBJDUMP=$ac_cv_prog_OBJDUMP
5541 if test -n "$OBJDUMP"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5543 $as_echo "$OBJDUMP" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5551 if test -z "$ac_cv_prog_OBJDUMP"; then
5552 ac_ct_OBJDUMP=$OBJDUMP
5553 # Extract the first word of "objdump", so it can be a program name with args.
5554 set dummy objdump; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$ac_ct_OBJDUMP"; then
5561 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5581 if test -n "$ac_ct_OBJDUMP"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5583 $as_echo "$ac_ct_OBJDUMP" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_ct_OBJDUMP" = x; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned=yes ;;
5598 OBJDUMP=$ac_ct_OBJDUMP
5601 OBJDUMP="$ac_cv_prog_OBJDUMP"
5604 test -z "$OBJDUMP" && OBJDUMP=objdump
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5615 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5616 if ${lt_cv_deplibs_check_method+:} false; then :
5617 $as_echo_n "(cached) " >&6
5619 lt_cv_file_magic_cmd='$MAGIC_CMD'
5620 lt_cv_file_magic_test_file=
5621 lt_cv_deplibs_check_method='unknown'
5622 # Need to set the preceding variable on all platforms that support
5623 # interlibrary dependencies.
5624 # 'none' -- dependencies not supported.
5625 # `unknown' -- same as none, but documents that we really don't know.
5626 # 'pass_all' -- all dependencies passed with no checks.
5627 # 'test_compile' -- check by making test program.
5628 # 'file_magic [[regex]]' -- check by looking for files in library path
5629 # which responds to the $file_magic_cmd with a given extended regex.
5630 # If you have `file' or equivalent on your system and you're not sure
5631 # whether `pass_all' will *always* work, you probably want this one.
5635 lt_cv_deplibs_check_method=pass_all
5639 lt_cv_deplibs_check_method=pass_all
5643 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5644 lt_cv_file_magic_cmd='/usr/bin/file -L'
5645 lt_cv_file_magic_test_file=/shlib/libc.so
5649 # func_win32_libid is a shell function defined in ltmain.sh
5650 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5651 lt_cv_file_magic_cmd='func_win32_libid'
5655 # Base MSYS/MinGW do not provide the 'file' command needed by
5656 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5657 # unless we find 'file', for example because we are cross-compiling.
5658 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5659 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5660 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5661 lt_cv_file_magic_cmd='func_win32_libid'
5663 # Keep this pattern in sync with the one in func_win32_libid.
5664 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5665 lt_cv_file_magic_cmd='$OBJDUMP -f'
5670 # use the weaker test based on 'objdump'. See mingw*.
5671 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5672 lt_cv_file_magic_cmd='$OBJDUMP -f'
5675 darwin* | rhapsody*)
5676 lt_cv_deplibs_check_method=pass_all
5679 freebsd* | dragonfly*)
5680 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5683 # Not sure whether the presence of OpenBSD here was a mistake.
5684 # Let's accept both of them until this is cleared up.
5685 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5686 lt_cv_file_magic_cmd=/usr/bin/file
5687 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5691 lt_cv_deplibs_check_method=pass_all
5696 lt_cv_deplibs_check_method=pass_all
5700 lt_cv_deplibs_check_method=pass_all
5703 hpux10.20* | hpux11*)
5704 lt_cv_file_magic_cmd=/usr/bin/file
5707 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5708 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5711 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]'
5712 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5715 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5716 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5722 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5726 irix5* | irix6* | nonstopux*)
5728 *-32|*"-32 ") libmagic=32-bit;;
5729 *-n32|*"-n32 ") libmagic=N32;;
5730 *-64|*"-64 ") libmagic=64-bit;;
5731 *) libmagic=never-match;;
5733 lt_cv_deplibs_check_method=pass_all
5736 # This must be glibc/ELF.
5737 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5738 lt_cv_deplibs_check_method=pass_all
5741 netbsd* | netbsdelf*-gnu)
5742 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5743 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5750 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5751 lt_cv_file_magic_cmd=/usr/bin/file
5752 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5756 lt_cv_deplibs_check_method=pass_all
5760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5761 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5763 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5767 osf3* | osf4* | osf5*)
5768 lt_cv_deplibs_check_method=pass_all
5772 lt_cv_deplibs_check_method=pass_all
5776 lt_cv_deplibs_check_method=pass_all
5779 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5780 lt_cv_deplibs_check_method=pass_all
5784 case $host_vendor in
5786 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]'
5787 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5790 lt_cv_deplibs_check_method=pass_all
5793 lt_cv_file_magic_cmd='/bin/file'
5794 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5797 lt_cv_file_magic_cmd='/bin/file'
5798 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5799 lt_cv_file_magic_test_file=/lib/libc.so
5802 lt_cv_deplibs_check_method=pass_all
5805 lt_cv_deplibs_check_method=pass_all
5811 lt_cv_deplibs_check_method=pass_all
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5817 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5821 if test "$build" = "$host"; then
5824 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5827 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5833 file_magic_cmd=$lt_cv_file_magic_cmd
5834 deplibs_check_method=$lt_cv_deplibs_check_method
5835 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5858 if test -n "$ac_tool_prefix"; then
5859 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5860 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_DLLTOOL+:} false; then :
5864 $as_echo_n "(cached) " >&6
5866 if test -n "$DLLTOOL"; then
5867 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 DLLTOOL=$ac_cv_prog_DLLTOOL
5887 if test -n "$DLLTOOL"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5889 $as_echo "$DLLTOOL" >&6; }
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5897 if test -z "$ac_cv_prog_DLLTOOL"; then
5898 ac_ct_DLLTOOL=$DLLTOOL
5899 # Extract the first word of "dlltool", so it can be a program name with args.
5900 set dummy dlltool; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5904 $as_echo_n "(cached) " >&6
5906 if test -n "$ac_ct_DLLTOOL"; then
5907 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5927 if test -n "$ac_ct_DLLTOOL"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5929 $as_echo "$ac_ct_DLLTOOL" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5935 if test "x$ac_ct_DLLTOOL" = x; then
5938 case $cross_compiling:$ac_tool_warned in
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5942 ac_tool_warned=yes ;;
5944 DLLTOOL=$ac_ct_DLLTOOL
5947 DLLTOOL="$ac_cv_prog_DLLTOOL"
5950 test -z "$DLLTOOL" && DLLTOOL=dlltool
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5962 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5963 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5964 $as_echo_n "(cached) " >&6
5966 lt_cv_sharedlib_from_linklib_cmd='unknown'
5969 cygwin* | mingw* | pw32* | cegcc*)
5970 # two different shell functions defined in ltmain.sh
5971 # decide which to use based on capabilities of $DLLTOOL
5972 case `$DLLTOOL --help 2>&1` in
5973 *--identify-strict*)
5974 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5977 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5982 # fallback: assume linklib IS sharedlib
5983 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5989 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5990 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5991 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5999 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_AR+:} false; then :
6007 $as_echo_n "(cached) " >&6
6009 if test -n "$AR"; then
6010 ac_cv_prog_AR="$AR" # Let the user override the test.
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 if test -n "$AR"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6032 $as_echo "$AR" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$AR" && break
6042 if test -z "$AR"; then
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$ac_ct_AR"; then
6054 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_ac_ct_AR="$ac_prog"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6074 if test -n "$ac_ct_AR"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6076 $as_echo "$ac_ct_AR" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6083 test -n "$ac_ct_AR" && break
6086 if test "x$ac_ct_AR" = x; then
6089 case $cross_compiling:$ac_tool_warned in
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6113 $as_echo_n "checking for archiver @FILE support... " >&6; }
6114 if ${lt_cv_ar_at_file+:} false; then :
6115 $as_echo_n "(cached) " >&6
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6129 if ac_fn_c_try_compile "$LINENO"; then :
6130 echo conftest.$ac_objext > conftest.lst
6131 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6132 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6133 (eval $lt_ar_try) 2>&5
6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136 test $ac_status = 0; }
6137 if test "$ac_status" -eq 0; then
6138 # Ensure the archiver fails upon bogus file names.
6139 rm -f conftest.$ac_objext libconftest.a
6140 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6141 (eval $lt_ar_try) 2>&5
6143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6144 test $ac_status = 0; }
6145 if test "$ac_status" -ne 0; then
6149 rm -f conftest.* libconftest.a
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6156 $as_echo "$lt_cv_ar_at_file" >&6; }
6158 if test "x$lt_cv_ar_at_file" = xno; then
6161 archiver_list_spec=$lt_cv_ar_at_file
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}strip; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_STRIP+:} false; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$STRIP"; then
6179 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 STRIP=$ac_cv_prog_STRIP
6199 if test -n "$STRIP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6201 $as_echo "$STRIP" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6209 if test -z "$ac_cv_prog_STRIP"; then
6211 # Extract the first word of "strip", so it can be a program name with args.
6212 set dummy strip; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6216 $as_echo_n "(cached) " >&6
6218 if test -n "$ac_ct_STRIP"; then
6219 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 ac_cv_prog_ac_ct_STRIP="strip"
6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6239 if test -n "$ac_ct_STRIP"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6241 $as_echo "$ac_ct_STRIP" >&6; }
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6247 if test "x$ac_ct_STRIP" = x; then
6250 case $cross_compiling:$ac_tool_warned in
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6259 STRIP="$ac_cv_prog_STRIP"
6262 test -z "$STRIP" && STRIP=:
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6271 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_RANLIB+:} false; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$RANLIB"; then
6278 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 RANLIB=$ac_cv_prog_RANLIB
6298 if test -n "$RANLIB"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6300 $as_echo "$RANLIB" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6308 if test -z "$ac_cv_prog_RANLIB"; then
6309 ac_ct_RANLIB=$RANLIB
6310 # Extract the first word of "ranlib", so it can be a program name with args.
6311 set dummy ranlib; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6315 $as_echo_n "(cached) " >&6
6317 if test -n "$ac_ct_RANLIB"; then
6318 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 ac_cv_prog_ac_ct_RANLIB="ranlib"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6338 if test -n "$ac_ct_RANLIB"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6340 $as_echo "$ac_ct_RANLIB" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6346 if test "x$ac_ct_RANLIB" = x; then
6349 case $cross_compiling:$ac_tool_warned in
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6355 RANLIB=$ac_ct_RANLIB
6358 RANLIB="$ac_cv_prog_RANLIB"
6361 test -z "$RANLIB" && RANLIB=:
6368 # Determine commands to create old-style static archives.
6369 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6370 old_postinstall_cmds='chmod 644 $oldlib'
6371 old_postuninstall_cmds=
6373 if test -n "$RANLIB"; then
6376 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6379 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6382 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6387 lock_old_archive_extraction=yes ;;
6389 lock_old_archive_extraction=no ;;
6430 # If no C compiler was specified, use CC.
6433 # If no C compiler flags were specified, use CFLAGS.
6434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6436 # Allow CC to be a program name with arguments.
6440 # Check for command to grab the raw symbol name followed by C symbol from nm.
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6442 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6443 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6444 $as_echo_n "(cached) " >&6
6447 # These are sane defaults that work on at least a few old systems.
6448 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6450 # Character class describing NM global symbol codes.
6451 symcode='[BCDEGRST]'
6453 # Regexp to match symbols that can be accessed directly from C.
6454 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6456 # Define system-specific variables.
6461 cygwin* | mingw* | pw32* | cegcc*)
6462 symcode='[ABCDGISTW]'
6465 if test "$host_cpu" = ia64; then
6466 symcode='[ABCDEGRST]'
6470 symcode='[BCDEGRST]'
6473 symcode='[BCDEGQRST]'
6484 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6492 # If we're using GNU nm, then use its standard symbol codes.
6493 case `$NM -V 2>&1` in
6494 *GNU* | *'with BFD'*)
6495 symcode='[ABCDGIRSTW]' ;;
6498 # Transform an extracted symbol line into a proper C declaration.
6499 # Some systems (esp. on ia64) link data and code symbols differently,
6500 # so use this general approach.
6501 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6503 # Transform an extracted symbol line into symbol name and symbol address
6504 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6505 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'"
6507 # Handle CRLF in mingw tool chain
6511 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6515 # Try without a prefix underscore, then with it.
6516 for ac_symprfx in "" "_"; do
6518 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6519 symxfrm="\\1 $ac_symprfx\\2 \\2"
6521 # Write the raw and C identifiers.
6522 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6523 # Fake it for dumpbin and say T for any non-static function
6524 # and D for any global variable.
6525 # Also find C++ and __fastcall symbols from MSVC++,
6526 # which start with @ or ?.
6527 lt_cv_sys_global_symbol_pipe="$AWK '"\
6528 " {last_section=section; section=\$ 3};"\
6529 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6530 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6531 " \$ 0!~/External *\|/{next};"\
6532 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6533 " {if(hide[section]) next};"\
6534 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6535 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6536 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6537 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6538 " ' prfx=^$ac_symprfx"
6540 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6542 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6544 # Check to see that the pipe works correctly.
6548 cat > conftest.$ac_ext <<_LT_EOF
6553 void nm_test_func(void);
6554 void nm_test_func(void){}
6558 int main(){nm_test_var='a';nm_test_func();return(0);}
6561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562 (eval $ac_compile) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 # Now try to grab the symbols.
6568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6569 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572 test $ac_status = 0; } && test -s "$nlist"; then
6573 # Try sorting and uniquifying the output.
6574 if sort "$nlist" | uniq > "$nlist"T; then
6575 mv -f "$nlist"T "$nlist"
6580 # Make sure that we snagged all the symbols we need.
6581 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6582 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6583 cat <<_LT_EOF > conftest.$ac_ext
6584 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6585 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6586 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6587 relocations are performed -- see ld's documentation on pseudo-relocs. */
6588 # define LT_DLSYM_CONST
6589 #elif defined(__osf__)
6590 /* This system does not cope well with relocations in const data. */
6591 # define LT_DLSYM_CONST
6593 # define LT_DLSYM_CONST const
6601 # Now generate the symbol file.
6602 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6604 cat <<_LT_EOF >> conftest.$ac_ext
6606 /* The mapping between symbol names and symbols. */
6607 LT_DLSYM_CONST struct {
6611 lt__PROGRAM__LTX_preloaded_symbols[] =
6613 { "@PROGRAM@", (void *) 0 },
6615 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6616 cat <<\_LT_EOF >> conftest.$ac_ext
6620 /* This works around a problem in FreeBSD linker */
6621 #ifdef FREEBSD_WORKAROUND
6622 static const void *lt_preloaded_setup() {
6623 return lt__PROGRAM__LTX_preloaded_symbols;
6631 # Now try linking the two files.
6632 mv conftest.$ac_objext conftstm.$ac_objext
6633 lt_globsym_save_LIBS=$LIBS
6634 lt_globsym_save_CFLAGS=$CFLAGS
6635 LIBS="conftstm.$ac_objext"
6636 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6638 (eval $ac_link) 2>&5
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6644 LIBS=$lt_globsym_save_LIBS
6645 CFLAGS=$lt_globsym_save_CFLAGS
6647 echo "cannot find nm_test_func in $nlist" >&5
6650 echo "cannot find nm_test_var in $nlist" >&5
6653 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6656 echo "$progname: failed program was:" >&5
6657 cat conftest.$ac_ext >&5
6659 rm -rf conftest* conftst*
6661 # Do not use the global_symbol_pipe unless it works.
6662 if test "$pipe_works" = yes; then
6665 lt_cv_sys_global_symbol_pipe=
6671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6672 lt_cv_sys_global_symbol_to_cdecl=
6674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6676 $as_echo "failed" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6679 $as_echo "ok" >&6; }
6682 # Response file support.
6683 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6684 nm_file_list_spec='@'
6685 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6686 nm_file_list_spec='@'
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6716 $as_echo_n "checking for sysroot... " >&6; }
6718 # Check whether --with-sysroot was given.
6719 if test "${with_sysroot+set}" = set; then :
6720 withval=$with_sysroot;
6727 case ${with_sysroot} in #(
6729 if test "$GCC" = yes; then
6730 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6734 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6740 $as_echo "${with_sysroot}" >&6; }
6741 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6746 $as_echo "${lt_sysroot:-no}" >&6; }
6752 # Check whether --enable-libtool-lock was given.
6753 if test "${enable_libtool_lock+set}" = set; then :
6754 enableval=$enable_libtool_lock;
6757 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6759 # Some flags need to be propagated to the compiler or linker for good
6763 # Find out which ABI we are using.
6764 echo 'int i;' > conftest.$ac_ext
6765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6766 (eval $ac_compile) 2>&5
6768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769 test $ac_status = 0; }; then
6770 case `/usr/bin/file conftest.$ac_objext` in
6782 # Find out which ABI we are using.
6783 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785 (eval $ac_compile) 2>&5
6787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6788 test $ac_status = 0; }; then
6789 if test "$lt_cv_prog_gnu_ld" = yes; then
6790 case `/usr/bin/file conftest.$ac_objext` in
6792 LD="${LD-ld} -melf32bsmip"
6795 LD="${LD-ld} -melf32bmipn32"
6798 LD="${LD-ld} -melf64bmip"
6802 case `/usr/bin/file conftest.$ac_objext` in
6818 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6819 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6820 # Find out which ABI we are using.
6821 echo 'int i;' > conftest.$ac_ext
6822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823 (eval $ac_compile) 2>&5
6825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826 test $ac_status = 0; }; then
6827 case `/usr/bin/file conftest.o` in
6830 x86_64-*kfreebsd*-gnu)
6831 LD="${LD-ld} -m elf_i386_fbsd"
6834 LD="${LD-ld} -m elf_i386"
6836 ppc64-*linux*|powerpc64-*linux*)
6837 LD="${LD-ld} -m elf32ppclinux"
6840 LD="${LD-ld} -m elf_s390"
6843 LD="${LD-ld} -m elf32_sparc"
6849 x86_64-*kfreebsd*-gnu)
6850 LD="${LD-ld} -m elf_x86_64_fbsd"
6853 LD="${LD-ld} -m elf_x86_64"
6855 ppc*-*linux*|powerpc*-*linux*)
6856 LD="${LD-ld} -m elf64ppc"
6858 s390*-*linux*|s390*-*tpf*)
6859 LD="${LD-ld} -m elf64_s390"
6862 LD="${LD-ld} -m elf64_sparc"
6872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6873 SAVE_CFLAGS="$CFLAGS"
6874 CFLAGS="$CFLAGS -belf"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6877 if ${lt_cv_cc_needs_belf+:} false; then :
6878 $as_echo_n "(cached) " >&6
6881 ac_cpp='$CPP $CPPFLAGS'
6882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6897 if ac_fn_c_try_link "$LINENO"; then :
6898 lt_cv_cc_needs_belf=yes
6900 lt_cv_cc_needs_belf=no
6902 rm -f core conftest.err conftest.$ac_objext \
6903 conftest$ac_exeext conftest.$ac_ext
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6915 CFLAGS="$SAVE_CFLAGS"
6919 # Find out which ABI we are using.
6920 echo 'int i;' > conftest.$ac_ext
6921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6922 (eval $ac_compile) 2>&5
6924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925 test $ac_status = 0; }; then
6926 case `/usr/bin/file conftest.o` in
6928 case $lt_cv_prog_gnu_ld in
6932 LD="${LD-ld} -m elf_x86_64"
6935 LD="${LD-ld} -m elf64_sparc"
6938 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6939 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6944 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6956 need_locks="$enable_libtool_lock"
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}mt; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$MANIFEST_TOOL"; then
6967 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6976 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6987 if test -n "$MANIFEST_TOOL"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6989 $as_echo "$MANIFEST_TOOL" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6998 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6999 # Extract the first word of "mt", so it can be a program name with args.
7000 set dummy mt; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_MANIFEST_TOOL"; then
7007 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7027 if test -n "$ac_ct_MANIFEST_TOOL"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7029 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7044 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7047 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7050 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7052 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7053 if ${lt_cv_path_mainfest_tool+:} false; then :
7054 $as_echo_n "(cached) " >&6
7056 lt_cv_path_mainfest_tool=no
7057 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7058 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7059 cat conftest.err >&5
7060 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7061 lt_cv_path_mainfest_tool=yes
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7066 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7067 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7077 rhapsody* | darwin*)
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$DSYMUTIL"; then
7087 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7107 if test -n "$DSYMUTIL"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7109 $as_echo "$DSYMUTIL" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7117 if test -z "$ac_cv_prog_DSYMUTIL"; then
7118 ac_ct_DSYMUTIL=$DSYMUTIL
7119 # Extract the first word of "dsymutil", so it can be a program name with args.
7120 set dummy dsymutil; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7124 $as_echo_n "(cached) " >&6
7126 if test -n "$ac_ct_DSYMUTIL"; then
7127 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7136 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7147 if test -n "$ac_ct_DSYMUTIL"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7149 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7155 if test "x$ac_ct_DSYMUTIL" = x; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7164 DSYMUTIL=$ac_ct_DSYMUTIL
7167 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7170 if test -n "$ac_tool_prefix"; then
7171 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_NMEDIT+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$NMEDIT"; then
7179 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 NMEDIT=$ac_cv_prog_NMEDIT
7199 if test -n "$NMEDIT"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7201 $as_echo "$NMEDIT" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7209 if test -z "$ac_cv_prog_NMEDIT"; then
7210 ac_ct_NMEDIT=$NMEDIT
7211 # Extract the first word of "nmedit", so it can be a program name with args.
7212 set dummy nmedit; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 if test -n "$ac_ct_NMEDIT"; then
7219 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7228 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7239 if test -n "$ac_ct_NMEDIT"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7241 $as_echo "$ac_ct_NMEDIT" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7247 if test "x$ac_ct_NMEDIT" = x; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7256 NMEDIT=$ac_ct_NMEDIT
7259 NMEDIT="$ac_cv_prog_NMEDIT"
7262 if test -n "$ac_tool_prefix"; then
7263 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_LIPO+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$LIPO"; then
7271 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7280 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 LIPO=$ac_cv_prog_LIPO
7291 if test -n "$LIPO"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7293 $as_echo "$LIPO" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7301 if test -z "$ac_cv_prog_LIPO"; then
7303 # Extract the first word of "lipo", so it can be a program name with args.
7304 set dummy lipo; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7308 $as_echo_n "(cached) " >&6
7310 if test -n "$ac_ct_LIPO"; then
7311 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 ac_cv_prog_ac_ct_LIPO="lipo"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7331 if test -n "$ac_ct_LIPO"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7333 $as_echo "$ac_ct_LIPO" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7339 if test "x$ac_ct_LIPO" = x; then
7342 case $cross_compiling:$ac_tool_warned in
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7346 ac_tool_warned=yes ;;
7351 LIPO="$ac_cv_prog_LIPO"
7354 if test -n "$ac_tool_prefix"; then
7355 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7356 set dummy ${ac_tool_prefix}otool; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_OTOOL+:} false; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$OTOOL"; then
7363 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 OTOOL=$ac_cv_prog_OTOOL
7383 if test -n "$OTOOL"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7385 $as_echo "$OTOOL" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7393 if test -z "$ac_cv_prog_OTOOL"; then
7395 # Extract the first word of "otool", so it can be a program name with args.
7396 set dummy otool; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7400 $as_echo_n "(cached) " >&6
7402 if test -n "$ac_ct_OTOOL"; then
7403 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_ac_ct_OTOOL="otool"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7422 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7423 if test -n "$ac_ct_OTOOL"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7425 $as_echo "$ac_ct_OTOOL" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7431 if test "x$ac_ct_OTOOL" = x; then
7434 case $cross_compiling:$ac_tool_warned in
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7438 ac_tool_warned=yes ;;
7443 OTOOL="$ac_cv_prog_OTOOL"
7446 if test -n "$ac_tool_prefix"; then
7447 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7448 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_OTOOL64+:} false; then :
7452 $as_echo_n "(cached) " >&6
7454 if test -n "$OTOOL64"; then
7455 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7464 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 OTOOL64=$ac_cv_prog_OTOOL64
7475 if test -n "$OTOOL64"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7477 $as_echo "$OTOOL64" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7485 if test -z "$ac_cv_prog_OTOOL64"; then
7486 ac_ct_OTOOL64=$OTOOL64
7487 # Extract the first word of "otool64", so it can be a program name with args.
7488 set dummy otool64; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7492 $as_echo_n "(cached) " >&6
7494 if test -n "$ac_ct_OTOOL64"; then
7495 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504 ac_cv_prog_ac_ct_OTOOL64="otool64"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7514 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7515 if test -n "$ac_ct_OTOOL64"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7517 $as_echo "$ac_ct_OTOOL64" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7523 if test "x$ac_ct_OTOOL64" = x; then
7526 case $cross_compiling:$ac_tool_warned in
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7530 ac_tool_warned=yes ;;
7532 OTOOL64=$ac_ct_OTOOL64
7535 OTOOL64="$ac_cv_prog_OTOOL64"
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7565 $as_echo_n "checking for -single_module linker flag... " >&6; }
7566 if ${lt_cv_apple_cc_single_mod+:} false; then :
7567 $as_echo_n "(cached) " >&6
7569 lt_cv_apple_cc_single_mod=no
7570 if test -z "${LT_MULTI_MODULE}"; then
7571 # By default we will add the -single_module flag. You can override
7572 # by either setting the environment variable LT_MULTI_MODULE
7573 # non-empty at configure time, or by adding -multi_module to the
7575 rm -rf libconftest.dylib*
7576 echo "int foo(void){return 1;}" > conftest.c
7577 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7578 -dynamiclib -Wl,-single_module conftest.c" >&5
7579 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7582 # If there is a non-empty error log, and "single_module"
7583 # appears in it, assume the flag caused a linker warning
7584 if test -s conftest.err && $GREP single_module conftest.err; then
7585 cat conftest.err >&5
7586 # Otherwise, if the output was created with a 0 exit code from
7587 # the compiler, it worked.
7588 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7589 lt_cv_apple_cc_single_mod=yes
7591 cat conftest.err >&5
7593 rm -rf libconftest.dylib*
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7598 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7601 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7602 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7603 $as_echo_n "(cached) " >&6
7605 lt_cv_ld_exported_symbols_list=no
7606 save_LDFLAGS=$LDFLAGS
7607 echo "_main" > conftest.sym
7608 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7620 if ac_fn_c_try_link "$LINENO"; then :
7621 lt_cv_ld_exported_symbols_list=yes
7623 lt_cv_ld_exported_symbols_list=no
7625 rm -f core conftest.err conftest.$ac_objext \
7626 conftest$ac_exeext conftest.$ac_ext
7627 LDFLAGS="$save_LDFLAGS"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7631 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7634 $as_echo_n "checking for -force_load linker flag... " >&6; }
7635 if ${lt_cv_ld_force_load+:} false; then :
7636 $as_echo_n "(cached) " >&6
7638 lt_cv_ld_force_load=no
7639 cat > conftest.c << _LT_EOF
7640 int forced_loaded() { return 2;}
7642 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7643 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7644 echo "$AR cru libconftest.a conftest.o" >&5
7645 $AR cru libconftest.a conftest.o 2>&5
7646 echo "$RANLIB libconftest.a" >&5
7647 $RANLIB libconftest.a 2>&5
7648 cat > conftest.c << _LT_EOF
7649 int main() { return 0;}
7651 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7652 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7654 if test -s conftest.err && $GREP force_load conftest.err; then
7655 cat conftest.err >&5
7656 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7657 lt_cv_ld_force_load=yes
7659 cat conftest.err >&5
7661 rm -f conftest.err libconftest.a conftest conftest.c
7662 rm -rf conftest.dSYM
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7666 $as_echo "$lt_cv_ld_force_load" >&6; }
7668 rhapsody* | darwin1.[012])
7669 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7671 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7672 darwin*) # darwin 5.x on
7673 # if running on 10.5 or later, the deployment target defaults
7674 # to the OS version, if on x86, and 10.4, the deployment
7675 # target defaults to 10.4. Don't you love it?
7676 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7677 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7678 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7680 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7682 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7686 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7687 _lt_dar_single_mod='$single_module'
7689 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7690 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7692 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7694 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7695 _lt_dsymutil='~$DSYMUTIL $lib || :'
7703 ac_cpp='$CPP $CPPFLAGS'
7704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7708 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7709 # On Suns, sometimes $CPP names a directory.
7710 if test -n "$CPP" && test -d "$CPP"; then
7713 if test -z "$CPP"; then
7714 if ${ac_cv_prog_CPP+:} false; then :
7715 $as_echo_n "(cached) " >&6
7717 # Double quotes because CPP needs to be expanded
7718 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7721 for ac_c_preproc_warn_flag in '' yes
7723 # Use a header file that comes with gcc, so configuring glibc
7724 # with a fresh cross-compiler works.
7725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7726 # <limits.h> exists even on freestanding compilers.
7727 # On the NeXT, cc -E runs the code through the compiler's parser,
7728 # not just through cpp. "Syntax error" is here to catch this case.
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7732 # include <limits.h>
7734 # include <assert.h>
7738 if ac_fn_c_try_cpp "$LINENO"; then :
7741 # Broken: fails on valid input.
7744 rm -f conftest.err conftest.i conftest.$ac_ext
7746 # OK, works on sane cases. Now check whether nonexistent headers
7747 # can be detected and how.
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 #include <ac_nonexistent.h>
7752 if ac_fn_c_try_cpp "$LINENO"; then :
7753 # Broken: success on invalid input.
7756 # Passes both tests.
7760 rm -f conftest.err conftest.i conftest.$ac_ext
7763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7764 rm -f conftest.i conftest.err conftest.$ac_ext
7765 if $ac_preproc_ok; then :
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7778 $as_echo "$CPP" >&6; }
7780 for ac_c_preproc_warn_flag in '' yes
7782 # Use a header file that comes with gcc, so configuring glibc
7783 # with a fresh cross-compiler works.
7784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7785 # <limits.h> exists even on freestanding compilers.
7786 # On the NeXT, cc -E runs the code through the compiler's parser,
7787 # not just through cpp. "Syntax error" is here to catch this case.
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7791 # include <limits.h>
7793 # include <assert.h>
7797 if ac_fn_c_try_cpp "$LINENO"; then :
7800 # Broken: fails on valid input.
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7805 # OK, works on sane cases. Now check whether nonexistent headers
7806 # can be detected and how.
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #include <ac_nonexistent.h>
7811 if ac_fn_c_try_cpp "$LINENO"; then :
7812 # Broken: success on invalid input.
7815 # Passes both tests.
7819 rm -f conftest.err conftest.i conftest.$ac_ext
7822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7823 rm -f conftest.i conftest.err conftest.$ac_ext
7824 if $ac_preproc_ok; then :
7827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7829 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7830 See \`config.log' for more details" "$LINENO" 5; }
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7841 $as_echo_n "checking for ANSI C header files... " >&6; }
7842 if ${ac_cv_header_stdc+:} false; then :
7843 $as_echo_n "(cached) " >&6
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7860 if ac_fn_c_try_compile "$LINENO"; then :
7861 ac_cv_header_stdc=yes
7863 ac_cv_header_stdc=no
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867 if test $ac_cv_header_stdc = yes; then
7868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7875 $EGREP "memchr" >/dev/null 2>&1; then :
7878 ac_cv_header_stdc=no
7884 if test $ac_cv_header_stdc = yes; then
7885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h. */
7891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7892 $EGREP "free" >/dev/null 2>&1; then :
7895 ac_cv_header_stdc=no
7901 if test $ac_cv_header_stdc = yes; then
7902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7903 if test "$cross_compiling" = yes; then :
7906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7907 /* end confdefs.h. */
7910 #if ((' ' & 0x0FF) == 0x020)
7911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7914 # define ISLOWER(c) \
7915 (('a' <= (c) && (c) <= 'i') \
7916 || ('j' <= (c) && (c) <= 'r') \
7917 || ('s' <= (c) && (c) <= 'z'))
7918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7926 for (i = 0; i < 256; i++)
7927 if (XOR (islower (i), ISLOWER (i))
7928 || toupper (i) != TOUPPER (i))
7933 if ac_fn_c_try_run "$LINENO"; then :
7936 ac_cv_header_stdc=no
7938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7939 conftest.$ac_objext conftest.beam conftest.$ac_ext
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7945 $as_echo "$ac_cv_header_stdc" >&6; }
7946 if test $ac_cv_header_stdc = yes; then
7948 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7952 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7953 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7954 inttypes.h stdint.h unistd.h
7956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7957 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7960 cat >>confdefs.h <<_ACEOF
7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7969 for ac_header in dlfcn.h
7971 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7973 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_DLFCN_H 1
7987 # Check whether --enable-static was given.
7988 if test "${enable_static+set}" = set; then :
7989 enableval=$enable_static; p=${PACKAGE-default}
7991 yes) enable_static=yes ;;
7992 no) enable_static=no ;;
7995 # Look at the argument we got. We use all the common list separators.
7996 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7997 for pkg in $enableval; do
7999 if test "X$pkg" = "X$p"; then
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8037 if test "X$pkg" = "X$p"; then
8058 # Check whether --with-pic was given.
8059 if test "${with_pic+set}" = set; then :
8060 withval=$with_pic; lt_p=${PACKAGE-default}
8062 yes|no) pic_mode=$withval ;;
8065 # Look at the argument we got. We use all the common list separators.
8066 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8067 for lt_pkg in $withval; do
8069 if test "X$lt_pkg" = "X$lt_p"; then
8081 test -z "$pic_mode" && pic_mode=default
8089 # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091 enableval=$enable_fast_install; p=${PACKAGE-default}
8093 yes) enable_fast_install=yes ;;
8094 no) enable_fast_install=no ;;
8096 enable_fast_install=no
8097 # Look at the argument we got. We use all the common list separators.
8098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099 for pkg in $enableval; do
8101 if test "X$pkg" = "X$p"; then
8102 enable_fast_install=yes
8109 enable_fast_install=yes
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8157 test -z "$LN_S" && LN_S="ln -s"
8172 if test -n "${ZSH_VERSION+set}" ; then
8173 setopt NO_GLOB_SUBST
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8177 $as_echo_n "checking for objdir... " >&6; }
8178 if ${lt_cv_objdir+:} false; then :
8179 $as_echo_n "(cached) " >&6
8181 rm -f .libs 2>/dev/null
8182 mkdir .libs 2>/dev/null
8183 if test -d .libs; then
8186 # MS-DOS does not allow filenames that begin with a dot.
8189 rmdir .libs 2>/dev/null
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8192 $as_echo "$lt_cv_objdir" >&6; }
8193 objdir=$lt_cv_objdir
8199 cat >>confdefs.h <<_ACEOF
8200 #define LT_OBJDIR "$lt_cv_objdir/"
8208 # AIX sometimes has problems with the GCC collect2 program. For some
8209 # reason, if we set the COLLECT_NAMES environment variable, the problems
8210 # vanish in a puff of smoke.
8211 if test "X${COLLECT_NAMES+set}" != Xset; then
8213 export COLLECT_NAMES
8220 can_build_shared=yes
8222 # All known linkers require a `.a' archive for static linking (except MSVC,
8223 # which needs '.lib').
8226 with_gnu_ld="$lt_cv_prog_gnu_ld"
8229 old_CFLAGS="$CFLAGS"
8231 # Set sane defaults for various variables
8232 test -z "$CC" && CC=cc
8233 test -z "$LTCC" && LTCC=$CC
8234 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8235 test -z "$LD" && LD=ld
8236 test -z "$ac_objext" && ac_objext=o
8238 for cc_temp in $compiler""; do
8240 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8241 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8246 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8249 # Only perform the check for file, if the check method requires it
8250 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8251 case $deplibs_check_method in
8253 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8255 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8256 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8257 $as_echo_n "(cached) " >&6
8261 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8264 lt_save_MAGIC_CMD="$MAGIC_CMD"
8265 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8266 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8267 for ac_dir in $ac_dummy; do
8269 test -z "$ac_dir" && ac_dir=.
8270 if test -f $ac_dir/${ac_tool_prefix}file; then
8271 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8272 if test -n "$file_magic_test_file"; then
8273 case $deplibs_check_method in
8275 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8276 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8277 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8278 $EGREP "$file_magic_regex" > /dev/null; then
8283 *** Warning: the command libtool uses to detect shared libraries,
8284 *** $file_magic_cmd, produces output that libtool cannot recognize.
8285 *** The result is that libtool may fail to recognize shared libraries
8286 *** as such. This will affect the creation of libtool libraries that
8287 *** depend on shared libraries, but programs linked with such libtool
8288 *** libraries will work regardless of this problem. Nevertheless, you
8289 *** may want to report the problem to your system manager and/or to
8290 *** bug-libtool@gnu.org
8300 MAGIC_CMD="$lt_save_MAGIC_CMD"
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if test -n "$MAGIC_CMD"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8308 $as_echo "$MAGIC_CMD" >&6; }
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8318 if test -z "$lt_cv_path_MAGIC_CMD"; then
8319 if test -n "$ac_tool_prefix"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8321 $as_echo_n "checking for file... " >&6; }
8322 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8323 $as_echo_n "(cached) " >&6
8327 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8330 lt_save_MAGIC_CMD="$MAGIC_CMD"
8331 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8332 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8333 for ac_dir in $ac_dummy; do
8335 test -z "$ac_dir" && ac_dir=.
8336 if test -f $ac_dir/file; then
8337 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8338 if test -n "$file_magic_test_file"; then
8339 case $deplibs_check_method in
8341 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8343 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8344 $EGREP "$file_magic_regex" > /dev/null; then
8349 *** Warning: the command libtool uses to detect shared libraries,
8350 *** $file_magic_cmd, produces output that libtool cannot recognize.
8351 *** The result is that libtool may fail to recognize shared libraries
8352 *** as such. This will affect the creation of libtool libraries that
8353 *** depend on shared libraries, but programs linked with such libtool
8354 *** libraries will work regardless of this problem. Nevertheless, you
8355 *** may want to report the problem to your system manager and/or to
8356 *** bug-libtool@gnu.org
8366 MAGIC_CMD="$lt_save_MAGIC_CMD"
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if test -n "$MAGIC_CMD"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8374 $as_echo "$MAGIC_CMD" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8390 # Use C for the default configuration in the libtool script
8394 ac_cpp='$CPP $CPPFLAGS'
8395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8400 # Source file extension for C test sources.
8403 # Object file extension for compiled C test sources.
8407 # Code to be used in simple compile tests
8408 lt_simple_compile_test_code="int some_variable = 0;"
8410 # Code to be used in simple link tests
8411 lt_simple_link_test_code='int main(){return(0);}'
8419 # If no C compiler was specified, use CC.
8422 # If no C compiler flags were specified, use CFLAGS.
8423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8425 # Allow CC to be a program name with arguments.
8428 # Save the default compiler, since it gets overwritten when the other
8429 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8430 compiler_DEFAULT=$CC
8432 # save warnings/boilerplate of simple test code
8433 ac_outfile=conftest.$ac_objext
8434 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8435 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8436 _lt_compiler_boilerplate=`cat conftest.err`
8439 ac_outfile=conftest.$ac_objext
8440 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8441 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8442 _lt_linker_boilerplate=`cat conftest.err`
8447 ## There is no encapsulation within the following macros, do not change
8448 ## the running order or otherwise move them around unless you know exactly
8449 ## what you are doing...
8450 if test -n "$compiler"; then
8452 lt_prog_compiler_no_builtin_flag=
8454 if test "$GCC" = yes; then
8455 case $cc_basename in
8457 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8459 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8463 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8464 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8465 $as_echo_n "(cached) " >&6
8467 lt_cv_prog_compiler_rtti_exceptions=no
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8470 lt_compiler_flag="-fno-rtti -fno-exceptions"
8471 # Insert the option either (1) after the last *FLAGS variable, or
8472 # (2) before a word containing "conftest.", or (3) at the end.
8473 # Note that $ac_compile itself does not contain backslashes and begins
8474 # with a dollar sign (not a hyphen), so the echo should work correctly.
8475 # The option is referenced via a variable to avoid confusing sed.
8476 lt_compile=`echo "$ac_compile" | $SED \
8477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8479 -e 's:$: $lt_compiler_flag:'`
8480 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8481 (eval "$lt_compile" 2>conftest.err)
8483 cat conftest.err >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 if (exit $ac_status) && test -s "$ac_outfile"; then
8486 # The compiler can only warn and ignore the option if not recognized
8487 # So say no if there are warnings other than the usual output.
8488 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8491 lt_cv_prog_compiler_rtti_exceptions=yes
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8498 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8500 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8501 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 lt_prog_compiler_wl=
8514 lt_prog_compiler_pic=
8515 lt_prog_compiler_static=
8518 if test "$GCC" = yes; then
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_static='-static'
8524 # All AIX code is PIC.
8525 if test "$host_cpu" = ia64; then
8526 # AIX 5 now supports IA64 processor
8527 lt_prog_compiler_static='-Bstatic'
8534 # see comment about AmigaOS4 .so support
8535 lt_prog_compiler_pic='-fPIC'
8538 # FIXME: we need at least 68020 code to build shared libraries, but
8539 # adding the `-m68020' flag to GCC prevents building anything better,
8541 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8546 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8547 # PIC is the default for these OSes.
8550 mingw* | cygwin* | pw32* | os2* | cegcc*)
8551 # This hack is so that the source file can tell whether it is being
8552 # built for inclusion in a dll (and should export symbols for example).
8553 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8554 # (--disable-auto-import) libraries
8555 lt_prog_compiler_pic='-DDLL_EXPORT'
8558 darwin* | rhapsody*)
8559 # PIC is the default on this platform
8560 # Common symbols not allowed in MH_DYLIB files
8561 lt_prog_compiler_pic='-fno-common'
8565 # PIC is the default for Haiku.
8566 # The "-static" flag exists, but is broken.
8567 lt_prog_compiler_static=
8571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8573 # sets the default TLS model and affects inlining.
8579 lt_prog_compiler_pic='-fPIC'
8585 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8586 # Instead, we relocate shared libraries at runtime.
8590 # Just because we use GCC doesn't mean we suddenly get shared libraries
8591 # on systems that don't support them.
8592 lt_prog_compiler_can_build_shared=no
8597 # QNX uses GNU C++, but need to define -shared option too, otherwise
8599 lt_prog_compiler_pic='-fPIC -shared'
8603 if test -d /usr/nec; then
8604 lt_prog_compiler_pic=-Kconform_pic
8609 lt_prog_compiler_pic='-fPIC'
8613 case $cc_basename in
8614 nvcc*) # Cuda Compiler Driver 2.2
8615 lt_prog_compiler_wl='-Xlinker '
8616 if test -n "$lt_prog_compiler_pic"; then
8617 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8622 # PORTME Check for flag to pass linker flags through the system compiler.
8625 lt_prog_compiler_wl='-Wl,'
8626 if test "$host_cpu" = ia64; then
8627 # AIX 5 now supports IA64 processor
8628 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8634 mingw* | cygwin* | pw32* | os2* | cegcc*)
8635 # This hack is so that the source file can tell whether it is being
8636 # built for inclusion in a dll (and should export symbols for example).
8637 lt_prog_compiler_pic='-DDLL_EXPORT'
8640 hpux9* | hpux10* | hpux11*)
8641 lt_prog_compiler_wl='-Wl,'
8642 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8649 lt_prog_compiler_pic='+Z'
8652 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8653 lt_prog_compiler_static='${wl}-a ${wl}archive'
8656 irix5* | irix6* | nonstopux*)
8657 lt_prog_compiler_wl='-Wl,'
8658 # PIC (with -KPIC) is the default.
8659 lt_prog_compiler_static='-non_shared'
8662 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8663 case $cc_basename in
8664 # old Intel for x86_64 which still supported -KPIC.
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='-KPIC'
8668 lt_prog_compiler_static='-static'
8670 # icc used to be incompatible with GCC.
8671 # ICC 10 doesn't accept -KPIC any more.
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fPIC'
8675 lt_prog_compiler_static='-static'
8677 # Lahey Fortran 8.1.
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='--shared'
8681 lt_prog_compiler_static='--static'
8684 # NAG Fortran compiler
8685 lt_prog_compiler_wl='-Wl,-Wl,,'
8686 lt_prog_compiler_pic='-PIC'
8687 lt_prog_compiler_static='-Bstatic'
8689 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8690 # Portland Group compilers (*not* the Pentium gcc compiler,
8691 # which looks to be a dead project)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-fpic'
8694 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8698 # All Alpha code is PIC.
8699 lt_prog_compiler_static='-non_shared'
8701 xl* | bgxl* | bgf* | mpixl*)
8702 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-qpic'
8705 lt_prog_compiler_static='-qstaticlink'
8708 case `$CC -V 2>&1 | sed 5q` in
8709 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8710 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 lt_prog_compiler_wl=''
8715 *Sun\ F* | *Sun*Fortran*)
8716 lt_prog_compiler_pic='-KPIC'
8717 lt_prog_compiler_static='-Bstatic'
8718 lt_prog_compiler_wl='-Qoption ld '
8722 lt_prog_compiler_pic='-KPIC'
8723 lt_prog_compiler_static='-Bstatic'
8724 lt_prog_compiler_wl='-Wl,'
8726 *Intel*\ [CF]*Compiler*)
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-fPIC'
8729 lt_prog_compiler_static='-static'
8732 lt_prog_compiler_wl='-Wl,'
8733 lt_prog_compiler_pic='-fpic'
8734 lt_prog_compiler_static='-Bstatic'
8742 lt_prog_compiler_pic='-KPIC'
8743 lt_prog_compiler_static='-Bstatic'
8747 # QNX uses GNU C++, but need to define -shared option too, otherwise
8749 lt_prog_compiler_pic='-fPIC -shared'
8752 osf3* | osf4* | osf5*)
8753 lt_prog_compiler_wl='-Wl,'
8754 # All OSF/1 code is PIC.
8755 lt_prog_compiler_static='-non_shared'
8759 lt_prog_compiler_static='-non_shared'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-Bstatic'
8765 case $cc_basename in
8766 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8767 lt_prog_compiler_wl='-Qoption ld ';;
8769 lt_prog_compiler_wl='-Wl,';;
8774 lt_prog_compiler_wl='-Qoption ld '
8775 lt_prog_compiler_pic='-PIC'
8776 lt_prog_compiler_static='-Bstatic'
8779 sysv4 | sysv4.2uw2* | sysv4.3*)
8780 lt_prog_compiler_wl='-Wl,'
8781 lt_prog_compiler_pic='-KPIC'
8782 lt_prog_compiler_static='-Bstatic'
8786 if test -d /usr/nec ;then
8787 lt_prog_compiler_pic='-Kconform_pic'
8788 lt_prog_compiler_static='-Bstatic'
8792 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-KPIC'
8795 lt_prog_compiler_static='-Bstatic'
8799 lt_prog_compiler_wl='-Wl,'
8800 lt_prog_compiler_can_build_shared=no
8804 lt_prog_compiler_pic='-pic'
8805 lt_prog_compiler_static='-Bstatic'
8809 lt_prog_compiler_can_build_shared=no
8815 # For platforms which do not support PIC, -DPIC is meaningless:
8817 lt_prog_compiler_pic=
8820 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8825 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8826 if ${lt_cv_prog_compiler_pic+:} false; then :
8827 $as_echo_n "(cached) " >&6
8829 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8832 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8833 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8842 $as_echo_n "(cached) " >&6
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8900 # Check to make sure the static flag actually works.
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if ${lt_cv_prog_compiler_static_works+:} false; then :
8906 $as_echo_n "(cached) " >&6
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8924 lt_cv_prog_compiler_static_works=yes
8928 LDFLAGS="$save_LDFLAGS"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8937 lt_prog_compiler_static=
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if ${lt_cv_prog_compiler_c_o+:} false; then :
8949 $as_echo_n "(cached) " >&6
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if ${lt_cv_prog_compiler_c_o+:} false; then :
9004 $as_echo_n "(cached) " >&6
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9085 allow_undefined_flag=
9086 always_export_symbols=no
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_separator=
9099 hardcode_shlibpath_var=unsupported
9101 link_all_deplibs=unknown
9104 old_archive_from_new_cmds=
9105 old_archive_from_expsyms_cmds=
9106 thread_safe_flag_spec=
9107 whole_archive_flag_spec=
9108 # include_expsyms should be a list of space-separated symbols to be *always*
9109 # included in the symbol list
9111 # exclude_expsyms can be an extended regexp of symbols to exclude
9112 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9113 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9114 # as well as any symbol that contains `d'.
9115 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9116 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9117 # platforms (ab)use it in PIC code, but their linkers get confused if
9118 # the symbol is explicitly referenced. Since portable code cannot
9119 # rely on this symbol name, it's probably fine to never include it in
9120 # preloaded symbol tables.
9121 # Exclude shared library initialization/finalization symbols.
9122 extract_expsyms_cmds=
9125 cygwin* | mingw* | pw32* | cegcc*)
9126 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9127 # When not using gcc, we currently assume that we are using
9128 # Microsoft Visual C++.
9129 if test "$GCC" != yes; then
9134 # we just hope/assume this is gcc and not c89 (= MSVC++)
9140 linux* | k*bsd*-gnu | gnu*)
9147 # On some targets, GNU ld is compatible enough with the native linker
9148 # that we're better off using the native interface for both.
9149 lt_use_gnu_ld_interface=no
9150 if test "$with_gnu_ld" = yes; then
9153 # The AIX port of GNU ld has always aspired to compatibility
9154 # with the native linker. However, as the warning in the GNU ld
9155 # block says, versions before 2.19.5* couldn't really create working
9156 # shared libraries, regardless of the interface used.
9157 case `$LD -v 2>&1` in
9158 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9159 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9160 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9162 lt_use_gnu_ld_interface=yes
9167 lt_use_gnu_ld_interface=yes
9172 if test "$lt_use_gnu_ld_interface" = yes; then
9173 # If archive_cmds runs LD, not CC, wlarc should be empty
9176 # Set some defaults for GNU ld with shared library support. These
9177 # are reset later if shared libraries are not supported. Putting them
9178 # here allows them to be overridden if necessary.
9179 runpath_var=LD_RUN_PATH
9180 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181 export_dynamic_flag_spec='${wl}--export-dynamic'
9182 # ancient GNU ld didn't support --whole-archive et. al.
9183 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9184 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9186 whole_archive_flag_spec=
9188 supports_anon_versioning=no
9189 case `$LD -v 2>&1` in
9190 *GNU\ gold*) supports_anon_versioning=yes ;;
9191 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9192 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9193 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9194 *\ 2.11.*) ;; # other 2.11 versions
9195 *) supports_anon_versioning=yes ;;
9198 # See if GNU ld supports shared libraries.
9201 # On AIX/PPC, the GNU linker is very broken
9202 if test "$host_cpu" != ia64; then
9206 *** Warning: the GNU linker, at least up to release 2.19, is reported
9207 *** to be unable to reliably create shared libraries on AIX.
9208 *** Therefore, libtool is disabling shared libraries support. If you
9209 *** really care for shared libraries, you may want to install binutils
9210 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9211 *** You will then need to restart the configuration process.
9220 # see comment about AmigaOS4 .so support
9221 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222 archive_expsym_cmds=''
9225 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)'
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 hardcode_minus_L=yes
9233 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9234 allow_undefined_flag=unsupported
9235 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9236 # support --undefined. This deserves some investigation. FIXME
9237 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9243 cygwin* | mingw* | pw32* | cegcc*)
9244 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9245 # as there is no search path for DLLs.
9246 hardcode_libdir_flag_spec='-L$libdir'
9247 export_dynamic_flag_spec='${wl}--export-all-symbols'
9248 allow_undefined_flag=unsupported
9249 always_export_symbols=no
9250 enable_shared_with_static_runtimes=yes
9251 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'
9252 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9254 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9256 # If the export-symbols file already is a .def file (1st line
9257 # is EXPORTS), use it as is; otherwise, prepend...
9258 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9259 cp $export_symbols $output_objdir/$soname.def;
9261 echo EXPORTS > $output_objdir/$soname.def;
9262 cat $export_symbols >> $output_objdir/$soname.def;
9264 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9271 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272 link_all_deplibs=yes
9277 hardcode_shlibpath_var=no
9278 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9279 export_dynamic_flag_spec='${wl}-E'
9280 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9281 # Instead, shared libraries are loaded at an image base (0x10000000 by
9282 # default) and relocated if they conflict, which is a slow very memory
9283 # consuming and fragmenting process. To avoid this, we pick a random,
9284 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9285 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9286 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9287 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'
9290 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9292 if test "$host_os" = linux-dietlibc; then
9293 case $cc_basename in
9294 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9297 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9298 && test "$tmp_diet" = no
9300 tmp_addflag=' $pic_flag'
9301 tmp_sharedflag='-shared'
9302 case $cc_basename,$host_cpu in
9303 pgcc*) # Portland Group C compiler
9304 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'
9305 tmp_addflag=' $pic_flag'
9307 pgf77* | pgf90* | pgf95* | pgfortran*)
9308 # Portland Group f77 and f90 compilers
9309 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'
9310 tmp_addflag=' $pic_flag -Mnomain' ;;
9311 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9312 tmp_addflag=' -i_dynamic' ;;
9313 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9314 tmp_addflag=' -i_dynamic -nofor_main' ;;
9315 ifc* | ifort*) # Intel Fortran compiler
9316 tmp_addflag=' -nofor_main' ;;
9317 lf95*) # Lahey Fortran 8.1
9318 whole_archive_flag_spec=
9319 tmp_sharedflag='--shared' ;;
9320 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9321 tmp_sharedflag='-qmkshrobj'
9323 nvcc*) # Cuda Compiler Driver 2.2
9324 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'
9325 compiler_needs_object=yes
9328 case `$CC -V 2>&1 | sed 5q` in
9329 *Sun\ C*) # Sun C 5.9
9330 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'
9331 compiler_needs_object=yes
9332 tmp_sharedflag='-G' ;;
9333 *Sun\ F*) # Sun Fortran 8.3
9334 tmp_sharedflag='-G' ;;
9336 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 if test "x$supports_anon_versioning" = xyes; then
9339 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9341 echo "local: *; };" >> $output_objdir/$libname.ver~
9342 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9345 case $cc_basename in
9346 xlf* | bgf* | bgxlf* | mpixlf*)
9347 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9348 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9349 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9351 if test "x$supports_anon_versioning" = xyes; then
9352 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9353 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9354 echo "local: *; };" >> $output_objdir/$libname.ver~
9355 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9364 netbsd* | netbsdelf*-gnu)
9365 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9366 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9369 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9379 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9380 *** create shared libraries on Solaris systems. Therefore, libtool
9381 *** is disabling shared libraries support. We urge you to upgrade GNU
9382 *** binutils to release 2.9.1 or newer. Another option is to modify
9383 *** your PATH or compiler configuration so that the native linker is
9384 *** used, and then restart.
9387 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9388 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9396 case `$LD -v 2>&1` in
9397 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9401 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9402 *** reliably create shared libraries on SCO systems. Therefore, libtool
9403 *** is disabling shared libraries support. We urge you to upgrade GNU
9404 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9405 *** your PATH or compiler configuration so that the native linker is
9406 *** used, and then restart.
9411 # For security reasons, it is highly recommended that you always
9412 # use absolute paths for naming shared libraries, and exclude the
9413 # DT_RUNPATH tag from executables and libraries. But doing so
9414 # requires that you compile everything twice, which is a pain.
9415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9417 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9427 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9430 hardcode_shlibpath_var=no
9434 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9435 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9436 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 if test "$ld_shlibs" = no; then
9445 hardcode_libdir_flag_spec=
9446 export_dynamic_flag_spec=
9447 whole_archive_flag_spec=
9450 # PORTME fill in a description of your system's linker (not GNU ld)
9453 allow_undefined_flag=unsupported
9454 always_export_symbols=yes
9455 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'
9456 # Note: this linker hardcodes the directories in LIBPATH if there
9457 # are no directories specified by -L.
9458 hardcode_minus_L=yes
9459 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9460 # Neither direct hardcoding nor static linking is supported with a
9462 hardcode_direct=unsupported
9467 if test "$host_cpu" = ia64; then
9468 # On IA64, the linker does run time linking by default, so we don't
9469 # have to do anything special.
9470 aix_use_runtimelinking=no
9471 exp_sym_flag='-Bexport'
9474 # If we're using GNU nm, then we don't want the "-C" option.
9475 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9476 # Also, AIX nm treats weak defined symbols like other global
9477 # defined symbols, whereas GNU nm marks them as "W".
9478 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9479 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'
9481 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'
9483 aix_use_runtimelinking=no
9485 # Test if we are trying to use run time linking or normal
9486 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9487 # need to do runtime linking.
9488 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9489 for ld_flag in $LDFLAGS; do
9490 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9491 aix_use_runtimelinking=yes
9498 exp_sym_flag='-bexport'
9499 no_entry_flag='-bnoentry'
9502 # When large executables or shared objects are built, AIX ld can
9503 # have problems creating the table of contents. If linking a library
9504 # or program results in "error TOC overflow" add -mminimal-toc to
9505 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9506 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9510 hardcode_direct_absolute=yes
9511 hardcode_libdir_separator=':'
9512 link_all_deplibs=yes
9513 file_list_spec='${wl}-f,'
9515 if test "$GCC" = yes; then
9516 case $host_os in aix4.[012]|aix4.[012].*)
9517 # We only want to do this on AIX 4.2 and lower, the check
9518 # below for broken collect2 doesn't work under 4.3+
9519 collect2name=`${CC} -print-prog-name=collect2`
9520 if test -f "$collect2name" &&
9521 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9523 # We have reworked collect2
9526 # We have old collect2
9527 hardcode_direct=unsupported
9528 # It fails to find uninstalled libraries when the uninstalled
9529 # path is not listed in the libpath. Setting hardcode_minus_L
9530 # to unsupported forces relinking
9531 hardcode_minus_L=yes
9532 hardcode_libdir_flag_spec='-L$libdir'
9533 hardcode_libdir_separator=
9537 shared_flag='-shared'
9538 if test "$aix_use_runtimelinking" = yes; then
9539 shared_flag="$shared_flag "'${wl}-G'
9544 if test "$host_cpu" = ia64; then
9545 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9546 # chokes on -Wl,-G. The following line is correct:
9549 if test "$aix_use_runtimelinking" = yes; then
9550 shared_flag='${wl}-G'
9552 shared_flag='${wl}-bM:SRE'
9557 export_dynamic_flag_spec='${wl}-bexpall'
9558 # It seems that -bexpall does not export symbols beginning with
9559 # underscore (_), so it is better to generate a list of symbols to export.
9560 always_export_symbols=yes
9561 if test "$aix_use_runtimelinking" = yes; then
9562 # Warning - without using the other runtime loading flags (-brtl),
9563 # -berok will link without error, but may produce a broken library.
9564 allow_undefined_flag='-berok'
9565 # Determine the default libpath from the value encoded in an
9567 if test "${lt_cv_aix_libpath+set}" = set; then
9568 aix_libpath=$lt_cv_aix_libpath
9570 if ${lt_cv_aix_libpath_+:} false; then :
9571 $as_echo_n "(cached) " >&6
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9584 if ac_fn_c_try_link "$LINENO"; then :
9586 lt_aix_libpath_sed='
9587 /Import File Strings/,/^$/ {
9589 s/^0 *\([^ ]*\) *$/\1/
9593 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 # Check for a 64-bit object if we didn't find anything.
9595 if test -z "$lt_cv_aix_libpath_"; then
9596 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 if test -z "$lt_cv_aix_libpath_"; then
9602 lt_cv_aix_libpath_="/usr/lib:/lib"
9607 aix_libpath=$lt_cv_aix_libpath_
9610 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9611 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"
9613 if test "$host_cpu" = ia64; then
9614 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9615 allow_undefined_flag="-z nodefs"
9616 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"
9618 # Determine the default libpath from the value encoded in an
9620 if test "${lt_cv_aix_libpath+set}" = set; then
9621 aix_libpath=$lt_cv_aix_libpath
9623 if ${lt_cv_aix_libpath_+:} false; then :
9624 $as_echo_n "(cached) " >&6
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9637 if ac_fn_c_try_link "$LINENO"; then :
9639 lt_aix_libpath_sed='
9640 /Import File Strings/,/^$/ {
9642 s/^0 *\([^ ]*\) *$/\1/
9646 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 # Check for a 64-bit object if we didn't find anything.
9648 if test -z "$lt_cv_aix_libpath_"; then
9649 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 if test -z "$lt_cv_aix_libpath_"; then
9655 lt_cv_aix_libpath_="/usr/lib:/lib"
9660 aix_libpath=$lt_cv_aix_libpath_
9663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 # Warning - without using the other run time loading flags,
9665 # -berok will link without error, but may produce a broken library.
9666 no_undefined_flag=' ${wl}-bernotok'
9667 allow_undefined_flag=' ${wl}-berok'
9668 if test "$with_gnu_ld" = yes; then
9669 # We only use this code for GNU lds that support --whole-archive.
9670 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9672 # Exported symbols can be pulled into shared objects from archives
9673 whole_archive_flag_spec='$convenience'
9675 archive_cmds_need_lc=yes
9676 # This is similar to how AIX traditionally builds its shared libraries.
9677 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'
9685 # see comment about AmigaOS4 .so support
9686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9687 archive_expsym_cmds=''
9690 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)'
9691 hardcode_libdir_flag_spec='-L$libdir'
9692 hardcode_minus_L=yes
9698 export_dynamic_flag_spec=-rdynamic
9701 cygwin* | mingw* | pw32* | cegcc*)
9702 # When not using gcc, we currently assume that we are using
9703 # Microsoft Visual C++.
9704 # hardcode_libdir_flag_spec is actually meaningless, as there is
9705 # no search path for DLLs.
9706 case $cc_basename in
9709 hardcode_libdir_flag_spec=' '
9710 allow_undefined_flag=unsupported
9711 always_export_symbols=yes
9713 # Tell ltmain to make .lib files, not .a files.
9715 # Tell ltmain to make .dll files, not .so files.
9717 # FIXME: Setting linknames here is a bad hack.
9718 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9719 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9720 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9722 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9724 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9726 # The linker will not automatically build a static lib if we build a DLL.
9727 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9728 enable_shared_with_static_runtimes=yes
9729 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9730 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9732 old_postinstall_cmds='chmod 644 $oldlib'
9733 postlink_cmds='lt_outputfile="@OUTPUT@"~
9734 lt_tool_outputfile="@TOOL_OUTPUT@"~
9735 case $lt_outputfile in
9738 lt_outputfile="$lt_outputfile.exe"
9739 lt_tool_outputfile="$lt_tool_outputfile.exe"
9742 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9743 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9744 $RM "$lt_outputfile.manifest";
9748 # Assume MSVC wrapper
9749 hardcode_libdir_flag_spec=' '
9750 allow_undefined_flag=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9753 # Tell ltmain to make .dll files, not .so files.
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 enable_shared_with_static_runtimes=yes
9766 darwin* | rhapsody*)
9769 archive_cmds_need_lc=no
9771 hardcode_automatic=yes
9772 hardcode_shlibpath_var=unsupported
9773 if test "$lt_cv_ld_force_load" = "yes"; then
9774 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\"`'
9777 whole_archive_flag_spec=''
9779 link_all_deplibs=yes
9780 allow_undefined_flag="$_lt_dar_allow_undefined"
9781 case $cc_basename in
9782 ifort*) _lt_dar_can_shared=yes ;;
9783 *) _lt_dar_can_shared=$GCC ;;
9785 if test "$_lt_dar_can_shared" = "yes"; then
9786 output_verbose_link_cmd=func_echo_all
9787 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9788 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9789 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}"
9790 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}"
9799 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_libdir_flag_spec='-L$libdir'
9801 hardcode_shlibpath_var=no
9804 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9805 # support. Future versions do this automatically, but an explicit c++rt0.o
9806 # does not break anything, and helps significantly (at the cost of a little
9809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9810 hardcode_libdir_flag_spec='-R$libdir'
9812 hardcode_shlibpath_var=no
9815 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9819 hardcode_minus_L=yes
9820 hardcode_shlibpath_var=no
9823 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9824 freebsd* | dragonfly*)
9825 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9826 hardcode_libdir_flag_spec='-R$libdir'
9828 hardcode_shlibpath_var=no
9832 if test "$GCC" = yes; then
9833 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'
9835 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'
9837 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9838 hardcode_libdir_separator=:
9841 # hardcode_minus_L: Not really in the search PATH,
9842 # but as the default location of the library.
9843 hardcode_minus_L=yes
9844 export_dynamic_flag_spec='${wl}-E'
9848 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9849 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9853 if test "$with_gnu_ld" = no; then
9854 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9855 hardcode_libdir_separator=:
9857 hardcode_direct_absolute=yes
9858 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9866 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9869 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9872 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9888 # Older versions of the 11.00 compiler do not understand -b yet
9889 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9891 $as_echo_n "checking if $CC understands -b... " >&6; }
9892 if ${lt_cv_prog_compiler__b+:} false; then :
9893 $as_echo_n "(cached) " >&6
9895 lt_cv_prog_compiler__b=no
9896 save_LDFLAGS="$LDFLAGS"
9897 LDFLAGS="$LDFLAGS -b"
9898 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9899 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9900 # The linker can only warn and ignore the option if not recognized
9901 # So say no if there are warnings
9902 if test -s conftest.err; then
9903 # Append any errors to the config.log.
9904 cat conftest.err 1>&5
9905 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9907 if diff conftest.exp conftest.er2 >/dev/null; then
9908 lt_cv_prog_compiler__b=yes
9911 lt_cv_prog_compiler__b=yes
9915 LDFLAGS="$save_LDFLAGS"
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9919 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9921 if test x"$lt_cv_prog_compiler__b" = xyes; then
9922 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9924 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9930 if test "$with_gnu_ld" = no; then
9931 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9932 hardcode_libdir_separator=:
9937 hardcode_shlibpath_var=no
9941 hardcode_direct_absolute=yes
9942 export_dynamic_flag_spec='${wl}-E'
9944 # hardcode_minus_L: Not really in the search PATH,
9945 # but as the default location of the library.
9946 hardcode_minus_L=yes
9952 irix5* | irix6* | nonstopux*)
9953 if test "$GCC" = yes; then
9954 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'
9955 # Try to use the -exported_symbol ld option, if it does not
9956 # work, assume that -exports_file does not work either and
9957 # implicitly export all symbols.
9958 # This should be the same for all languages, so no per-tag cache variable.
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9960 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9961 if ${lt_cv_irix_exported_symbol+:} false; then :
9962 $as_echo_n "(cached) " >&6
9964 save_LDFLAGS="$LDFLAGS"
9965 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int foo (void) { return 0; }
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 lt_cv_irix_exported_symbol=yes
9973 lt_cv_irix_exported_symbol=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LDFLAGS="$save_LDFLAGS"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9980 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9981 if test "$lt_cv_irix_exported_symbol" = yes; then
9982 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'
9985 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'
9986 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'
9988 archive_cmds_need_lc='no'
9989 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990 hardcode_libdir_separator=:
9992 link_all_deplibs=yes
9995 netbsd* | netbsdelf*-gnu)
9996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9999 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10001 hardcode_libdir_flag_spec='-R$libdir'
10002 hardcode_direct=yes
10003 hardcode_shlibpath_var=no
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=yes
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010 hardcode_libdir_separator=:
10011 hardcode_shlibpath_var=no
10018 if test -f /usr/libexec/ld.so; then
10019 hardcode_direct=yes
10020 hardcode_shlibpath_var=no
10021 hardcode_direct_absolute=yes
10022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10025 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 export_dynamic_flag_spec='${wl}-E'
10029 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_libdir_flag_spec='-R$libdir'
10034 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_minus_L=yes
10047 allow_undefined_flag=unsupported
10048 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'
10049 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10053 if test "$GCC" = yes; then
10054 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10055 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'
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10060 archive_cmds_need_lc='no'
10061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062 hardcode_libdir_separator=:
10065 osf4* | osf5*) # as osf3* with the addition of -msym flag
10066 if test "$GCC" = yes; then
10067 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10068 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'
10069 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10071 allow_undefined_flag=' -expect_unresolved \*'
10072 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'
10073 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~
10074 $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'
10076 # Both c and cxx compiler support -rpath directly
10077 hardcode_libdir_flag_spec='-rpath $libdir'
10079 archive_cmds_need_lc='no'
10080 hardcode_libdir_separator=:
10084 no_undefined_flag=' -z defs'
10085 if test "$GCC" = yes; then
10087 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $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'
10091 case `$CC -V 2>&1` in
10094 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10100 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10106 hardcode_libdir_flag_spec='-R$libdir'
10107 hardcode_shlibpath_var=no
10109 solaris2.[0-5] | solaris2.[0-5].*) ;;
10111 # The compiler driver will combine and reorder linker options,
10112 # but understands `-z linker_flag'. GCC discards it without `$wl',
10113 # but is careful enough not to reorder.
10114 # Supported since Solaris 2.6 (maybe 2.5.1?)
10115 if test "$GCC" = yes; then
10116 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10118 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10122 link_all_deplibs=yes
10126 if test "x$host_vendor" = xsequent; then
10127 # Use $CC to link under sequent, because it throws in some extra .o
10128 # files that make .init and .fini sections work.
10129 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_libdir_flag_spec='-L$libdir'
10134 hardcode_direct=yes
10135 hardcode_minus_L=yes
10136 hardcode_shlibpath_var=no
10140 case $host_vendor in
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=yes # is this really true???
10146 ## LD is ld it makes a PLAMLIB
10147 ## CC just makes a GrossModule.
10148 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10149 reload_cmds='$CC -r -o $output$reload_objs'
10153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10157 runpath_var='LD_RUN_PATH'
10158 hardcode_shlibpath_var=no
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var=no
10164 export_dynamic_flag_spec='-Bexport'
10168 if test -d /usr/nec; then
10169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_shlibpath_var=no
10171 runpath_var=LD_RUN_PATH
10172 hardcode_runpath_var=yes
10177 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10178 no_undefined_flag='${wl}-z,text'
10179 archive_cmds_need_lc=no
10180 hardcode_shlibpath_var=no
10181 runpath_var='LD_RUN_PATH'
10183 if test "$GCC" = yes; then
10184 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 sysv5* | sco3.2v5* | sco5v6*)
10193 # Note: We can NOT use -z defs as we might desire, because we do not
10194 # link with -lc, and that would cause any symbols used from libc to
10195 # always be unresolved, which means just about no library would
10196 # ever link correctly. If we're not using GNU ld we use -z text
10197 # though, which does catch some bad symbols but isn't as heavy-handed
10199 no_undefined_flag='${wl}-z,text'
10200 allow_undefined_flag='${wl}-z,nodefs'
10201 archive_cmds_need_lc=no
10202 hardcode_shlibpath_var=no
10203 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10204 hardcode_libdir_separator=':'
10205 link_all_deplibs=yes
10206 export_dynamic_flag_spec='${wl}-Bexport'
10207 runpath_var='LD_RUN_PATH'
10209 if test "$GCC" = yes; then
10210 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220 hardcode_libdir_flag_spec='-L$libdir'
10221 hardcode_shlibpath_var=no
10229 if test x$host_vendor = xsni; then
10231 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10232 export_dynamic_flag_spec='${wl}-Blargedynsym'
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10239 $as_echo "$ld_shlibs" >&6; }
10240 test "$ld_shlibs" = no && can_build_shared=no
10242 with_gnu_ld=$with_gnu_ld
10259 # Do we need to explicitly link libc?
10261 case "x$archive_cmds_need_lc" in
10263 # Assume -lc should be added
10264 archive_cmds_need_lc=yes
10266 if test "$enable_shared" = yes && test "$GCC" = yes; then
10267 case $archive_cmds in
10269 # FIXME: we may have to deal with multi-command sequences.
10272 # Test whether the compiler implicitly links with -lc since on some
10273 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10274 # to ld, don't add -lc before -lgcc.
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10276 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10277 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10278 $as_echo_n "(cached) " >&6
10281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284 (eval $ac_compile) 2>&5
10286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287 test $ac_status = 0; } 2>conftest.err; then
10290 libobjs=conftest.$ac_objext
10292 wl=$lt_prog_compiler_wl
10293 pic_flag=$lt_prog_compiler_pic
10299 lt_save_allow_undefined_flag=$allow_undefined_flag
10300 allow_undefined_flag=
10301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10302 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10305 test $ac_status = 0; }
10307 lt_cv_archive_cmds_need_lc=no
10309 lt_cv_archive_cmds_need_lc=yes
10311 allow_undefined_flag=$lt_save_allow_undefined_flag
10313 cat conftest.err 1>&5
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10319 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10320 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10479 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10481 if test "$GCC" = yes; then
10483 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10484 *) lt_awk_arg="/^libraries:/" ;;
10487 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10488 *) lt_sed_strip_eq="s,=/,/,g" ;;
10490 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10491 case $lt_search_path_spec in
10493 # if the path contains ";" then we assume it to be the separator
10494 # otherwise default to the standard path separator (i.e. ":") - it is
10495 # assumed that no part of a normal pathname contains ";" but that should
10496 # okay in the real world where ";" in dirpaths is itself problematic.
10497 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10500 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10503 # Ok, now we have the path, separated by spaces, we can step through it
10504 # and add multilib dir if necessary.
10505 lt_tmp_lt_search_path_spec=
10506 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10507 for lt_sys_path in $lt_search_path_spec; do
10508 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10509 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10511 test -d "$lt_sys_path" && \
10512 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10515 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10516 BEGIN {RS=" "; FS="/|\n";} {
10519 for (lt_i = NF; lt_i > 0; lt_i--) {
10520 if ($lt_i != "" && $lt_i != ".") {
10521 if ($lt_i == "..") {
10524 if (lt_count == 0) {
10525 lt_foo="/" $lt_i lt_foo;
10532 if (lt_foo != "") { lt_freq[lt_foo]++; }
10533 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10535 # AWK program above erroneously prepends '/' to C:/dos/paths
10538 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10539 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10541 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10543 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10545 library_names_spec=
10546 libname_spec='lib$name'
10550 postuninstall_cmds=
10554 shlibpath_overrides_runpath=unknown
10556 dynamic_linker="$host_os ld.so"
10557 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10558 need_lib_prefix=unknown
10559 hardcode_into_libs=no
10561 # when you set need_version to no, make sure it does not cause -set_version
10562 # flags to be left without arguments
10563 need_version=unknown
10567 version_type=linux # correct to gnu/linux during the next big refactor
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10569 shlibpath_var=LIBPATH
10571 # AIX 3 has no versioning support, so we append a major version to the name.
10572 soname_spec='${libname}${release}${shared_ext}$major'
10576 version_type=linux # correct to gnu/linux during the next big refactor
10579 hardcode_into_libs=yes
10580 if test "$host_cpu" = ia64; then
10581 # AIX 5 supports IA64
10582 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10583 shlibpath_var=LD_LIBRARY_PATH
10585 # With GCC up to 2.95.x, collect2 would create an import file
10586 # for dependence libraries. The import file would start with
10587 # the line `#! .'. This would cause the generated library to
10588 # depend on `.', always an invalid library. This was fixed in
10589 # development snapshots of GCC prior to 3.0.
10591 aix4 | aix4.[01] | aix4.[01].*)
10592 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10594 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10597 can_build_shared=no
10601 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10602 # soname into executable. Probably we can add versioning support to
10603 # collect2, so additional links can be useful in future.
10604 if test "$aix_use_runtimelinking" = yes; then
10605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10606 # instead of lib<name>.a to let people know that these are not
10607 # typical AIX shared libraries.
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 # We preserve .a as extension for shared libraries through AIX4.2
10611 # and later when we are not doing run time linking.
10612 library_names_spec='${libname}${release}.a $libname.a'
10613 soname_spec='${libname}${release}${shared_ext}$major'
10615 shlibpath_var=LIBPATH
10622 # Since July 2007 AmigaOS4 officially supports .so libraries.
10623 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627 library_names_spec='$libname.ixlibrary $libname.a'
10628 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10629 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'
10635 library_names_spec='${libname}${shared_ext}'
10636 dynamic_linker="$host_os ld.so"
10637 shlibpath_var=LIBRARY_PATH
10641 version_type=linux # correct to gnu/linux during the next big refactor
10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644 soname_spec='${libname}${release}${shared_ext}$major'
10645 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10648 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10649 # the default ld.so.conf also contains /usr/contrib/lib and
10650 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10651 # libtool to hard-code these into programs
10654 cygwin* | mingw* | pw32* | cegcc*)
10655 version_type=windows
10660 case $GCC,$cc_basename in
10663 library_names_spec='$libname.dll.a'
10664 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10665 postinstall_cmds='base_file=`basename \${file}`~
10666 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10667 dldir=$destdir/`dirname \$dlpath`~
10668 test -d \$dldir || mkdir -p \$dldir~
10669 $install_prog $dir/$dlname \$dldir/$dlname~
10670 chmod a+x \$dldir/$dlname~
10671 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10672 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10674 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10675 dlpath=$dir/\$dldll~
10677 shlibpath_overrides_runpath=yes
10681 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10682 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10687 # MinGW DLLs use traditional 'lib' prefix
10688 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10691 # pw32 DLLs use 'pw' prefix rather than 'lib'
10692 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695 dynamic_linker='Win32 ld.exe'
10700 libname_spec='$name'
10701 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10702 library_names_spec='${libname}.dll.lib'
10706 sys_lib_search_path_spec=
10709 for lt_path in $LIB
10712 # Let DOS variable expansion print the short 8.3 style file name.
10713 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10714 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10717 # Convert to MSYS style.
10718 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10721 # Convert to unix form, then to dos form, then back to unix form
10722 # but this time dos style (no spaces!) so that the unix form looks
10723 # like /cygdrive/c/PROGRA~1:/cygdr...
10724 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10725 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10726 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10729 sys_lib_search_path_spec="$LIB"
10730 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10731 # It is most probably a Windows format PATH.
10732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10736 # FIXME: find the short name or the path components, as spaces are
10737 # common. (e.g. "Program Files" -> "PROGRA~1")
10741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10742 postinstall_cmds='base_file=`basename \${file}`~
10743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10744 dldir=$destdir/`dirname \$dlpath`~
10745 test -d \$dldir || mkdir -p \$dldir~
10746 $install_prog $dir/$dlname \$dldir/$dlname'
10747 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10748 dlpath=$dir/\$dldll~
10750 shlibpath_overrides_runpath=yes
10751 dynamic_linker='Win32 link.exe'
10755 # Assume MSVC wrapper
10756 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10757 dynamic_linker='Win32 ld.exe'
10760 # FIXME: first we should search . and the directory the executable is in
10764 darwin* | rhapsody*)
10765 dynamic_linker="$host_os dyld"
10766 version_type=darwin
10769 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10770 soname_spec='${libname}${release}${major}$shared_ext'
10771 shlibpath_overrides_runpath=yes
10772 shlibpath_var=DYLD_LIBRARY_PATH
10773 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10775 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10776 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10780 version_type=linux # correct to gnu/linux during the next big refactor
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 shlibpath_var=LD_LIBRARY_PATH
10788 freebsd* | dragonfly*)
10789 # DragonFly does not have aout. When/if they implement a new
10790 # versioning mechanism, adjust this.
10791 if test -x /usr/bin/objformat; then
10792 objformat=`/usr/bin/objformat`
10795 freebsd[23].*) objformat=aout ;;
10796 *) objformat=elf ;;
10799 version_type=freebsd-$objformat
10800 case $version_type in
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10811 shlibpath_var=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath=yes
10816 freebsd3.[01]* | freebsdelf3.[01]*)
10817 shlibpath_overrides_runpath=yes
10818 hardcode_into_libs=yes
10820 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10821 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10822 shlibpath_overrides_runpath=no
10823 hardcode_into_libs=yes
10825 *) # from 4.6 on, and DragonFly
10826 shlibpath_overrides_runpath=yes
10827 hardcode_into_libs=yes
10833 version_type=linux # correct to gnu/linux during the next big refactor
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10838 shlibpath_var=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath=no
10840 hardcode_into_libs=yes
10844 version_type=linux # correct to gnu/linux during the next big refactor
10847 dynamic_linker="$host_os runtime_loader"
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10849 soname_spec='${libname}${release}${shared_ext}$major'
10850 shlibpath_var=LIBRARY_PATH
10851 shlibpath_overrides_runpath=yes
10852 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10853 hardcode_into_libs=yes
10856 hpux9* | hpux10* | hpux11*)
10857 # Give a soname corresponding to the major version so that dld.sl refuses to
10858 # link against other versions.
10865 hardcode_into_libs=yes
10866 dynamic_linker="$host_os dld.so"
10867 shlibpath_var=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 if test "X$HPUX_IA64_MODE" = X32; then
10872 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10874 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10876 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10880 hardcode_into_libs=yes
10881 dynamic_linker="$host_os dld.sl"
10882 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10883 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10887 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10891 dynamic_linker="$host_os dld.sl"
10892 shlibpath_var=SHLIB_PATH
10893 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10898 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10899 postinstall_cmds='chmod 555 $lib'
10900 # or fails outright, so override atomically:
10901 install_override_mode=555
10905 version_type=linux # correct to gnu/linux during the next big refactor
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=no
10913 hardcode_into_libs=yes
10916 irix5* | irix6* | nonstopux*)
10918 nonstopux*) version_type=nonstopux ;;
10920 if test "$lt_cv_prog_gnu_ld" = yes; then
10921 version_type=linux # correct to gnu/linux during the next big refactor
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10931 irix5* | nonstopux*)
10932 libsuff= shlibsuff=
10935 case $LD in # libtool.m4 will add one of these switches to LD
10936 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10937 libsuff= shlibsuff= libmagic=32-bit;;
10938 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10939 libsuff=32 shlibsuff=N32 libmagic=N32;;
10940 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10941 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10942 *) libsuff= shlibsuff= libmagic=never-match;;
10946 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10947 shlibpath_overrides_runpath=no
10948 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10949 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10950 hardcode_into_libs=yes
10953 # No shared lib support for Linux oldld, aout, or coff.
10954 linux*oldld* | linux*aout* | linux*coff*)
10958 # This must be glibc/ELF.
10959 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10960 version_type=linux # correct to gnu/linux during the next big refactor
10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964 soname_spec='${libname}${release}${shared_ext}$major'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10966 shlibpath_var=LD_LIBRARY_PATH
10967 shlibpath_overrides_runpath=no
10969 # Some binutils ld are patched to set DT_RUNPATH
10970 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10971 $as_echo_n "(cached) " >&6
10973 lt_cv_shlibpath_overrides_runpath=no
10974 save_LDFLAGS=$LDFLAGS
10975 save_libdir=$libdir
10976 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10977 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10991 lt_cv_shlibpath_overrides_runpath=yes
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LDFLAGS=$save_LDFLAGS
10997 libdir=$save_libdir
11001 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11003 # This implies no fast_install, which is unacceptable.
11004 # Some rework will be needed to allow for fast_install
11005 # before this can be enabled.
11006 hardcode_into_libs=yes
11008 # Append ld.so.conf contents to the search path
11009 if test -f /etc/ld.so.conf; then
11010 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' ' '`
11011 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11014 # We used to test for /lib/ld.so.1 and disable shared libraries on
11015 # powerpc, because MkLinux only supported shared libraries with the
11016 # GNU dynamic linker. Since this was broken with cross compilers,
11017 # most powerpc-linux boxes support dynamic linking these days and
11018 # people can always --disable-shared, the test was removed, and we
11019 # assume the GNU/Linux dynamic linker is in use.
11020 dynamic_linker='GNU/Linux ld.so'
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath=no
11031 hardcode_into_libs=yes
11032 dynamic_linker='NetBSD ld.elf_so'
11039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11041 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11042 dynamic_linker='NetBSD (a.out) ld.so'
11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11045 soname_spec='${libname}${release}${shared_ext}$major'
11046 dynamic_linker='NetBSD ld.elf_so'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=yes
11050 hardcode_into_libs=yes
11054 version_type=linux # correct to gnu/linux during the next big refactor
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 shlibpath_var=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath=yes
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11069 dynamic_linker='ldqnx.so'
11074 sys_lib_dlsearch_path_spec="/usr/lib"
11076 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11078 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11079 *) need_version=no ;;
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11086 openbsd2.[89] | openbsd2.[89].*)
11087 shlibpath_overrides_runpath=no
11090 shlibpath_overrides_runpath=yes
11094 shlibpath_overrides_runpath=yes
11099 libname_spec='$name'
11102 library_names_spec='$libname${shared_ext} $libname.a'
11103 dynamic_linker='OS/2 ld.exe'
11104 shlibpath_var=LIBPATH
11107 osf3* | osf4* | osf5*)
11111 soname_spec='${libname}${release}${shared_ext}$major'
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 shlibpath_var=LD_LIBRARY_PATH
11114 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11115 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11123 version_type=linux # correct to gnu/linux during the next big refactor
11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 soname_spec='${libname}${release}${shared_ext}$major'
11128 shlibpath_var=LD_LIBRARY_PATH
11129 shlibpath_overrides_runpath=yes
11130 hardcode_into_libs=yes
11131 # ldd complains unless libraries are executable
11132 postinstall_cmds='chmod +x $lib'
11137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11138 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11139 shlibpath_var=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath=yes
11141 if test "$with_gnu_ld" = yes; then
11148 version_type=linux # correct to gnu/linux during the next big refactor
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 case $host_vendor in
11154 shlibpath_overrides_runpath=no
11156 runpath_var=LD_RUN_PATH
11164 shlibpath_overrides_runpath=no
11165 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11171 if test -d /usr/nec ;then
11172 version_type=linux # correct to gnu/linux during the next big refactor
11173 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11174 soname_spec='$libname${shared_ext}.$major'
11175 shlibpath_var=LD_LIBRARY_PATH
11179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11180 version_type=freebsd-elf
11183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11184 soname_spec='${libname}${release}${shared_ext}$major'
11185 shlibpath_var=LD_LIBRARY_PATH
11186 shlibpath_overrides_runpath=yes
11187 hardcode_into_libs=yes
11188 if test "$with_gnu_ld" = yes; then
11189 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11191 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11194 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11198 sys_lib_dlsearch_path_spec='/usr/lib'
11202 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11203 version_type=linux # correct to gnu/linux during the next big refactor
11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207 shlibpath_var=LD_LIBRARY_PATH
11208 shlibpath_overrides_runpath=no
11209 hardcode_into_libs=yes
11213 version_type=linux # correct to gnu/linux during the next big refactor
11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11215 soname_spec='${libname}${release}${shared_ext}$major'
11216 shlibpath_var=LD_LIBRARY_PATH
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11224 $as_echo "$dynamic_linker" >&6; }
11225 test "$dynamic_linker" = no && can_build_shared=no
11227 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11228 if test "$GCC" = yes; then
11229 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11232 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11233 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11235 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11236 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11331 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11333 if test -n "$hardcode_libdir_flag_spec" ||
11334 test -n "$runpath_var" ||
11335 test "X$hardcode_automatic" = "Xyes" ; then
11337 # We can hardcode non-existent directories.
11338 if test "$hardcode_direct" != no &&
11339 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11340 # have to relink, otherwise we might link with an installed library
11341 # when we should be linking with a yet-to-be-installed one
11342 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11343 test "$hardcode_minus_L" != no; then
11344 # Linking always hardcodes the temporary library directory.
11345 hardcode_action=relink
11347 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11348 hardcode_action=immediate
11351 # We cannot hardcode anything, or else we can only hardcode existing
11353 hardcode_action=unsupported
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11356 $as_echo "$hardcode_action" >&6; }
11358 if test "$hardcode_action" = relink ||
11359 test "$inherit_rpath" = yes; then
11360 # Fast installation is not supported
11361 enable_fast_install=no
11362 elif test "$shlibpath_overrides_runpath" = yes ||
11363 test "$enable_shared" = no; then
11364 # Fast installation is not necessary
11365 enable_fast_install=needless
11373 if test "x$enable_dlopen" != xyes; then
11374 enable_dlopen=unknown
11375 enable_dlopen_self=unknown
11376 enable_dlopen_self_static=unknown
11383 lt_cv_dlopen="load_add_on"
11385 lt_cv_dlopen_self=yes
11388 mingw* | pw32* | cegcc*)
11389 lt_cv_dlopen="LoadLibrary"
11394 lt_cv_dlopen="dlopen"
11399 # if libdl is installed we need to link against it
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11401 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11402 if ${ac_cv_lib_dl_dlopen+:} false; then :
11403 $as_echo_n "(cached) " >&6
11405 ac_check_lib_save_LIBS=$LIBS
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11425 if ac_fn_c_try_link "$LINENO"; then :
11426 ac_cv_lib_dl_dlopen=yes
11428 ac_cv_lib_dl_dlopen=no
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_lib_save_LIBS
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11435 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11436 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11437 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11440 lt_cv_dlopen="dyld"
11442 lt_cv_dlopen_self=yes
11449 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11450 if test "x$ac_cv_func_shl_load" = xyes; then :
11451 lt_cv_dlopen="shl_load"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11454 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11455 if ${ac_cv_lib_dld_shl_load+:} false; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_lib_save_LIBS=$LIBS
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11473 return shl_load ();
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 ac_cv_lib_dld_shl_load=yes
11481 ac_cv_lib_dld_shl_load=no
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11488 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11489 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11490 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11492 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11493 if test "x$ac_cv_func_dlopen" = xyes; then :
11494 lt_cv_dlopen="dlopen"
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11497 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11498 if ${ac_cv_lib_dl_dlopen+:} false; then :
11499 $as_echo_n "(cached) " >&6
11501 ac_check_lib_save_LIBS=$LIBS
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11521 if ac_fn_c_try_link "$LINENO"; then :
11522 ac_cv_lib_dl_dlopen=yes
11524 ac_cv_lib_dl_dlopen=no
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11531 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11532 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11533 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11536 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11537 if ${ac_cv_lib_svld_dlopen+:} false; then :
11538 $as_echo_n "(cached) " >&6
11540 ac_check_lib_save_LIBS=$LIBS
11541 LIBS="-lsvld $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 ac_cv_lib_svld_dlopen=yes
11563 ac_cv_lib_svld_dlopen=no
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11570 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11571 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11572 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11575 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11576 if ${ac_cv_lib_dld_dld_link+:} false; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_lib_save_LIBS=$LIBS
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11594 return dld_link ();
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 ac_cv_lib_dld_dld_link=yes
11602 ac_cv_lib_dld_dld_link=no
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_lib_save_LIBS
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11609 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11610 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11611 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11632 if test "x$lt_cv_dlopen" != xno; then
11638 case $lt_cv_dlopen in
11640 save_CPPFLAGS="$CPPFLAGS"
11641 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11643 save_LDFLAGS="$LDFLAGS"
11644 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11647 LIBS="$lt_cv_dlopen_libs $LIBS"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11650 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11651 if ${lt_cv_dlopen_self+:} false; then :
11652 $as_echo_n "(cached) " >&6
11654 if test "$cross_compiling" = yes; then :
11655 lt_cv_dlopen_self=cross
11657 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11658 lt_status=$lt_dlunknown
11659 cat > conftest.$ac_ext <<_LT_EOF
11660 #line $LINENO "configure"
11661 #include "confdefs.h"
11670 # define LT_DLGLOBAL RTLD_GLOBAL
11673 # define LT_DLGLOBAL DL_GLOBAL
11675 # define LT_DLGLOBAL 0
11679 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11680 find out it does not work in some platform. */
11681 #ifndef LT_DLLAZY_OR_NOW
11683 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11686 # define LT_DLLAZY_OR_NOW DL_LAZY
11689 # define LT_DLLAZY_OR_NOW RTLD_NOW
11692 # define LT_DLLAZY_OR_NOW DL_NOW
11694 # define LT_DLLAZY_OR_NOW 0
11701 /* When -fvisbility=hidden is used, assume the code has been annotated
11702 correspondingly for the symbols needed. */
11703 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11704 int fnord () __attribute__((visibility("default")));
11707 int fnord () { return 42; }
11710 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11711 int status = $lt_dlunknown;
11715 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11718 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11719 else puts (dlerror ());
11721 /* dlclose (self); */
11729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11730 (eval $ac_link) 2>&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11733 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11734 (./conftest; exit; ) >&5 2>/dev/null
11736 case x$lt_status in
11737 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11738 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11739 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11742 # compilation failed
11743 lt_cv_dlopen_self=no
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11751 $as_echo "$lt_cv_dlopen_self" >&6; }
11753 if test "x$lt_cv_dlopen_self" = xyes; then
11754 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11756 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11757 if ${lt_cv_dlopen_self_static+:} false; then :
11758 $as_echo_n "(cached) " >&6
11760 if test "$cross_compiling" = yes; then :
11761 lt_cv_dlopen_self_static=cross
11763 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11764 lt_status=$lt_dlunknown
11765 cat > conftest.$ac_ext <<_LT_EOF
11766 #line $LINENO "configure"
11767 #include "confdefs.h"
11776 # define LT_DLGLOBAL RTLD_GLOBAL
11779 # define LT_DLGLOBAL DL_GLOBAL
11781 # define LT_DLGLOBAL 0
11785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11786 find out it does not work in some platform. */
11787 #ifndef LT_DLLAZY_OR_NOW
11789 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11792 # define LT_DLLAZY_OR_NOW DL_LAZY
11795 # define LT_DLLAZY_OR_NOW RTLD_NOW
11798 # define LT_DLLAZY_OR_NOW DL_NOW
11800 # define LT_DLLAZY_OR_NOW 0
11807 /* When -fvisbility=hidden is used, assume the code has been annotated
11808 correspondingly for the symbols needed. */
11809 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11810 int fnord () __attribute__((visibility("default")));
11813 int fnord () { return 42; }
11816 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11817 int status = $lt_dlunknown;
11821 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11824 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11825 else puts (dlerror ());
11827 /* dlclose (self); */
11835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11836 (eval $ac_link) 2>&5
11838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11839 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11840 (./conftest; exit; ) >&5 2>/dev/null
11842 case x$lt_status in
11843 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11844 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11845 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11848 # compilation failed
11849 lt_cv_dlopen_self_static=no
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11857 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11860 CPPFLAGS="$save_CPPFLAGS"
11861 LDFLAGS="$save_LDFLAGS"
11866 case $lt_cv_dlopen_self in
11867 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11868 *) enable_dlopen_self=unknown ;;
11871 case $lt_cv_dlopen_self_static in
11872 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11873 *) enable_dlopen_self_static=unknown ;;
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11896 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11897 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11898 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11899 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11901 $as_echo "yes" >&6; }
11903 # FIXME - insert some real tests, host_os isn't really good enough
11906 if test -n "$STRIP" ; then
11907 striplib="$STRIP -x"
11908 old_striplib="$STRIP -S"
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11910 $as_echo "yes" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11934 # Report which library types will actually be built
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11936 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11938 $as_echo "$can_build_shared" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11941 $as_echo_n "checking whether to build shared libraries... " >&6; }
11942 test "$can_build_shared" = "no" && enable_shared=no
11944 # On AIX, shared libraries and static libraries use the same namespace, and
11945 # are all built from PIC.
11948 test "$enable_shared" = yes && enable_static=no
11949 if test -n "$RANLIB"; then
11950 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11951 postinstall_cmds='$RANLIB $lib'
11956 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11957 test "$enable_shared" = yes && enable_static=no
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11962 $as_echo "$enable_shared" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11965 $as_echo_n "checking whether to build static libraries... " >&6; }
11966 # Make sure either enable_shared or enable_static is yes.
11967 test "$enable_shared" = yes || enable_static=yes
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11969 $as_echo "$enable_static" >&6; }
11976 ac_cpp='$CPP $CPPFLAGS'
11977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11997 ac_config_commands="$ac_config_commands libtool"
12002 # Only expand once:
12006 # Gobject Introspection
12014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12015 if test -n "$ac_tool_prefix"; then
12016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12017 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12019 $as_echo_n "checking for $ac_word... " >&6; }
12020 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12021 $as_echo_n "(cached) " >&6
12023 case $PKG_CONFIG in
12025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12032 test -z "$as_dir" && as_dir=.
12033 for ac_exec_ext in '' $ac_executable_extensions; do
12034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12047 if test -n "$PKG_CONFIG"; then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12049 $as_echo "$PKG_CONFIG" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052 $as_echo "no" >&6; }
12057 if test -z "$ac_cv_path_PKG_CONFIG"; then
12058 ac_pt_PKG_CONFIG=$PKG_CONFIG
12059 # Extract the first word of "pkg-config", so it can be a program name with args.
12060 set dummy pkg-config; ac_word=$2
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12062 $as_echo_n "checking for $ac_word... " >&6; }
12063 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12064 $as_echo_n "(cached) " >&6
12066 case $ac_pt_PKG_CONFIG in
12068 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072 for as_dir in $PATH
12075 test -z "$as_dir" && as_dir=.
12076 for ac_exec_ext in '' $ac_executable_extensions; do
12077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12078 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12090 if test -n "$ac_pt_PKG_CONFIG"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095 $as_echo "no" >&6; }
12098 if test "x$ac_pt_PKG_CONFIG" = x; then
12101 case $cross_compiling:$ac_tool_warned in
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12105 ac_tool_warned=yes ;;
12107 PKG_CONFIG=$ac_pt_PKG_CONFIG
12110 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12114 if test -n "$PKG_CONFIG"; then
12115 _pkg_min_version=0.9.0
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12120 $as_echo "yes" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12130 # Check whether --enable-introspection was given.
12131 if test "${enable_introspection+set}" = set; then :
12132 enableval=$enable_introspection;
12134 enable_introspection=auto
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12139 $as_echo_n "checking for gobject-introspection... " >&6; }
12141 case $enable_introspection in #(
12143 found_introspection="no (disabled, use --enable-introspection to enable)"
12146 if test -n "$PKG_CONFIG" && \
12147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12148 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12151 test $ac_status = 0; }; then
12154 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12156 if test -n "$PKG_CONFIG" && \
12157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12158 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12161 test $ac_status = 0; }; then
12162 found_introspection=yes
12164 as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libgsignon-glib" "$LINENO" 5
12168 if test -n "$PKG_CONFIG" && \
12169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12170 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12173 test $ac_status = 0; }; then
12174 found_introspection=yes
12176 found_introspection=no
12180 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12184 $as_echo "$found_introspection" >&6; }
12186 INTROSPECTION_SCANNER=
12187 INTROSPECTION_COMPILER=
12188 INTROSPECTION_GENERATE=
12189 INTROSPECTION_GIRDIR=
12190 INTROSPECTION_TYPELIBDIR=
12191 if test "x$found_introspection" = "xyes"; then
12192 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12193 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12194 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12195 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12196 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12197 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12198 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12199 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12210 if test "x$found_introspection" = "xyes"; then
12211 HAVE_INTROSPECTION_TRUE=
12212 HAVE_INTROSPECTION_FALSE='#'
12214 HAVE_INTROSPECTION_TRUE='#'
12215 HAVE_INTROSPECTION_FALSE=
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12224 $as_echo_n "checking for DEPS... " >&6; }
12226 if test -n "$DEPS_CFLAGS"; then
12227 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12228 elif test -n "$PKG_CONFIG"; then
12229 if test -n "$PKG_CONFIG" && \
12230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12234 gthread-2.0\""; } >&5
12235 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242 test $ac_status = 0; }; then
12243 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
12247 gthread-2.0" 2>/dev/null`
12248 test "x$?" != "x0" && pkg_failed=yes
12255 if test -n "$DEPS_LIBS"; then
12256 pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12257 elif test -n "$PKG_CONFIG"; then
12258 if test -n "$PKG_CONFIG" && \
12259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12263 gthread-2.0\""; } >&5
12264 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271 test $ac_status = 0; }; then
12272 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
12276 gthread-2.0" 2>/dev/null`
12277 test "x$?" != "x0" && pkg_failed=yes
12287 if test $pkg_failed = yes; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12292 _pkg_short_errors_supported=yes
12294 _pkg_short_errors_supported=no
12296 if test $_pkg_short_errors_supported = yes; then
12297 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
12303 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
12309 # Put the nasty error message in config.log where it belongs
12310 echo "$DEPS_PKG_ERRORS" >&5
12312 as_fn_error $? "Package requirements (gio-2.0 >= 2.30
12316 gthread-2.0) were not met:
12320 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12321 installed software in a non-standard prefix.
12323 Alternatively, you may set the environment variables DEPS_CFLAGS
12324 and DEPS_LIBS to avoid the need to call pkg-config.
12325 See the pkg-config man page for more details." "$LINENO" 5
12326 elif test $pkg_failed = untried; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12331 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12332 is in your PATH or set the PKG_CONFIG environment variable to the full
12333 path to pkg-config.
12335 Alternatively, you may set the environment variables DEPS_CFLAGS
12336 and DEPS_LIBS to avoid the need to call pkg-config.
12337 See the pkg-config man page for more details.
12339 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12340 See \`config.log' for more details" "$LINENO" 5; }
12342 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12343 DEPS_LIBS=$pkg_cv_DEPS_LIBS
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12345 $as_echo "yes" >&6; }
12351 # Check whether --enable-dbus-type was given.
12352 if test "${enable_dbus_type+set}" = set; then :
12353 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12355 enable_dbus_type=p2p
12359 echo "----------------------"
12360 echo " DBUS TYPE : '$enable_dbus_type'"
12361 echo "-----------------------"
12362 if test "x$enable_dbus_type" = "xp2p" ; then
12364 $as_echo "#define USE_P2P 1" >>confdefs.h
12367 $as_echo "#define SIGNOND_BUS_ADDRESS \"unix:path=%s/gsignond/bus-sock\"" >>confdefs.h
12369 elif test "x$enable_dbus_type" = "xsession" ; then
12371 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12378 $as_echo_n "checking for GTestDBus... " >&6; }
12380 if test -n "$GTestDBus_CFLAGS"; then
12381 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12382 elif test -n "$PKG_CONFIG"; then
12383 if test -n "$PKG_CONFIG" && \
12384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12385 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12388 test $ac_status = 0; }; then
12389 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34" 2>/dev/null`
12390 test "x$?" != "x0" && pkg_failed=yes
12397 if test -n "$GTestDBus_LIBS"; then
12398 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12399 elif test -n "$PKG_CONFIG"; then
12400 if test -n "$PKG_CONFIG" && \
12401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12402 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405 test $ac_status = 0; }; then
12406 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34" 2>/dev/null`
12407 test "x$?" != "x0" && pkg_failed=yes
12417 if test $pkg_failed = yes; then
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12422 _pkg_short_errors_supported=yes
12424 _pkg_short_errors_supported=no
12426 if test $_pkg_short_errors_supported = yes; then
12427 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12429 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12431 # Put the nasty error message in config.log where it belongs
12432 echo "$GTestDBus_PKG_ERRORS" >&5
12435 elif test $pkg_failed = untried; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12440 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12441 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12443 $as_echo "yes" >&6; }
12446 if test "x$gtestdbus" = xyes; then
12448 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12452 $as_echo "#define HAVE_GTESTDBUS 0" >>confdefs.h
12455 elif test "x$enable_dbus_type" = "xsystem" ; then
12457 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12460 if test "x$enable_dbus_type" != "xp2p" ; then
12461 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12464 if test x$gtestdbus = xyes; then
12465 HAVE_GTESTDBUS_TRUE=
12466 HAVE_GTESTDBUS_FALSE='#'
12468 HAVE_GTESTDBUS_TRUE='#'
12469 HAVE_GTESTDBUS_FALSE=
12473 CHECK_REQUIRED="check >= 0.9.4"
12475 # Check whether --enable-tests was given.
12476 if test "${enable_tests+set}" = set; then :
12477 enableval=$enable_tests;
12481 if test "x$enable_tests" != "xno"; then :
12482 if test -n "$PKG_CONFIG" && \
12483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12484 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12487 test $ac_status = 0; }; then
12496 if test "x$have_check" = "xyes"; then :
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12500 $as_echo_n "checking for CHECK... " >&6; }
12502 if test -n "$CHECK_CFLAGS"; then
12503 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12504 elif test -n "$PKG_CONFIG"; then
12505 if test -n "$PKG_CONFIG" && \
12506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12507 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12510 test $ac_status = 0; }; then
12511 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$CHECK_REQUIRED" 2>/dev/null`
12512 test "x$?" != "x0" && pkg_failed=yes
12519 if test -n "$CHECK_LIBS"; then
12520 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12521 elif test -n "$PKG_CONFIG"; then
12522 if test -n "$PKG_CONFIG" && \
12523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12524 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12527 test $ac_status = 0; }; then
12528 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "$CHECK_REQUIRED" 2>/dev/null`
12529 test "x$?" != "x0" && pkg_failed=yes
12539 if test $pkg_failed = yes; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12541 $as_echo "no" >&6; }
12543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12544 _pkg_short_errors_supported=yes
12546 _pkg_short_errors_supported=no
12548 if test $_pkg_short_errors_supported = yes; then
12549 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12551 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12553 # Put the nasty error message in config.log where it belongs
12554 echo "$CHECK_PKG_ERRORS" >&5
12556 as_fn_error $? "Package requirements ($CHECK_REQUIRED) were not met:
12560 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12561 installed software in a non-standard prefix.
12563 Alternatively, you may set the environment variables CHECK_CFLAGS
12564 and CHECK_LIBS to avoid the need to call pkg-config.
12565 See the pkg-config man page for more details." "$LINENO" 5
12566 elif test $pkg_failed = untried; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12571 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12572 is in your PATH or set the PKG_CONFIG environment variable to the full
12573 path to pkg-config.
12575 Alternatively, you may set the environment variables CHECK_CFLAGS
12576 and CHECK_LIBS to avoid the need to call pkg-config.
12577 See the pkg-config man page for more details.
12579 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12580 See \`config.log' for more details" "$LINENO" 5; }
12582 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12583 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12585 $as_echo "yes" >&6; }
12591 if test "x$enable_tests" = "xyes"; then :
12592 as_fn_error $? "tests enabled but required dependencies were not found" "$LINENO" 5
12596 if test "x$have_check" = "xyes"; then
12598 ENABLE_TESTS_FALSE='#'
12600 ENABLE_TESTS_TRUE='#'
12601 ENABLE_TESTS_FALSE=
12609 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12610 set dummy gtkdoc-check; ac_word=$2
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612 $as_echo_n "checking for $ac_word... " >&6; }
12613 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12614 $as_echo_n "(cached) " >&6
12616 case $GTKDOC_CHECK in
12618 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12622 for as_dir in $PATH
12625 test -z "$as_dir" && as_dir=.
12626 for ac_exec_ext in '' $ac_executable_extensions; do
12627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12628 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12640 if test -n "$GTKDOC_CHECK"; then
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12642 $as_echo "$GTKDOC_CHECK" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12649 for ac_prog in gtkdoc-rebase
12651 # Extract the first word of "$ac_prog", so it can be a program name with args.
12652 set dummy $ac_prog; ac_word=$2
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12654 $as_echo_n "checking for $ac_word... " >&6; }
12655 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12656 $as_echo_n "(cached) " >&6
12658 case $GTKDOC_REBASE in
12660 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12664 for as_dir in $PATH
12667 test -z "$as_dir" && as_dir=.
12668 for ac_exec_ext in '' $ac_executable_extensions; do
12669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12670 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12681 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12682 if test -n "$GTKDOC_REBASE"; then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12684 $as_echo "$GTKDOC_REBASE" >&6; }
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12687 $as_echo "no" >&6; }
12691 test -n "$GTKDOC_REBASE" && break
12693 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12695 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12696 set dummy gtkdoc-mkpdf; ac_word=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12698 $as_echo_n "checking for $ac_word... " >&6; }
12699 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12700 $as_echo_n "(cached) " >&6
12702 case $GTKDOC_MKPDF in
12704 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12708 for as_dir in $PATH
12711 test -z "$as_dir" && as_dir=.
12712 for ac_exec_ext in '' $ac_executable_extensions; do
12713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12714 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12725 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12726 if test -n "$GTKDOC_MKPDF"; then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12728 $as_echo "$GTKDOC_MKPDF" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12737 # Check whether --with-html-dir was given.
12738 if test "${with_html_dir+set}" = set; then :
12739 withval=$with_html_dir;
12741 with_html_dir='${datadir}/gtk-doc/html'
12744 HTML_DIR="$with_html_dir"
12747 # Check whether --enable-gtk-doc was given.
12748 if test "${enable_gtk_doc+set}" = set; then :
12749 enableval=$enable_gtk_doc;
12755 if test x$enable_gtk_doc = xyes; then
12756 if test -n "$PKG_CONFIG" && \
12757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
12758 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761 test $ac_status = 0; }; then
12764 as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
12766 if test "x$PACKAGE_NAME" != "xglib"; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12770 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12772 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12773 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12774 elif test -n "$PKG_CONFIG"; then
12775 if test -n "$PKG_CONFIG" && \
12776 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12777 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12780 test $ac_status = 0; }; then
12781 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12782 test "x$?" != "x0" && pkg_failed=yes
12789 if test -n "$GTKDOC_DEPS_LIBS"; then
12790 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12791 elif test -n "$PKG_CONFIG"; then
12792 if test -n "$PKG_CONFIG" && \
12793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12794 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797 test $ac_status = 0; }; then
12798 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12799 test "x$?" != "x0" && pkg_failed=yes
12809 if test $pkg_failed = yes; then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12814 _pkg_short_errors_supported=yes
12816 _pkg_short_errors_supported=no
12818 if test $_pkg_short_errors_supported = yes; then
12819 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12821 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12823 # Put the nasty error message in config.log where it belongs
12824 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12826 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12828 $GTKDOC_DEPS_PKG_ERRORS
12830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12831 installed software in a non-standard prefix.
12833 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12834 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12835 See the pkg-config man page for more details." "$LINENO" 5
12836 elif test $pkg_failed = untried; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12841 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12842 is in your PATH or set the PKG_CONFIG environment variable to the full
12843 path to pkg-config.
12845 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12846 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12847 See the pkg-config man page for more details.
12849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12850 See \`config.log' for more details" "$LINENO" 5; }
12852 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12853 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12855 $as_echo "yes" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12862 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12864 $as_echo "$enable_gtk_doc" >&6; }
12866 # Check whether --enable-gtk-doc-html was given.
12867 if test "${enable_gtk_doc_html+set}" = set; then :
12868 enableval=$enable_gtk_doc_html;
12870 enable_gtk_doc_html=yes
12873 # Check whether --enable-gtk-doc-pdf was given.
12874 if test "${enable_gtk_doc_pdf+set}" = set; then :
12875 enableval=$enable_gtk_doc_pdf;
12877 enable_gtk_doc_pdf=no
12881 if test -z "$GTKDOC_MKPDF"; then
12882 enable_gtk_doc_pdf=no
12886 if test x$enable_gtk_doc = xyes; then
12887 ENABLE_GTK_DOC_TRUE=
12888 ENABLE_GTK_DOC_FALSE='#'
12890 ENABLE_GTK_DOC_TRUE='#'
12891 ENABLE_GTK_DOC_FALSE=
12894 if test x$enable_gtk_doc_html = xyes; then
12895 GTK_DOC_BUILD_HTML_TRUE=
12896 GTK_DOC_BUILD_HTML_FALSE='#'
12898 GTK_DOC_BUILD_HTML_TRUE='#'
12899 GTK_DOC_BUILD_HTML_FALSE=
12902 if test x$enable_gtk_doc_pdf = xyes; then
12903 GTK_DOC_BUILD_PDF_TRUE=
12904 GTK_DOC_BUILD_PDF_FALSE='#'
12906 GTK_DOC_BUILD_PDF_TRUE='#'
12907 GTK_DOC_BUILD_PDF_FALSE=
12910 if test -n "$LIBTOOL"; then
12911 GTK_DOC_USE_LIBTOOL_TRUE=
12912 GTK_DOC_USE_LIBTOOL_FALSE='#'
12914 GTK_DOC_USE_LIBTOOL_TRUE='#'
12915 GTK_DOC_USE_LIBTOOL_FALSE=
12918 if test -n "$GTKDOC_REBASE"; then
12919 GTK_DOC_USE_REBASE_TRUE=
12920 GTK_DOC_USE_REBASE_FALSE='#'
12922 GTK_DOC_USE_REBASE_TRUE='#'
12923 GTK_DOC_USE_REBASE_FALSE=
12929 # Check whether --enable-cast-checks was given.
12930 if test "${enable_cast_checks+set}" = set; then :
12931 enableval=$enable_cast_checks;
12934 if test "x$enable_cast_checks" = "xno"; then :
12935 CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
12938 # Check whether --enable-asserts was given.
12939 if test "${enable_asserts+set}" = set; then :
12940 enableval=$enable_asserts;
12943 if test "x$enable_asserts" = "xno"; then :
12944 CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
12947 # Check whether --enable-checks was given.
12948 if test "${enable_checks+set}" = set; then :
12949 enableval=$enable_checks;
12952 if test "x$checks" = "xno"; then :
12953 CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
12956 # Check whether --enable-debug was given.
12957 if test "${enable_debug+set}" = set; then :
12958 enableval=$enable_debug;
12961 if test "x$enable_debug" = "xyes"; then :
12962 CFLAGS="$CFLAGS -DENABLE_DEBUG"
12965 # Check whether --enable-coverage was given.
12966 if test "${enable_coverage+set}" = set; then :
12967 enableval=$enable_coverage;
12970 if test "x$enable_coverage" = "xyes"; then :
12971 CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
12975 PYGOBJECT_REQUIRED=2.90
12977 # Check whether --enable-python was given.
12978 if test "${enable_python+set}" = set; then :
12979 enableval=$enable_python;
12983 if test "x$enable_python" != "xno"; then :
12984 if test -n "$PKG_CONFIG" && \
12985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
12986 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
12988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12989 test $ac_status = 0; }; then
12996 if test "x$have_python" = "xyes"; then :
13003 # Find any Python interpreter.
13004 if test -z "$PYTHON"; then
13005 for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
13007 # Extract the first word of "$ac_prog", so it can be a program name with args.
13008 set dummy $ac_prog; ac_word=$2
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13010 $as_echo_n "checking for $ac_word... " >&6; }
13011 if ${ac_cv_path_PYTHON+:} false; then :
13012 $as_echo_n "(cached) " >&6
13016 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13020 for as_dir in $PATH
13023 test -z "$as_dir" && as_dir=.
13024 for ac_exec_ext in '' $ac_executable_extensions; do
13025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13026 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13037 PYTHON=$ac_cv_path_PYTHON
13038 if test -n "$PYTHON"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13040 $as_echo "$PYTHON" >&6; }
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13043 $as_echo "no" >&6; }
13047 test -n "$PYTHON" && break
13049 test -n "$PYTHON" || PYTHON=":"
13052 am_display_PYTHON=python
13055 if test "$PYTHON" = :; then
13056 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13061 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13062 if ${am_cv_python_version+:} false; then :
13063 $as_echo_n "(cached) " >&6
13065 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13068 $as_echo "$am_cv_python_version" >&6; }
13069 PYTHON_VERSION=$am_cv_python_version
13073 PYTHON_PREFIX='${prefix}'
13075 PYTHON_EXEC_PREFIX='${exec_prefix}'
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13080 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13081 if ${am_cv_python_platform+:} false; then :
13082 $as_echo_n "(cached) " >&6
13084 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13087 $as_echo "$am_cv_python_platform" >&6; }
13088 PYTHON_PLATFORM=$am_cv_python_platform
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13094 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13095 if ${am_cv_python_pythondir+:} false; then :
13096 $as_echo_n "(cached) " >&6
13098 if test "x$prefix" = xNONE
13100 am_py_prefix=$ac_default_prefix
13102 am_py_prefix=$prefix
13104 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
13105 case $am_cv_python_pythondir in
13107 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13108 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13111 case $am_py_prefix in
13114 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13122 $as_echo "$am_cv_python_pythondir" >&6; }
13123 pythondir=$am_cv_python_pythondir
13127 pkgpythondir=\${pythondir}/$PACKAGE
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13131 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13132 if ${am_cv_python_pyexecdir+:} false; then :
13133 $as_echo_n "(cached) " >&6
13135 if test "x$exec_prefix" = xNONE
13137 am_py_exec_prefix=$am_py_prefix
13139 am_py_exec_prefix=$exec_prefix
13141 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
13142 case $am_cv_python_pyexecdir in
13143 $am_py_exec_prefix*)
13144 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13145 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13148 case $am_py_exec_prefix in
13151 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13159 $as_echo "$am_cv_python_pyexecdir" >&6; }
13160 pyexecdir=$am_cv_python_pyexecdir
13164 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13171 pyoverridesdir=`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`
13175 if test "x$have_python" = "xyes"; then
13176 ENABLE_PYTHON_TRUE=
13177 ENABLE_PYTHON_FALSE='#'
13179 ENABLE_PYTHON_TRUE='#'
13180 ENABLE_PYTHON_FALSE=
13184 ac_config_files="$ac_config_files Makefile libgsignon-glib/Makefile libgsignon-glib.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml tests/Makefile pygobject/Makefile examples/Makefile"
13186 cat >confcache <<\_ACEOF
13187 # This file is a shell script that caches the results of configure
13188 # tests run on this system so they can be shared between configure
13189 # scripts and configure runs, see configure's option --config-cache.
13190 # It is not useful on other systems. If it contains results you don't
13191 # want to keep, you may remove or edit it.
13193 # config.status only pays attention to the cache file if you give it
13194 # the --recheck option to rerun configure.
13196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13198 # following values.
13202 # The following way of writing the cache mishandles newlines in values,
13203 # but we know of no workaround that is simple, portable, and efficient.
13204 # So, we kill variables containing newlines.
13205 # Ultrix sh set writes to stderr and can't be redirected directly,
13206 # and sets the high bit in the cache file unless we assign to the vars.
13208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13209 eval ac_val=\$$ac_var
13213 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13217 _ | IFS | as_nl) ;; #(
13218 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13219 *) { eval $ac_var=; unset $ac_var;} ;;
13225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13226 *${as_nl}ac_space=\ *)
13227 # `set' does not quote correctly, so add quotes: double-quote
13228 # substitution turns \\\\ into \\, and sed turns \\ into \.
13231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13234 # `set' quotes correctly as required by POSIX, so do not add quotes.
13235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13249 if test -w "$cache_file"; then
13250 if test "x$cache_file" != "x/dev/null"; then
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13252 $as_echo "$as_me: updating cache $cache_file" >&6;}
13253 if test ! -f "$cache_file" || test -h "$cache_file"; then
13254 cat confcache >"$cache_file"
13256 case $cache_file in #(
13258 mv -f confcache "$cache_file"$$ &&
13259 mv -f "$cache_file"$$ "$cache_file" ;; #(
13261 mv -f confcache "$cache_file" ;;
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13267 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13272 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13273 # Let make expand exec_prefix.
13274 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13276 DEFS=-DHAVE_CONFIG_H
13281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13282 # 1. Remove the extension, and $U if already installed.
13283 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13284 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13286 # will be set to the directory where LIBOBJS objects are built.
13287 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13288 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13290 LIBOBJS=$ac_libobjs
13292 LTLIBOBJS=$ac_ltlibobjs
13295 if test -n "$EXEEXT"; then
13297 am__EXEEXT_FALSE='#'
13299 am__EXEEXT_TRUE='#'
13303 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13304 as_fn_error $? "conditional \"AMDEP\" was never defined.
13305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13307 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13308 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13311 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13312 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13315 if test -z "${HAVE_GTESTDBUS_TRUE}" && test -z "${HAVE_GTESTDBUS_FALSE}"; then
13316 as_fn_error $? "conditional \"HAVE_GTESTDBUS\" was never defined.
13317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13319 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13320 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13323 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13324 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13327 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13328 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13331 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13332 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13335 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13336 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13339 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13340 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13343 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
13344 as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
13345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13348 : "${CONFIG_STATUS=./config.status}"
13350 ac_clean_files_save=$ac_clean_files
13351 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13353 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13355 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13357 # Generated by $as_me.
13358 # Run this file to recreate the current configuration.
13359 # Compiler output produced by configure, useful for debugging
13360 # configure, is in config.log if it exists.
13363 ac_cs_recheck=false
13366 SHELL=\${CONFIG_SHELL-$SHELL}
13369 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13370 ## -------------------- ##
13371 ## M4sh Initialization. ##
13372 ## -------------------- ##
13374 # Be more Bourne compatible
13375 DUALCASE=1; export DUALCASE # for MKS sh
13376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13379 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13380 # is contrary to our usage. Disable this feature.
13381 alias -g '${1+"$@"}'='"$@"'
13382 setopt NO_GLOB_SUBST
13384 case `(set -o) 2>/dev/null` in #(
13396 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13397 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13398 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13400 # Prefer a ksh shell builtin over an external printf program on Solaris,
13401 # but without wasting forks for bash or zsh.
13402 if test -z "$BASH_VERSION$ZSH_VERSION" \
13403 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13404 as_echo='print -r --'
13405 as_echo_n='print -rn --'
13406 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13407 as_echo='printf %s\n'
13408 as_echo_n='printf %s'
13410 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13411 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13412 as_echo_n='/usr/ucb/echo -n'
13414 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13415 as_echo_n_body='eval
13419 expr "X$arg" : "X\\(.*\\)$as_nl";
13420 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13422 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13424 export as_echo_n_body
13425 as_echo_n='sh -c $as_echo_n_body as_echo'
13427 export as_echo_body
13428 as_echo='sh -c $as_echo_body as_echo'
13431 # The user is always right.
13432 if test "${PATH_SEPARATOR+set}" != set; then
13434 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13435 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13442 # We need space, tab and new line, in precisely that order. Quoting is
13443 # there to prevent editors from complaining about space-tab.
13444 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13445 # splitting by setting IFS to empty value.)
13448 # Find who we are. Look in the path if we contain no directory separator.
13451 *[\\/]* ) as_myself=$0 ;;
13452 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13453 for as_dir in $PATH
13456 test -z "$as_dir" && as_dir=.
13457 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13463 # We did not find ourselves, most probably we were run as `sh COMMAND'
13464 # in which case we are not to be found in the path.
13465 if test "x$as_myself" = x; then
13468 if test ! -f "$as_myself"; then
13469 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13473 # Unset variables that we do not need and which cause bugs (e.g. in
13474 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13475 # suppresses any "Segmentation fault" message there. '((' could
13476 # trigger a bug in pdksh 5.2.14.
13477 for as_var in BASH_ENV ENV MAIL MAILPATH
13478 do eval test x\${$as_var+set} = xset \
13479 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13492 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13495 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13496 # ----------------------------------------
13497 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13498 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13499 # script with STATUS, using 1 if that was 0.
13502 as_status=$1; test $as_status -eq 0 && as_status=1
13504 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13505 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13507 $as_echo "$as_me: error: $2" >&2
13508 as_fn_exit $as_status
13512 # as_fn_set_status STATUS
13513 # -----------------------
13514 # Set $? to STATUS, without forking.
13515 as_fn_set_status ()
13518 } # as_fn_set_status
13520 # as_fn_exit STATUS
13521 # -----------------
13522 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13526 as_fn_set_status $1
13532 # Portably unset VAR.
13535 { eval $1=; unset $1;}
13537 as_unset=as_fn_unset
13538 # as_fn_append VAR VALUE
13539 # ----------------------
13540 # Append the text in VALUE to the end of the definition contained in VAR. Take
13541 # advantage of any shell optimizations that allow amortized linear growth over
13542 # repeated appends, instead of the typical quadratic growth present in naive
13544 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13545 eval 'as_fn_append ()
13556 # as_fn_arith ARG...
13557 # ------------------
13558 # Perform arithmetic evaluation on the ARGs, and store the result in the
13559 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13560 # must be portable across $(()) and expr.
13561 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13562 eval 'as_fn_arith ()
13569 as_val=`expr "$@" || test $? -eq 1`
13574 if expr a : '\(a\)' >/dev/null 2>&1 &&
13575 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13581 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13582 as_basename=basename
13587 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13593 as_me=`$as_basename -- "$0" ||
13594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13595 X"$0" : 'X\(//\)$' \| \
13596 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13598 sed '/^.*\/\([^/][^/]*\)\/*$/{
13612 # Avoid depending upon Character Ranges.
13613 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13614 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13615 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13616 as_cr_digits='0123456789'
13617 as_cr_alnum=$as_cr_Letters$as_cr_digits
13619 ECHO_C= ECHO_N= ECHO_T=
13620 case `echo -n x` in #(((((
13622 case `echo 'xy\c'` in
13623 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13625 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13632 rm -f conf$$ conf$$.exe conf$$.file
13633 if test -d conf$$.dir; then
13634 rm -f conf$$.dir/conf$$.file
13637 mkdir conf$$.dir 2>/dev/null
13639 if (echo >conf$$.file) 2>/dev/null; then
13640 if ln -s conf$$.file conf$$ 2>/dev/null; then
13642 # ... but there are two gotchas:
13643 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13644 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13645 # In both cases, we have to default to `cp -p'.
13646 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13648 elif ln conf$$.file conf$$ 2>/dev/null; then
13656 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13657 rmdir conf$$.dir 2>/dev/null
13662 # Create "$as_dir" as a directory, including parents if necessary.
13667 -*) as_dir=./$as_dir;;
13669 test -d "$as_dir" || eval $as_mkdir_p || {
13673 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13674 *) as_qdir=$as_dir;;
13676 as_dirs="'$as_qdir' $as_dirs"
13677 as_dir=`$as_dirname -- "$as_dir" ||
13678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13679 X"$as_dir" : 'X\(//\)[^/]' \| \
13680 X"$as_dir" : 'X\(//\)$' \| \
13681 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13682 $as_echo X"$as_dir" |
13683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13687 /^X\(\/\/\)[^/].*/{
13700 test -d "$as_dir" && break
13702 test -z "$as_dirs" || eval "mkdir $as_dirs"
13703 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13707 if mkdir -p . 2>/dev/null; then
13708 as_mkdir_p='mkdir -p "$as_dir"'
13710 test -d ./-p && rmdir ./-p
13714 if test -x / >/dev/null 2>&1; then
13715 as_test_x='test -x'
13717 if ls -dL / >/dev/null 2>&1; then
13724 if test -d "$1"; then
13730 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13731 ???[sx]*):;;*)false;;esac;fi
13735 as_executable_p=$as_test_x
13737 # Sed expression to map a string onto a valid CPP name.
13738 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13740 # Sed expression to map a string onto a valid variable name.
13741 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13745 ## ----------------------------------- ##
13746 ## Main body of $CONFIG_STATUS script. ##
13747 ## ----------------------------------- ##
13749 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13752 # Save the log message, to keep $0 and so on meaningful, and to
13753 # report actual input values of CONFIG_FILES etc. instead of their
13754 # values after options handling.
13756 This file was extended by libgsignon-glib $as_me 2.0.3, which was
13757 generated by GNU Autoconf 2.68. Invocation command line was
13759 CONFIG_FILES = $CONFIG_FILES
13760 CONFIG_HEADERS = $CONFIG_HEADERS
13761 CONFIG_LINKS = $CONFIG_LINKS
13762 CONFIG_COMMANDS = $CONFIG_COMMANDS
13765 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13770 case $ac_config_files in *"
13771 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13774 case $ac_config_headers in *"
13775 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780 # Files that config.status was made for.
13781 config_files="$ac_config_files"
13782 config_headers="$ac_config_headers"
13783 config_commands="$ac_config_commands"
13787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13789 \`$as_me' instantiates files and other configuration actions
13790 from templates according to the current configuration. Unless the files
13791 and actions are specified as TAGs, all are instantiated by default.
13793 Usage: $0 [OPTION]... [TAG]...
13795 -h, --help print this help, then exit
13796 -V, --version print version number and configuration settings, then exit
13797 --config print configuration, then exit
13798 -q, --quiet, --silent
13799 do not print progress messages
13800 -d, --debug don't remove temporary files
13801 --recheck update $as_me by reconfiguring in the same conditions
13802 --file=FILE[:TEMPLATE]
13803 instantiate the configuration file FILE
13804 --header=FILE[:TEMPLATE]
13805 instantiate the configuration header FILE
13807 Configuration files:
13810 Configuration headers:
13813 Configuration commands:
13816 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
13817 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>."
13820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13821 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13823 libgsignon-glib config.status 2.0.3
13824 configured by $0, generated by GNU Autoconf 2.68,
13825 with options \\"\$ac_cs_config\\"
13827 Copyright (C) 2010 Free Software Foundation, Inc.
13828 This config.status script is free software; the Free Software Foundation
13829 gives unlimited permission to copy, distribute and modify it."
13836 test -n "\$AWK" || AWK=awk
13839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13840 # The default lists apply if the user does not specify any file.
13846 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13847 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13863 # Handling of the options.
13864 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13866 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13867 $as_echo "$ac_cs_version"; exit ;;
13868 --config | --confi | --conf | --con | --co | --c )
13869 $as_echo "$ac_cs_config"; exit ;;
13870 --debug | --debu | --deb | --de | --d | -d )
13872 --file | --fil | --fi | --f )
13875 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13876 '') as_fn_error $? "missing file argument" ;;
13878 as_fn_append CONFIG_FILES " '$ac_optarg'"
13879 ac_need_defaults=false;;
13880 --header | --heade | --head | --hea )
13883 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13885 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13886 ac_need_defaults=false;;
13888 # Conflict between --help and --header
13889 as_fn_error $? "ambiguous option: \`$1'
13890 Try \`$0 --help' for more information.";;
13891 --help | --hel | -h )
13892 $as_echo "$ac_cs_usage"; exit ;;
13893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13894 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13897 # This is an error.
13898 -*) as_fn_error $? "unrecognized option: \`$1'
13899 Try \`$0 --help' for more information." ;;
13901 *) as_fn_append ac_config_targets " $1"
13902 ac_need_defaults=false ;;
13908 ac_configure_extra_args=
13910 if $ac_cs_silent; then
13912 ac_configure_extra_args="$ac_configure_extra_args --silent"
13916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13917 if \$ac_cs_recheck; then
13918 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13920 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13921 CONFIG_SHELL='$SHELL'
13922 export CONFIG_SHELL
13927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13931 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13932 ## Running $as_me. ##
13938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13942 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13945 # The HP-UX ksh and POSIX shell print the target directory to stdout
13946 # if CDPATH is set.
13947 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13949 sed_quote_subst='$sed_quote_subst'
13950 double_quote_subst='$double_quote_subst'
13951 delay_variable_subst='$delay_variable_subst'
13952 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13953 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13954 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13955 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13956 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13957 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13958 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13959 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13960 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13961 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13962 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13963 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13964 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13965 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13966 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13967 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13968 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13969 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13970 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13971 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13972 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13973 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13974 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13975 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13976 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13977 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13978 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13979 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13980 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13981 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13982 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13983 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13984 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13985 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13986 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13987 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13988 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13989 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13990 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13991 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13992 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13993 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13994 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13995 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13996 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13997 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13998 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13999 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14000 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14001 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14002 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14003 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14004 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14005 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14006 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14007 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14008 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"`'
14009 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14010 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14011 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14012 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14013 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14014 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14015 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14016 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14017 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14018 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14019 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14020 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14021 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14022 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14023 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14024 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14025 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14026 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14027 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14028 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14029 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14030 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14031 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14032 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14033 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14034 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14035 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14036 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14037 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14038 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14039 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14040 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14041 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14042 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14043 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14044 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14045 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14046 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14047 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14048 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14049 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14050 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14051 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14052 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14053 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14054 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14055 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14056 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14057 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14058 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14059 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14060 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14061 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14062 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14063 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14064 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14065 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14066 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14067 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14068 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14069 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14070 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14071 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14072 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14073 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14074 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14075 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14076 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14077 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14078 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14079 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14080 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14081 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14084 LTCFLAGS='$LTCFLAGS'
14085 compiler='$compiler_DEFAULT'
14087 # A function that is used when there is no print builtin or printf.
14088 func_fallback_echo ()
14090 eval 'cat <<_LTECHO_EOF
14095 # Quote evaled strings.
14110 deplibs_check_method \
14115 sharedlib_from_linklib_cmd \
14118 archiver_list_spec \
14124 lt_cv_sys_global_symbol_pipe \
14125 lt_cv_sys_global_symbol_to_cdecl \
14126 lt_cv_sys_global_symbol_to_c_name_address \
14127 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14128 nm_file_list_spec \
14129 lt_prog_compiler_no_builtin_flag \
14130 lt_prog_compiler_pic \
14131 lt_prog_compiler_wl \
14132 lt_prog_compiler_static \
14133 lt_cv_prog_compiler_c_o \
14142 export_dynamic_flag_spec \
14143 whole_archive_flag_spec \
14144 compiler_needs_object \
14146 allow_undefined_flag \
14147 no_undefined_flag \
14148 hardcode_libdir_flag_spec \
14149 hardcode_libdir_separator \
14153 variables_saved_for_relink \
14155 library_names_spec \
14157 install_override_mode \
14161 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14162 *[\\\\\\\`\\"\\\$]*)
14163 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14166 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14171 # Double-quote double-evaled strings.
14172 for var in reload_cmds \
14173 old_postinstall_cmds \
14174 old_postuninstall_cmds \
14176 extract_expsyms_cmds \
14177 old_archive_from_new_cmds \
14178 old_archive_from_expsyms_cmds \
14180 archive_expsym_cmds \
14182 module_expsym_cmds \
14183 export_symbols_cmds \
14187 postuninstall_cmds \
14189 sys_lib_search_path_spec \
14190 sys_lib_dlsearch_path_spec; do
14191 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14192 *[\\\\\\\`\\"\\\$]*)
14193 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14196 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14201 ac_aux_dir='$ac_aux_dir'
14202 xsi_shell='$xsi_shell'
14203 lt_shell_append='$lt_shell_append'
14205 # See if we are running on zsh, and set the options which allow our
14206 # commands through without removal of \ escapes INIT.
14207 if test -n "\${ZSH_VERSION+set}" ; then
14208 setopt NO_GLOB_SUBST
14214 TIMESTAMP='$TIMESTAMP'
14223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225 # Handling of arguments.
14226 for ac_config_target in $ac_config_targets
14228 case $ac_config_target in
14229 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14230 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14231 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14232 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14233 "libgsignon-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libgsignon-glib/Makefile" ;;
14234 "libgsignon-glib.pc") CONFIG_FILES="$CONFIG_FILES libgsignon-glib.pc" ;;
14235 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14236 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14237 "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
14238 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14239 "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14240 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14242 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14247 # If the user did not use the arguments to specify the items to instantiate,
14248 # then the envvar interface is used. Set only those that are not.
14249 # We use the long form for the default assignment because of an extremely
14250 # bizarre bug on SunOS 4.1.3.
14251 if $ac_need_defaults; then
14252 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14253 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14254 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14257 # Have a temporary directory for convenience. Make it in the build tree
14258 # simply because there is no reason against having it here, and in addition,
14259 # creating and moving files from /tmp can sometimes cause problems.
14260 # Hook for its removal unless debugging.
14261 # Note that there is a small window in which the directory will not be cleaned:
14262 # after its creation but before its name has been assigned to `$tmp'.
14266 trap 'exit_status=$?
14267 : "${ac_tmp:=$tmp}"
14268 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14270 trap 'as_fn_exit 1' 1 2 13 15
14272 # Create a (secure) tmp directory for tmp files.
14275 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14279 tmp=./conf$$-$RANDOM
14280 (umask 077 && mkdir "$tmp")
14281 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14284 # Set up the scripts for CONFIG_FILES section.
14285 # No need to generate them if there are no CONFIG_FILES.
14286 # This happens for instance with `./config.status config.h'.
14287 if test -n "$CONFIG_FILES"; then
14290 ac_cr=`echo X | tr X '\015'`
14291 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14292 # But we know of no other shell where ac_cr would be empty at this
14293 # point, so we can use a bashism as a fallback.
14294 if test "x$ac_cr" = x; then
14295 eval ac_cr=\$\'\\r\'
14297 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14298 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14301 ac_cs_awk_cr=$ac_cr
14304 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14309 echo "cat >conf$$subs.awk <<_ACEOF" &&
14310 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14312 } >conf$$subs.sh ||
14313 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14314 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14316 for ac_last_try in false false false false false :; do
14317 . ./conf$$subs.sh ||
14318 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14320 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14321 if test $ac_delim_n = $ac_delim_num; then
14323 elif $ac_last_try; then
14324 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14326 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14329 rm -f conf$$subs.sh
14331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14332 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14336 s/^/S["/; s/!.*/"]=/
14346 s/\(.\{148\}\)..*/\1/
14348 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14353 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14360 s/\(.\{148\}\)..*/\1/
14362 s/["\\]/\\&/g; s/^/"/; s/$/"/
14366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14371 ' <conf$$subs.awk | sed '
14376 ' >>$CONFIG_STATUS || ac_write_fail=1
14377 rm -f conf$$subs.awk
14378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14380 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14381 for (key in S) S_is_set[key] = 1
14387 nfields = split(line, field, "@")
14389 len = length(field[1])
14390 for (i = 2; i < nfields; i++) {
14392 keylen = length(key)
14393 if (S_is_set[key]) {
14395 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14396 len += length(value) + length(field[++i])
14407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14408 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14409 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14412 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14413 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14416 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14417 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14418 # trailing colons and then remove the whole line if VPATH becomes empty
14419 # (actually we leave an empty line to preserve line numbers).
14420 if test "x$srcdir" = x.; then
14421 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14440 fi # test -n "$CONFIG_FILES"
14442 # Set up the scripts for CONFIG_HEADERS section.
14443 # No need to generate them if there are no CONFIG_HEADERS.
14444 # This happens for instance with `./config.status Makefile'.
14445 if test -n "$CONFIG_HEADERS"; then
14446 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14450 # Transform confdefs.h into an awk script `defines.awk', embedded as
14451 # here-document in config.status, that substitutes the proper values into
14452 # config.h.in to produce config.h.
14454 # Create a delimiter string that does not exist in confdefs.h, to ease
14455 # handling of long lines.
14457 for ac_last_try in false false :; do
14458 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14459 if test -z "$ac_tt"; then
14461 elif $ac_last_try; then
14462 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14468 # For the awk script, D is an array of macro values keyed by name,
14469 # likewise P contains macro parameters if any. Preserve backslash
14470 # newline sequences.
14472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14474 s/.\{148\}/&'"$ac_delim"'/g
14477 s/^[ ]*#[ ]*define[ ][ ]*/ /
14484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14486 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14491 D["\1"]=" \3\\\\\\n"\\/p
14493 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14498 s/.\{148\}/&'"$ac_delim"'/g
14503 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14506 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14508 ' <confdefs.h | sed '
14509 s/'"$ac_delim"'/"\\\
14510 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513 for (key in D) D_is_set[key] = 1
14516 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14518 split(line, arg, " ")
14519 if (arg[1] == "#") {
14523 defundef = substr(arg[1], 2)
14526 split(mac1, mac2, "(") #)
14528 prefix = substr(line, 1, index(line, defundef) - 1)
14529 if (D_is_set[macro]) {
14530 # Preserve the white space surrounding the "#".
14531 print prefix "define", macro P[macro] D[macro]
14534 # Replace #undef with comments. This is necessary, for example,
14535 # in the case of _POSIX_SOURCE, which is predefined and required
14536 # on some systems where configure will not decide to define it.
14537 if (defundef == "undef") {
14538 print "/*", prefix defundef, macro, "*/"
14546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14547 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14548 fi # test -n "$CONFIG_HEADERS"
14551 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14556 :[FHLC]) ac_mode=$ac_tag; continue;;
14558 case $ac_mode$ac_tag in
14560 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14561 :[FH]-) ac_tag=-:-;;
14562 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14579 -) ac_f="$ac_tmp/stdin";;
14580 *) # Look for the file first in the build tree, then in the source tree
14581 # (if the path is not absolute). The absolute path cannot be DOS-style,
14582 # because $ac_f cannot contain `:'.
14586 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14588 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14590 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14591 as_fn_append ac_file_inputs " '$ac_f'"
14594 # Let's still pretend it is `configure' which instantiates (i.e., don't
14595 # use $as_me), people would be surprised to read:
14596 # /* config.h. Generated by config.status. */
14597 configure_input='Generated from '`
14598 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14600 if test x"$ac_file" != x-; then
14601 configure_input="$ac_file. $configure_input"
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14603 $as_echo "$as_me: creating $ac_file" >&6;}
14605 # Neutralize special characters interpreted by sed in replacement strings.
14606 case $configure_input in #(
14607 *\&* | *\|* | *\\* )
14608 ac_sed_conf_input=`$as_echo "$configure_input" |
14609 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14610 *) ac_sed_conf_input=$configure_input;;
14614 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14615 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14620 ac_dir=`$as_dirname -- "$ac_file" ||
14621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14622 X"$ac_file" : 'X\(//\)[^/]' \| \
14623 X"$ac_file" : 'X\(//\)$' \| \
14624 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14625 $as_echo X"$ac_file" |
14626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14630 /^X\(\/\/\)[^/].*/{
14643 as_dir="$ac_dir"; as_fn_mkdir_p
14647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14649 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14650 # A ".." for each directory in $ac_dir_suffix.
14651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14652 case $ac_top_builddir_sub in
14653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14657 ac_abs_top_builddir=$ac_pwd
14658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14659 # for backward compatibility:
14660 ac_top_builddir=$ac_top_build_prefix
14663 .) # We are building in place.
14665 ac_top_srcdir=$ac_top_builddir_sub
14666 ac_abs_top_srcdir=$ac_pwd ;;
14667 [\\/]* | ?:[\\/]* ) # Absolute name.
14668 ac_srcdir=$srcdir$ac_dir_suffix;
14669 ac_top_srcdir=$srcdir
14670 ac_abs_top_srcdir=$srcdir ;;
14671 *) # Relative name.
14672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14673 ac_top_srcdir=$ac_top_build_prefix$srcdir
14674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14686 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14687 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14689 ac_MKDIR_P=$MKDIR_P
14691 [\\/$]* | ?:[\\/]* ) ;;
14692 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14697 # If the template does not know about datarootdir, expand it.
14698 # FIXME: This hack should be removed a few years after 2.60.
14699 ac_datarootdir_hack=; ac_datarootdir_seen=
14710 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14711 *datarootdir*) ac_datarootdir_seen=yes;;
14712 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14714 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14717 ac_datarootdir_hack='
14718 s&@datadir@&$datadir&g
14719 s&@docdir@&$docdir&g
14720 s&@infodir@&$infodir&g
14721 s&@localedir@&$localedir&g
14722 s&@mandir@&$mandir&g
14723 s&\\\${datarootdir}&$datarootdir&g' ;;
14727 # Neutralize VPATH when `$srcdir' = `.'.
14728 # Shell code in configure.ac might set extrasub.
14729 # FIXME: do we really want to maintain this feature?
14730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14731 ac_sed_extra="$ac_vpsub
14734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14737 s|@configure_input@|$ac_sed_conf_input|;t t
14738 s&@top_builddir@&$ac_top_builddir_sub&;t t
14739 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14740 s&@srcdir@&$ac_srcdir&;t t
14741 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14742 s&@top_srcdir@&$ac_top_srcdir&;t t
14743 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14744 s&@builddir@&$ac_builddir&;t t
14745 s&@abs_builddir@&$ac_abs_builddir&;t t
14746 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14747 s&@INSTALL@&$ac_INSTALL&;t t
14748 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14749 $ac_datarootdir_hack
14751 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14752 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14754 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14755 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14756 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14757 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14759 which seems to be undefined. Please make sure it is defined" >&5
14760 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14761 which seems to be undefined. Please make sure it is defined" >&2;}
14763 rm -f "$ac_tmp/stdin"
14765 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14766 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14774 if test x"$ac_file" != x-; then
14776 $as_echo "/* $configure_input */" \
14777 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14778 } >"$ac_tmp/config.h" \
14779 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14780 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14782 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14785 mv "$ac_tmp/config.h" "$ac_file" \
14786 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14789 $as_echo "/* $configure_input */" \
14790 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14791 || as_fn_error $? "could not create -" "$LINENO" 5
14793 # Compute "$ac_file"'s index in $config_headers.
14796 for _am_header in $config_headers :; do
14797 case $_am_header in
14798 $_am_arg | $_am_arg:* )
14801 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14804 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14805 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14806 X"$_am_arg" : 'X\(//\)[^/]' \| \
14807 X"$_am_arg" : 'X\(//\)$' \| \
14808 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14809 $as_echo X"$_am_arg" |
14810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14814 /^X\(\/\/\)[^/].*/{
14826 s/.*/./; q'`/stamp-h$_am_stamp_count
14829 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14830 $as_echo "$as_me: executing $ac_file commands" >&6;}
14835 case $ac_file$ac_mode in
14836 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14837 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14838 # are listed without --file. Let's play safe and only enable the eval
14839 # if we detect the quoting.
14840 case $CONFIG_FILES in
14841 *\'*) eval set x "$CONFIG_FILES" ;;
14842 *) set x $CONFIG_FILES ;;
14847 # Strip MF so we end up with the name of the file.
14848 mf=`echo "$mf" | sed -e 's/:.*$//'`
14849 # Check whether this is an Automake generated Makefile or not.
14850 # We used to match only the files named `Makefile.in', but
14851 # some people rename them; so instead we look at the file content.
14852 # Grep'ing the first line is not enough: some people post-process
14853 # each Makefile.in and add a new line on top of each file to say so.
14854 # Grep'ing the whole file is not good either: AIX grep has a line
14855 # limit of 2048, but all sed's we know have understand at least 4000.
14856 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14857 dirpart=`$as_dirname -- "$mf" ||
14858 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14859 X"$mf" : 'X\(//\)[^/]' \| \
14860 X"$mf" : 'X\(//\)$' \| \
14861 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14867 /^X\(\/\/\)[^/].*/{
14883 # Extract the definition of DEPDIR, am__include, and am__quote
14884 # from the Makefile without running `make'.
14885 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14886 test -z "$DEPDIR" && continue
14887 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14888 test -z "am__include" && continue
14889 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14890 # When using ansi2knr, U may be empty or an underscore; expand it
14891 U=`sed -n 's/^U = //p' < "$mf"`
14892 # Find all dependency output files, they are included files with
14893 # $(DEPDIR) in their names. We invoke sed twice because it is the
14894 # simplest approach to changing $(DEPDIR) to its actual value in the
14896 for file in `sed -n "
14897 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14898 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14899 # Make sure the directory exists.
14900 test -f "$dirpart/$file" && continue
14901 fdir=`$as_dirname -- "$file" ||
14902 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14903 X"$file" : 'X\(//\)[^/]' \| \
14904 X"$file" : 'X\(//\)$' \| \
14905 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14906 $as_echo X"$file" |
14907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14911 /^X\(\/\/\)[^/].*/{
14924 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14925 # echo "creating $dirpart/$file"
14926 echo '# dummy' > "$dirpart/$file"
14933 # See if we are running on zsh, and set the options which allow our
14934 # commands through without removal of \ escapes.
14935 if test -n "${ZSH_VERSION+set}" ; then
14936 setopt NO_GLOB_SUBST
14939 cfgfile="${ofile}T"
14940 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14943 cat <<_LT_EOF >> "$cfgfile"
14946 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14947 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14948 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14949 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14951 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14952 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14954 # Written by Gordon Matzigkeit, 1996
14956 # This file is part of GNU Libtool.
14958 # GNU Libtool is free software; you can redistribute it and/or
14959 # modify it under the terms of the GNU General Public License as
14960 # published by the Free Software Foundation; either version 2 of
14961 # the License, or (at your option) any later version.
14963 # As a special exception to the GNU General Public License,
14964 # if you distribute this file as part of a program or library that
14965 # is built using GNU Libtool, you may include this file under the
14966 # same distribution terms that you use for the rest of that program.
14968 # GNU Libtool is distributed in the hope that it will be useful,
14969 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14970 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14971 # GNU General Public License for more details.
14973 # You should have received a copy of the GNU General Public License
14974 # along with GNU Libtool; see the file COPYING. If not, a copy
14975 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14976 # obtained by writing to the Free Software Foundation, Inc.,
14977 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14980 # The names of the tagged configurations supported by this script.
14983 # ### BEGIN LIBTOOL CONFIG
14985 # Which release of libtool.m4 was used?
14986 macro_version=$macro_version
14987 macro_revision=$macro_revision
14989 # Whether or not to build static libraries.
14990 build_old_libs=$enable_static
14992 # Whether or not to build shared libraries.
14993 build_libtool_libs=$enable_shared
14995 # What type of objects to build.
14998 # Whether or not to optimize for fast installation.
14999 fast_install=$enable_fast_install
15001 # Shell to use when invoking shell scripts.
15004 # An echo program that protects backslashes.
15007 # The PATH separator for the build system.
15008 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15011 host_alias=$host_alias
15015 # The build system.
15016 build_alias=$build_alias
15020 # A sed program that does not truncate output.
15023 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15024 Xsed="\$SED -e 1s/^X//"
15026 # A grep program that handles long lines.
15032 # A literal string matcher.
15035 # A BSD- or MS-compatible name lister.
15038 # Whether we need soft or hard links.
15041 # What is the maximum length of a command?
15042 max_cmd_len=$max_cmd_len
15044 # Object file suffix (normally "o").
15047 # Executable file suffix (normally "").
15050 # whether the shell understands "unset".
15053 # turn spaces into newlines.
15056 # turn newlines into spaces.
15059 # convert \$build file names to \$host format.
15060 to_host_file_cmd=$lt_cv_to_host_file_cmd
15062 # convert \$build files to toolchain format.
15063 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15065 # An object symbol dumper.
15066 OBJDUMP=$lt_OBJDUMP
15068 # Method to check whether dependent libraries are shared objects.
15069 deplibs_check_method=$lt_deplibs_check_method
15071 # Command to use when deplibs_check_method = "file_magic".
15072 file_magic_cmd=$lt_file_magic_cmd
15074 # How to find potential files when deplibs_check_method = "file_magic".
15075 file_magic_glob=$lt_file_magic_glob
15077 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15078 want_nocaseglob=$lt_want_nocaseglob
15080 # DLL creation program.
15081 DLLTOOL=$lt_DLLTOOL
15083 # Command to associate shared and link libraries.
15084 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15089 # Flags to create an archive.
15090 AR_FLAGS=$lt_AR_FLAGS
15092 # How to feed a file listing to the archiver.
15093 archiver_list_spec=$lt_archiver_list_spec
15095 # A symbol stripping program.
15098 # Commands used to install an old-style archive.
15100 old_postinstall_cmds=$lt_old_postinstall_cmds
15101 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15103 # Whether to use a lock for old archive extraction.
15104 lock_old_archive_extraction=$lock_old_archive_extraction
15109 # LTCC compiler flags.
15110 LTCFLAGS=$lt_CFLAGS
15112 # Take the output of nm and produce a listing of raw symbols and C names.
15113 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15115 # Transform the output of nm in a proper C declaration.
15116 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15118 # Transform the output of nm in a C name address pair.
15119 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15121 # Transform the output of nm in a C name address pair when lib prefix is needed.
15122 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15124 # Specify filename containing input files for \$NM.
15125 nm_file_list_spec=$lt_nm_file_list_spec
15127 # The root where to search for dependent libraries,and in which our libraries should be installed.
15128 lt_sysroot=$lt_sysroot
15130 # The name of the directory that contains temporary libtool files.
15133 # Used to examine libraries when file_magic_cmd begins with "file".
15134 MAGIC_CMD=$MAGIC_CMD
15136 # Must we lock files when doing compilation?
15137 need_locks=$lt_need_locks
15140 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15143 DSYMUTIL=$lt_DSYMUTIL
15145 # Tool to change global to local symbols on Mac OS X.
15148 # Tool to manipulate fat objects and archives on Mac OS X.
15151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15155 OTOOL64=$lt_OTOOL64
15157 # Old archive suffix (normally "a").
15160 # Shared library suffix (normally ".so").
15161 shrext_cmds=$lt_shrext_cmds
15163 # The commands to extract the exported symbol list from a shared archive.
15164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15166 # Variables whose values should be saved in libtool wrapper scripts and
15167 # restored at link time.
15168 variables_saved_for_relink=$lt_variables_saved_for_relink
15170 # Do we need the "lib" prefix for modules?
15171 need_lib_prefix=$need_lib_prefix
15173 # Do we need a version for libraries?
15174 need_version=$need_version
15176 # Library versioning type.
15177 version_type=$version_type
15179 # Shared library runtime path variable.
15180 runpath_var=$runpath_var
15182 # Shared library path variable.
15183 shlibpath_var=$shlibpath_var
15185 # Is shlibpath searched before the hard-coded library search path?
15186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15188 # Format of library name prefix.
15189 libname_spec=$lt_libname_spec
15191 # List of archive names. First name is the real one, the rest are links.
15192 # The last name is the one that the linker finds with -lNAME
15193 library_names_spec=$lt_library_names_spec
15195 # The coded name of the library, if different from the real name.
15196 soname_spec=$lt_soname_spec
15198 # Permission mode override for installation of shared libraries.
15199 install_override_mode=$lt_install_override_mode
15201 # Command to use after installation of a shared archive.
15202 postinstall_cmds=$lt_postinstall_cmds
15204 # Command to use after uninstallation of a shared archive.
15205 postuninstall_cmds=$lt_postuninstall_cmds
15207 # Commands used to finish a libtool library installation in a directory.
15208 finish_cmds=$lt_finish_cmds
15210 # As "finish_cmds", except a single script fragment to be evaled but
15212 finish_eval=$lt_finish_eval
15214 # Whether we should hardcode library paths into libraries.
15215 hardcode_into_libs=$hardcode_into_libs
15217 # Compile-time system search path for libraries.
15218 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15220 # Run-time system search path for libraries.
15221 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15223 # Whether dlopen is supported.
15224 dlopen_support=$enable_dlopen
15226 # Whether dlopen of programs is supported.
15227 dlopen_self=$enable_dlopen_self
15229 # Whether dlopen of statically linked programs is supported.
15230 dlopen_self_static=$enable_dlopen_self_static
15232 # Commands to strip libraries.
15233 old_striplib=$lt_old_striplib
15234 striplib=$lt_striplib
15237 # The linker used to build libraries.
15240 # How to create reloadable object files.
15241 reload_flag=$lt_reload_flag
15242 reload_cmds=$lt_reload_cmds
15244 # Commands used to build an old-style archive.
15245 old_archive_cmds=$lt_old_archive_cmds
15247 # A language specific compiler.
15250 # Is the compiler the GNU compiler?
15253 # Compiler flag to turn off builtin functions.
15254 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15256 # Additional compiler flags for building library objects.
15257 pic_flag=$lt_lt_prog_compiler_pic
15259 # How to pass a linker flag through the compiler.
15260 wl=$lt_lt_prog_compiler_wl
15262 # Compiler flag to prevent dynamic linking.
15263 link_static_flag=$lt_lt_prog_compiler_static
15265 # Does compiler simultaneously support -c and -o options?
15266 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15268 # Whether or not to add -lc for building shared libraries.
15269 build_libtool_need_lc=$archive_cmds_need_lc
15271 # Whether or not to disallow shared libs when runtime libs are static.
15272 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15274 # Compiler flag to allow reflexive dlopens.
15275 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15277 # Compiler flag to generate shared objects directly from archives.
15278 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15280 # Whether the compiler copes with passing no objects directly.
15281 compiler_needs_object=$lt_compiler_needs_object
15283 # Create an old-style archive from a shared archive.
15284 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15286 # Create a temporary old-style archive to link instead of a shared archive.
15287 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15289 # Commands used to build a shared archive.
15290 archive_cmds=$lt_archive_cmds
15291 archive_expsym_cmds=$lt_archive_expsym_cmds
15293 # Commands used to build a loadable module if different from building
15294 # a shared archive.
15295 module_cmds=$lt_module_cmds
15296 module_expsym_cmds=$lt_module_expsym_cmds
15298 # Whether we are building with GNU ld or not.
15299 with_gnu_ld=$lt_with_gnu_ld
15301 # Flag that allows shared libraries with undefined symbols to be built.
15302 allow_undefined_flag=$lt_allow_undefined_flag
15304 # Flag that enforces no undefined symbols.
15305 no_undefined_flag=$lt_no_undefined_flag
15307 # Flag to hardcode \$libdir into a binary during linking.
15308 # This must work even if \$libdir does not exist
15309 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15311 # Whether we need a single "-rpath" flag with a separated argument.
15312 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15314 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15315 # DIR into the resulting binary.
15316 hardcode_direct=$hardcode_direct
15318 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15319 # DIR into the resulting binary and the resulting library dependency is
15320 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15321 # library is relocated.
15322 hardcode_direct_absolute=$hardcode_direct_absolute
15324 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15325 # into the resulting binary.
15326 hardcode_minus_L=$hardcode_minus_L
15328 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15329 # into the resulting binary.
15330 hardcode_shlibpath_var=$hardcode_shlibpath_var
15332 # Set to "yes" if building a shared library automatically hardcodes DIR
15333 # into the library and all subsequent libraries and executables linked
15335 hardcode_automatic=$hardcode_automatic
15337 # Set to yes if linker adds runtime paths of dependent libraries
15338 # to runtime path list.
15339 inherit_rpath=$inherit_rpath
15341 # Whether libtool must link a program against all its dependency libraries.
15342 link_all_deplibs=$link_all_deplibs
15344 # Set to "yes" if exported symbols are required.
15345 always_export_symbols=$always_export_symbols
15347 # The commands to list exported symbols.
15348 export_symbols_cmds=$lt_export_symbols_cmds
15350 # Symbols that should not be listed in the preloaded symbols.
15351 exclude_expsyms=$lt_exclude_expsyms
15353 # Symbols that must always be exported.
15354 include_expsyms=$lt_include_expsyms
15356 # Commands necessary for linking programs (against libraries) with templates.
15357 prelink_cmds=$lt_prelink_cmds
15359 # Commands necessary for finishing linking programs.
15360 postlink_cmds=$lt_postlink_cmds
15362 # Specify filename containing input files.
15363 file_list_spec=$lt_file_list_spec
15365 # How to hardcode a shared library path into an executable.
15366 hardcode_action=$hardcode_action
15368 # ### END LIBTOOL CONFIG
15374 cat <<\_LT_EOF >> "$cfgfile"
15375 # AIX sometimes has problems with the GCC collect2 program. For some
15376 # reason, if we set the COLLECT_NAMES environment variable, the problems
15377 # vanish in a puff of smoke.
15378 if test "X${COLLECT_NAMES+set}" != Xset; then
15380 export COLLECT_NAMES
15387 ltmain="$ac_aux_dir/ltmain.sh"
15390 # We use sed instead of cat because bash on DJGPP gets confused if
15391 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15392 # text mode, it properly converts lines to CR/LF. This bash problem
15393 # is reportedly fixed, but why not run on old versions too?
15394 sed '$q' "$ltmain" >> "$cfgfile" \
15395 || (rm -f "$cfgfile"; exit 1)
15397 if test x"$xsi_shell" = xyes; then
15398 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15402 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15403 \ * ) func_dirname_result="${3}" ;;\
15405 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15406 && mv -f "$cfgfile.tmp" "$cfgfile" \
15407 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15408 test 0 -eq $? || _lt_function_replace_fail=:
15411 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15414 \ func_basename_result="${1##*/}"\
15415 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15416 && mv -f "$cfgfile.tmp" "$cfgfile" \
15417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15418 test 0 -eq $? || _lt_function_replace_fail=:
15421 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15422 func_dirname_and_basename ()\
15425 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15426 \ * ) func_dirname_result="${3}" ;;\
15428 \ func_basename_result="${1##*/}"\
15429 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15430 && mv -f "$cfgfile.tmp" "$cfgfile" \
15431 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15432 test 0 -eq $? || _lt_function_replace_fail=:
15435 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15438 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15439 \ # positional parameters, so assign one to ordinary parameter first.\
15440 \ func_stripname_result=${3}\
15441 \ func_stripname_result=${func_stripname_result#"${1}"}\
15442 \ func_stripname_result=${func_stripname_result%"${2}"}\
15443 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15444 && mv -f "$cfgfile.tmp" "$cfgfile" \
15445 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15446 test 0 -eq $? || _lt_function_replace_fail=:
15449 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15450 func_split_long_opt ()\
15452 \ func_split_long_opt_name=${1%%=*}\
15453 \ func_split_long_opt_arg=${1#*=}\
15454 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15455 && mv -f "$cfgfile.tmp" "$cfgfile" \
15456 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15460 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15461 func_split_short_opt ()\
15463 \ func_split_short_opt_arg=${1#??}\
15464 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15465 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15466 && mv -f "$cfgfile.tmp" "$cfgfile" \
15467 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15468 test 0 -eq $? || _lt_function_replace_fail=:
15471 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15475 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15476 \ *) func_lo2o_result=${1} ;;\
15478 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15479 && mv -f "$cfgfile.tmp" "$cfgfile" \
15480 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15481 test 0 -eq $? || _lt_function_replace_fail=:
15484 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15487 func_xform_result=${1%.*}.lo\
15488 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15489 && mv -f "$cfgfile.tmp" "$cfgfile" \
15490 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15491 test 0 -eq $? || _lt_function_replace_fail=:
15494 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15497 func_arith_result=$(( $* ))\
15498 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15499 && mv -f "$cfgfile.tmp" "$cfgfile" \
15500 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15501 test 0 -eq $? || _lt_function_replace_fail=:
15504 sed -e '/^func_len ()$/,/^} # func_len /c\
15507 func_len_result=${#1}\
15508 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15509 && mv -f "$cfgfile.tmp" "$cfgfile" \
15510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15511 test 0 -eq $? || _lt_function_replace_fail=:
15515 if test x"$lt_shell_append" = xyes; then
15516 sed -e '/^func_append ()$/,/^} # func_append /c\
15519 eval "${1}+=\\${2}"\
15520 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15521 && mv -f "$cfgfile.tmp" "$cfgfile" \
15522 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15523 test 0 -eq $? || _lt_function_replace_fail=:
15526 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15527 func_append_quoted ()\
15529 \ func_quote_for_eval "${2}"\
15530 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15531 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15532 && mv -f "$cfgfile.tmp" "$cfgfile" \
15533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15534 test 0 -eq $? || _lt_function_replace_fail=:
15537 # Save a `func_append' function call where possible by direct use of '+='
15538 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15539 && mv -f "$cfgfile.tmp" "$cfgfile" \
15540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15541 test 0 -eq $? || _lt_function_replace_fail=:
15543 # Save a `func_append' function call even when '+=' is not available
15544 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15545 && mv -f "$cfgfile.tmp" "$cfgfile" \
15546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15547 test 0 -eq $? || _lt_function_replace_fail=:
15550 if test x"$_lt_function_replace_fail" = x":"; then
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15552 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15556 mv -f "$cfgfile" "$ofile" ||
15557 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15568 ac_clean_files=$ac_clean_files_save
15570 test $ac_write_fail = 0 ||
15571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15574 # configure is writing to config.log, and then calls config.status.
15575 # config.status does its own redirection, appending to config.log.
15576 # Unfortunately, on DOS this fails, as config.log is still kept open
15577 # by configure, so config.status won't be able to write to it; its
15578 # output is simply discarded. So we exec the FD to /dev/null,
15579 # effectively closing config.log, so it can be properly (re)opened and
15580 # appended to by config.status. When coming back to configure, we
15581 # need to make the FD available again.
15582 if test "$no_create" != yes; then
15584 ac_config_status_args=
15585 test "$silent" = yes &&
15586 ac_config_status_args="$ac_config_status_args --quiet"
15588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15591 # would make configure fail if this is the last instruction.
15592 $ac_cs_success || as_fn_exit 1
15594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}