2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libgsignon-glib 2.1.0.
5 # Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://code.google.com/p/accounts-sso/issues/entry
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='libgsignon-glib'
593 PACKAGE_TARNAME='libgsignon-glib'
594 PACKAGE_VERSION='2.1.0'
595 PACKAGE_STRING='libgsignon-glib 2.1.0'
596 PACKAGE_BUGREPORT='http://code.google.com/p/accounts-sso/issues/entry'
597 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
599 ac_unique_file="libgsignon-glib.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
652 GTK_DOC_USE_REBASE_FALSE
653 GTK_DOC_USE_REBASE_TRUE
654 GTK_DOC_USE_LIBTOOL_FALSE
655 GTK_DOC_USE_LIBTOOL_TRUE
656 GTK_DOC_BUILD_PDF_FALSE
657 GTK_DOC_BUILD_PDF_TRUE
658 GTK_DOC_BUILD_HTML_FALSE
659 GTK_DOC_BUILD_HTML_TRUE
681 HAVE_INTROSPECTION_FALSE
682 HAVE_INTROSPECTION_TRUE
683 INTROSPECTION_MAKEFILE
686 INTROSPECTION_TYPELIBDIR
688 INTROSPECTION_GENERATE
689 INTROSPECTION_COMPILER
690 INTROSPECTION_SCANNER
753 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_dependency_tracking
832 ac_precious_vars='build_alias
855 # Initialize some variables set by options.
857 ac_init_version=false
858 ac_unrecognized_opts=
860 # The variables have the same names as the options, with
861 # dashes changed to underlines.
869 program_transform_name=s,x,x,
877 # Installation directory options.
878 # These are left unexpanded so users can "make install exec_prefix=/foo"
879 # and all the variables that are supposed to be based on exec_prefix
880 # by default will actually change.
881 # Use braces instead of parens because sh, perl, etc. also accept them.
882 # (The list follows the same order as the GNU Coding Standards.)
883 bindir='${exec_prefix}/bin'
884 sbindir='${exec_prefix}/sbin'
885 libexecdir='${exec_prefix}/libexec'
886 datarootdir='${prefix}/share'
887 datadir='${datarootdir}'
888 sysconfdir='${prefix}/etc'
889 sharedstatedir='${prefix}/com'
890 localstatedir='${prefix}/var'
891 includedir='${prefix}/include'
892 oldincludedir='/usr/include'
893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
894 infodir='${datarootdir}/info'
899 libdir='${exec_prefix}/lib'
900 localedir='${datarootdir}/locale'
901 mandir='${datarootdir}/man'
907 # If the previous option needs an argument, assign it.
908 if test -n "$ac_prev"; then
909 eval $ac_prev=\$ac_option
915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 # Accept the important Cygnus configure options, so we can diagnose typos.
922 case $ac_dashdash$ac_option in
926 -bindir | --bindir | --bindi | --bind | --bin | --bi)
928 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931 -build | --build | --buil | --bui | --bu)
932 ac_prev=build_alias ;;
933 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
934 build_alias=$ac_optarg ;;
936 -cache-file | --cache-file | --cache-fil | --cache-fi \
937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
938 ac_prev=cache_file ;;
939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
941 cache_file=$ac_optarg ;;
944 cache_file=config.cache ;;
946 -datadir | --datadir | --datadi | --datad)
948 -datadir=* | --datadir=* | --datadi=* | --datad=*)
949 datadir=$ac_optarg ;;
951 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
952 | --dataroo | --dataro | --datar)
953 ac_prev=datarootdir ;;
954 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
955 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
956 datarootdir=$ac_optarg ;;
958 -disable-* | --disable-*)
959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962 as_fn_error $? "invalid feature name: $ac_useropt"
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
972 eval enable_$ac_useropt=no ;;
974 -docdir | --docdir | --docdi | --doc | --do)
976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 -enable-* | --enable-*)
985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988 as_fn_error $? "invalid feature name: $ac_useropt"
989 ac_useropt_orig=$ac_useropt
990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996 ac_unrecognized_sep=', ';;
998 eval enable_$ac_useropt=\$ac_optarg ;;
1000 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1001 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1002 | --exec | --exe | --ex)
1003 ac_prev=exec_prefix ;;
1004 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1005 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1006 | --exec=* | --exe=* | --ex=*)
1007 exec_prefix=$ac_optarg ;;
1009 -gas | --gas | --ga | --g)
1010 # Obsolete; use --with-gas.
1013 -help | --help | --hel | --he | -h)
1014 ac_init_help=long ;;
1015 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1016 ac_init_help=recursive ;;
1017 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1018 ac_init_help=short ;;
1020 -host | --host | --hos | --ho)
1021 ac_prev=host_alias ;;
1022 -host=* | --host=* | --hos=* | --ho=*)
1023 host_alias=$ac_optarg ;;
1025 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029 htmldir=$ac_optarg ;;
1031 -includedir | --includedir | --includedi | --included | --include \
1032 | --includ | --inclu | --incl | --inc)
1033 ac_prev=includedir ;;
1034 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1035 | --includ=* | --inclu=* | --incl=* | --inc=*)
1036 includedir=$ac_optarg ;;
1038 -infodir | --infodir | --infodi | --infod | --info | --inf)
1040 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1041 infodir=$ac_optarg ;;
1043 -libdir | --libdir | --libdi | --libd)
1045 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1046 libdir=$ac_optarg ;;
1048 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1049 | --libexe | --libex | --libe)
1050 ac_prev=libexecdir ;;
1051 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1052 | --libexe=* | --libex=* | --libe=*)
1053 libexecdir=$ac_optarg ;;
1055 -localedir | --localedir | --localedi | --localed | --locale)
1056 ac_prev=localedir ;;
1057 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1058 localedir=$ac_optarg ;;
1060 -localstatedir | --localstatedir | --localstatedi | --localstated \
1061 | --localstate | --localstat | --localsta | --localst | --locals)
1062 ac_prev=localstatedir ;;
1063 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1064 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1065 localstatedir=$ac_optarg ;;
1067 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1070 mandir=$ac_optarg ;;
1072 -nfp | --nfp | --nf)
1073 # Obsolete; use --without-fp.
1076 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1077 | --no-cr | --no-c | -n)
1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1085 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1086 | --oldin | --oldi | --old | --ol | --o)
1087 ac_prev=oldincludedir ;;
1088 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1089 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1090 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1091 oldincludedir=$ac_optarg ;;
1093 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1096 prefix=$ac_optarg ;;
1098 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1099 | --program-pre | --program-pr | --program-p)
1100 ac_prev=program_prefix ;;
1101 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1102 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1103 program_prefix=$ac_optarg ;;
1105 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1106 | --program-suf | --program-su | --program-s)
1107 ac_prev=program_suffix ;;
1108 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1109 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1110 program_suffix=$ac_optarg ;;
1112 -program-transform-name | --program-transform-name \
1113 | --program-transform-nam | --program-transform-na \
1114 | --program-transform-n | --program-transform- \
1115 | --program-transform | --program-transfor \
1116 | --program-transfo | --program-transf \
1117 | --program-trans | --program-tran \
1118 | --progr-tra | --program-tr | --program-t)
1119 ac_prev=program_transform_name ;;
1120 -program-transform-name=* | --program-transform-name=* \
1121 | --program-transform-nam=* | --program-transform-na=* \
1122 | --program-transform-n=* | --program-transform-=* \
1123 | --program-transform=* | --program-transfor=* \
1124 | --program-transfo=* | --program-transf=* \
1125 | --program-trans=* | --program-tran=* \
1126 | --progr-tra=* | --program-tr=* | --program-t=*)
1127 program_transform_name=$ac_optarg ;;
1129 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132 pdfdir=$ac_optarg ;;
1134 -psdir | --psdir | --psdi | --psd | --ps)
1136 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140 | -silent | --silent | --silen | --sile | --sil)
1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1147 sbindir=$ac_optarg ;;
1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1151 | --sharedst | --shareds | --shared | --share | --shar \
1153 ac_prev=sharedstatedir ;;
1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1158 sharedstatedir=$ac_optarg ;;
1160 -site | --site | --sit)
1162 -site=* | --site=* | --sit=*)
1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1168 srcdir=$ac_optarg ;;
1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1171 | --syscon | --sysco | --sysc | --sys | --sy)
1172 ac_prev=sysconfdir ;;
1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1175 sysconfdir=$ac_optarg ;;
1177 -target | --target | --targe | --targ | --tar | --ta | --t)
1178 ac_prev=target_alias ;;
1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1180 target_alias=$ac_optarg ;;
1182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 -version | --version | --versio | --versi | --vers | -V)
1186 ac_init_version=: ;;
1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1202 eval with_$ac_useropt=\$ac_optarg ;;
1204 -without-* | --without-*)
1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 as_fn_error $? "invalid package name: $ac_useropt"
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1218 eval with_$ac_useropt=no ;;
1221 # Obsolete; use --with-x.
1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225 | --x-incl | --x-inc | --x-in | --x-i)
1226 ac_prev=x_includes ;;
1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229 x_includes=$ac_optarg ;;
1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233 ac_prev=x_libraries ;;
1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236 x_libraries=$ac_optarg ;;
1238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information"
1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 case $ac_envvar in #(
1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1249 eval $ac_envvar=\$ac_optarg
1250 export $ac_envvar ;;
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1263 if test -n "$ac_prev"; then
1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1265 as_fn_error $? "missing argument to $ac_option"
1268 if test -n "$ac_unrecognized_opts"; then
1269 case $enable_option_checking in
1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 # Check all directory arguments for consistency.
1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir
1282 eval ac_val=\$$ac_var
1283 # Remove trailing slashes.
1286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\$ac_val;;
1289 # Be sure to have absolute directory names.
1291 [\\/$]* | ?:[\\/]* ) continue;;
1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x; then
1306 if test "x$build_alias" = x; then
1307 cross_compiling=maybe
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1316 test "$silent" = yes && exec 6>/dev/null
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $? "pwd does not report name of working directory"
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 for ac_var in $ac_precious_vars; do
1380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_${ac_var}_value=\$${ac_var}
1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures libgsignon-glib 2.1.0 to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/libgsignon-glib]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1456 --build=BUILD configure for building on BUILD [guessed]
1457 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive ) echo "Configuration of libgsignon-glib 2.1.0:";;
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-silent-rules less verbose build output (undo: "make V=1")
1472 --disable-silent-rules verbose build output (undo: "make V=0")
1473 --enable-dependency-tracking
1474 do not reject slow dependency extractors
1475 --disable-dependency-tracking
1476 speeds up one-time build
1477 --enable-static[=PKGS] build static libraries [default=no]
1478 --enable-shared[=PKGS] build shared libraries [default=yes]
1479 --enable-fast-install[=PKGS]
1480 optimize for fast installation [default=yes]
1481 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --enable-introspection=[no/auto/yes]
1483 Enable introspection for this build
1484 --enable-dbus-type=dbus-type specify daemon dbus type:
1485 p2p(default): uses peer to peer dbus
1486 session: uses session message bus
1487 system: uses system message bus
1488 --disable-tests build with testing support disabled
1489 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1490 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1491 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1492 --disable-cast-checks compile with GLib cast checks disabled
1493 --disable-asserts compile with GLib assertions disabled
1494 --disable-checks compile with GLib checks disabled
1495 --enable-debug enable printing of debug messages
1496 --enable-coverage compile with coverage info
1497 --enable-python Build with python support
1500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1502 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1504 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1505 --with-sysroot=DIR Search for dependent libraries within DIR
1506 (or the compiler's sysroot if not specified).
1507 --with-html-dir=PATH path to installed docs
1509 Some influential environment variables:
1510 CC C compiler command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1513 nonstandard directory <lib dir>
1514 LIBS libraries to pass to the linker, e.g. -l<library>
1515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516 you have headers in a nonstandard directory <include dir>
1518 PKG_CONFIG path to pkg-config utility
1520 directories to add to pkg-config's search path
1522 path overriding pkg-config's built-in search path
1523 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1524 DEPS_LIBS linker flags for DEPS, overriding pkg-config
1526 C compiler flags for GTestDBus, overriding pkg-config
1528 linker flags for GTestDBus, overriding pkg-config
1530 C compiler flags for CHECK, overriding pkg-config
1531 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1533 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1535 linker flags for GTKDOC_DEPS, overriding pkg-config
1536 PYTHON the Python interpreter
1538 Use these variables to override the choices made by `configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1541 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
1542 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>.
1547 if test "$ac_init_help" = "recursive"; then
1548 # If there are subdirs, report their specific --help.
1549 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550 test -d "$ac_dir" ||
1551 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1559 # A ".." for each directory in $ac_dir_suffix.
1560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1561 case $ac_top_builddir_sub in
1562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566 ac_abs_top_builddir=$ac_pwd
1567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568 # for backward compatibility:
1569 ac_top_builddir=$ac_top_build_prefix
1572 .) # We are building in place.
1574 ac_top_srcdir=$ac_top_builddir_sub
1575 ac_abs_top_srcdir=$ac_pwd ;;
1576 [\\/]* | ?:[\\/]* ) # Absolute name.
1577 ac_srcdir=$srcdir$ac_dir_suffix;
1578 ac_top_srcdir=$srcdir
1579 ac_abs_top_srcdir=$srcdir ;;
1581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582 ac_top_srcdir=$ac_top_build_prefix$srcdir
1583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1587 cd "$ac_dir" || { ac_status=$?; continue; }
1588 # Check for guested configure.
1589 if test -f "$ac_srcdir/configure.gnu"; then
1591 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592 elif test -f "$ac_srcdir/configure"; then
1594 $SHELL "$ac_srcdir/configure" --help=recursive
1596 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1598 cd "$ac_pwd" || { ac_status=$?; break; }
1602 test -n "$ac_init_help" && exit $ac_status
1603 if $ac_init_version; then
1605 libgsignon-glib configure 2.1.0
1606 generated by GNU Autoconf 2.69
1608 Copyright (C) 2012 Free Software Foundation, Inc.
1609 This configure script is free software; the Free Software Foundation
1610 gives unlimited permission to copy, distribute and modify it.
1615 ## ------------------------ ##
1616 ## Autoconf initialization. ##
1617 ## ------------------------ ##
1619 # ac_fn_c_try_compile LINENO
1620 # --------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_c_try_compile ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext
1626 if { { ac_try="$ac_compile"
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_compile") 2>conftest.err
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest.$ac_objext; then :
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status $ac_retval
1655 } # ac_fn_c_try_compile
1657 # ac_fn_c_try_link LINENO
1658 # -----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded.
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 rm -f conftest.$ac_objext conftest$ac_exeext
1664 if { { ac_try="$ac_link"
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_link") 2>conftest.err
1673 if test -s conftest.err; then
1674 grep -v '^ *+' conftest.err >conftest.er1
1675 cat conftest.er1 >&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest$ac_exeext && {
1683 test "$cross_compiling" = yes ||
1684 test -x conftest$ac_exeext
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1693 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1694 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1695 # interfere with the next link command; also delete a directory that is
1696 # left behind by Apple's compiler. We do this before executing the actions.
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1701 } # ac_fn_c_try_link
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile ()
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1720 if ac_fn_c_try_compile "$LINENO"; then :
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 } # ac_fn_c_check_header_compile
1734 # ac_fn_c_try_cpp LINENO
1735 # ----------------------
1736 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 if { { ac_try="$ac_cpp conftest.$ac_ext"
1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749 if test -s conftest.err; then
1750 grep -v '^ *+' conftest.err >conftest.er1
1751 cat conftest.er1 >&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } > conftest.i && {
1756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1757 test ! -s conftest.err
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 as_fn_set_status $ac_retval
1771 # ac_fn_c_try_run LINENO
1772 # ----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1774 # that executables *can* be run.
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if { { ac_try="$ac_link"
1780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>&5
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1789 { { case "(($ac_try" in
1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_try") 2>&5
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; }; }; then :
1801 $as_echo "$as_me: program exited with status $ac_status" >&5
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1805 ac_retval=$ac_status
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status $ac_retval
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_check_func
1879 cat >config.log <<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1883 It was created by libgsignon-glib $as_me 2.1.0, which was
1884 generated by GNU Autoconf 2.69. Invocation command line was
1896 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1897 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1898 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1899 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1900 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1902 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1903 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1905 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1906 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1907 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1908 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1909 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1910 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1911 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 $as_echo "PATH: $as_dir"
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1944 ac_must_keep_next=false
1950 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1952 | -silent | --silent | --silen | --sile | --sil)
1955 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1958 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1960 as_fn_append ac_configure_args1 " '$ac_arg'"
1961 if test $ac_must_keep_next = true; then
1962 ac_must_keep_next=false # Got value, back to normal.
1965 *=* | --config-cache | -C | -disable-* | --disable-* \
1966 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1967 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1968 | -with-* | --with-* | -without-* | --without-* | --x)
1969 case "$ac_configure_args0 " in
1970 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973 -* ) ac_must_keep_next=true ;;
1976 as_fn_append ac_configure_args " '$ac_arg'"
1981 { ac_configure_args0=; unset ac_configure_args0;}
1982 { ac_configure_args1=; unset ac_configure_args1;}
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log. We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990 # Save into config.log some information that might help in debugging.
1994 $as_echo "## ---------------- ##
1995 ## Cache variables. ##
1996 ## ---------------- ##"
1998 # The following way of writing the cache mishandles newlines in values,
2000 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2001 eval ac_val=\$$ac_var
2005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2009 _ | IFS | as_nl) ;; #(
2010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2011 *) { eval $ac_var=; unset $ac_var;} ;;
2016 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2017 *${as_nl}ac_space=\ *)
2019 "s/'\''/'\''\\\\'\'''\''/g;
2020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2030 $as_echo "## ----------------- ##
2031 ## Output variables. ##
2032 ## ----------------- ##"
2034 for ac_var in $ac_subst_vars
2036 eval ac_val=\$$ac_var
2038 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 $as_echo "$ac_var='\''$ac_val'\''"
2044 if test -n "$ac_subst_files"; then
2045 $as_echo "## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##"
2049 for ac_var in $ac_subst_files
2051 eval ac_val=\$$ac_var
2053 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -s confdefs.h; then
2061 $as_echo "## ----------- ##
2068 test "$ac_signal" != 0 &&
2069 $as_echo "$as_me: caught signal $ac_signal"
2070 $as_echo "$as_me: exit $exit_status"
2072 rm -f core *.core core.conftest.* &&
2073 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2076 for ac_signal in 1 2 13 15; do
2077 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2082 rm -f -r conftest* confdefs.h
2084 $as_echo "/* confdefs.h */" > confdefs.h
2086 # Predefined preprocessor variables.
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_STRING "$PACKAGE_STRING"
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_URL "$PACKAGE_URL"
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer an explicitly selected file to automatically selected ones.
2117 if test -n "$CONFIG_SITE"; then
2118 # We do not want a PATH search for config.site.
2119 case $CONFIG_SITE in #((
2120 -*) ac_site_file1=./$CONFIG_SITE;;
2121 */*) ac_site_file1=$CONFIG_SITE;;
2122 *) ac_site_file1=./$CONFIG_SITE;;
2124 elif test "x$prefix" != xNONE; then
2125 ac_site_file1=$prefix/share/config.site
2126 ac_site_file2=$prefix/etc/config.site
2128 ac_site_file1=$ac_default_prefix/share/config.site
2129 ac_site_file2=$ac_default_prefix/etc/config.site
2131 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2133 test "x$ac_site_file" = xNONE && continue
2134 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2136 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2137 sed 's/^/| /' "$ac_site_file" >&5
2139 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 as_fn_error $? "failed to load site script $ac_site_file
2142 See \`config.log' for more details" "$LINENO" 5; }
2146 if test -r "$cache_file"; then
2147 # Some versions of bash will fail to source /dev/null (special files
2148 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2149 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2151 $as_echo "$as_me: loading cache $cache_file" >&6;}
2153 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2154 *) . "./$cache_file";;
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2159 $as_echo "$as_me: creating cache $cache_file" >&6;}
2163 # Check that the precious variables saved in the cache have kept the same
2165 ac_cache_corrupted=false
2166 for ac_var in $ac_precious_vars; do
2167 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2168 eval ac_new_set=\$ac_env_${ac_var}_set
2169 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2170 eval ac_new_val=\$ac_env_${ac_var}_value
2171 case $ac_old_set,$ac_new_set in
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2175 ac_cache_corrupted=: ;;
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2178 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2179 ac_cache_corrupted=: ;;
2182 if test "x$ac_old_val" != "x$ac_new_val"; then
2183 # differences in whitespace do not lead to failure.
2184 ac_old_val_w=`echo x $ac_old_val`
2185 ac_new_val_w=`echo x $ac_new_val`
2186 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2188 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2189 ac_cache_corrupted=:
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2192 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2193 eval $ac_var=\$ac_old_val
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2196 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2198 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2201 # Pass precious variables to config.status.
2202 if test "$ac_new_set" = set; then
2204 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2205 *) ac_arg=$ac_var=$ac_new_val ;;
2207 case " $ac_configure_args " in
2208 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2209 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2213 if $ac_cache_corrupted; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2217 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2218 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2220 ## -------------------- ##
2221 ## Main body of script. ##
2222 ## -------------------- ##
2225 ac_cpp='$CPP $CPPFLAGS'
2226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 for ac_dir in build-aux "$srcdir"/build-aux; do
2234 if test -f "$ac_dir/install-sh"; then
2236 ac_install_sh="$ac_aux_dir/install-sh -c"
2238 elif test -f "$ac_dir/install.sh"; then
2240 ac_install_sh="$ac_aux_dir/install.sh -c"
2242 elif test -f "$ac_dir/shtool"; then
2244 ac_install_sh="$ac_aux_dir/shtool install -c"
2248 if test -z "$ac_aux_dir"; then
2249 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2252 # These three variables are undocumented and unsupported,
2253 # and are intended to be withdrawn in a future Autoconf release.
2254 # They can cause serious problems if a builder's source tree is in a directory
2255 # whose full name contains unusual characters.
2256 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2257 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2258 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2261 ac_config_headers="$ac_config_headers config.h"
2266 am__api_version='1.14'
2268 # Find a good install program. We prefer a C program (faster),
2269 # so one script is as good as another. But avoid the broken or
2270 # incompatible versions:
2271 # SysV /etc/install, /usr/sbin/install
2272 # SunOS /usr/etc/install
2273 # IRIX /sbin/install
2275 # AmigaOS /C/install, which installs bootblocks on floppy discs
2276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2279 # OS/2's system install, which has a completely different semantic
2280 # ./install, which can be erroneously created by make from ./install.sh.
2281 # Reject install programs that cannot install multiple files.
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2283 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2284 if test -z "$INSTALL"; then
2285 if ${ac_cv_path_install+:} false; then :
2286 $as_echo_n "(cached) " >&6
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 # Account for people who put trailing slashes in PATH elements.
2294 case $as_dir/ in #((
2295 ./ | .// | /[cC]/* | \
2296 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2297 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2300 # OSF1 and SCO ODT 3.0 have their own names for install.
2301 # Don't use installbsd from OSF since it installs stuff as root
2303 for ac_prog in ginstall scoinst install; do
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2306 if test $ac_prog = install &&
2307 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308 # AIX install. It has an incompatible calling convention.
2310 elif test $ac_prog = install &&
2311 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2312 # program-specific install script used by HP pwplus--don't use.
2315 rm -rf conftest.one conftest.two conftest.dir
2316 echo one > conftest.one
2317 echo two > conftest.two
2319 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2320 test -s conftest.one && test -s conftest.two &&
2321 test -s conftest.dir/conftest.one &&
2322 test -s conftest.dir/conftest.two
2324 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2337 rm -rf conftest.one conftest.two conftest.dir
2340 if test "${ac_cv_path_install+set}" = set; then
2341 INSTALL=$ac_cv_path_install
2343 # As a last resort, use the slow shell script. Don't cache a
2344 # value for INSTALL within a source directory, because that will
2345 # break other packages using the cache if that directory is
2346 # removed, or if the value is a relative name.
2347 INSTALL=$ac_install_sh
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2351 $as_echo "$INSTALL" >&6; }
2353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354 # It thinks the first close brace ends the variable substitution.
2355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2362 $as_echo_n "checking whether build environment is sane... " >&6; }
2363 # Reject unsafe characters in $srcdir or the absolute working directory
2364 # name. Accept space and tab only in the latter.
2368 *[\\\"\#\$\&\'\`$am_lf]*)
2369 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2372 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2373 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2376 # Do 'set' in a subshell so we don't clobber the current shell's
2377 # arguments. Must try -L first in case configure is actually a
2378 # symlink; some systems play weird games with the mod time of symlinks
2379 # (eg FreeBSD returns the mod time of the symlink's containing
2383 for am_try in 1 2; do
2384 echo "timestamp, slept: $am_has_slept" > conftest.file
2385 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2386 if test "$*" = "X"; then
2388 set X `ls -t "$srcdir/configure" conftest.file`
2390 if test "$*" != "X $srcdir/configure conftest.file" \
2391 && test "$*" != "X conftest.file $srcdir/configure"; then
2393 # If neither matched, then we have a broken ls. This can happen
2394 # if, for instance, CONFIG_SHELL is bash and it inherits a
2395 # broken ls alias from the environment. This has actually
2396 # happened. Such a system could not be considered "sane".
2397 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2398 alias in your environment" "$LINENO" 5
2400 if test "$2" = conftest.file || test $am_try -eq 2; then
2407 test "$2" = conftest.file
2413 as_fn_error $? "newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 # If we didn't sleep, we still need to ensure time stamps of config.status and
2419 # generated files are strictly newer.
2421 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2428 test "$program_prefix" != NONE &&
2429 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2430 # Use a double $ so make ignores it.
2431 test "$program_suffix" != NONE &&
2432 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2433 # Double any \ or $.
2434 # By default was `s,x,x', remove it if useless.
2435 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2436 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2438 # expand $ac_aux_dir to an absolute path
2439 am_aux_dir=`cd $ac_aux_dir && pwd`
2441 if test x"${MISSING+set}" != xset; then
2444 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2446 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2449 # Use eval to expand $SHELL
2450 if eval "$MISSING --is-lightweight"; then
2451 am_missing_run="$MISSING "
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2455 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2458 if test x"${install_sh}" != xset; then
2461 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2463 install_sh="\${SHELL} $am_aux_dir/install-sh"
2467 # Installed binaries are usually stripped using 'strip' when the user
2468 # run "make install-strip". However 'strip' might not be the right
2469 # tool to use in cross-compilation environments, therefore Automake
2470 # will honor the 'STRIP' environment variable to overrule this program.
2471 if test "$cross_compiling" != no; then
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2474 set dummy ${ac_tool_prefix}strip; ac_word=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if ${ac_cv_prog_STRIP+:} false; then :
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$STRIP"; then
2481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 STRIP=$ac_cv_prog_STRIP
2501 if test -n "$STRIP"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2503 $as_echo "$STRIP" >&6; }
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2511 if test -z "$ac_cv_prog_STRIP"; then
2513 # Extract the first word of "strip", so it can be a program name with args.
2514 set dummy strip; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$ac_ct_STRIP"; then
2521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_STRIP="strip"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2541 if test -n "$ac_ct_STRIP"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2543 $as_echo "$ac_ct_STRIP" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2549 if test "x$ac_ct_STRIP" = x; then
2552 case $cross_compiling:$ac_tool_warned in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2556 ac_tool_warned=yes ;;
2561 STRIP="$ac_cv_prog_STRIP"
2565 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2568 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2569 if test -z "$MKDIR_P"; then
2570 if ${ac_cv_path_mkdir+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2577 test -z "$as_dir" && as_dir=.
2578 for ac_prog in mkdir gmkdir; do
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2581 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2582 'mkdir (GNU coreutils) '* | \
2583 'mkdir (coreutils) '* | \
2584 'mkdir (fileutils) '4.1*)
2585 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2595 test -d ./--version && rmdir ./--version
2596 if test "${ac_cv_path_mkdir+set}" = set; then
2597 MKDIR_P="$ac_cv_path_mkdir -p"
2599 # As a last resort, use the slow shell script. Don't cache a
2600 # value for MKDIR_P within a source directory, because that will
2601 # break other packages using the cache if that directory is
2602 # removed, or if the value is a relative name.
2603 MKDIR_P="$ac_install_sh -d"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2607 $as_echo "$MKDIR_P" >&6; }
2609 for ac_prog in gawk mawk nawk awk
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy $ac_prog; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_AWK+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$AWK"; then
2619 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_AWK="$ac_prog"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 if test -n "$AWK"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2641 $as_echo "$AWK" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2648 test -n "$AWK" && break
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2652 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2654 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2655 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 cat >conftest.make <<\_ACEOF
2661 @echo '@@@%%%=$(MAKE)=@@@%%%'
2663 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2664 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2666 eval ac_cv_prog_make_${ac_make}_set=yes;;
2668 eval ac_cv_prog_make_${ac_make}_set=no;;
2672 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2679 SET_MAKE="MAKE=${MAKE-make}"
2682 rm -rf .tst 2>/dev/null
2683 mkdir .tst 2>/dev/null
2684 if test -d .tst; then
2689 rmdir .tst 2>/dev/null
2691 # Check whether --enable-silent-rules was given.
2692 if test "${enable_silent_rules+set}" = set; then :
2693 enableval=$enable_silent_rules;
2696 case $enable_silent_rules in # (((
2697 yes) AM_DEFAULT_VERBOSITY=0;;
2698 no) AM_DEFAULT_VERBOSITY=1;;
2699 *) AM_DEFAULT_VERBOSITY=1;;
2701 am_make=${MAKE-make}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2703 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2704 if ${am_cv_make_support_nested_variables+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 if $as_echo 'TRUE=$(BAR$(V))
2713 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2714 am_cv_make_support_nested_variables=yes
2716 am_cv_make_support_nested_variables=no
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2720 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2721 if test $am_cv_make_support_nested_variables = yes; then
2723 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2725 AM_V=$AM_DEFAULT_VERBOSITY
2726 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2730 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2731 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2732 # is not polluted with repeated "-I."
2733 am__isrc=' -I$(srcdir)'
2734 # test to see if srcdir already configured
2735 if test -f $srcdir/config.status; then
2736 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2740 # test whether we have cygpath
2741 if test -z "$CYGPATH_W"; then
2742 if (cygpath --version) >/dev/null 2>/dev/null; then
2743 CYGPATH_W='cygpath -w'
2750 # Define the identity of the package.
2751 PACKAGE='libgsignon-glib'
2755 cat >>confdefs.h <<_ACEOF
2756 #define PACKAGE "$PACKAGE"
2760 cat >>confdefs.h <<_ACEOF
2761 #define VERSION "$VERSION"
2764 # Some tools Automake needs.
2766 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2769 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2772 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2775 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2778 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2780 # For better backward compatibility. To be removed once Automake 1.9.x
2781 # dies out for good. For more background, see:
2782 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2783 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2784 mkdir_p='$(MKDIR_P)'
2786 # We need awk for the "check" target. The system "awk" is bad on
2788 # Always define AMTAR for backward compatibility. Yes, it's still used
2789 # in the wild :-( We should find a proper way to deprecate it ...
2793 # We'll loop over all known methods to create a tar archive until one works.
2794 _am_tools='gnutar pax cpio none'
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2799 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2801 # Go ahead even if we have the value already cached. We do so because we
2802 # need to set the values for the 'am__tar' and 'am__untar' variables.
2803 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2805 for _am_tool in $_am_tools; do
2808 for _am_tar in tar gnutar gtar; do
2809 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2810 ($_am_tar --version) >&5 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } && break
2815 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2816 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2817 am__untar="$_am_tar -xf -"
2820 # Must skip GNU tar: if it does not support --format= it doesn't create
2821 # ustar tarball either.
2822 (tar --version) >/dev/null 2>&1 && continue
2823 am__tar='tar chf - "$$tardir"'
2824 am__tar_='tar chf - "$tardir"'
2825 am__untar='tar xf -'
2828 am__tar='pax -L -x pax -w "$$tardir"'
2829 am__tar_='pax -L -x pax -w "$tardir"'
2833 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2834 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2835 am__untar='cpio -i -H pax -d'
2844 # If the value was cached, stop now. We just wanted to have am__tar
2845 # and am__untar set.
2846 test -n "${am_cv_prog_tar_pax}" && break
2848 # tar/untar a dummy directory, and stop if the command works.
2851 echo GrepMe > conftest.dir/file
2852 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2853 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2858 if test -s conftest.tar; then
2859 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2860 ($am__untar <conftest.tar) >&5 2>&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }
2864 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2865 (cat conftest.dir/file) >&5 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }
2869 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2874 if ${am_cv_prog_tar_pax+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 am_cv_prog_tar_pax=$_am_tool
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2881 $as_echo "$am_cv_prog_tar_pax" >&6; }
2888 # POSIX will say in a future version that running "rm -f" with no argument
2889 # is OK; and we want to be able to make that assumption in our Makefile
2890 # recipes. So use an aggressive probe to check that the usage we want is
2891 # actually supported "in the wild" to an acceptable degree.
2892 # See automake bug#10828.
2893 # To make any issue more visible, cause the running configure to be aborted
2894 # by default if the 'rm' program in use doesn't match our expectations; the
2895 # user can still override this though.
2896 if rm -f && rm -fr && rm -rf; then : OK; else
2900 Your 'rm' program seems unable to run without file operands specified
2901 on the command line, even when the '-f' option is present. This is contrary
2902 to the behaviour of most rm programs out there, and not conforming with
2903 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2905 Please tell bug-automake@gnu.org about your system, including the value
2906 of your $PATH and any error possibly output before this message. This
2907 can help us improve future automake versions.
2910 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2911 echo 'Configuration will proceed anyway, since you have set the' >&2
2912 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2916 Aborting the configuration process, to ensure you take notice of the issue.
2918 You can download and install GNU coreutils to get an 'rm' implementation
2919 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2921 If you want to complete the configuration process using your problematic
2922 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2923 to "yes", and re-run configure.
2926 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CC+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC="$CC" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$ac_cv_prog_CC"; then
2977 # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$ac_ct_CC"; then
2985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_ac_ct_CC="gcc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3007 $as_echo "$ac_ct_CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3013 if test "x$ac_ct_CC" = x; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3028 if test -z "$CC"; then
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}cc; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_CC+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$CC"; then
3038 ac_cv_prog_CC="$CC" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_CC="${ac_tool_prefix}cc"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 $as_echo "$CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3069 if test -z "$CC"; then
3070 # Extract the first word of "cc", so it can be a program name with args.
3071 set dummy cc; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_CC+:} false; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3089 ac_prog_rejected=yes
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 if test $ac_prog_rejected = yes; then
3101 # We found a bogon in the path, so make sure we never use it.
3102 set dummy $ac_cv_prog_CC
3104 if test $# != 0; then
3105 # We chose a different compiler from the bogus one.
3106 # However, it has the same basename, so the bogon will be chosen
3107 # first if we set CC to just the basename; use the full file name.
3109 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3125 if test -z "$CC"; then
3126 if test -n "$ac_tool_prefix"; then
3127 for ac_prog in cl.exe
3129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC="$CC" # Let the user override the test.
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 if test -n "$CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$CC" && break
3169 if test -z "$CC"; then
3171 for ac_prog in cl.exe
3173 # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_CC="$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3210 test -n "$ac_ct_CC" && break
3213 if test "x$ac_ct_CC" = x; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned=yes ;;
3229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details" "$LINENO" 5; }
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 for ac_option in --version -v -V -qversion; do
3239 { { ac_try="$ac_compiler $ac_option >&5"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3248 if test -s conftest.err; then
3250 ... rest of stderr output deleted ...
3251 10q' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3254 rm -f conftest.er1 conftest.err
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 ac_clean_files_save=$ac_clean_files
3271 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3272 # Try to create an executable without -o first, disregard a.out.
3273 # It will help us diagnose broken compilers, and finding out an intuition
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3276 $as_echo_n "checking whether the C compiler works... " >&6; }
3277 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279 # The possible output files:
3280 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3283 for ac_file in $ac_files
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3292 if { { ac_try="$ac_link_default"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link_default") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; then :
3303 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3304 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3305 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3306 # so that the user can short-circuit this test for compilers unknown to
3308 for ac_file in $ac_files ''
3310 test -f "$ac_file" || continue
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3315 # We found the default executable, but exeext='' is most
3319 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3321 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323 # We set ac_cv_exeext here because the later test for it is not
3324 # safe: cross compilers may not add the suffix if given an `-o'
3325 # argument, so we may need to know it at that point already.
3326 # Even if this section looks crufty: it has the advantage of
3333 test "$ac_cv_exeext" = no && ac_cv_exeext=
3338 if test -z "$ac_file"; then :
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error 77 "C compiler cannot create executables
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 $as_echo "yes" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3353 $as_echo_n "checking for C compiler default output file name... " >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 ac_exeext=$ac_cv_exeext
3358 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3359 ac_clean_files=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3361 $as_echo_n "checking for suffix of executables... " >&6; }
3362 if { { ac_try="$ac_link"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_link") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3374 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3375 # work properly (i.e., refer to `conftest.exe'), while it won't with
3377 for ac_file in conftest.exe conftest conftest.*; do
3378 test -f "$ac_file" || continue
3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3381 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3390 See \`config.log' for more details" "$LINENO" 5; }
3392 rm -f conftest conftest$ac_cv_exeext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3394 $as_echo "$ac_cv_exeext" >&6; }
3396 rm -f conftest.$ac_ext
3397 EXEEXT=$ac_cv_exeext
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3405 FILE *f = fopen ("conftest.out", "w");
3406 return ferror (f) || fclose (f) != 0;
3412 ac_clean_files="$ac_clean_files conftest.out"
3413 # Check that the compiler produces executables we can run. If not, either
3414 # the compiler is broken, or we cross compile.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3416 $as_echo_n "checking whether we are cross compiling... " >&6; }
3417 if test "$cross_compiling" != yes; then
3418 { { ac_try="$ac_link"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }
3429 if { ac_try='./conftest$ac_cv_exeext'
3430 { { case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_try") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }; }; then
3442 if test "$cross_compiling" = maybe; then
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot run C compiled programs.
3448 If you meant to cross compile, use \`--host'.
3449 See \`config.log' for more details" "$LINENO" 5; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3454 $as_echo "$cross_compiling" >&6; }
3456 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3457 ac_clean_files=$ac_clean_files_save
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if ${ac_cv_objext+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try="$ac_compile"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compile") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 for ac_file in conftest.o conftest.obj conftest.*; do
3487 test -f "$ac_file" || continue;
3489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3490 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $? "cannot compute suffix of object files: cannot compile
3501 See \`config.log' for more details" "$LINENO" 5; }
3503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT=$ac_cv_objext
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if ${ac_cv_c_compiler_gnu+:} false; then :
3512 $as_echo_n "(cached) " >&6
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if ${ac_cv_prog_cc_g+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 ac_save_c_werror_flag=$ac_c_werror_flag
3552 ac_c_werror_flag=yes
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_c_try_compile "$LINENO"; then :
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 ac_c_werror_flag=$ac_save_c_werror_flag
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610 CFLAGS=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612 if test "$GCC" = yes; then
3618 if test "$GCC" = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if ${ac_cv_prog_cc_c89+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_cv_prog_cc_c89=no
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3650 s = g (p, va_arg (v,int));
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3656 function prototypes and stuff, but not '\xHH' hex character constants.
3657 These don't provoke an error unfortunately, instead are silently treated
3658 as 'x'. The following induces an error, until -std is added to get
3659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3660 array size at least. It's necessary to write '\x00'==0 to get something
3661 that's true only with -std. */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665 inside strings and character constants. */
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686 CC="$ac_save_CC $ac_arg"
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 ac_cv_prog_cc_c89=$ac_arg
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3693 rm -f conftest.$ac_ext
3698 case "x$ac_cv_prog_cc_c89" in
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3726 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3727 if ${am_cv_prog_cc_c_o+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 # Make sure it works both with $CC and with simple cc.
3742 # Following AC_PROG_CC_C_O, we do the test twice because some
3743 # compilers refuse to overwrite an existing .o file with -o,
3744 # though they will create one.
3745 am_cv_prog_cc_c_o=yes
3747 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3748 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } \
3752 && test -f conftest2.$ac_objext; then
3755 am_cv_prog_cc_c_o=no
3759 rm -f core conftest*
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3763 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3764 if test "$am_cv_prog_cc_c_o" != yes; then
3765 # Losing compiler, so override with the script.
3766 # FIXME: It is wrong to rewrite CC.
3767 # But if we don't then we get into trouble of one sort or another.
3768 # A longer-term fix would be to have automake use am__CC in this case,
3769 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3770 CC="$am_aux_dir/compile $CC"
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3778 DEPDIR="${am__leading_dot}deps"
3780 ac_config_commands="$ac_config_commands depfiles"
3783 am_make=${MAKE-make}
3784 cat > confinc << 'END'
3786 @echo this is the am__doit target
3789 # If we don't find an include directive, just comment out the code.
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3791 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3795 # First try GNU make style include.
3796 echo "include confinc" > confmf
3797 # Ignore all kinds of additional output from 'make'.
3798 case `$am_make -s -f confmf 2> /dev/null` in #(
3799 *the\ am__doit\ target*)
3805 # Now try BSD make style include.
3806 if test "$am__include" = "#"; then
3807 echo '.include "confinc"' > confmf
3808 case `$am_make -s -f confmf 2> /dev/null` in #(
3809 *the\ am__doit\ target*)
3810 am__include=.include
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3819 $as_echo "$_am_result" >&6; }
3820 rm -f confinc confmf
3822 # Check whether --enable-dependency-tracking was given.
3823 if test "${enable_dependency_tracking+set}" = set; then :
3824 enableval=$enable_dependency_tracking;
3827 if test "x$enable_dependency_tracking" != xno; then
3828 am_depcomp="$ac_aux_dir/depcomp"
3832 if test "x$enable_dependency_tracking" != xno; then
3842 depcc="$CC" am_compiler_list=
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3845 $as_echo_n "checking dependency style of $depcc... " >&6; }
3846 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3850 # We make a subdir and do the tests there. Otherwise we can end up
3851 # making bogus files that we don't know about and never remove. For
3852 # instance it was reported that on HP-UX the gcc test will end up
3853 # making a dummy file named 'D' -- because '-MD' means "put the output
3857 # Copy depcomp to subdir because otherwise we won't find it if we're
3858 # using a relative directory.
3859 cp "$am_depcomp" conftest.dir
3861 # We will build objects and dependencies in a subdirectory because
3862 # it helps to detect inapplicable dependency modes. For instance
3863 # both Tru64's cc and ICC support -MD to output dependencies as a
3864 # side effect of compilation, but ICC will put the dependencies in
3865 # the current directory while Tru64 will put them in the object
3869 am_cv_CC_dependencies_compiler_type=none
3870 if test "$am_compiler_list" = ""; then
3871 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3874 case " $depcc " in #(
3875 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3878 for depmode in $am_compiler_list; do
3879 # Setup a source with many dependencies, because some compilers
3880 # like to wrap large dependency lists on column 80 (with \), and
3881 # we should not choose a depcomp mode which is confused by this.
3883 # We need to recreate these files for each test, as the compiler may
3884 # overwrite some of them when testing with obscure command lines.
3885 # This happens at least with the AIX C compiler.
3887 for i in 1 2 3 4 5 6; do
3888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3889 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3890 # Solaris 10 /bin/sh.
3891 echo '/* dummy */' > sub/conftst$i.h
3893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3895 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3896 # mode. It turns out that the SunPro C++ compiler does not properly
3897 # handle '-M -o', and we need to detect this. Also, some Intel
3898 # versions had trouble with output in subdirs.
3899 am__obj=sub/conftest.${OBJEXT-o}
3900 am__minus_obj="-o $am__obj"
3903 # This depmode causes a compiler race in universal mode.
3904 test "$am__universal" = false || continue
3907 # After this tag, mechanisms are not by side-effect, so they'll
3908 # only be used when explicitly requested.
3909 if test "x$enable_dependency_tracking" = xyes; then
3915 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3916 # This compiler won't grok '-c -o', but also, the minuso test has
3917 # not run yet. These depmodes are late enough in the game, and
3918 # so weak that their functioning should not be impacted.
3919 am__obj=conftest.${OBJEXT-o}
3924 if depmode=$depmode \
3925 source=sub/conftest.c object=$am__obj \
3926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3928 >/dev/null 2>conftest.err &&
3929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3933 # icc doesn't choke on unknown options, it will just issue warnings
3934 # or remarks (even with -Werror). So we grep stderr for any message
3935 # that says an option was ignored or not supported.
3936 # When given -MP, icc 7.0 and 7.1 complain thusly:
3937 # icc: Command line warning: ignoring option '-M'; no argument required
3938 # The diagnosis changed in icc 8.0:
3939 # icc: Command line remark: option '-MP' not supported
3940 if (grep 'ignoring option' conftest.err ||
3941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3942 am_cv_CC_dependencies_compiler_type=$depmode
3951 am_cv_CC_dependencies_compiler_type=none
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3960 test "x$enable_dependency_tracking" != xno \
3961 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3963 am__fastdepCC_FALSE='#'
3965 am__fastdepCC_TRUE='#'
3966 am__fastdepCC_FALSE=
3970 case $ac_cv_prog_cc_stdc in #(
3972 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3975 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3976 if ${ac_cv_prog_cc_c99+:} false; then :
3977 $as_echo_n "(cached) " >&6
3979 ac_cv_prog_cc_c99=no
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3984 #include <stdbool.h>
3989 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3990 #define debug(...) fprintf (stderr, __VA_ARGS__)
3991 #define showlist(...) puts (#__VA_ARGS__)
3992 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3994 test_varargs_macros (void)
3999 debug ("X = %d\n", x);
4000 showlist (The first, second, and third items.);
4001 report (x>y, "x is %d but y is %d", x, y);
4004 // Check long long types.
4005 #define BIG64 18446744073709551615ull
4006 #define BIG32 4294967295ul
4007 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4009 your preprocessor is broken;
4013 your preprocessor is broken;
4015 static long long int bignum = -9223372036854775807LL;
4016 static unsigned long long int ubignum = BIG64;
4018 struct incomplete_array
4026 const wchar_t *name;
4030 typedef const char *ccp;
4033 test_restrict (ccp restrict text)
4035 // See if C++-style comments work.
4036 // Iterate through items via the restricted pointer.
4037 // Also check for declarations in for loops.
4038 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4043 // Check varargs and va_copy.
4045 test_varargs (const char *format, ...)
4048 va_start (args, format);
4050 va_copy (args_copy, args);
4061 str = va_arg (args_copy, const char *);
4064 number = va_arg (args_copy, int);
4067 fnumber = va_arg (args_copy, double);
4082 _Bool success = false;
4085 if (test_restrict ("String literal") == 0)
4087 char *restrict newvar = "Another string";
4090 test_varargs ("s, d' f .", "string", 65, 34.234);
4091 test_varargs_macros ();
4093 // Check flexible array members.
4094 struct incomplete_array *ia =
4095 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4097 for (int i = 0; i < ia->datasize; ++i)
4098 ia->data[i] = i * 1.234;
4100 // Check named initializers.
4101 struct named_init ni = {
4103 .name = L"Test wide string",
4104 .average = 543.34343,
4109 int dynamic_array[ni.number];
4110 dynamic_array[ni.number - 1] = 543;
4112 // work around unused variable warnings
4113 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4114 || dynamic_array[ni.number - 1] != 543);
4120 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4122 CC="$ac_save_CC $ac_arg"
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 ac_cv_prog_cc_c99=$ac_arg
4126 rm -f core conftest.err conftest.$ac_objext
4127 test "x$ac_cv_prog_cc_c99" != "xno" && break
4129 rm -f conftest.$ac_ext
4134 case "x$ac_cv_prog_cc_c99" in
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4137 $as_echo "none needed" >&6; } ;;
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4140 $as_echo "unsupported" >&6; } ;;
4142 CC="$CC $ac_cv_prog_cc_c99"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4144 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4146 if test "x$ac_cv_prog_cc_c99" != xno; then :
4147 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4150 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4151 if ${ac_cv_prog_cc_c89+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_cv_prog_cc_c89=no
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4162 struct buf { int x; };
4163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4164 static char *e (p, i)
4170 static char *f (char * (*g) (char **, int), char **p, ...)
4175 s = g (p, va_arg (v,int));
4180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4181 function prototypes and stuff, but not '\xHH' hex character constants.
4182 These don't provoke an error unfortunately, instead are silently treated
4183 as 'x'. The following induces an error, until -std is added to get
4184 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4185 array size at least. It's necessary to write '\x00'==0 to get something
4186 that's true only with -std. */
4187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4190 inside strings and character constants. */
4192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4194 int test (int i, double x);
4195 struct s1 {int (*f) (int a);};
4196 struct s2 {int (*f) (double a);};
4197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4209 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4211 CC="$ac_save_CC $ac_arg"
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213 ac_cv_prog_cc_c89=$ac_arg
4215 rm -f core conftest.err conftest.$ac_objext
4216 test "x$ac_cv_prog_cc_c89" != "xno" && break
4218 rm -f conftest.$ac_ext
4223 case "x$ac_cv_prog_cc_c89" in
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4226 $as_echo "none needed" >&6; } ;;
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4229 $as_echo "unsupported" >&6; } ;;
4231 CC="$CC $ac_cv_prog_cc_c89"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4233 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4235 if test "x$ac_cv_prog_cc_c89" != xno; then :
4236 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4238 ac_cv_prog_cc_stdc=no
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4245 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4246 if ${ac_cv_prog_cc_stdc+:} false; then :
4247 $as_echo_n "(cached) " >&6
4250 case $ac_cv_prog_cc_stdc in #(
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4253 $as_echo "unsupported" >&6; } ;; #(
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4256 $as_echo "none needed" >&6; } ;; #(
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4259 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4264 if test -n "$ac_tool_prefix"; then
4265 for ac_prog in ar lib "link -lib"
4267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_prog_AR+:} false; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$AR"; then
4275 ac_cv_prog_AR="$AR" # Let the user override the test.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 if test -n "$AR"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4297 $as_echo "$AR" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$AR" && break
4307 if test -z "$AR"; then
4309 for ac_prog in ar lib "link -lib"
4311 # Extract the first word of "$ac_prog", so it can be a program name with args.
4312 set dummy $ac_prog; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$ac_ct_AR"; then
4319 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_ac_ct_AR="$ac_prog"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4339 if test -n "$ac_ct_AR"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4341 $as_echo "$ac_ct_AR" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4348 test -n "$ac_ct_AR" && break
4351 if test "x$ac_ct_AR" = x; then
4354 case $cross_compiling:$ac_tool_warned in
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4358 ac_tool_warned=yes ;;
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4367 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4368 if ${am_cv_ar_interface+:} false; then :
4369 $as_echo_n "(cached) " >&6
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 am_cv_ar_interface=ar
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 int some_variable = 0;
4382 if ac_fn_c_try_compile "$LINENO"; then :
4383 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4384 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4385 (eval $am_ar_try) 2>&5
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }
4389 if test "$ac_status" -eq 0; then
4390 am_cv_ar_interface=ar
4392 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4394 (eval $am_ar_try) 2>&5
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }
4398 if test "$ac_status" -eq 0; then
4399 am_cv_ar_interface=lib
4401 am_cv_ar_interface=unknown
4404 rm -f conftest.lib libconftest.a
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4416 $as_echo "$am_cv_ar_interface" >&6; }
4418 case $am_cv_ar_interface in
4422 # Microsoft lib, so override with the ar-lib wrapper script.
4423 # FIXME: It is wrong to rewrite AR.
4424 # But if we don't then we get into trouble of one sort or another.
4425 # A longer-term fix would be to have automake use am__AR in this case,
4426 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4428 AR="$am_aux_dir/ar-lib $AR"
4431 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4436 if test "x$ifGNUmake" = "x#" ; then
4437 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4444 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4449 macro_version='2.4.2'
4450 macro_revision='1.3337'
4464 ltmain="$ac_aux_dir/ltmain.sh"
4466 # Make sure we can run config.sub.
4467 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4468 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4471 $as_echo_n "checking build system type... " >&6; }
4472 if ${ac_cv_build+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 ac_build_alias=$build_alias
4476 test "x$ac_build_alias" = x &&
4477 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4478 test "x$ac_build_alias" = x &&
4479 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4480 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4481 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4485 $as_echo "$ac_cv_build" >&6; }
4486 case $ac_cv_build in
4488 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4491 ac_save_IFS=$IFS; IFS='-'
4497 # Remember, the first character of IFS is used to create $*,
4498 # except with old shells:
4501 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4505 $as_echo_n "checking host system type... " >&6; }
4506 if ${ac_cv_host+:} false; then :
4507 $as_echo_n "(cached) " >&6
4509 if test "x$host_alias" = x; then
4510 ac_cv_host=$ac_cv_build
4512 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4513 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4518 $as_echo "$ac_cv_host" >&6; }
4521 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4524 ac_save_IFS=$IFS; IFS='-'
4530 # Remember, the first character of IFS is used to create $*,
4531 # except with old shells:
4534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4537 # Backslashify metacharacters that are still active within
4538 # double-quoted strings.
4539 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4541 # Same as above, but do not quote variable references.
4542 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4544 # Sed substitution to delay expansion of an escaped shell variable in a
4545 # double_quote_subst'ed string.
4546 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4548 # Sed substitution to delay expansion of an escaped single quote.
4549 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4551 # Sed substitution to avoid accidental globbing in evaled expressions
4552 no_glob_subst='s/\*/\\\*/g'
4554 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4555 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4556 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4559 $as_echo_n "checking how to print strings... " >&6; }
4560 # Test print first, because it will be a builtin if present.
4561 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4562 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4564 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4567 # Use this function as a fallback that always works.
4568 func_fallback_echo ()
4570 eval 'cat <<_LTECHO_EOF
4574 ECHO='func_fallback_echo'
4577 # func_echo_all arg...
4578 # Invoke $ECHO with all args, space-separated.
4585 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4586 $as_echo "printf" >&6; } ;;
4587 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4588 $as_echo "print -r" >&6; } ;;
4589 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4590 $as_echo "cat" >&6; } ;;
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4607 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4608 if ${ac_cv_path_SED+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4612 for ac_i in 1 2 3 4 5 6 7; do
4613 ac_script="$ac_script$as_nl$ac_script"
4615 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4616 { ac_script=; unset ac_script;}
4617 if test -z "$SED"; then
4618 ac_path_SED_found=false
4619 # Loop through the user's path and test for each of PROGNAME-LIST
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir=.
4625 for ac_prog in sed gsed; do
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4628 as_fn_executable_p "$ac_path_SED" || continue
4629 # Check for GNU ac_path_SED and select it if it is found.
4630 # Check for GNU $ac_path_SED
4631 case `"$ac_path_SED" --version 2>&1` in
4633 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4636 $as_echo_n 0123456789 >"conftest.in"
4639 cat "conftest.in" "conftest.in" >"conftest.tmp"
4640 mv "conftest.tmp" "conftest.in"
4641 cp "conftest.in" "conftest.nl"
4642 $as_echo '' >> "conftest.nl"
4643 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4645 as_fn_arith $ac_count + 1 && ac_count=$as_val
4646 if test $ac_count -gt ${ac_path_SED_max-0}; then
4647 # Best one so far, save it but keep looking for a better one
4648 ac_cv_path_SED="$ac_path_SED"
4649 ac_path_SED_max=$ac_count
4651 # 10*(2^10) chars as input seems more than enough
4652 test $ac_count -gt 10 && break
4654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4657 $ac_path_SED_found && break 3
4662 if test -z "$ac_cv_path_SED"; then
4663 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4671 $as_echo "$ac_cv_path_SED" >&6; }
4672 SED="$ac_cv_path_SED"
4675 test -z "$SED" && SED=sed
4676 Xsed="$SED -e 1s/^X//"
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4689 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4690 if ${ac_cv_path_GREP+:} false; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -z "$GREP"; then
4694 ac_path_GREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4700 test -z "$as_dir" && as_dir=.
4701 for ac_prog in grep ggrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4704 as_fn_executable_p "$ac_path_GREP" || continue
4705 # Check for GNU ac_path_GREP and select it if it is found.
4706 # Check for GNU $ac_path_GREP
4707 case `"$ac_path_GREP" --version 2>&1` in
4709 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4712 $as_echo_n 0123456789 >"conftest.in"
4715 cat "conftest.in" "conftest.in" >"conftest.tmp"
4716 mv "conftest.tmp" "conftest.in"
4717 cp "conftest.in" "conftest.nl"
4718 $as_echo 'GREP' >> "conftest.nl"
4719 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4722 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4723 # Best one so far, save it but keep looking for a better one
4724 ac_cv_path_GREP="$ac_path_GREP"
4725 ac_path_GREP_max=$ac_count
4727 # 10*(2^10) chars as input seems more than enough
4728 test $ac_count -gt 10 && break
4730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4733 $ac_path_GREP_found && break 3
4738 if test -z "$ac_cv_path_GREP"; then
4739 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742 ac_cv_path_GREP=$GREP
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4747 $as_echo "$ac_cv_path_GREP" >&6; }
4748 GREP="$ac_cv_path_GREP"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4752 $as_echo_n "checking for egrep... " >&6; }
4753 if ${ac_cv_path_EGREP+:} false; then :
4754 $as_echo_n "(cached) " >&6
4756 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4757 then ac_cv_path_EGREP="$GREP -E"
4759 if test -z "$EGREP"; then
4760 ac_path_EGREP_found=false
4761 # Loop through the user's path and test for each of PROGNAME-LIST
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4766 test -z "$as_dir" && as_dir=.
4767 for ac_prog in egrep; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4770 as_fn_executable_p "$ac_path_EGREP" || continue
4771 # Check for GNU ac_path_EGREP and select it if it is found.
4772 # Check for GNU $ac_path_EGREP
4773 case `"$ac_path_EGREP" --version 2>&1` in
4775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4778 $as_echo_n 0123456789 >"conftest.in"
4781 cat "conftest.in" "conftest.in" >"conftest.tmp"
4782 mv "conftest.tmp" "conftest.in"
4783 cp "conftest.in" "conftest.nl"
4784 $as_echo 'EGREP' >> "conftest.nl"
4785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787 as_fn_arith $ac_count + 1 && ac_count=$as_val
4788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4789 # Best one so far, save it but keep looking for a better one
4790 ac_cv_path_EGREP="$ac_path_EGREP"
4791 ac_path_EGREP_max=$ac_count
4793 # 10*(2^10) chars as input seems more than enough
4794 test $ac_count -gt 10 && break
4796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4799 $ac_path_EGREP_found && break 3
4804 if test -z "$ac_cv_path_EGREP"; then
4805 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808 ac_cv_path_EGREP=$EGREP
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4814 $as_echo "$ac_cv_path_EGREP" >&6; }
4815 EGREP="$ac_cv_path_EGREP"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4819 $as_echo_n "checking for fgrep... " >&6; }
4820 if ${ac_cv_path_FGREP+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4824 then ac_cv_path_FGREP="$GREP -F"
4826 if test -z "$FGREP"; then
4827 ac_path_FGREP_found=false
4828 # Loop through the user's path and test for each of PROGNAME-LIST
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 test -z "$as_dir" && as_dir=.
4834 for ac_prog in fgrep; do
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4837 as_fn_executable_p "$ac_path_FGREP" || continue
4838 # Check for GNU ac_path_FGREP and select it if it is found.
4839 # Check for GNU $ac_path_FGREP
4840 case `"$ac_path_FGREP" --version 2>&1` in
4842 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4845 $as_echo_n 0123456789 >"conftest.in"
4848 cat "conftest.in" "conftest.in" >"conftest.tmp"
4849 mv "conftest.tmp" "conftest.in"
4850 cp "conftest.in" "conftest.nl"
4851 $as_echo 'FGREP' >> "conftest.nl"
4852 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4854 as_fn_arith $ac_count + 1 && ac_count=$as_val
4855 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4856 # Best one so far, save it but keep looking for a better one
4857 ac_cv_path_FGREP="$ac_path_FGREP"
4858 ac_path_FGREP_max=$ac_count
4860 # 10*(2^10) chars as input seems more than enough
4861 test $ac_count -gt 10 && break
4863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 $ac_path_FGREP_found && break 3
4871 if test -z "$ac_cv_path_FGREP"; then
4872 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 ac_cv_path_FGREP=$FGREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4881 $as_echo "$ac_cv_path_FGREP" >&6; }
4882 FGREP="$ac_cv_path_FGREP"
4885 test -z "$GREP" && GREP=grep
4905 # Check whether --with-gnu-ld was given.
4906 if test "${with_gnu_ld+set}" = set; then :
4907 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4913 if test "$GCC" = yes; then
4914 # Check if gcc -print-prog-name=ld gives a path.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4916 $as_echo_n "checking for ld used by $CC... " >&6; }
4919 # gcc leaves a trailing carriage return which upsets mingw
4920 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4922 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4925 # Accept absolute paths.
4927 re_direlt='/[^/][^/]*/\.\./'
4928 # Canonicalize the pathname of ld
4929 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4930 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4931 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4933 test -z "$LD" && LD="$ac_prog"
4936 # If it fails, then pretend we aren't using GCC.
4940 # If it is relative, then search for the first ld in PATH.
4944 elif test "$with_gnu_ld" = yes; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4946 $as_echo_n "checking for GNU ld... " >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4949 $as_echo_n "checking for non-GNU ld... " >&6; }
4951 if ${lt_cv_path_LD+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -z "$LD"; then
4955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4956 for ac_dir in $PATH; do
4958 test -z "$ac_dir" && ac_dir=.
4959 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4960 lt_cv_path_LD="$ac_dir/$ac_prog"
4961 # Check to see if the program is GNU ld. I'd rather use --version,
4962 # but apparently some variants of GNU ld only accept -v.
4963 # Break only if it was the GNU/non-GNU ld that we prefer.
4964 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4965 *GNU* | *'with BFD'*)
4966 test "$with_gnu_ld" != no && break
4969 test "$with_gnu_ld" != yes && break
4976 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4981 if test -n "$LD"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4983 $as_echo "$LD" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4988 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4990 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4991 if ${lt_cv_prog_gnu_ld+:} false; then :
4992 $as_echo_n "(cached) " >&6
4994 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4995 case `$LD -v 2>&1 </dev/null` in
4996 *GNU* | *'with BFD'*)
4997 lt_cv_prog_gnu_ld=yes
5000 lt_cv_prog_gnu_ld=no
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5005 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5006 with_gnu_ld=$lt_cv_prog_gnu_ld
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5017 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5018 if ${lt_cv_path_NM+:} false; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -n "$NM"; then
5022 # Let the user override the test.
5025 lt_nm_to_check="${ac_tool_prefix}nm"
5026 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5027 lt_nm_to_check="$lt_nm_to_check nm"
5029 for lt_tmp_nm in $lt_nm_to_check; do
5030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5031 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5033 test -z "$ac_dir" && ac_dir=.
5034 tmp_nm="$ac_dir/$lt_tmp_nm"
5035 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5036 # Check to see if the nm accepts a BSD-compat flag.
5037 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5038 # nm: unknown option "B" ignored
5039 # Tru64's nm complains that /dev/null is an invalid object file
5040 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5041 */dev/null* | *'Invalid file or object type'*)
5042 lt_cv_path_NM="$tmp_nm -B"
5046 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5048 lt_cv_path_NM="$tmp_nm -p"
5052 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5053 continue # so that we can try to find one that supports BSD flags
5062 : ${lt_cv_path_NM=no}
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5066 $as_echo "$lt_cv_path_NM" >&6; }
5067 if test "$lt_cv_path_NM" != "no"; then
5070 # Didn't find any BSD compatible name lister, look for dumpbin.
5071 if test -n "$DUMPBIN"; then :
5072 # Let the user override the test.
5074 if test -n "$ac_tool_prefix"; then
5075 for ac_prog in dumpbin "link -dump"
5077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_DUMPBIN+:} false; then :
5082 $as_echo_n "(cached) " >&6
5084 if test -n "$DUMPBIN"; then
5085 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 DUMPBIN=$ac_cv_prog_DUMPBIN
5105 if test -n "$DUMPBIN"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5107 $as_echo "$DUMPBIN" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5114 test -n "$DUMPBIN" && break
5117 if test -z "$DUMPBIN"; then
5118 ac_ct_DUMPBIN=$DUMPBIN
5119 for ac_prog in dumpbin "link -dump"
5121 # Extract the first word of "$ac_prog", so it can be a program name with args.
5122 set dummy $ac_prog; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5126 $as_echo_n "(cached) " >&6
5128 if test -n "$ac_ct_DUMPBIN"; then
5129 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5149 if test -n "$ac_ct_DUMPBIN"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5151 $as_echo "$ac_ct_DUMPBIN" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5158 test -n "$ac_ct_DUMPBIN" && break
5161 if test "x$ac_ct_DUMPBIN" = x; then
5164 case $cross_compiling:$ac_tool_warned in
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5168 ac_tool_warned=yes ;;
5170 DUMPBIN=$ac_ct_DUMPBIN
5174 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5176 DUMPBIN="$DUMPBIN -symbols"
5184 if test "$DUMPBIN" != ":"; then
5188 test -z "$NM" && NM=nm
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5196 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5197 if ${lt_cv_nm_interface+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 lt_cv_nm_interface="BSD nm"
5201 echo "int some_variable = 0;" > conftest.$ac_ext
5202 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5203 (eval "$ac_compile" 2>conftest.err)
5204 cat conftest.err >&5
5205 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5206 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5207 cat conftest.err >&5
5208 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5209 cat conftest.out >&5
5210 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5211 lt_cv_nm_interface="MS dumpbin"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5216 $as_echo "$lt_cv_nm_interface" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5219 $as_echo_n "checking whether ln -s works... " >&6; }
5221 if test "$LN_S" = "ln -s"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5223 $as_echo "yes" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5226 $as_echo "no, using $LN_S" >&6; }
5229 # find the maximum length of command line arguments
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5231 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5232 if ${lt_cv_sys_max_cmd_len+:} false; then :
5233 $as_echo_n "(cached) " >&6
5240 # On DJGPP, this test can blow up pretty badly due to problems in libc
5241 # (any single argument exceeding 2000 bytes causes a buffer overrun
5242 # during glob expansion). Even if it were fixed, the result of this
5243 # check would be larger than it should be.
5244 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5248 # Under GNU Hurd, this test is not required because there is
5249 # no limit to the length of command line arguments.
5250 # Libtool will interpret -1 as no limit whatsoever
5251 lt_cv_sys_max_cmd_len=-1;
5254 cygwin* | mingw* | cegcc*)
5255 # On Win9x/ME, this test blows up -- it succeeds, but takes
5256 # about 5 minutes as the teststring grows exponentially.
5257 # Worse, since 9x/ME are not pre-emptively multitasking,
5258 # you end up with a "frozen" computer, even though with patience
5259 # the test eventually succeeds (with a max line length of 256k).
5260 # Instead, let's just punt: use the minimum linelength reported by
5261 # all of the supported platforms: 8192 (on NT/2K/XP).
5262 lt_cv_sys_max_cmd_len=8192;
5266 # On MiNT this can take a long time and run out of memory.
5267 lt_cv_sys_max_cmd_len=8192;
5271 # On AmigaOS with pdksh, this test takes hours, literally.
5272 # So we just punt and use a minimum line length of 8192.
5273 lt_cv_sys_max_cmd_len=8192;
5276 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5277 # This has been around since 386BSD, at least. Likely further.
5278 if test -x /sbin/sysctl; then
5279 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5280 elif test -x /usr/sbin/sysctl; then
5281 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5283 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5285 # And add a safety zone
5286 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5291 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5292 lt_cv_sys_max_cmd_len=196608
5296 # The test takes a long time on OS/2.
5297 lt_cv_sys_max_cmd_len=8192
5301 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5302 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5303 # nice to cause kernel panics so lets avoid the loop below.
5304 # First set a reasonable default.
5305 lt_cv_sys_max_cmd_len=16384
5307 if test -x /sbin/sysconfig; then
5308 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5309 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5314 lt_cv_sys_max_cmd_len=102400
5316 sysv5* | sco5v6* | sysv4.2uw2*)
5317 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5318 if test -n "$kargmax"; then
5319 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5321 lt_cv_sys_max_cmd_len=32768
5325 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5326 if test -n "$lt_cv_sys_max_cmd_len" && \
5327 test undefined != "$lt_cv_sys_max_cmd_len"; then
5328 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5329 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5331 # Make teststring a little bigger before we do anything with it.
5332 # a 1K string should be a reasonable start.
5333 for i in 1 2 3 4 5 6 7 8 ; do
5334 teststring=$teststring$teststring
5336 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5337 # If test is not a shell built-in, we'll probably end up computing a
5338 # maximum length that is only half of the actual maximum length, but
5340 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5341 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5342 test $i != 17 # 1/2 MB should be enough
5345 teststring=$teststring$teststring
5347 # Only check the string length outside the loop.
5348 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5350 # Add a significant safety factor because C++ compilers can tack on
5351 # massive amounts of additional arguments before passing them to the
5352 # linker. It appears as though 1/2 is a usable value.
5353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5360 if test -n $lt_cv_sys_max_cmd_len ; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5362 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5365 $as_echo "none" >&6; }
5367 max_cmd_len=$lt_cv_sys_max_cmd_len
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5379 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5380 # Try some XSI features
5383 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5385 && eval 'test $(( 1 + 1 )) -eq 2 \
5386 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5389 $as_echo "$xsi_shell" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5393 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5395 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5397 && lt_shell_append=yes
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5399 $as_echo "$lt_shell_append" >&6; }
5402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5412 # test EBCDIC or ASCII
5413 case `echo X|tr X '\101'` in
5414 A) # ASCII based system
5415 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5416 lt_SP2NL='tr \040 \012'
5417 lt_NL2SP='tr \015\012 \040\040'
5419 *) # EBCDIC based system
5420 lt_SP2NL='tr \100 \n'
5421 lt_NL2SP='tr \r\n \100\100'
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5434 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5435 if ${lt_cv_to_host_file_cmd+:} false; then :
5436 $as_echo_n "(cached) " >&6
5441 *-*-mingw* ) # actually msys
5442 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5445 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5447 * ) # otherwise, assume *nix
5448 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5454 *-*-mingw* ) # actually msys
5455 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5458 lt_cv_to_host_file_cmd=func_convert_file_noop
5460 * ) # otherwise, assume *nix
5461 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5465 * ) # unhandled hosts (and "normal" native builds)
5466 lt_cv_to_host_file_cmd=func_convert_file_noop
5472 to_host_file_cmd=$lt_cv_to_host_file_cmd
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5474 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5481 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5482 if ${lt_cv_to_tool_file_cmd+:} false; then :
5483 $as_echo_n "(cached) " >&6
5485 #assume ordinary cross tools, or native build.
5486 lt_cv_to_tool_file_cmd=func_convert_file_noop
5490 *-*-mingw* ) # actually msys
5491 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5501 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5508 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5509 if ${lt_cv_ld_reload_flag+:} false; then :
5510 $as_echo_n "(cached) " >&6
5512 lt_cv_ld_reload_flag='-r'
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5515 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5516 reload_flag=$lt_cv_ld_reload_flag
5517 case $reload_flag in
5519 *) reload_flag=" $reload_flag" ;;
5521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5523 cygwin* | mingw* | pw32* | cegcc*)
5524 if test "$GCC" != yes; then
5529 if test "$GCC" = yes; then
5530 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5532 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5545 if test -n "$ac_tool_prefix"; then
5546 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5547 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_OBJDUMP+:} false; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$OBJDUMP"; then
5554 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 OBJDUMP=$ac_cv_prog_OBJDUMP
5574 if test -n "$OBJDUMP"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5576 $as_echo "$OBJDUMP" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5584 if test -z "$ac_cv_prog_OBJDUMP"; then
5585 ac_ct_OBJDUMP=$OBJDUMP
5586 # Extract the first word of "objdump", so it can be a program name with args.
5587 set dummy objdump; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$ac_ct_OBJDUMP"; then
5594 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5614 if test -n "$ac_ct_OBJDUMP"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5616 $as_echo "$ac_ct_OBJDUMP" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5622 if test "x$ac_ct_OBJDUMP" = x; then
5625 case $cross_compiling:$ac_tool_warned in
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5631 OBJDUMP=$ac_ct_OBJDUMP
5634 OBJDUMP="$ac_cv_prog_OBJDUMP"
5637 test -z "$OBJDUMP" && OBJDUMP=objdump
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5648 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5649 if ${lt_cv_deplibs_check_method+:} false; then :
5650 $as_echo_n "(cached) " >&6
5652 lt_cv_file_magic_cmd='$MAGIC_CMD'
5653 lt_cv_file_magic_test_file=
5654 lt_cv_deplibs_check_method='unknown'
5655 # Need to set the preceding variable on all platforms that support
5656 # interlibrary dependencies.
5657 # 'none' -- dependencies not supported.
5658 # `unknown' -- same as none, but documents that we really don't know.
5659 # 'pass_all' -- all dependencies passed with no checks.
5660 # 'test_compile' -- check by making test program.
5661 # 'file_magic [[regex]]' -- check by looking for files in library path
5662 # which responds to the $file_magic_cmd with a given extended regex.
5663 # If you have `file' or equivalent on your system and you're not sure
5664 # whether `pass_all' will *always* work, you probably want this one.
5668 lt_cv_deplibs_check_method=pass_all
5672 lt_cv_deplibs_check_method=pass_all
5676 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5677 lt_cv_file_magic_cmd='/usr/bin/file -L'
5678 lt_cv_file_magic_test_file=/shlib/libc.so
5682 # func_win32_libid is a shell function defined in ltmain.sh
5683 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5684 lt_cv_file_magic_cmd='func_win32_libid'
5688 # Base MSYS/MinGW do not provide the 'file' command needed by
5689 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5690 # unless we find 'file', for example because we are cross-compiling.
5691 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5692 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5693 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5694 lt_cv_file_magic_cmd='func_win32_libid'
5696 # Keep this pattern in sync with the one in func_win32_libid.
5697 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5698 lt_cv_file_magic_cmd='$OBJDUMP -f'
5703 # use the weaker test based on 'objdump'. See mingw*.
5704 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5705 lt_cv_file_magic_cmd='$OBJDUMP -f'
5708 darwin* | rhapsody*)
5709 lt_cv_deplibs_check_method=pass_all
5712 freebsd* | dragonfly*)
5713 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5716 # Not sure whether the presence of OpenBSD here was a mistake.
5717 # Let's accept both of them until this is cleared up.
5718 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5719 lt_cv_file_magic_cmd=/usr/bin/file
5720 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5724 lt_cv_deplibs_check_method=pass_all
5729 lt_cv_deplibs_check_method=pass_all
5732 hpux10.20* | hpux11*)
5733 lt_cv_file_magic_cmd=/usr/bin/file
5736 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5737 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5740 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]'
5741 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5744 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5745 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5751 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5755 irix5* | irix6* | nonstopux*)
5757 *-32|*"-32 ") libmagic=32-bit;;
5758 *-n32|*"-n32 ") libmagic=N32;;
5759 *-64|*"-64 ") libmagic=64-bit;;
5760 *) libmagic=never-match;;
5762 lt_cv_deplibs_check_method=pass_all
5765 # This must be glibc/ELF.
5766 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5767 lt_cv_deplibs_check_method=pass_all
5770 netbsd* | netbsdelf*-gnu)
5771 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5780 lt_cv_file_magic_cmd=/usr/bin/file
5781 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5785 lt_cv_deplibs_check_method=pass_all
5789 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5790 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5792 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5796 osf3* | osf4* | osf5*)
5797 lt_cv_deplibs_check_method=pass_all
5801 lt_cv_deplibs_check_method=pass_all
5805 lt_cv_deplibs_check_method=pass_all
5808 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5809 lt_cv_deplibs_check_method=pass_all
5813 case $host_vendor in
5815 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]'
5816 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5819 lt_cv_deplibs_check_method=pass_all
5822 lt_cv_file_magic_cmd='/bin/file'
5823 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5826 lt_cv_file_magic_cmd='/bin/file'
5827 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5828 lt_cv_file_magic_test_file=/lib/libc.so
5831 lt_cv_deplibs_check_method=pass_all
5834 lt_cv_deplibs_check_method=pass_all
5840 lt_cv_deplibs_check_method=pass_all
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5846 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5850 if test "$build" = "$host"; then
5853 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5856 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5862 file_magic_cmd=$lt_cv_file_magic_cmd
5863 deplibs_check_method=$lt_cv_deplibs_check_method
5864 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5887 if test -n "$ac_tool_prefix"; then
5888 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5889 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_DLLTOOL+:} false; then :
5893 $as_echo_n "(cached) " >&6
5895 if test -n "$DLLTOOL"; then
5896 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 DLLTOOL=$ac_cv_prog_DLLTOOL
5916 if test -n "$DLLTOOL"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5918 $as_echo "$DLLTOOL" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5926 if test -z "$ac_cv_prog_DLLTOOL"; then
5927 ac_ct_DLLTOOL=$DLLTOOL
5928 # Extract the first word of "dlltool", so it can be a program name with args.
5929 set dummy dlltool; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -n "$ac_ct_DLLTOOL"; then
5936 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5956 if test -n "$ac_ct_DLLTOOL"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5958 $as_echo "$ac_ct_DLLTOOL" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5964 if test "x$ac_ct_DLLTOOL" = x; then
5967 case $cross_compiling:$ac_tool_warned in
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5971 ac_tool_warned=yes ;;
5973 DLLTOOL=$ac_ct_DLLTOOL
5976 DLLTOOL="$ac_cv_prog_DLLTOOL"
5979 test -z "$DLLTOOL" && DLLTOOL=dlltool
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5991 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5992 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5993 $as_echo_n "(cached) " >&6
5995 lt_cv_sharedlib_from_linklib_cmd='unknown'
5998 cygwin* | mingw* | pw32* | cegcc*)
5999 # two different shell functions defined in ltmain.sh
6000 # decide which to use based on capabilities of $DLLTOOL
6001 case `$DLLTOOL --help 2>&1` in
6002 *--identify-strict*)
6003 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6006 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6011 # fallback: assume linklib IS sharedlib
6012 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6018 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6019 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6020 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6028 if test -n "$ac_tool_prefix"; then
6031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_AR+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$AR"; then
6039 ac_cv_prog_AR="$AR" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 if test -n "$AR"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6061 $as_echo "$AR" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6068 test -n "$AR" && break
6071 if test -z "$AR"; then
6075 # Extract the first word of "$ac_prog", so it can be a program name with args.
6076 set dummy $ac_prog; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -n "$ac_ct_AR"; then
6083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_prog_ac_ct_AR="$ac_prog"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6103 if test -n "$ac_ct_AR"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6105 $as_echo "$ac_ct_AR" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6112 test -n "$ac_ct_AR" && break
6115 if test "x$ac_ct_AR" = x; then
6118 case $cross_compiling:$ac_tool_warned in
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6122 ac_tool_warned=yes ;;
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6142 $as_echo_n "checking for archiver @FILE support... " >&6; }
6143 if ${lt_cv_ar_at_file+:} false; then :
6144 $as_echo_n "(cached) " >&6
6147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6158 if ac_fn_c_try_compile "$LINENO"; then :
6159 echo conftest.$ac_objext > conftest.lst
6160 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6161 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6162 (eval $lt_ar_try) 2>&5
6164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6165 test $ac_status = 0; }
6166 if test "$ac_status" -eq 0; then
6167 # Ensure the archiver fails upon bogus file names.
6168 rm -f conftest.$ac_objext libconftest.a
6169 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6170 (eval $lt_ar_try) 2>&5
6172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6173 test $ac_status = 0; }
6174 if test "$ac_status" -ne 0; then
6178 rm -f conftest.* libconftest.a
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6185 $as_echo "$lt_cv_ar_at_file" >&6; }
6187 if test "x$lt_cv_ar_at_file" = xno; then
6190 archiver_list_spec=$lt_cv_ar_at_file
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}strip; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_prog_STRIP+:} false; then :
6205 $as_echo_n "(cached) " >&6
6207 if test -n "$STRIP"; then
6208 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 STRIP=$ac_cv_prog_STRIP
6228 if test -n "$STRIP"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6230 $as_echo "$STRIP" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6238 if test -z "$ac_cv_prog_STRIP"; then
6240 # Extract the first word of "strip", so it can be a program name with args.
6241 set dummy strip; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6245 $as_echo_n "(cached) " >&6
6247 if test -n "$ac_ct_STRIP"; then
6248 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_ac_ct_STRIP="strip"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6268 if test -n "$ac_ct_STRIP"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6270 $as_echo "$ac_ct_STRIP" >&6; }
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6276 if test "x$ac_ct_STRIP" = x; then
6279 case $cross_compiling:$ac_tool_warned in
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6288 STRIP="$ac_cv_prog_STRIP"
6291 test -z "$STRIP" && STRIP=:
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_RANLIB+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 if test -n "$RANLIB"; then
6307 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 RANLIB=$ac_cv_prog_RANLIB
6327 if test -n "$RANLIB"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6329 $as_echo "$RANLIB" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6337 if test -z "$ac_cv_prog_RANLIB"; then
6338 ac_ct_RANLIB=$RANLIB
6339 # Extract the first word of "ranlib", so it can be a program name with args.
6340 set dummy ranlib; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$ac_ct_RANLIB"; then
6347 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6356 ac_cv_prog_ac_ct_RANLIB="ranlib"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6367 if test -n "$ac_ct_RANLIB"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6369 $as_echo "$ac_ct_RANLIB" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6375 if test "x$ac_ct_RANLIB" = x; then
6378 case $cross_compiling:$ac_tool_warned in
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6382 ac_tool_warned=yes ;;
6384 RANLIB=$ac_ct_RANLIB
6387 RANLIB="$ac_cv_prog_RANLIB"
6390 test -z "$RANLIB" && RANLIB=:
6397 # Determine commands to create old-style static archives.
6398 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6399 old_postinstall_cmds='chmod 644 $oldlib'
6400 old_postuninstall_cmds=
6402 if test -n "$RANLIB"; then
6405 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6408 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6411 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6416 lock_old_archive_extraction=yes ;;
6418 lock_old_archive_extraction=no ;;
6459 # If no C compiler was specified, use CC.
6462 # If no C compiler flags were specified, use CFLAGS.
6463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6465 # Allow CC to be a program name with arguments.
6469 # Check for command to grab the raw symbol name followed by C symbol from nm.
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6471 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6472 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6473 $as_echo_n "(cached) " >&6
6476 # These are sane defaults that work on at least a few old systems.
6477 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6479 # Character class describing NM global symbol codes.
6480 symcode='[BCDEGRST]'
6482 # Regexp to match symbols that can be accessed directly from C.
6483 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6485 # Define system-specific variables.
6490 cygwin* | mingw* | pw32* | cegcc*)
6491 symcode='[ABCDGISTW]'
6494 if test "$host_cpu" = ia64; then
6495 symcode='[ABCDEGRST]'
6499 symcode='[BCDEGRST]'
6502 symcode='[BCDEGQRST]'
6513 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6521 # If we're using GNU nm, then use its standard symbol codes.
6522 case `$NM -V 2>&1` in
6523 *GNU* | *'with BFD'*)
6524 symcode='[ABCDGIRSTW]' ;;
6527 # Transform an extracted symbol line into a proper C declaration.
6528 # Some systems (esp. on ia64) link data and code symbols differently,
6529 # so use this general approach.
6530 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6532 # Transform an extracted symbol line into symbol name and symbol address
6533 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6534 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'"
6536 # Handle CRLF in mingw tool chain
6540 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6544 # Try without a prefix underscore, then with it.
6545 for ac_symprfx in "" "_"; do
6547 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6548 symxfrm="\\1 $ac_symprfx\\2 \\2"
6550 # Write the raw and C identifiers.
6551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6552 # Fake it for dumpbin and say T for any non-static function
6553 # and D for any global variable.
6554 # Also find C++ and __fastcall symbols from MSVC++,
6555 # which start with @ or ?.
6556 lt_cv_sys_global_symbol_pipe="$AWK '"\
6557 " {last_section=section; section=\$ 3};"\
6558 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6559 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6560 " \$ 0!~/External *\|/{next};"\
6561 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6562 " {if(hide[section]) next};"\
6563 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6564 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6565 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6566 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6567 " ' prfx=^$ac_symprfx"
6569 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6571 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6573 # Check to see that the pipe works correctly.
6577 cat > conftest.$ac_ext <<_LT_EOF
6582 void nm_test_func(void);
6583 void nm_test_func(void){}
6587 int main(){nm_test_var='a';nm_test_func();return(0);}
6590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6591 (eval $ac_compile) 2>&5
6593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6594 test $ac_status = 0; }; then
6595 # Now try to grab the symbols.
6597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6598 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6601 test $ac_status = 0; } && test -s "$nlist"; then
6602 # Try sorting and uniquifying the output.
6603 if sort "$nlist" | uniq > "$nlist"T; then
6604 mv -f "$nlist"T "$nlist"
6609 # Make sure that we snagged all the symbols we need.
6610 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6611 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6612 cat <<_LT_EOF > conftest.$ac_ext
6613 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6614 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6615 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6616 relocations are performed -- see ld's documentation on pseudo-relocs. */
6617 # define LT_DLSYM_CONST
6618 #elif defined(__osf__)
6619 /* This system does not cope well with relocations in const data. */
6620 # define LT_DLSYM_CONST
6622 # define LT_DLSYM_CONST const
6630 # Now generate the symbol file.
6631 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6633 cat <<_LT_EOF >> conftest.$ac_ext
6635 /* The mapping between symbol names and symbols. */
6636 LT_DLSYM_CONST struct {
6640 lt__PROGRAM__LTX_preloaded_symbols[] =
6642 { "@PROGRAM@", (void *) 0 },
6644 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6645 cat <<\_LT_EOF >> conftest.$ac_ext
6649 /* This works around a problem in FreeBSD linker */
6650 #ifdef FREEBSD_WORKAROUND
6651 static const void *lt_preloaded_setup() {
6652 return lt__PROGRAM__LTX_preloaded_symbols;
6660 # Now try linking the two files.
6661 mv conftest.$ac_objext conftstm.$ac_objext
6662 lt_globsym_save_LIBS=$LIBS
6663 lt_globsym_save_CFLAGS=$CFLAGS
6664 LIBS="conftstm.$ac_objext"
6665 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6667 (eval $ac_link) 2>&5
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6673 LIBS=$lt_globsym_save_LIBS
6674 CFLAGS=$lt_globsym_save_CFLAGS
6676 echo "cannot find nm_test_func in $nlist" >&5
6679 echo "cannot find nm_test_var in $nlist" >&5
6682 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6685 echo "$progname: failed program was:" >&5
6686 cat conftest.$ac_ext >&5
6688 rm -rf conftest* conftst*
6690 # Do not use the global_symbol_pipe unless it works.
6691 if test "$pipe_works" = yes; then
6694 lt_cv_sys_global_symbol_pipe=
6700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6701 lt_cv_sys_global_symbol_to_cdecl=
6703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6705 $as_echo "failed" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6708 $as_echo "ok" >&6; }
6711 # Response file support.
6712 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6713 nm_file_list_spec='@'
6714 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6715 nm_file_list_spec='@'
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6745 $as_echo_n "checking for sysroot... " >&6; }
6747 # Check whether --with-sysroot was given.
6748 if test "${with_sysroot+set}" = set; then :
6749 withval=$with_sysroot;
6756 case ${with_sysroot} in #(
6758 if test "$GCC" = yes; then
6759 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6763 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6769 $as_echo "${with_sysroot}" >&6; }
6770 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6775 $as_echo "${lt_sysroot:-no}" >&6; }
6781 # Check whether --enable-libtool-lock was given.
6782 if test "${enable_libtool_lock+set}" = set; then :
6783 enableval=$enable_libtool_lock;
6786 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6788 # Some flags need to be propagated to the compiler or linker for good
6792 # Find out which ABI we are using.
6793 echo 'int i;' > conftest.$ac_ext
6794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6795 (eval $ac_compile) 2>&5
6797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6798 test $ac_status = 0; }; then
6799 case `/usr/bin/file conftest.$ac_objext` in
6811 # Find out which ABI we are using.
6812 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814 (eval $ac_compile) 2>&5
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817 test $ac_status = 0; }; then
6818 if test "$lt_cv_prog_gnu_ld" = yes; then
6819 case `/usr/bin/file conftest.$ac_objext` in
6821 LD="${LD-ld} -melf32bsmip"
6824 LD="${LD-ld} -melf32bmipn32"
6827 LD="${LD-ld} -melf64bmip"
6831 case `/usr/bin/file conftest.$ac_objext` in
6847 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6848 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6849 # Find out which ABI we are using.
6850 echo 'int i;' > conftest.$ac_ext
6851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852 (eval $ac_compile) 2>&5
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6855 test $ac_status = 0; }; then
6856 case `/usr/bin/file conftest.o` in
6859 x86_64-*kfreebsd*-gnu)
6860 LD="${LD-ld} -m elf_i386_fbsd"
6863 case `/usr/bin/file conftest.o` in
6865 LD="${LD-ld} -m elf32_x86_64"
6868 LD="${LD-ld} -m elf_i386"
6873 LD="${LD-ld} -m elf32lppclinux"
6876 LD="${LD-ld} -m elf32ppclinux"
6879 LD="${LD-ld} -m elf_s390"
6882 LD="${LD-ld} -m elf32_sparc"
6888 x86_64-*kfreebsd*-gnu)
6889 LD="${LD-ld} -m elf_x86_64_fbsd"
6892 LD="${LD-ld} -m elf_x86_64"
6895 LD="${LD-ld} -m elf64lppc"
6898 LD="${LD-ld} -m elf64ppc"
6900 s390*-*linux*|s390*-*tpf*)
6901 LD="${LD-ld} -m elf64_s390"
6904 LD="${LD-ld} -m elf64_sparc"
6914 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6915 SAVE_CFLAGS="$CFLAGS"
6916 CFLAGS="$CFLAGS -belf"
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6918 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6919 if ${lt_cv_cc_needs_belf+:} false; then :
6920 $as_echo_n "(cached) " >&6
6923 ac_cpp='$CPP $CPPFLAGS'
6924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929 /* end confdefs.h. */
6939 if ac_fn_c_try_link "$LINENO"; then :
6940 lt_cv_cc_needs_belf=yes
6942 lt_cv_cc_needs_belf=no
6944 rm -f core conftest.err conftest.$ac_objext \
6945 conftest$ac_exeext conftest.$ac_ext
6947 ac_cpp='$CPP $CPPFLAGS'
6948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6954 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6955 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6956 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6957 CFLAGS="$SAVE_CFLAGS"
6961 # Find out which ABI we are using.
6962 echo 'int i;' > conftest.$ac_ext
6963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6964 (eval $ac_compile) 2>&5
6966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967 test $ac_status = 0; }; then
6968 case `/usr/bin/file conftest.o` in
6970 case $lt_cv_prog_gnu_ld in
6974 LD="${LD-ld} -m elf_x86_64"
6977 LD="${LD-ld} -m elf64_sparc"
6980 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6981 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6986 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6998 need_locks="$enable_libtool_lock"
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}mt; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$MANIFEST_TOOL"; then
7009 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7029 if test -n "$MANIFEST_TOOL"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7031 $as_echo "$MANIFEST_TOOL" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7039 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7040 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7041 # Extract the first word of "mt", so it can be a program name with args.
7042 set dummy mt; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$ac_ct_MANIFEST_TOOL"; then
7049 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7069 if test -n "$ac_ct_MANIFEST_TOOL"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7071 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7077 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7086 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7089 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7092 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7094 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7095 if ${lt_cv_path_mainfest_tool+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 lt_cv_path_mainfest_tool=no
7099 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7100 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7101 cat conftest.err >&5
7102 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7103 lt_cv_path_mainfest_tool=yes
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7108 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7109 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7119 rhapsody* | darwin*)
7120 if test -n "$ac_tool_prefix"; then
7121 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7122 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7126 $as_echo_n "(cached) " >&6
7128 if test -n "$DSYMUTIL"; then
7129 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7149 if test -n "$DSYMUTIL"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7151 $as_echo "$DSYMUTIL" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7159 if test -z "$ac_cv_prog_DSYMUTIL"; then
7160 ac_ct_DSYMUTIL=$DSYMUTIL
7161 # Extract the first word of "dsymutil", so it can be a program name with args.
7162 set dummy dsymutil; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7166 $as_echo_n "(cached) " >&6
7168 if test -n "$ac_ct_DSYMUTIL"; then
7169 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7189 if test -n "$ac_ct_DSYMUTIL"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7191 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7197 if test "x$ac_ct_DSYMUTIL" = x; then
7200 case $cross_compiling:$ac_tool_warned in
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7206 DSYMUTIL=$ac_ct_DSYMUTIL
7209 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_NMEDIT+:} false; then :
7218 $as_echo_n "(cached) " >&6
7220 if test -n "$NMEDIT"; then
7221 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 NMEDIT=$ac_cv_prog_NMEDIT
7241 if test -n "$NMEDIT"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7243 $as_echo "$NMEDIT" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7251 if test -z "$ac_cv_prog_NMEDIT"; then
7252 ac_ct_NMEDIT=$NMEDIT
7253 # Extract the first word of "nmedit", so it can be a program name with args.
7254 set dummy nmedit; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7258 $as_echo_n "(cached) " >&6
7260 if test -n "$ac_ct_NMEDIT"; then
7261 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7281 if test -n "$ac_ct_NMEDIT"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7283 $as_echo "$ac_ct_NMEDIT" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7289 if test "x$ac_ct_NMEDIT" = x; then
7292 case $cross_compiling:$ac_tool_warned in
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7298 NMEDIT=$ac_ct_NMEDIT
7301 NMEDIT="$ac_cv_prog_NMEDIT"
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_LIPO+:} false; then :
7310 $as_echo_n "(cached) " >&6
7312 if test -n "$LIPO"; then
7313 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 LIPO=$ac_cv_prog_LIPO
7333 if test -n "$LIPO"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7335 $as_echo "$LIPO" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_LIPO"; then
7345 # Extract the first word of "lipo", so it can be a program name with args.
7346 set dummy lipo; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7350 $as_echo_n "(cached) " >&6
7352 if test -n "$ac_ct_LIPO"; then
7353 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_LIPO="lipo"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7373 if test -n "$ac_ct_LIPO"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7375 $as_echo "$ac_ct_LIPO" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_LIPO" = x; then
7384 case $cross_compiling:$ac_tool_warned in
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7393 LIPO="$ac_cv_prog_LIPO"
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}otool; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_prog_OTOOL+:} false; then :
7402 $as_echo_n "(cached) " >&6
7404 if test -n "$OTOOL"; then
7405 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 OTOOL=$ac_cv_prog_OTOOL
7425 if test -n "$OTOOL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7427 $as_echo "$OTOOL" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7435 if test -z "$ac_cv_prog_OTOOL"; then
7437 # Extract the first word of "otool", so it can be a program name with args.
7438 set dummy otool; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$ac_ct_OTOOL"; then
7445 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ac_ct_OTOOL="otool"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7465 if test -n "$ac_ct_OTOOL"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7467 $as_echo "$ac_ct_OTOOL" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7473 if test "x$ac_ct_OTOOL" = x; then
7476 case $cross_compiling:$ac_tool_warned in
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned=yes ;;
7485 OTOOL="$ac_cv_prog_OTOOL"
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_OTOOL64+:} false; then :
7494 $as_echo_n "(cached) " >&6
7496 if test -n "$OTOOL64"; then
7497 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 OTOOL64=$ac_cv_prog_OTOOL64
7517 if test -n "$OTOOL64"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7519 $as_echo "$OTOOL64" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_prog_OTOOL64"; then
7528 ac_ct_OTOOL64=$OTOOL64
7529 # Extract the first word of "otool64", so it can be a program name with args.
7530 set dummy otool64; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$ac_ct_OTOOL64"; then
7537 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_ac_ct_OTOOL64="otool64"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7557 if test -n "$ac_ct_OTOOL64"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7559 $as_echo "$ac_ct_OTOOL64" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_ct_OTOOL64" = x; then
7568 case $cross_compiling:$ac_tool_warned in
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7574 OTOOL64=$ac_ct_OTOOL64
7577 OTOOL64="$ac_cv_prog_OTOOL64"
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7607 $as_echo_n "checking for -single_module linker flag... " >&6; }
7608 if ${lt_cv_apple_cc_single_mod+:} false; then :
7609 $as_echo_n "(cached) " >&6
7611 lt_cv_apple_cc_single_mod=no
7612 if test -z "${LT_MULTI_MODULE}"; then
7613 # By default we will add the -single_module flag. You can override
7614 # by either setting the environment variable LT_MULTI_MODULE
7615 # non-empty at configure time, or by adding -multi_module to the
7617 rm -rf libconftest.dylib*
7618 echo "int foo(void){return 1;}" > conftest.c
7619 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7620 -dynamiclib -Wl,-single_module conftest.c" >&5
7621 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7622 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7624 # If there is a non-empty error log, and "single_module"
7625 # appears in it, assume the flag caused a linker warning
7626 if test -s conftest.err && $GREP single_module conftest.err; then
7627 cat conftest.err >&5
7628 # Otherwise, if the output was created with a 0 exit code from
7629 # the compiler, it worked.
7630 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7631 lt_cv_apple_cc_single_mod=yes
7633 cat conftest.err >&5
7635 rm -rf libconftest.dylib*
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7640 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7643 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7644 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7645 $as_echo_n "(cached) " >&6
7647 lt_cv_ld_exported_symbols_list=no
7648 save_LDFLAGS=$LDFLAGS
7649 echo "_main" > conftest.sym
7650 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7662 if ac_fn_c_try_link "$LINENO"; then :
7663 lt_cv_ld_exported_symbols_list=yes
7665 lt_cv_ld_exported_symbols_list=no
7667 rm -f core conftest.err conftest.$ac_objext \
7668 conftest$ac_exeext conftest.$ac_ext
7669 LDFLAGS="$save_LDFLAGS"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7673 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7676 $as_echo_n "checking for -force_load linker flag... " >&6; }
7677 if ${lt_cv_ld_force_load+:} false; then :
7678 $as_echo_n "(cached) " >&6
7680 lt_cv_ld_force_load=no
7681 cat > conftest.c << _LT_EOF
7682 int forced_loaded() { return 2;}
7684 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7685 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7686 echo "$AR cru libconftest.a conftest.o" >&5
7687 $AR cru libconftest.a conftest.o 2>&5
7688 echo "$RANLIB libconftest.a" >&5
7689 $RANLIB libconftest.a 2>&5
7690 cat > conftest.c << _LT_EOF
7691 int main() { return 0;}
7693 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7694 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7696 if test -s conftest.err && $GREP force_load conftest.err; then
7697 cat conftest.err >&5
7698 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7699 lt_cv_ld_force_load=yes
7701 cat conftest.err >&5
7703 rm -f conftest.err libconftest.a conftest conftest.c
7704 rm -rf conftest.dSYM
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7708 $as_echo "$lt_cv_ld_force_load" >&6; }
7710 rhapsody* | darwin1.[012])
7711 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7713 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7714 darwin*) # darwin 5.x on
7715 # if running on 10.5 or later, the deployment target defaults
7716 # to the OS version, if on x86, and 10.4, the deployment
7717 # target defaults to 10.4. Don't you love it?
7718 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7719 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7720 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7722 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7724 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7728 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7729 _lt_dar_single_mod='$single_module'
7731 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7732 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7734 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7736 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7737 _lt_dsymutil='~$DSYMUTIL $lib || :'
7745 ac_cpp='$CPP $CPPFLAGS'
7746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7750 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7751 # On Suns, sometimes $CPP names a directory.
7752 if test -n "$CPP" && test -d "$CPP"; then
7755 if test -z "$CPP"; then
7756 if ${ac_cv_prog_CPP+:} false; then :
7757 $as_echo_n "(cached) " >&6
7759 # Double quotes because CPP needs to be expanded
7760 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7763 for ac_c_preproc_warn_flag in '' yes
7765 # Use a header file that comes with gcc, so configuring glibc
7766 # with a fresh cross-compiler works.
7767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7768 # <limits.h> exists even on freestanding compilers.
7769 # On the NeXT, cc -E runs the code through the compiler's parser,
7770 # not just through cpp. "Syntax error" is here to catch this case.
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7774 # include <limits.h>
7776 # include <assert.h>
7780 if ac_fn_c_try_cpp "$LINENO"; then :
7783 # Broken: fails on valid input.
7786 rm -f conftest.err conftest.i conftest.$ac_ext
7788 # OK, works on sane cases. Now check whether nonexistent headers
7789 # can be detected and how.
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7792 #include <ac_nonexistent.h>
7794 if ac_fn_c_try_cpp "$LINENO"; then :
7795 # Broken: success on invalid input.
7798 # Passes both tests.
7802 rm -f conftest.err conftest.i conftest.$ac_ext
7805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7806 rm -f conftest.i conftest.err conftest.$ac_ext
7807 if $ac_preproc_ok; then :
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7820 $as_echo "$CPP" >&6; }
7822 for ac_c_preproc_warn_flag in '' yes
7824 # Use a header file that comes with gcc, so configuring glibc
7825 # with a fresh cross-compiler works.
7826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7827 # <limits.h> exists even on freestanding compilers.
7828 # On the NeXT, cc -E runs the code through the compiler's parser,
7829 # not just through cpp. "Syntax error" is here to catch this case.
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7833 # include <limits.h>
7835 # include <assert.h>
7839 if ac_fn_c_try_cpp "$LINENO"; then :
7842 # Broken: fails on valid input.
7845 rm -f conftest.err conftest.i conftest.$ac_ext
7847 # OK, works on sane cases. Now check whether nonexistent headers
7848 # can be detected and how.
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 #include <ac_nonexistent.h>
7853 if ac_fn_c_try_cpp "$LINENO"; then :
7854 # Broken: success on invalid input.
7857 # Passes both tests.
7861 rm -f conftest.err conftest.i conftest.$ac_ext
7864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7865 rm -f conftest.i conftest.err conftest.$ac_ext
7866 if $ac_preproc_ok; then :
7869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7871 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7872 See \`config.log' for more details" "$LINENO" 5; }
7876 ac_cpp='$CPP $CPPFLAGS'
7877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if ${ac_cv_header_stdc+:} false; then :
7885 $as_echo_n "(cached) " >&6
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7920 ac_cv_header_stdc=no
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7937 ac_cv_header_stdc=no
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7975 if ac_fn_c_try_run "$LINENO"; then :
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8002 cat >>confdefs.h <<_ACEOF
8003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8011 for ac_header in dlfcn.h
8013 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8015 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define HAVE_DLFCN_H 1
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031 enableval=$enable_static; p=${PACKAGE-default}
8033 yes) enable_static=yes ;;
8034 no) enable_static=no ;;
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for pkg in $enableval; do
8041 if test "X$pkg" = "X$p"; then
8067 # Check whether --enable-shared was given.
8068 if test "${enable_shared+set}" = set; then :
8069 enableval=$enable_shared; p=${PACKAGE-default}
8071 yes) enable_shared=yes ;;
8072 no) enable_shared=no ;;
8075 # Look at the argument we got. We use all the common list separators.
8076 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8077 for pkg in $enableval; do
8079 if test "X$pkg" = "X$p"; then
8100 # Check whether --with-pic was given.
8101 if test "${with_pic+set}" = set; then :
8102 withval=$with_pic; lt_p=${PACKAGE-default}
8104 yes|no) pic_mode=$withval ;;
8107 # Look at the argument we got. We use all the common list separators.
8108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8109 for lt_pkg in $withval; do
8111 if test "X$lt_pkg" = "X$lt_p"; then
8123 test -z "$pic_mode" && pic_mode=default
8131 # Check whether --enable-fast-install was given.
8132 if test "${enable_fast_install+set}" = set; then :
8133 enableval=$enable_fast_install; p=${PACKAGE-default}
8135 yes) enable_fast_install=yes ;;
8136 no) enable_fast_install=no ;;
8138 enable_fast_install=no
8139 # Look at the argument we got. We use all the common list separators.
8140 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141 for pkg in $enableval; do
8143 if test "X$pkg" = "X$p"; then
8144 enable_fast_install=yes
8151 enable_fast_install=yes
8164 # This can be used to rebuild libtool when needed
8165 LIBTOOL_DEPS="$ltmain"
8167 # Always use our own libtool.
8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8199 test -z "$LN_S" && LN_S="ln -s"
8214 if test -n "${ZSH_VERSION+set}" ; then
8215 setopt NO_GLOB_SUBST
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8219 $as_echo_n "checking for objdir... " >&6; }
8220 if ${lt_cv_objdir+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 rm -f .libs 2>/dev/null
8224 mkdir .libs 2>/dev/null
8225 if test -d .libs; then
8228 # MS-DOS does not allow filenames that begin with a dot.
8231 rmdir .libs 2>/dev/null
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8234 $as_echo "$lt_cv_objdir" >&6; }
8235 objdir=$lt_cv_objdir
8241 cat >>confdefs.h <<_ACEOF
8242 #define LT_OBJDIR "$lt_cv_objdir/"
8250 # AIX sometimes has problems with the GCC collect2 program. For some
8251 # reason, if we set the COLLECT_NAMES environment variable, the problems
8252 # vanish in a puff of smoke.
8253 if test "X${COLLECT_NAMES+set}" != Xset; then
8255 export COLLECT_NAMES
8262 can_build_shared=yes
8264 # All known linkers require a `.a' archive for static linking (except MSVC,
8265 # which needs '.lib').
8268 with_gnu_ld="$lt_cv_prog_gnu_ld"
8271 old_CFLAGS="$CFLAGS"
8273 # Set sane defaults for various variables
8274 test -z "$CC" && CC=cc
8275 test -z "$LTCC" && LTCC=$CC
8276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8277 test -z "$LD" && LD=ld
8278 test -z "$ac_objext" && ac_objext=o
8280 for cc_temp in $compiler""; do
8282 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8283 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8288 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8291 # Only perform the check for file, if the check method requires it
8292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8293 case $deplibs_check_method in
8295 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8297 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8298 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8299 $as_echo_n "(cached) " >&6
8303 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8306 lt_save_MAGIC_CMD="$MAGIC_CMD"
8307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8308 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8309 for ac_dir in $ac_dummy; do
8311 test -z "$ac_dir" && ac_dir=.
8312 if test -f $ac_dir/${ac_tool_prefix}file; then
8313 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8314 if test -n "$file_magic_test_file"; then
8315 case $deplibs_check_method in
8317 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8320 $EGREP "$file_magic_regex" > /dev/null; then
8325 *** Warning: the command libtool uses to detect shared libraries,
8326 *** $file_magic_cmd, produces output that libtool cannot recognize.
8327 *** The result is that libtool may fail to recognize shared libraries
8328 *** as such. This will affect the creation of libtool libraries that
8329 *** depend on shared libraries, but programs linked with such libtool
8330 *** libraries will work regardless of this problem. Nevertheless, you
8331 *** may want to report the problem to your system manager and/or to
8332 *** bug-libtool@gnu.org
8342 MAGIC_CMD="$lt_save_MAGIC_CMD"
8347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348 if test -n "$MAGIC_CMD"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8350 $as_echo "$MAGIC_CMD" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8360 if test -z "$lt_cv_path_MAGIC_CMD"; then
8361 if test -n "$ac_tool_prefix"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8363 $as_echo_n "checking for file... " >&6; }
8364 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8365 $as_echo_n "(cached) " >&6
8369 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8372 lt_save_MAGIC_CMD="$MAGIC_CMD"
8373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8374 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8375 for ac_dir in $ac_dummy; do
8377 test -z "$ac_dir" && ac_dir=.
8378 if test -f $ac_dir/file; then
8379 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8380 if test -n "$file_magic_test_file"; then
8381 case $deplibs_check_method in
8383 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8384 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8385 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8386 $EGREP "$file_magic_regex" > /dev/null; then
8391 *** Warning: the command libtool uses to detect shared libraries,
8392 *** $file_magic_cmd, produces output that libtool cannot recognize.
8393 *** The result is that libtool may fail to recognize shared libraries
8394 *** as such. This will affect the creation of libtool libraries that
8395 *** depend on shared libraries, but programs linked with such libtool
8396 *** libraries will work regardless of this problem. Nevertheless, you
8397 *** may want to report the problem to your system manager and/or to
8398 *** bug-libtool@gnu.org
8408 MAGIC_CMD="$lt_save_MAGIC_CMD"
8413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8414 if test -n "$MAGIC_CMD"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8416 $as_echo "$MAGIC_CMD" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8432 # Use C for the default configuration in the libtool script
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8442 # Source file extension for C test sources.
8445 # Object file extension for compiled C test sources.
8449 # Code to be used in simple compile tests
8450 lt_simple_compile_test_code="int some_variable = 0;"
8452 # Code to be used in simple link tests
8453 lt_simple_link_test_code='int main(){return(0);}'
8461 # If no C compiler was specified, use CC.
8464 # If no C compiler flags were specified, use CFLAGS.
8465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8467 # Allow CC to be a program name with arguments.
8470 # Save the default compiler, since it gets overwritten when the other
8471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8472 compiler_DEFAULT=$CC
8474 # save warnings/boilerplate of simple test code
8475 ac_outfile=conftest.$ac_objext
8476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8478 _lt_compiler_boilerplate=`cat conftest.err`
8481 ac_outfile=conftest.$ac_objext
8482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8484 _lt_linker_boilerplate=`cat conftest.err`
8489 ## There is no encapsulation within the following macros, do not change
8490 ## the running order or otherwise move them around unless you know exactly
8491 ## what you are doing...
8492 if test -n "$compiler"; then
8494 lt_prog_compiler_no_builtin_flag=
8496 if test "$GCC" = yes; then
8497 case $cc_basename in
8499 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8501 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8505 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8506 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8507 $as_echo_n "(cached) " >&6
8509 lt_cv_prog_compiler_rtti_exceptions=no
8510 ac_outfile=conftest.$ac_objext
8511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512 lt_compiler_flag="-fno-rtti -fno-exceptions"
8513 # Insert the option either (1) after the last *FLAGS variable, or
8514 # (2) before a word containing "conftest.", or (3) at the end.
8515 # Note that $ac_compile itself does not contain backslashes and begins
8516 # with a dollar sign (not a hyphen), so the echo should work correctly.
8517 # The option is referenced via a variable to avoid confusing sed.
8518 lt_compile=`echo "$ac_compile" | $SED \
8519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521 -e 's:$: $lt_compiler_flag:'`
8522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523 (eval "$lt_compile" 2>conftest.err)
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 if (exit $ac_status) && test -s "$ac_outfile"; then
8528 # The compiler can only warn and ignore the option if not recognized
8529 # So say no if there are warnings other than the usual output.
8530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533 lt_cv_prog_compiler_rtti_exceptions=yes
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8540 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8542 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8543 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8555 lt_prog_compiler_wl=
8556 lt_prog_compiler_pic=
8557 lt_prog_compiler_static=
8560 if test "$GCC" = yes; then
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_static='-static'
8566 # All AIX code is PIC.
8567 if test "$host_cpu" = ia64; then
8568 # AIX 5 now supports IA64 processor
8569 lt_prog_compiler_static='-Bstatic'
8576 # see comment about AmigaOS4 .so support
8577 lt_prog_compiler_pic='-fPIC'
8580 # FIXME: we need at least 68020 code to build shared libraries, but
8581 # adding the `-m68020' flag to GCC prevents building anything better,
8583 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8588 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8589 # PIC is the default for these OSes.
8592 mingw* | cygwin* | pw32* | os2* | cegcc*)
8593 # This hack is so that the source file can tell whether it is being
8594 # built for inclusion in a dll (and should export symbols for example).
8595 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8596 # (--disable-auto-import) libraries
8597 lt_prog_compiler_pic='-DDLL_EXPORT'
8600 darwin* | rhapsody*)
8601 # PIC is the default on this platform
8602 # Common symbols not allowed in MH_DYLIB files
8603 lt_prog_compiler_pic='-fno-common'
8607 # PIC is the default for Haiku.
8608 # The "-static" flag exists, but is broken.
8609 lt_prog_compiler_static=
8613 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8614 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8615 # sets the default TLS model and affects inlining.
8621 lt_prog_compiler_pic='-fPIC'
8627 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8628 # Instead, we relocate shared libraries at runtime.
8632 # Just because we use GCC doesn't mean we suddenly get shared libraries
8633 # on systems that don't support them.
8634 lt_prog_compiler_can_build_shared=no
8639 # QNX uses GNU C++, but need to define -shared option too, otherwise
8641 lt_prog_compiler_pic='-fPIC -shared'
8645 if test -d /usr/nec; then
8646 lt_prog_compiler_pic=-Kconform_pic
8651 lt_prog_compiler_pic='-fPIC'
8655 case $cc_basename in
8656 nvcc*) # Cuda Compiler Driver 2.2
8657 lt_prog_compiler_wl='-Xlinker '
8658 if test -n "$lt_prog_compiler_pic"; then
8659 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8664 # PORTME Check for flag to pass linker flags through the system compiler.
8667 lt_prog_compiler_wl='-Wl,'
8668 if test "$host_cpu" = ia64; then
8669 # AIX 5 now supports IA64 processor
8670 lt_prog_compiler_static='-Bstatic'
8672 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8676 mingw* | cygwin* | pw32* | os2* | cegcc*)
8677 # This hack is so that the source file can tell whether it is being
8678 # built for inclusion in a dll (and should export symbols for example).
8679 lt_prog_compiler_pic='-DDLL_EXPORT'
8682 hpux9* | hpux10* | hpux11*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8691 lt_prog_compiler_pic='+Z'
8694 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8695 lt_prog_compiler_static='${wl}-a ${wl}archive'
8698 irix5* | irix6* | nonstopux*)
8699 lt_prog_compiler_wl='-Wl,'
8700 # PIC (with -KPIC) is the default.
8701 lt_prog_compiler_static='-non_shared'
8704 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8705 case $cc_basename in
8706 # old Intel for x86_64 which still supported -KPIC.
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-KPIC'
8710 lt_prog_compiler_static='-static'
8712 # icc used to be incompatible with GCC.
8713 # ICC 10 doesn't accept -KPIC any more.
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='-fPIC'
8717 lt_prog_compiler_static='-static'
8719 # Lahey Fortran 8.1.
8721 lt_prog_compiler_wl='-Wl,'
8722 lt_prog_compiler_pic='--shared'
8723 lt_prog_compiler_static='--static'
8726 # NAG Fortran compiler
8727 lt_prog_compiler_wl='-Wl,-Wl,,'
8728 lt_prog_compiler_pic='-PIC'
8729 lt_prog_compiler_static='-Bstatic'
8731 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8732 # Portland Group compilers (*not* the Pentium gcc compiler,
8733 # which looks to be a dead project)
8734 lt_prog_compiler_wl='-Wl,'
8735 lt_prog_compiler_pic='-fpic'
8736 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_wl='-Wl,'
8740 # All Alpha code is PIC.
8741 lt_prog_compiler_static='-non_shared'
8743 xl* | bgxl* | bgf* | mpixl*)
8744 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8745 lt_prog_compiler_wl='-Wl,'
8746 lt_prog_compiler_pic='-qpic'
8747 lt_prog_compiler_static='-qstaticlink'
8750 case `$CC -V 2>&1 | sed 5q` in
8751 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8752 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8753 lt_prog_compiler_pic='-KPIC'
8754 lt_prog_compiler_static='-Bstatic'
8755 lt_prog_compiler_wl=''
8757 *Sun\ F* | *Sun*Fortran*)
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8760 lt_prog_compiler_wl='-Qoption ld '
8764 lt_prog_compiler_pic='-KPIC'
8765 lt_prog_compiler_static='-Bstatic'
8766 lt_prog_compiler_wl='-Wl,'
8768 *Intel*\ [CF]*Compiler*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='-fpic'
8776 lt_prog_compiler_static='-Bstatic'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-Bstatic'
8789 # QNX uses GNU C++, but need to define -shared option too, otherwise
8791 lt_prog_compiler_pic='-fPIC -shared'
8794 osf3* | osf4* | osf5*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # All OSF/1 code is PIC.
8797 lt_prog_compiler_static='-non_shared'
8801 lt_prog_compiler_static='-non_shared'
8805 lt_prog_compiler_pic='-KPIC'
8806 lt_prog_compiler_static='-Bstatic'
8807 case $cc_basename in
8808 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8809 lt_prog_compiler_wl='-Qoption ld ';;
8811 lt_prog_compiler_wl='-Wl,';;
8816 lt_prog_compiler_wl='-Qoption ld '
8817 lt_prog_compiler_pic='-PIC'
8818 lt_prog_compiler_static='-Bstatic'
8821 sysv4 | sysv4.2uw2* | sysv4.3*)
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_pic='-KPIC'
8824 lt_prog_compiler_static='-Bstatic'
8828 if test -d /usr/nec ;then
8829 lt_prog_compiler_pic='-Kconform_pic'
8830 lt_prog_compiler_static='-Bstatic'
8834 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-KPIC'
8837 lt_prog_compiler_static='-Bstatic'
8841 lt_prog_compiler_wl='-Wl,'
8842 lt_prog_compiler_can_build_shared=no
8846 lt_prog_compiler_pic='-pic'
8847 lt_prog_compiler_static='-Bstatic'
8851 lt_prog_compiler_can_build_shared=no
8857 # For platforms which do not support PIC, -DPIC is meaningless:
8859 lt_prog_compiler_pic=
8862 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8867 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8868 if ${lt_cv_prog_compiler_pic+:} false; then :
8869 $as_echo_n "(cached) " >&6
8871 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8874 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8875 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8878 # Check to make sure the PIC flag actually works.
8880 if test -n "$lt_prog_compiler_pic"; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8882 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8883 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8884 $as_echo_n "(cached) " >&6
8886 lt_cv_prog_compiler_pic_works=no
8887 ac_outfile=conftest.$ac_objext
8888 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8890 # Insert the option either (1) after the last *FLAGS variable, or
8891 # (2) before a word containing "conftest.", or (3) at the end.
8892 # Note that $ac_compile itself does not contain backslashes and begins
8893 # with a dollar sign (not a hyphen), so the echo should work correctly.
8894 # The option is referenced via a variable to avoid confusing sed.
8895 lt_compile=`echo "$ac_compile" | $SED \
8896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8898 -e 's:$: $lt_compiler_flag:'`
8899 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8900 (eval "$lt_compile" 2>conftest.err)
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 if (exit $ac_status) && test -s "$ac_outfile"; then
8905 # The compiler can only warn and ignore the option if not recognized
8906 # So say no if there are warnings other than the usual output.
8907 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_pic_works=yes
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8917 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8919 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8920 case $lt_prog_compiler_pic in
8922 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8925 lt_prog_compiler_pic=
8926 lt_prog_compiler_can_build_shared=no
8942 # Check to make sure the static flag actually works.
8944 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8946 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8947 if ${lt_cv_prog_compiler_static_works+:} false; then :
8948 $as_echo_n "(cached) " >&6
8950 lt_cv_prog_compiler_static_works=no
8951 save_LDFLAGS="$LDFLAGS"
8952 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8953 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8954 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8955 # The linker can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 if test -s conftest.err; then
8958 # Append any errors to the config.log.
8959 cat conftest.err 1>&5
8960 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8961 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8962 if diff conftest.exp conftest.er2 >/dev/null; then
8963 lt_cv_prog_compiler_static_works=yes
8966 lt_cv_prog_compiler_static_works=yes
8970 LDFLAGS="$save_LDFLAGS"
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8974 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8976 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8979 lt_prog_compiler_static=
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8989 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8990 if ${lt_cv_prog_compiler_c_o+:} false; then :
8991 $as_echo_n "(cached) " >&6
8993 lt_cv_prog_compiler_c_o=no
8994 $RM -r conftest 2>/dev/null
8998 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9000 lt_compiler_flag="-o out/conftest2.$ac_objext"
9001 # Insert the option either (1) after the last *FLAGS variable, or
9002 # (2) before a word containing "conftest.", or (3) at the end.
9003 # Note that $ac_compile itself does not contain backslashes and begins
9004 # with a dollar sign (not a hyphen), so the echo should work correctly.
9005 lt_compile=`echo "$ac_compile" | $SED \
9006 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9008 -e 's:$: $lt_compiler_flag:'`
9009 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9010 (eval "$lt_compile" 2>out/conftest.err)
9012 cat out/conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9016 # The compiler can only warn and ignore the option if not recognized
9017 # So say no if there are warnings
9018 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9019 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9020 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9021 lt_cv_prog_compiler_c_o=yes
9026 # SGI C++ compiler will create directory out/ii_files/ for
9027 # template instantiation
9028 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9029 $RM out/* && rmdir out
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9036 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9045 if ${lt_cv_prog_compiler_c_o+:} false; then :
9046 $as_echo_n "(cached) " >&6
9048 lt_cv_prog_compiler_c_o=no
9049 $RM -r conftest 2>/dev/null
9053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055 lt_compiler_flag="-o out/conftest2.$ac_objext"
9056 # Insert the option either (1) after the last *FLAGS variable, or
9057 # (2) before a word containing "conftest.", or (3) at the end.
9058 # Note that $ac_compile itself does not contain backslashes and begins
9059 # with a dollar sign (not a hyphen), so the echo should work correctly.
9060 lt_compile=`echo "$ac_compile" | $SED \
9061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9063 -e 's:$: $lt_compiler_flag:'`
9064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9065 (eval "$lt_compile" 2>out/conftest.err)
9067 cat out/conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9071 # The compiler can only warn and ignore the option if not recognized
9072 # So say no if there are warnings
9073 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9074 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9075 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9076 lt_cv_prog_compiler_c_o=yes
9081 # SGI C++ compiler will create directory out/ii_files/ for
9082 # template instantiation
9083 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9084 $RM out/* && rmdir out
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9096 hard_links="nottested"
9097 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9098 # do not overwrite the value of need_locks provided by the user
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9100 $as_echo_n "checking if we can lock with hard links... " >&6; }
9103 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9105 ln conftest.a conftest.b 2>&5 || hard_links=no
9106 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9108 $as_echo "$hard_links" >&6; }
9109 if test "$hard_links" = no; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9111 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9127 allow_undefined_flag=
9128 always_export_symbols=no
9130 archive_expsym_cmds=
9131 compiler_needs_object=no
9132 enable_shared_with_static_runtimes=no
9133 export_dynamic_flag_spec=
9134 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9135 hardcode_automatic=no
9137 hardcode_direct_absolute=no
9138 hardcode_libdir_flag_spec=
9139 hardcode_libdir_separator=
9141 hardcode_shlibpath_var=unsupported
9143 link_all_deplibs=unknown
9146 old_archive_from_new_cmds=
9147 old_archive_from_expsyms_cmds=
9148 thread_safe_flag_spec=
9149 whole_archive_flag_spec=
9150 # include_expsyms should be a list of space-separated symbols to be *always*
9151 # included in the symbol list
9153 # exclude_expsyms can be an extended regexp of symbols to exclude
9154 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9155 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9156 # as well as any symbol that contains `d'.
9157 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9158 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9159 # platforms (ab)use it in PIC code, but their linkers get confused if
9160 # the symbol is explicitly referenced. Since portable code cannot
9161 # rely on this symbol name, it's probably fine to never include it in
9162 # preloaded symbol tables.
9163 # Exclude shared library initialization/finalization symbols.
9164 extract_expsyms_cmds=
9167 cygwin* | mingw* | pw32* | cegcc*)
9168 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9169 # When not using gcc, we currently assume that we are using
9170 # Microsoft Visual C++.
9171 if test "$GCC" != yes; then
9176 # we just hope/assume this is gcc and not c89 (= MSVC++)
9182 linux* | k*bsd*-gnu | gnu*)
9189 # On some targets, GNU ld is compatible enough with the native linker
9190 # that we're better off using the native interface for both.
9191 lt_use_gnu_ld_interface=no
9192 if test "$with_gnu_ld" = yes; then
9195 # The AIX port of GNU ld has always aspired to compatibility
9196 # with the native linker. However, as the warning in the GNU ld
9197 # block says, versions before 2.19.5* couldn't really create working
9198 # shared libraries, regardless of the interface used.
9199 case `$LD -v 2>&1` in
9200 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9201 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9202 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9204 lt_use_gnu_ld_interface=yes
9209 lt_use_gnu_ld_interface=yes
9214 if test "$lt_use_gnu_ld_interface" = yes; then
9215 # If archive_cmds runs LD, not CC, wlarc should be empty
9218 # Set some defaults for GNU ld with shared library support. These
9219 # are reset later if shared libraries are not supported. Putting them
9220 # here allows them to be overridden if necessary.
9221 runpath_var=LD_RUN_PATH
9222 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9223 export_dynamic_flag_spec='${wl}--export-dynamic'
9224 # ancient GNU ld didn't support --whole-archive et. al.
9225 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9226 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9228 whole_archive_flag_spec=
9230 supports_anon_versioning=no
9231 case `$LD -v 2>&1` in
9232 *GNU\ gold*) supports_anon_versioning=yes ;;
9233 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9234 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9235 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9236 *\ 2.11.*) ;; # other 2.11 versions
9237 *) supports_anon_versioning=yes ;;
9240 # See if GNU ld supports shared libraries.
9243 # On AIX/PPC, the GNU linker is very broken
9244 if test "$host_cpu" != ia64; then
9248 *** Warning: the GNU linker, at least up to release 2.19, is reported
9249 *** to be unable to reliably create shared libraries on AIX.
9250 *** Therefore, libtool is disabling shared libraries support. If you
9251 *** really care for shared libraries, you may want to install binutils
9252 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9253 *** You will then need to restart the configuration process.
9262 # see comment about AmigaOS4 .so support
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 archive_expsym_cmds=''
9267 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)'
9268 hardcode_libdir_flag_spec='-L$libdir'
9269 hardcode_minus_L=yes
9275 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9276 allow_undefined_flag=unsupported
9277 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9278 # support --undefined. This deserves some investigation. FIXME
9279 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 cygwin* | mingw* | pw32* | cegcc*)
9286 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9287 # as there is no search path for DLLs.
9288 hardcode_libdir_flag_spec='-L$libdir'
9289 export_dynamic_flag_spec='${wl}--export-all-symbols'
9290 allow_undefined_flag=unsupported
9291 always_export_symbols=no
9292 enable_shared_with_static_runtimes=yes
9293 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'
9294 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9296 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9297 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9298 # If the export-symbols file already is a .def file (1st line
9299 # is EXPORTS), use it as is; otherwise, prepend...
9300 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9301 cp $export_symbols $output_objdir/$soname.def;
9303 echo EXPORTS > $output_objdir/$soname.def;
9304 cat $export_symbols >> $output_objdir/$soname.def;
9306 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9313 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 link_all_deplibs=yes
9319 hardcode_shlibpath_var=no
9320 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9321 export_dynamic_flag_spec='${wl}-E'
9322 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9323 # Instead, shared libraries are loaded at an image base (0x10000000 by
9324 # default) and relocated if they conflict, which is a slow very memory
9325 # consuming and fragmenting process. To avoid this, we pick a random,
9326 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9327 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9328 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9329 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'
9332 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9334 if test "$host_os" = linux-dietlibc; then
9335 case $cc_basename in
9336 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9339 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9340 && test "$tmp_diet" = no
9342 tmp_addflag=' $pic_flag'
9343 tmp_sharedflag='-shared'
9344 case $cc_basename,$host_cpu in
9345 pgcc*) # Portland Group C compiler
9346 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'
9347 tmp_addflag=' $pic_flag'
9349 pgf77* | pgf90* | pgf95* | pgfortran*)
9350 # Portland Group f77 and f90 compilers
9351 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'
9352 tmp_addflag=' $pic_flag -Mnomain' ;;
9353 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9354 tmp_addflag=' -i_dynamic' ;;
9355 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9356 tmp_addflag=' -i_dynamic -nofor_main' ;;
9357 ifc* | ifort*) # Intel Fortran compiler
9358 tmp_addflag=' -nofor_main' ;;
9359 lf95*) # Lahey Fortran 8.1
9360 whole_archive_flag_spec=
9361 tmp_sharedflag='--shared' ;;
9362 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9363 tmp_sharedflag='-qmkshrobj'
9365 nvcc*) # Cuda Compiler Driver 2.2
9366 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'
9367 compiler_needs_object=yes
9370 case `$CC -V 2>&1 | sed 5q` in
9371 *Sun\ C*) # Sun C 5.9
9372 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'
9373 compiler_needs_object=yes
9374 tmp_sharedflag='-G' ;;
9375 *Sun\ F*) # Sun Fortran 8.3
9376 tmp_sharedflag='-G' ;;
9378 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 if test "x$supports_anon_versioning" = xyes; then
9381 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9382 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9383 echo "local: *; };" >> $output_objdir/$libname.ver~
9384 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9387 case $cc_basename in
9388 xlf* | bgf* | bgxlf* | mpixlf*)
9389 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9390 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9392 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9393 if test "x$supports_anon_versioning" = xyes; then
9394 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9396 echo "local: *; };" >> $output_objdir/$libname.ver~
9397 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9406 netbsd* | netbsdelf*-gnu)
9407 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9408 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9411 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9421 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9422 *** create shared libraries on Solaris systems. Therefore, libtool
9423 *** is disabling shared libraries support. We urge you to upgrade GNU
9424 *** binutils to release 2.9.1 or newer. Another option is to modify
9425 *** your PATH or compiler configuration so that the native linker is
9426 *** used, and then restart.
9429 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9438 case `$LD -v 2>&1` in
9439 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9443 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9444 *** reliably create shared libraries on SCO systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9453 # For security reasons, it is highly recommended that you always
9454 # use absolute paths for naming shared libraries, and exclude the
9455 # DT_RUNPATH tag from executables and libraries. But doing so
9456 # requires that you compile everything twice, which is a pain.
9457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9469 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9472 hardcode_shlibpath_var=no
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9485 if test "$ld_shlibs" = no; then
9487 hardcode_libdir_flag_spec=
9488 export_dynamic_flag_spec=
9489 whole_archive_flag_spec=
9492 # PORTME fill in a description of your system's linker (not GNU ld)
9495 allow_undefined_flag=unsupported
9496 always_export_symbols=yes
9497 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'
9498 # Note: this linker hardcodes the directories in LIBPATH if there
9499 # are no directories specified by -L.
9500 hardcode_minus_L=yes
9501 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9502 # Neither direct hardcoding nor static linking is supported with a
9504 hardcode_direct=unsupported
9509 if test "$host_cpu" = ia64; then
9510 # On IA64, the linker does run time linking by default, so we don't
9511 # have to do anything special.
9512 aix_use_runtimelinking=no
9513 exp_sym_flag='-Bexport'
9516 # If we're using GNU nm, then we don't want the "-C" option.
9517 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9518 # Also, AIX nm treats weak defined symbols like other global
9519 # defined symbols, whereas GNU nm marks them as "W".
9520 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9521 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'
9523 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'
9525 aix_use_runtimelinking=no
9527 # Test if we are trying to use run time linking or normal
9528 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9529 # need to do runtime linking.
9530 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9531 for ld_flag in $LDFLAGS; do
9532 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9533 aix_use_runtimelinking=yes
9540 exp_sym_flag='-bexport'
9541 no_entry_flag='-bnoentry'
9544 # When large executables or shared objects are built, AIX ld can
9545 # have problems creating the table of contents. If linking a library
9546 # or program results in "error TOC overflow" add -mminimal-toc to
9547 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9548 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9552 hardcode_direct_absolute=yes
9553 hardcode_libdir_separator=':'
9554 link_all_deplibs=yes
9555 file_list_spec='${wl}-f,'
9557 if test "$GCC" = yes; then
9558 case $host_os in aix4.[012]|aix4.[012].*)
9559 # We only want to do this on AIX 4.2 and lower, the check
9560 # below for broken collect2 doesn't work under 4.3+
9561 collect2name=`${CC} -print-prog-name=collect2`
9562 if test -f "$collect2name" &&
9563 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9565 # We have reworked collect2
9568 # We have old collect2
9569 hardcode_direct=unsupported
9570 # It fails to find uninstalled libraries when the uninstalled
9571 # path is not listed in the libpath. Setting hardcode_minus_L
9572 # to unsupported forces relinking
9573 hardcode_minus_L=yes
9574 hardcode_libdir_flag_spec='-L$libdir'
9575 hardcode_libdir_separator=
9579 shared_flag='-shared'
9580 if test "$aix_use_runtimelinking" = yes; then
9581 shared_flag="$shared_flag "'${wl}-G'
9586 if test "$host_cpu" = ia64; then
9587 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9588 # chokes on -Wl,-G. The following line is correct:
9591 if test "$aix_use_runtimelinking" = yes; then
9592 shared_flag='${wl}-G'
9594 shared_flag='${wl}-bM:SRE'
9599 export_dynamic_flag_spec='${wl}-bexpall'
9600 # It seems that -bexpall does not export symbols beginning with
9601 # underscore (_), so it is better to generate a list of symbols to export.
9602 always_export_symbols=yes
9603 if test "$aix_use_runtimelinking" = yes; then
9604 # Warning - without using the other runtime loading flags (-brtl),
9605 # -berok will link without error, but may produce a broken library.
9606 allow_undefined_flag='-berok'
9607 # Determine the default libpath from the value encoded in an
9609 if test "${lt_cv_aix_libpath+set}" = set; then
9610 aix_libpath=$lt_cv_aix_libpath
9612 if ${lt_cv_aix_libpath_+:} false; then :
9613 $as_echo_n "(cached) " >&6
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9626 if ac_fn_c_try_link "$LINENO"; then :
9628 lt_aix_libpath_sed='
9629 /Import File Strings/,/^$/ {
9631 s/^0 *\([^ ]*\) *$/\1/
9635 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9636 # Check for a 64-bit object if we didn't find anything.
9637 if test -z "$lt_cv_aix_libpath_"; then
9638 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 if test -z "$lt_cv_aix_libpath_"; then
9644 lt_cv_aix_libpath_="/usr/lib:/lib"
9649 aix_libpath=$lt_cv_aix_libpath_
9652 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9653 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"
9655 if test "$host_cpu" = ia64; then
9656 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9657 allow_undefined_flag="-z nodefs"
9658 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"
9660 # Determine the default libpath from the value encoded in an
9662 if test "${lt_cv_aix_libpath+set}" = set; then
9663 aix_libpath=$lt_cv_aix_libpath
9665 if ${lt_cv_aix_libpath_+:} false; then :
9666 $as_echo_n "(cached) " >&6
9668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9679 if ac_fn_c_try_link "$LINENO"; then :
9681 lt_aix_libpath_sed='
9682 /Import File Strings/,/^$/ {
9684 s/^0 *\([^ ]*\) *$/\1/
9688 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9689 # Check for a 64-bit object if we didn't find anything.
9690 if test -z "$lt_cv_aix_libpath_"; then
9691 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 if test -z "$lt_cv_aix_libpath_"; then
9697 lt_cv_aix_libpath_="/usr/lib:/lib"
9702 aix_libpath=$lt_cv_aix_libpath_
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 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'
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9732 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)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 case $cc_basename in
9751 hardcode_libdir_flag_spec=' '
9752 allow_undefined_flag=unsupported
9753 always_export_symbols=yes
9755 # Tell ltmain to make .lib files, not .a files.
9757 # Tell ltmain to make .dll files, not .so files.
9759 # FIXME: Setting linknames here is a bad hack.
9760 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9761 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9762 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9764 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9766 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9768 # The linker will not automatically build a static lib if we build a DLL.
9769 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9770 enable_shared_with_static_runtimes=yes
9771 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9774 old_postinstall_cmds='chmod 644 $oldlib'
9775 postlink_cmds='lt_outputfile="@OUTPUT@"~
9776 lt_tool_outputfile="@TOOL_OUTPUT@"~
9777 case $lt_outputfile in
9780 lt_outputfile="$lt_outputfile.exe"
9781 lt_tool_outputfile="$lt_tool_outputfile.exe"
9784 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9785 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9786 $RM "$lt_outputfile.manifest";
9790 # Assume MSVC wrapper
9791 hardcode_libdir_flag_spec=' '
9792 allow_undefined_flag=unsupported
9793 # Tell ltmain to make .lib files, not .a files.
9795 # Tell ltmain to make .dll files, not .so files.
9797 # FIXME: Setting linknames here is a bad hack.
9798 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9799 # The linker will automatically build a .lib file if we build a DLL.
9800 old_archive_from_new_cmds='true'
9801 # FIXME: Should let the user specify the lib program.
9802 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9803 enable_shared_with_static_runtimes=yes
9808 darwin* | rhapsody*)
9811 archive_cmds_need_lc=no
9813 hardcode_automatic=yes
9814 hardcode_shlibpath_var=unsupported
9815 if test "$lt_cv_ld_force_load" = "yes"; then
9816 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\"`'
9819 whole_archive_flag_spec=''
9821 link_all_deplibs=yes
9822 allow_undefined_flag="$_lt_dar_allow_undefined"
9823 case $cc_basename in
9824 ifort*) _lt_dar_can_shared=yes ;;
9825 *) _lt_dar_can_shared=$GCC ;;
9827 if test "$_lt_dar_can_shared" = "yes"; then
9828 output_verbose_link_cmd=func_echo_all
9829 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9830 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9831 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}"
9832 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}"
9841 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_libdir_flag_spec='-L$libdir'
9843 hardcode_shlibpath_var=no
9846 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9847 # support. Future versions do this automatically, but an explicit c++rt0.o
9848 # does not break anything, and helps significantly (at the cost of a little
9851 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9852 hardcode_libdir_flag_spec='-R$libdir'
9854 hardcode_shlibpath_var=no
9857 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9859 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_minus_L=yes
9862 hardcode_shlibpath_var=no
9865 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9866 freebsd* | dragonfly*)
9867 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9868 hardcode_libdir_flag_spec='-R$libdir'
9870 hardcode_shlibpath_var=no
9874 if test "$GCC" = yes; then
9875 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'
9877 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'
9879 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9880 hardcode_libdir_separator=:
9883 # hardcode_minus_L: Not really in the search PATH,
9884 # but as the default location of the library.
9885 hardcode_minus_L=yes
9886 export_dynamic_flag_spec='${wl}-E'
9890 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9891 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9895 if test "$with_gnu_ld" = no; then
9896 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9897 hardcode_libdir_separator=:
9899 hardcode_direct_absolute=yes
9900 export_dynamic_flag_spec='${wl}-E'
9901 # hardcode_minus_L: Not really in the search PATH,
9902 # but as the default location of the library.
9903 hardcode_minus_L=yes
9908 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9911 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9926 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9930 # Older versions of the 11.00 compiler do not understand -b yet
9931 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9933 $as_echo_n "checking if $CC understands -b... " >&6; }
9934 if ${lt_cv_prog_compiler__b+:} false; then :
9935 $as_echo_n "(cached) " >&6
9937 lt_cv_prog_compiler__b=no
9938 save_LDFLAGS="$LDFLAGS"
9939 LDFLAGS="$LDFLAGS -b"
9940 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9941 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9942 # The linker can only warn and ignore the option if not recognized
9943 # So say no if there are warnings
9944 if test -s conftest.err; then
9945 # Append any errors to the config.log.
9946 cat conftest.err 1>&5
9947 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9949 if diff conftest.exp conftest.er2 >/dev/null; then
9950 lt_cv_prog_compiler__b=yes
9953 lt_cv_prog_compiler__b=yes
9957 LDFLAGS="$save_LDFLAGS"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9961 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9963 if test x"$lt_cv_prog_compiler__b" = xyes; then
9964 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9972 if test "$with_gnu_ld" = no; then
9973 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9974 hardcode_libdir_separator=:
9979 hardcode_shlibpath_var=no
9983 hardcode_direct_absolute=yes
9984 export_dynamic_flag_spec='${wl}-E'
9986 # hardcode_minus_L: Not really in the search PATH,
9987 # but as the default location of the library.
9988 hardcode_minus_L=yes
9994 irix5* | irix6* | nonstopux*)
9995 if test "$GCC" = yes; then
9996 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'
9997 # Try to use the -exported_symbol ld option, if it does not
9998 # work, assume that -exports_file does not work either and
9999 # implicitly export all symbols.
10000 # This should be the same for all languages, so no per-tag cache variable.
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10002 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10003 if ${lt_cv_irix_exported_symbol+:} false; then :
10004 $as_echo_n "(cached) " >&6
10006 save_LDFLAGS="$LDFLAGS"
10007 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 int foo (void) { return 0; }
10012 if ac_fn_c_try_link "$LINENO"; then :
10013 lt_cv_irix_exported_symbol=yes
10015 lt_cv_irix_exported_symbol=no
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LDFLAGS="$save_LDFLAGS"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10022 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10023 if test "$lt_cv_irix_exported_symbol" = yes; then
10024 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'
10027 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'
10028 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'
10030 archive_cmds_need_lc='no'
10031 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10032 hardcode_libdir_separator=:
10034 link_all_deplibs=yes
10037 netbsd* | netbsdelf*-gnu)
10038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10039 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10041 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10043 hardcode_libdir_flag_spec='-R$libdir'
10044 hardcode_direct=yes
10045 hardcode_shlibpath_var=no
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct=yes
10051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052 hardcode_libdir_separator=:
10053 hardcode_shlibpath_var=no
10060 if test -f /usr/libexec/ld.so; then
10061 hardcode_direct=yes
10062 hardcode_shlibpath_var=no
10063 hardcode_direct_absolute=yes
10064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10065 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10067 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10068 export_dynamic_flag_spec='${wl}-E'
10071 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10072 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_libdir_flag_spec='-R$libdir'
10076 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10077 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10087 hardcode_libdir_flag_spec='-L$libdir'
10088 hardcode_minus_L=yes
10089 allow_undefined_flag=unsupported
10090 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'
10091 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10095 if test "$GCC" = yes; then
10096 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10097 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'
10099 allow_undefined_flag=' -expect_unresolved \*'
10100 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'
10102 archive_cmds_need_lc='no'
10103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10104 hardcode_libdir_separator=:
10107 osf4* | osf5*) # as osf3* with the addition of -msym flag
10108 if test "$GCC" = yes; then
10109 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10110 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'
10111 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10113 allow_undefined_flag=' -expect_unresolved \*'
10114 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'
10115 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~
10116 $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'
10118 # Both c and cxx compiler support -rpath directly
10119 hardcode_libdir_flag_spec='-rpath $libdir'
10121 archive_cmds_need_lc='no'
10122 hardcode_libdir_separator=:
10126 no_undefined_flag=' -z defs'
10127 if test "$GCC" = yes; then
10129 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10131 $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'
10133 case `$CC -V 2>&1` in
10136 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10137 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10138 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10142 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10144 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10148 hardcode_libdir_flag_spec='-R$libdir'
10149 hardcode_shlibpath_var=no
10151 solaris2.[0-5] | solaris2.[0-5].*) ;;
10153 # The compiler driver will combine and reorder linker options,
10154 # but understands `-z linker_flag'. GCC discards it without `$wl',
10155 # but is careful enough not to reorder.
10156 # Supported since Solaris 2.6 (maybe 2.5.1?)
10157 if test "$GCC" = yes; then
10158 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10160 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10164 link_all_deplibs=yes
10168 if test "x$host_vendor" = xsequent; then
10169 # Use $CC to link under sequent, because it throws in some extra .o
10170 # files that make .init and .fini sections work.
10171 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10175 hardcode_libdir_flag_spec='-L$libdir'
10176 hardcode_direct=yes
10177 hardcode_minus_L=yes
10178 hardcode_shlibpath_var=no
10182 case $host_vendor in
10184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10185 hardcode_direct=yes # is this really true???
10188 ## LD is ld it makes a PLAMLIB
10189 ## CC just makes a GrossModule.
10190 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10191 reload_cmds='$CC -r -o $output$reload_objs'
10195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10199 runpath_var='LD_RUN_PATH'
10200 hardcode_shlibpath_var=no
10204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205 hardcode_shlibpath_var=no
10206 export_dynamic_flag_spec='-Bexport'
10210 if test -d /usr/nec; then
10211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_shlibpath_var=no
10213 runpath_var=LD_RUN_PATH
10214 hardcode_runpath_var=yes
10219 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10220 no_undefined_flag='${wl}-z,text'
10221 archive_cmds_need_lc=no
10222 hardcode_shlibpath_var=no
10223 runpath_var='LD_RUN_PATH'
10225 if test "$GCC" = yes; then
10226 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 sysv5* | sco3.2v5* | sco5v6*)
10235 # Note: We can NOT use -z defs as we might desire, because we do not
10236 # link with -lc, and that would cause any symbols used from libc to
10237 # always be unresolved, which means just about no library would
10238 # ever link correctly. If we're not using GNU ld we use -z text
10239 # though, which does catch some bad symbols but isn't as heavy-handed
10241 no_undefined_flag='${wl}-z,text'
10242 allow_undefined_flag='${wl}-z,nodefs'
10243 archive_cmds_need_lc=no
10244 hardcode_shlibpath_var=no
10245 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10246 hardcode_libdir_separator=':'
10247 link_all_deplibs=yes
10248 export_dynamic_flag_spec='${wl}-Bexport'
10249 runpath_var='LD_RUN_PATH'
10251 if test "$GCC" = yes; then
10252 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10262 hardcode_libdir_flag_spec='-L$libdir'
10263 hardcode_shlibpath_var=no
10271 if test x$host_vendor = xsni; then
10273 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10274 export_dynamic_flag_spec='${wl}-Blargedynsym'
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10281 $as_echo "$ld_shlibs" >&6; }
10282 test "$ld_shlibs" = no && can_build_shared=no
10284 with_gnu_ld=$with_gnu_ld
10301 # Do we need to explicitly link libc?
10303 case "x$archive_cmds_need_lc" in
10305 # Assume -lc should be added
10306 archive_cmds_need_lc=yes
10308 if test "$enable_shared" = yes && test "$GCC" = yes; then
10309 case $archive_cmds in
10311 # FIXME: we may have to deal with multi-command sequences.
10314 # Test whether the compiler implicitly links with -lc since on some
10315 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10316 # to ld, don't add -lc before -lgcc.
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10318 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10319 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10320 $as_echo_n "(cached) " >&6
10323 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10326 (eval $ac_compile) 2>&5
10328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10329 test $ac_status = 0; } 2>conftest.err; then
10332 libobjs=conftest.$ac_objext
10334 wl=$lt_prog_compiler_wl
10335 pic_flag=$lt_prog_compiler_pic
10341 lt_save_allow_undefined_flag=$allow_undefined_flag
10342 allow_undefined_flag=
10343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10344 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10347 test $ac_status = 0; }
10349 lt_cv_archive_cmds_need_lc=no
10351 lt_cv_archive_cmds_need_lc=yes
10353 allow_undefined_flag=$lt_save_allow_undefined_flag
10355 cat conftest.err 1>&5
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10361 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10362 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10521 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10523 if test "$GCC" = yes; then
10525 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10526 *) lt_awk_arg="/^libraries:/" ;;
10529 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10530 *) lt_sed_strip_eq="s,=/,/,g" ;;
10532 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10533 case $lt_search_path_spec in
10535 # if the path contains ";" then we assume it to be the separator
10536 # otherwise default to the standard path separator (i.e. ":") - it is
10537 # assumed that no part of a normal pathname contains ";" but that should
10538 # okay in the real world where ";" in dirpaths is itself problematic.
10539 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10542 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10545 # Ok, now we have the path, separated by spaces, we can step through it
10546 # and add multilib dir if necessary.
10547 lt_tmp_lt_search_path_spec=
10548 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10549 for lt_sys_path in $lt_search_path_spec; do
10550 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10551 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10553 test -d "$lt_sys_path" && \
10554 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10557 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10558 BEGIN {RS=" "; FS="/|\n";} {
10561 for (lt_i = NF; lt_i > 0; lt_i--) {
10562 if ($lt_i != "" && $lt_i != ".") {
10563 if ($lt_i == "..") {
10566 if (lt_count == 0) {
10567 lt_foo="/" $lt_i lt_foo;
10574 if (lt_foo != "") { lt_freq[lt_foo]++; }
10575 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10577 # AWK program above erroneously prepends '/' to C:/dos/paths
10580 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10581 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10583 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10585 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10587 library_names_spec=
10588 libname_spec='lib$name'
10592 postuninstall_cmds=
10596 shlibpath_overrides_runpath=unknown
10598 dynamic_linker="$host_os ld.so"
10599 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10600 need_lib_prefix=unknown
10601 hardcode_into_libs=no
10603 # when you set need_version to no, make sure it does not cause -set_version
10604 # flags to be left without arguments
10605 need_version=unknown
10609 version_type=linux # correct to gnu/linux during the next big refactor
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10611 shlibpath_var=LIBPATH
10613 # AIX 3 has no versioning support, so we append a major version to the name.
10614 soname_spec='${libname}${release}${shared_ext}$major'
10618 version_type=linux # correct to gnu/linux during the next big refactor
10621 hardcode_into_libs=yes
10622 if test "$host_cpu" = ia64; then
10623 # AIX 5 supports IA64
10624 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10625 shlibpath_var=LD_LIBRARY_PATH
10627 # With GCC up to 2.95.x, collect2 would create an import file
10628 # for dependence libraries. The import file would start with
10629 # the line `#! .'. This would cause the generated library to
10630 # depend on `.', always an invalid library. This was fixed in
10631 # development snapshots of GCC prior to 3.0.
10633 aix4 | aix4.[01] | aix4.[01].*)
10634 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10636 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10639 can_build_shared=no
10643 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10644 # soname into executable. Probably we can add versioning support to
10645 # collect2, so additional links can be useful in future.
10646 if test "$aix_use_runtimelinking" = yes; then
10647 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10648 # instead of lib<name>.a to let people know that these are not
10649 # typical AIX shared libraries.
10650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 # We preserve .a as extension for shared libraries through AIX4.2
10653 # and later when we are not doing run time linking.
10654 library_names_spec='${libname}${release}.a $libname.a'
10655 soname_spec='${libname}${release}${shared_ext}$major'
10657 shlibpath_var=LIBPATH
10664 # Since July 2007 AmigaOS4 officially supports .so libraries.
10665 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 library_names_spec='$libname.ixlibrary $libname.a'
10670 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10671 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'
10677 library_names_spec='${libname}${shared_ext}'
10678 dynamic_linker="$host_os ld.so"
10679 shlibpath_var=LIBRARY_PATH
10683 version_type=linux # correct to gnu/linux during the next big refactor
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10687 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10688 shlibpath_var=LD_LIBRARY_PATH
10689 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10690 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10691 # the default ld.so.conf also contains /usr/contrib/lib and
10692 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10693 # libtool to hard-code these into programs
10696 cygwin* | mingw* | pw32* | cegcc*)
10697 version_type=windows
10702 case $GCC,$cc_basename in
10705 library_names_spec='$libname.dll.a'
10706 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10707 postinstall_cmds='base_file=`basename \${file}`~
10708 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10709 dldir=$destdir/`dirname \$dlpath`~
10710 test -d \$dldir || mkdir -p \$dldir~
10711 $install_prog $dir/$dlname \$dldir/$dlname~
10712 chmod a+x \$dldir/$dlname~
10713 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10714 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10716 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10717 dlpath=$dir/\$dldll~
10719 shlibpath_overrides_runpath=yes
10723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10724 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10726 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10729 # MinGW DLLs use traditional 'lib' prefix
10730 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10733 # pw32 DLLs use 'pw' prefix rather than 'lib'
10734 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10737 dynamic_linker='Win32 ld.exe'
10742 libname_spec='$name'
10743 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10744 library_names_spec='${libname}.dll.lib'
10748 sys_lib_search_path_spec=
10751 for lt_path in $LIB
10754 # Let DOS variable expansion print the short 8.3 style file name.
10755 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10756 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10759 # Convert to MSYS style.
10760 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10763 # Convert to unix form, then to dos form, then back to unix form
10764 # but this time dos style (no spaces!) so that the unix form looks
10765 # like /cygdrive/c/PROGRA~1:/cygdr...
10766 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10767 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10768 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10771 sys_lib_search_path_spec="$LIB"
10772 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10773 # It is most probably a Windows format PATH.
10774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10776 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10778 # FIXME: find the short name or the path components, as spaces are
10779 # common. (e.g. "Program Files" -> "PROGRA~1")
10783 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10784 postinstall_cmds='base_file=`basename \${file}`~
10785 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10786 dldir=$destdir/`dirname \$dlpath`~
10787 test -d \$dldir || mkdir -p \$dldir~
10788 $install_prog $dir/$dlname \$dldir/$dlname'
10789 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10790 dlpath=$dir/\$dldll~
10792 shlibpath_overrides_runpath=yes
10793 dynamic_linker='Win32 link.exe'
10797 # Assume MSVC wrapper
10798 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10799 dynamic_linker='Win32 ld.exe'
10802 # FIXME: first we should search . and the directory the executable is in
10806 darwin* | rhapsody*)
10807 dynamic_linker="$host_os dyld"
10808 version_type=darwin
10811 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10812 soname_spec='${libname}${release}${major}$shared_ext'
10813 shlibpath_overrides_runpath=yes
10814 shlibpath_var=DYLD_LIBRARY_PATH
10815 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10817 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10818 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10822 version_type=linux # correct to gnu/linux during the next big refactor
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 shlibpath_var=LD_LIBRARY_PATH
10830 freebsd* | dragonfly*)
10831 # DragonFly does not have aout. When/if they implement a new
10832 # versioning mechanism, adjust this.
10833 if test -x /usr/bin/objformat; then
10834 objformat=`/usr/bin/objformat`
10837 freebsd[23].*) objformat=aout ;;
10838 *) objformat=elf ;;
10841 version_type=freebsd-$objformat
10842 case $version_type in
10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10853 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=yes
10858 freebsd3.[01]* | freebsdelf3.[01]*)
10859 shlibpath_overrides_runpath=yes
10860 hardcode_into_libs=yes
10862 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10863 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10864 shlibpath_overrides_runpath=no
10865 hardcode_into_libs=yes
10867 *) # from 4.6 on, and DragonFly
10868 shlibpath_overrides_runpath=yes
10869 hardcode_into_libs=yes
10875 version_type=linux # correct to gnu/linux during the next big refactor
10878 dynamic_linker="$host_os runtime_loader"
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10880 soname_spec='${libname}${release}${shared_ext}$major'
10881 shlibpath_var=LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes
10883 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10884 hardcode_into_libs=yes
10887 hpux9* | hpux10* | hpux11*)
10888 # Give a soname corresponding to the major version so that dld.sl refuses to
10889 # link against other versions.
10896 hardcode_into_libs=yes
10897 dynamic_linker="$host_os dld.so"
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 if test "X$HPUX_IA64_MODE" = X32; then
10903 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10905 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10907 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10911 hardcode_into_libs=yes
10912 dynamic_linker="$host_os dld.sl"
10913 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10914 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10918 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10922 dynamic_linker="$host_os dld.sl"
10923 shlibpath_var=SHLIB_PATH
10924 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 soname_spec='${libname}${release}${shared_ext}$major'
10929 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10930 postinstall_cmds='chmod 555 $lib'
10931 # or fails outright, so override atomically:
10932 install_override_mode=555
10936 version_type=linux # correct to gnu/linux during the next big refactor
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath=no
10944 hardcode_into_libs=yes
10947 irix5* | irix6* | nonstopux*)
10949 nonstopux*) version_type=nonstopux ;;
10951 if test "$lt_cv_prog_gnu_ld" = yes; then
10952 version_type=linux # correct to gnu/linux during the next big refactor
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10962 irix5* | nonstopux*)
10963 libsuff= shlibsuff=
10966 case $LD in # libtool.m4 will add one of these switches to LD
10967 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10968 libsuff= shlibsuff= libmagic=32-bit;;
10969 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10970 libsuff=32 shlibsuff=N32 libmagic=N32;;
10971 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10972 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10973 *) libsuff= shlibsuff= libmagic=never-match;;
10977 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10978 shlibpath_overrides_runpath=no
10979 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10980 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10981 hardcode_into_libs=yes
10984 # No shared lib support for Linux oldld, aout, or coff.
10985 linux*oldld* | linux*aout* | linux*coff*)
10989 # This must be glibc/ELF.
10990 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10991 version_type=linux # correct to gnu/linux during the next big refactor
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 soname_spec='${libname}${release}${shared_ext}$major'
10996 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10997 shlibpath_var=LD_LIBRARY_PATH
10998 shlibpath_overrides_runpath=no
11000 # Some binutils ld are patched to set DT_RUNPATH
11001 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11002 $as_echo_n "(cached) " >&6
11004 lt_cv_shlibpath_overrides_runpath=no
11005 save_LDFLAGS=$LDFLAGS
11006 save_libdir=$libdir
11007 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11008 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11022 lt_cv_shlibpath_overrides_runpath=yes
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LDFLAGS=$save_LDFLAGS
11028 libdir=$save_libdir
11032 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11034 # This implies no fast_install, which is unacceptable.
11035 # Some rework will be needed to allow for fast_install
11036 # before this can be enabled.
11037 hardcode_into_libs=yes
11039 # Append ld.so.conf contents to the search path
11040 if test -f /etc/ld.so.conf; then
11041 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11042 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11045 # We used to test for /lib/ld.so.1 and disable shared libraries on
11046 # powerpc, because MkLinux only supported shared libraries with the
11047 # GNU dynamic linker. Since this was broken with cross compilers,
11048 # most powerpc-linux boxes support dynamic linking these days and
11049 # people can always --disable-shared, the test was removed, and we
11050 # assume the GNU/Linux dynamic linker is in use.
11051 dynamic_linker='GNU/Linux ld.so'
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11059 soname_spec='${libname}${release}${shared_ext}$major'
11060 shlibpath_var=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath=no
11062 hardcode_into_libs=yes
11063 dynamic_linker='NetBSD ld.elf_so'
11070 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11072 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11073 dynamic_linker='NetBSD (a.out) ld.so'
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11076 soname_spec='${libname}${release}${shared_ext}$major'
11077 dynamic_linker='NetBSD ld.elf_so'
11079 shlibpath_var=LD_LIBRARY_PATH
11080 shlibpath_overrides_runpath=yes
11081 hardcode_into_libs=yes
11085 version_type=linux # correct to gnu/linux during the next big refactor
11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath=yes
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 soname_spec='${libname}${release}${shared_ext}$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 shlibpath_overrides_runpath=no
11099 hardcode_into_libs=yes
11100 dynamic_linker='ldqnx.so'
11105 sys_lib_dlsearch_path_spec="/usr/lib"
11107 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11109 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11110 *) need_version=no ;;
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11113 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11114 shlibpath_var=LD_LIBRARY_PATH
11115 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11117 openbsd2.[89] | openbsd2.[89].*)
11118 shlibpath_overrides_runpath=no
11121 shlibpath_overrides_runpath=yes
11125 shlibpath_overrides_runpath=yes
11130 libname_spec='$name'
11133 library_names_spec='$libname${shared_ext} $libname.a'
11134 dynamic_linker='OS/2 ld.exe'
11135 shlibpath_var=LIBPATH
11138 osf3* | osf4* | osf5*)
11142 soname_spec='${libname}${release}${shared_ext}$major'
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144 shlibpath_var=LD_LIBRARY_PATH
11145 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11146 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11154 version_type=linux # correct to gnu/linux during the next big refactor
11157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158 soname_spec='${libname}${release}${shared_ext}$major'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=yes
11161 hardcode_into_libs=yes
11162 # ldd complains unless libraries are executable
11163 postinstall_cmds='chmod +x $lib'
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11169 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11170 shlibpath_var=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath=yes
11172 if test "$with_gnu_ld" = yes; then
11179 version_type=linux # correct to gnu/linux during the next big refactor
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 soname_spec='${libname}${release}${shared_ext}$major'
11182 shlibpath_var=LD_LIBRARY_PATH
11183 case $host_vendor in
11185 shlibpath_overrides_runpath=no
11187 runpath_var=LD_RUN_PATH
11195 shlibpath_overrides_runpath=no
11196 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11202 if test -d /usr/nec ;then
11203 version_type=linux # correct to gnu/linux during the next big refactor
11204 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11205 soname_spec='$libname${shared_ext}.$major'
11206 shlibpath_var=LD_LIBRARY_PATH
11210 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11211 version_type=freebsd-elf
11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11215 soname_spec='${libname}${release}${shared_ext}$major'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 shlibpath_overrides_runpath=yes
11218 hardcode_into_libs=yes
11219 if test "$with_gnu_ld" = yes; then
11220 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11222 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11225 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11229 sys_lib_dlsearch_path_spec='/usr/lib'
11233 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11234 version_type=linux # correct to gnu/linux during the next big refactor
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 shlibpath_var=LD_LIBRARY_PATH
11239 shlibpath_overrides_runpath=no
11240 hardcode_into_libs=yes
11244 version_type=linux # correct to gnu/linux during the next big refactor
11245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246 soname_spec='${libname}${release}${shared_ext}$major'
11247 shlibpath_var=LD_LIBRARY_PATH
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11255 $as_echo "$dynamic_linker" >&6; }
11256 test "$dynamic_linker" = no && can_build_shared=no
11258 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11259 if test "$GCC" = yes; then
11260 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11263 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11264 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11266 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11267 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11362 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11364 if test -n "$hardcode_libdir_flag_spec" ||
11365 test -n "$runpath_var" ||
11366 test "X$hardcode_automatic" = "Xyes" ; then
11368 # We can hardcode non-existent directories.
11369 if test "$hardcode_direct" != no &&
11370 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11371 # have to relink, otherwise we might link with an installed library
11372 # when we should be linking with a yet-to-be-installed one
11373 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11374 test "$hardcode_minus_L" != no; then
11375 # Linking always hardcodes the temporary library directory.
11376 hardcode_action=relink
11378 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11379 hardcode_action=immediate
11382 # We cannot hardcode anything, or else we can only hardcode existing
11384 hardcode_action=unsupported
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11387 $as_echo "$hardcode_action" >&6; }
11389 if test "$hardcode_action" = relink ||
11390 test "$inherit_rpath" = yes; then
11391 # Fast installation is not supported
11392 enable_fast_install=no
11393 elif test "$shlibpath_overrides_runpath" = yes ||
11394 test "$enable_shared" = no; then
11395 # Fast installation is not necessary
11396 enable_fast_install=needless
11404 if test "x$enable_dlopen" != xyes; then
11405 enable_dlopen=unknown
11406 enable_dlopen_self=unknown
11407 enable_dlopen_self_static=unknown
11414 lt_cv_dlopen="load_add_on"
11416 lt_cv_dlopen_self=yes
11419 mingw* | pw32* | cegcc*)
11420 lt_cv_dlopen="LoadLibrary"
11425 lt_cv_dlopen="dlopen"
11430 # if libdl is installed we need to link against it
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11432 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11433 if ${ac_cv_lib_dl_dlopen+:} false; then :
11434 $as_echo_n "(cached) " >&6
11436 ac_check_lib_save_LIBS=$LIBS
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 ac_cv_lib_dl_dlopen=yes
11459 ac_cv_lib_dl_dlopen=no
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11466 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11467 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11468 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11471 lt_cv_dlopen="dyld"
11473 lt_cv_dlopen_self=yes
11480 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11481 if test "x$ac_cv_func_shl_load" = xyes; then :
11482 lt_cv_dlopen="shl_load"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11485 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11486 if ${ac_cv_lib_dld_shl_load+:} false; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_lib_save_LIBS=$LIBS
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11504 return shl_load ();
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 ac_cv_lib_dld_shl_load=yes
11512 ac_cv_lib_dld_shl_load=no
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11519 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11520 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11521 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11523 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11524 if test "x$ac_cv_func_dlopen" = xyes; then :
11525 lt_cv_dlopen="dlopen"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11528 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11529 if ${ac_cv_lib_dl_dlopen+:} false; then :
11530 $as_echo_n "(cached) " >&6
11532 ac_check_lib_save_LIBS=$LIBS
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_dl_dlopen=yes
11555 ac_cv_lib_dl_dlopen=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11562 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11563 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11564 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11567 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11568 if ${ac_cv_lib_svld_dlopen+:} false; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lsvld $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_svld_dlopen=yes
11594 ac_cv_lib_svld_dlopen=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11601 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11602 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11603 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11606 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11607 if ${ac_cv_lib_dld_dld_link+:} false; then :
11608 $as_echo_n "(cached) " >&6
11610 ac_check_lib_save_LIBS=$LIBS
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11625 return dld_link ();
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 ac_cv_lib_dld_dld_link=yes
11633 ac_cv_lib_dld_dld_link=no
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11640 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11641 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11642 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11663 if test "x$lt_cv_dlopen" != xno; then
11669 case $lt_cv_dlopen in
11671 save_CPPFLAGS="$CPPFLAGS"
11672 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11674 save_LDFLAGS="$LDFLAGS"
11675 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11678 LIBS="$lt_cv_dlopen_libs $LIBS"
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11681 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11682 if ${lt_cv_dlopen_self+:} false; then :
11683 $as_echo_n "(cached) " >&6
11685 if test "$cross_compiling" = yes; then :
11686 lt_cv_dlopen_self=cross
11688 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11689 lt_status=$lt_dlunknown
11690 cat > conftest.$ac_ext <<_LT_EOF
11691 #line $LINENO "configure"
11692 #include "confdefs.h"
11701 # define LT_DLGLOBAL RTLD_GLOBAL
11704 # define LT_DLGLOBAL DL_GLOBAL
11706 # define LT_DLGLOBAL 0
11710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11711 find out it does not work in some platform. */
11712 #ifndef LT_DLLAZY_OR_NOW
11714 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11717 # define LT_DLLAZY_OR_NOW DL_LAZY
11720 # define LT_DLLAZY_OR_NOW RTLD_NOW
11723 # define LT_DLLAZY_OR_NOW DL_NOW
11725 # define LT_DLLAZY_OR_NOW 0
11732 /* When -fvisbility=hidden is used, assume the code has been annotated
11733 correspondingly for the symbols needed. */
11734 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11735 int fnord () __attribute__((visibility("default")));
11738 int fnord () { return 42; }
11741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742 int status = $lt_dlunknown;
11746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11749 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11750 else puts (dlerror ());
11752 /* dlclose (self); */
11760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11761 (eval $ac_link) 2>&5
11763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11765 (./conftest; exit; ) >&5 2>/dev/null
11767 case x$lt_status in
11768 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11769 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11770 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11773 # compilation failed
11774 lt_cv_dlopen_self=no
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11782 $as_echo "$lt_cv_dlopen_self" >&6; }
11784 if test "x$lt_cv_dlopen_self" = xyes; then
11785 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11787 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11788 if ${lt_cv_dlopen_self_static+:} false; then :
11789 $as_echo_n "(cached) " >&6
11791 if test "$cross_compiling" = yes; then :
11792 lt_cv_dlopen_self_static=cross
11794 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11795 lt_status=$lt_dlunknown
11796 cat > conftest.$ac_ext <<_LT_EOF
11797 #line $LINENO "configure"
11798 #include "confdefs.h"
11807 # define LT_DLGLOBAL RTLD_GLOBAL
11810 # define LT_DLGLOBAL DL_GLOBAL
11812 # define LT_DLGLOBAL 0
11816 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11817 find out it does not work in some platform. */
11818 #ifndef LT_DLLAZY_OR_NOW
11820 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11823 # define LT_DLLAZY_OR_NOW DL_LAZY
11826 # define LT_DLLAZY_OR_NOW RTLD_NOW
11829 # define LT_DLLAZY_OR_NOW DL_NOW
11831 # define LT_DLLAZY_OR_NOW 0
11838 /* When -fvisbility=hidden is used, assume the code has been annotated
11839 correspondingly for the symbols needed. */
11840 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11841 int fnord () __attribute__((visibility("default")));
11844 int fnord () { return 42; }
11847 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11848 int status = $lt_dlunknown;
11852 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11855 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11856 else puts (dlerror ());
11858 /* dlclose (self); */
11866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11867 (eval $ac_link) 2>&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11870 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11871 (./conftest; exit; ) >&5 2>/dev/null
11873 case x$lt_status in
11874 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11875 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11876 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11879 # compilation failed
11880 lt_cv_dlopen_self_static=no
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11888 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11891 CPPFLAGS="$save_CPPFLAGS"
11892 LDFLAGS="$save_LDFLAGS"
11897 case $lt_cv_dlopen_self in
11898 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11899 *) enable_dlopen_self=unknown ;;
11902 case $lt_cv_dlopen_self_static in
11903 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11904 *) enable_dlopen_self_static=unknown ;;
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11927 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11928 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11929 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11930 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11932 $as_echo "yes" >&6; }
11934 # FIXME - insert some real tests, host_os isn't really good enough
11937 if test -n "$STRIP" ; then
11938 striplib="$STRIP -x"
11939 old_striplib="$STRIP -S"
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11941 $as_echo "yes" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11965 # Report which library types will actually be built
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11967 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11969 $as_echo "$can_build_shared" >&6; }
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11972 $as_echo_n "checking whether to build shared libraries... " >&6; }
11973 test "$can_build_shared" = "no" && enable_shared=no
11975 # On AIX, shared libraries and static libraries use the same namespace, and
11976 # are all built from PIC.
11979 test "$enable_shared" = yes && enable_static=no
11980 if test -n "$RANLIB"; then
11981 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11982 postinstall_cmds='$RANLIB $lib'
11987 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11988 test "$enable_shared" = yes && enable_static=no
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11993 $as_echo "$enable_shared" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11996 $as_echo_n "checking whether to build static libraries... " >&6; }
11997 # Make sure either enable_shared or enable_static is yes.
11998 test "$enable_shared" = yes || enable_static=yes
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12000 $as_echo "$enable_static" >&6; }
12007 ac_cpp='$CPP $CPPFLAGS'
12008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12028 ac_config_commands="$ac_config_commands libtool"
12033 # Only expand once:
12037 # Gobject Introspection
12045 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12046 if test -n "$ac_tool_prefix"; then
12047 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12048 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12050 $as_echo_n "checking for $ac_word... " >&6; }
12051 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12052 $as_echo_n "(cached) " >&6
12054 case $PKG_CONFIG in
12056 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12063 test -z "$as_dir" && as_dir=.
12064 for ac_exec_ext in '' $ac_executable_extensions; do
12065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12066 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12078 if test -n "$PKG_CONFIG"; then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12080 $as_echo "$PKG_CONFIG" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12083 $as_echo "no" >&6; }
12088 if test -z "$ac_cv_path_PKG_CONFIG"; then
12089 ac_pt_PKG_CONFIG=$PKG_CONFIG
12090 # Extract the first word of "pkg-config", so it can be a program name with args.
12091 set dummy pkg-config; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12093 $as_echo_n "checking for $ac_word... " >&6; }
12094 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12095 $as_echo_n "(cached) " >&6
12097 case $ac_pt_PKG_CONFIG in
12099 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12106 test -z "$as_dir" && as_dir=.
12107 for ac_exec_ext in '' $ac_executable_extensions; do
12108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12121 if test -n "$ac_pt_PKG_CONFIG"; then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12123 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12129 if test "x$ac_pt_PKG_CONFIG" = x; then
12132 case $cross_compiling:$ac_tool_warned in
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12136 ac_tool_warned=yes ;;
12138 PKG_CONFIG=$ac_pt_PKG_CONFIG
12141 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12145 if test -n "$PKG_CONFIG"; then
12146 _pkg_min_version=0.9.0
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12148 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12149 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151 $as_echo "yes" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154 $as_echo "no" >&6; }
12161 # Check whether --enable-introspection was given.
12162 if test "${enable_introspection+set}" = set; then :
12163 enableval=$enable_introspection;
12165 enable_introspection=auto
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12170 $as_echo_n "checking for gobject-introspection... " >&6; }
12172 case $enable_introspection in #(
12174 found_introspection="no (disabled, use --enable-introspection to enable)"
12177 if test -n "$PKG_CONFIG" && \
12178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12179 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12182 test $ac_status = 0; }; then
12185 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12187 if test -n "$PKG_CONFIG" && \
12188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12189 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12192 test $ac_status = 0; }; then
12193 found_introspection=yes
12195 as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libgsignon-glib" "$LINENO" 5
12199 if test -n "$PKG_CONFIG" && \
12200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12201 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12204 test $ac_status = 0; }; then
12205 found_introspection=yes
12207 found_introspection=no
12211 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12215 $as_echo "$found_introspection" >&6; }
12217 INTROSPECTION_SCANNER=
12218 INTROSPECTION_COMPILER=
12219 INTROSPECTION_GENERATE=
12220 INTROSPECTION_GIRDIR=
12221 INTROSPECTION_TYPELIBDIR=
12222 if test "x$found_introspection" = "xyes"; then
12223 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12224 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12225 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12226 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12227 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12228 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12229 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12230 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12241 if test "x$found_introspection" = "xyes"; then
12242 HAVE_INTROSPECTION_TRUE=
12243 HAVE_INTROSPECTION_FALSE='#'
12245 HAVE_INTROSPECTION_TRUE='#'
12246 HAVE_INTROSPECTION_FALSE=
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12255 $as_echo_n "checking for DEPS... " >&6; }
12257 if test -n "$DEPS_CFLAGS"; then
12258 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12259 elif test -n "$PKG_CONFIG"; then
12260 if test -n "$PKG_CONFIG" && \
12261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12265 gthread-2.0\""; } >&5
12266 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273 test $ac_status = 0; }; then
12274 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
12278 gthread-2.0" 2>/dev/null`
12279 test "x$?" != "x0" && pkg_failed=yes
12286 if test -n "$DEPS_LIBS"; then
12287 pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12288 elif test -n "$PKG_CONFIG"; then
12289 if test -n "$PKG_CONFIG" && \
12290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12294 gthread-2.0\""; } >&5
12295 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302 test $ac_status = 0; }; then
12303 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
12307 gthread-2.0" 2>/dev/null`
12308 test "x$?" != "x0" && pkg_failed=yes
12318 if test $pkg_failed = yes; then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12323 _pkg_short_errors_supported=yes
12325 _pkg_short_errors_supported=no
12327 if test $_pkg_short_errors_supported = yes; then
12328 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
12334 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
12340 # Put the nasty error message in config.log where it belongs
12341 echo "$DEPS_PKG_ERRORS" >&5
12343 as_fn_error $? "Package requirements (gio-2.0 >= 2.30
12347 gthread-2.0) were not met:
12351 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12352 installed software in a non-standard prefix.
12354 Alternatively, you may set the environment variables DEPS_CFLAGS
12355 and DEPS_LIBS to avoid the need to call pkg-config.
12356 See the pkg-config man page for more details." "$LINENO" 5
12357 elif test $pkg_failed = untried; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12362 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12363 is in your PATH or set the PKG_CONFIG environment variable to the full
12364 path to pkg-config.
12366 Alternatively, you may set the environment variables DEPS_CFLAGS
12367 and DEPS_LIBS to avoid the need to call pkg-config.
12368 See the pkg-config man page for more details.
12370 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12371 See \`config.log' for more details" "$LINENO" 5; }
12373 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12374 DEPS_LIBS=$pkg_cv_DEPS_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12376 $as_echo "yes" >&6; }
12382 # Check whether --enable-dbus-type was given.
12383 if test "${enable_dbus_type+set}" = set; then :
12384 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12386 enable_dbus_type=p2p
12390 echo "----------------------"
12391 echo " DBUS TYPE : '$enable_dbus_type'"
12392 echo "-----------------------"
12393 if test "x$enable_dbus_type" = "xp2p" ; then
12395 $as_echo "#define USE_P2P 1" >>confdefs.h
12398 $as_echo "#define SIGNOND_BUS_ADDRESS \"unix:path=%s/gsignond/bus-sock\"" >>confdefs.h
12400 elif test "x$enable_dbus_type" = "xsession" ; then
12402 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12409 $as_echo_n "checking for GTestDBus... " >&6; }
12411 if test -n "$GTestDBus_CFLAGS"; then
12412 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12413 elif test -n "$PKG_CONFIG"; then
12414 if test -n "$PKG_CONFIG" && \
12415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12416 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12419 test $ac_status = 0; }; then
12420 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34" 2>/dev/null`
12421 test "x$?" != "x0" && pkg_failed=yes
12428 if test -n "$GTestDBus_LIBS"; then
12429 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12430 elif test -n "$PKG_CONFIG"; then
12431 if test -n "$PKG_CONFIG" && \
12432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12433 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12436 test $ac_status = 0; }; then
12437 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34" 2>/dev/null`
12438 test "x$?" != "x0" && pkg_failed=yes
12448 if test $pkg_failed = yes; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12450 $as_echo "no" >&6; }
12452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12453 _pkg_short_errors_supported=yes
12455 _pkg_short_errors_supported=no
12457 if test $_pkg_short_errors_supported = yes; then
12458 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12460 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12462 # Put the nasty error message in config.log where it belongs
12463 echo "$GTestDBus_PKG_ERRORS" >&5
12466 elif test $pkg_failed = untried; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12471 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12472 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12474 $as_echo "yes" >&6; }
12477 if test "x$gtestdbus" = xyes; then
12479 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12483 $as_echo "#define HAVE_GTESTDBUS 0" >>confdefs.h
12486 elif test "x$enable_dbus_type" = "xsystem" ; then
12488 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12491 if test "x$enable_dbus_type" != "xp2p" ; then
12492 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12495 if test x$gtestdbus = xyes; then
12496 HAVE_GTESTDBUS_TRUE=
12497 HAVE_GTESTDBUS_FALSE='#'
12499 HAVE_GTESTDBUS_TRUE='#'
12500 HAVE_GTESTDBUS_FALSE=
12504 CHECK_REQUIRED="check >= 0.9.4"
12506 # Check whether --enable-tests was given.
12507 if test "${enable_tests+set}" = set; then :
12508 enableval=$enable_tests;
12512 if test "x$enable_tests" != "xno"; then :
12513 if test -n "$PKG_CONFIG" && \
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12515 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12518 test $ac_status = 0; }; then
12527 if test "x$have_check" = "xyes"; then :
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12531 $as_echo_n "checking for CHECK... " >&6; }
12533 if test -n "$CHECK_CFLAGS"; then
12534 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12535 elif test -n "$PKG_CONFIG"; then
12536 if test -n "$PKG_CONFIG" && \
12537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12538 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12541 test $ac_status = 0; }; then
12542 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$CHECK_REQUIRED" 2>/dev/null`
12543 test "x$?" != "x0" && pkg_failed=yes
12550 if test -n "$CHECK_LIBS"; then
12551 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12552 elif test -n "$PKG_CONFIG"; then
12553 if test -n "$PKG_CONFIG" && \
12554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12555 ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12558 test $ac_status = 0; }; then
12559 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "$CHECK_REQUIRED" 2>/dev/null`
12560 test "x$?" != "x0" && pkg_failed=yes
12570 if test $pkg_failed = yes; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572 $as_echo "no" >&6; }
12574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12575 _pkg_short_errors_supported=yes
12577 _pkg_short_errors_supported=no
12579 if test $_pkg_short_errors_supported = yes; then
12580 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12582 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12584 # Put the nasty error message in config.log where it belongs
12585 echo "$CHECK_PKG_ERRORS" >&5
12587 as_fn_error $? "Package requirements ($CHECK_REQUIRED) were not met:
12591 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12592 installed software in a non-standard prefix.
12594 Alternatively, you may set the environment variables CHECK_CFLAGS
12595 and CHECK_LIBS to avoid the need to call pkg-config.
12596 See the pkg-config man page for more details." "$LINENO" 5
12597 elif test $pkg_failed = untried; then
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12599 $as_echo "no" >&6; }
12600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12602 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12603 is in your PATH or set the PKG_CONFIG environment variable to the full
12604 path to pkg-config.
12606 Alternatively, you may set the environment variables CHECK_CFLAGS
12607 and CHECK_LIBS to avoid the need to call pkg-config.
12608 See the pkg-config man page for more details.
12610 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12611 See \`config.log' for more details" "$LINENO" 5; }
12613 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12614 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12616 $as_echo "yes" >&6; }
12622 if test "x$enable_tests" = "xyes"; then :
12623 as_fn_error $? "tests enabled but required dependencies were not found" "$LINENO" 5
12627 if test "x$have_check" = "xyes"; then
12629 ENABLE_TESTS_FALSE='#'
12631 ENABLE_TESTS_TRUE='#'
12632 ENABLE_TESTS_FALSE=
12640 gtk_doc_requires="gtk-doc >= 1.14"
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12642 $as_echo_n "checking for gtk-doc... " >&6; }
12643 if test -n "$PKG_CONFIG" && \
12644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12645 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12648 test $ac_status = 0; }; then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12654 $as_echo "$have_gtk_doc" >&6; }
12656 if test "$have_gtk_doc" = "no"; then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12658 You will not be able to create source packages with 'make dist'
12659 because $gtk_doc_requires is not found." >&5
12660 $as_echo "$as_me: WARNING:
12661 You will not be able to create source packages with 'make dist'
12662 because $gtk_doc_requires is not found." >&2;}
12665 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12666 set dummy gtkdoc-check; ac_word=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12668 $as_echo_n "checking for $ac_word... " >&6; }
12669 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12670 $as_echo_n "(cached) " >&6
12672 if test -n "$GTKDOC_CHECK"; then
12673 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $PATH
12679 test -z "$as_dir" && as_dir=.
12680 for ac_exec_ext in '' $ac_executable_extensions; do
12681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12682 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12692 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12693 if test -n "$GTKDOC_CHECK"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12695 $as_echo "$GTKDOC_CHECK" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12702 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12703 set dummy gtkdoc-check; ac_word=$2
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12705 $as_echo_n "checking for $ac_word... " >&6; }
12706 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12707 $as_echo_n "(cached) " >&6
12709 case $GTKDOC_CHECK_PATH in
12711 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12715 for as_dir in $PATH
12718 test -z "$as_dir" && as_dir=.
12719 for ac_exec_ext in '' $ac_executable_extensions; do
12720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12721 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12732 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12733 if test -n "$GTKDOC_CHECK_PATH"; then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12735 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12738 $as_echo "no" >&6; }
12742 for ac_prog in gtkdoc-rebase
12744 # Extract the first word of "$ac_prog", so it can be a program name with args.
12745 set dummy $ac_prog; ac_word=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747 $as_echo_n "checking for $ac_word... " >&6; }
12748 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12749 $as_echo_n "(cached) " >&6
12751 case $GTKDOC_REBASE in
12753 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12757 for as_dir in $PATH
12760 test -z "$as_dir" && as_dir=.
12761 for ac_exec_ext in '' $ac_executable_extensions; do
12762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12763 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12775 if test -n "$GTKDOC_REBASE"; then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12777 $as_echo "$GTKDOC_REBASE" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12784 test -n "$GTKDOC_REBASE" && break
12786 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12788 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12789 set dummy gtkdoc-mkpdf; ac_word=$2
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12791 $as_echo_n "checking for $ac_word... " >&6; }
12792 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12793 $as_echo_n "(cached) " >&6
12795 case $GTKDOC_MKPDF in
12797 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12807 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12818 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12819 if test -n "$GTKDOC_MKPDF"; then
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12821 $as_echo "$GTKDOC_MKPDF" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12830 # Check whether --with-html-dir was given.
12831 if test "${with_html_dir+set}" = set; then :
12832 withval=$with_html_dir;
12834 with_html_dir='${datadir}/gtk-doc/html'
12837 HTML_DIR="$with_html_dir"
12840 # Check whether --enable-gtk-doc was given.
12841 if test "${enable_gtk_doc+set}" = set; then :
12842 enableval=$enable_gtk_doc;
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12849 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12851 $as_echo "$enable_gtk_doc" >&6; }
12853 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12855 You must have $gtk_doc_requires installed to build documentation for
12856 $PACKAGE_NAME. Please install gtk-doc or disable building the
12857 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12860 if test "x$PACKAGE_NAME" != "xglib"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12864 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12866 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12867 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12868 elif test -n "$PKG_CONFIG"; then
12869 if test -n "$PKG_CONFIG" && \
12870 { { $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
12871 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874 test $ac_status = 0; }; then
12875 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12876 test "x$?" != "x0" && pkg_failed=yes
12883 if test -n "$GTKDOC_DEPS_LIBS"; then
12884 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12885 elif test -n "$PKG_CONFIG"; then
12886 if test -n "$PKG_CONFIG" && \
12887 { { $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
12888 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12891 test $ac_status = 0; }; then
12892 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12893 test "x$?" != "x0" && pkg_failed=yes
12903 if test $pkg_failed = yes; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12905 $as_echo "no" >&6; }
12907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12908 _pkg_short_errors_supported=yes
12910 _pkg_short_errors_supported=no
12912 if test $_pkg_short_errors_supported = yes; then
12913 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`
12915 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12917 # Put the nasty error message in config.log where it belongs
12918 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12921 elif test $pkg_failed = untried; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12926 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12927 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12929 $as_echo "yes" >&6; }
12934 # Check whether --enable-gtk-doc-html was given.
12935 if test "${enable_gtk_doc_html+set}" = set; then :
12936 enableval=$enable_gtk_doc_html;
12938 enable_gtk_doc_html=yes
12941 # Check whether --enable-gtk-doc-pdf was given.
12942 if test "${enable_gtk_doc_pdf+set}" = set; then :
12943 enableval=$enable_gtk_doc_pdf;
12945 enable_gtk_doc_pdf=no
12949 if test -z "$GTKDOC_MKPDF"; then
12950 enable_gtk_doc_pdf=no
12953 if test -z "$AM_DEFAULT_VERBOSITY"; then
12954 AM_DEFAULT_VERBOSITY=1
12958 if test x$have_gtk_doc = xyes; then
12960 HAVE_GTK_DOC_FALSE='#'
12962 HAVE_GTK_DOC_TRUE='#'
12963 HAVE_GTK_DOC_FALSE=
12966 if test x$enable_gtk_doc = xyes; then
12967 ENABLE_GTK_DOC_TRUE=
12968 ENABLE_GTK_DOC_FALSE='#'
12970 ENABLE_GTK_DOC_TRUE='#'
12971 ENABLE_GTK_DOC_FALSE=
12974 if test x$enable_gtk_doc_html = xyes; then
12975 GTK_DOC_BUILD_HTML_TRUE=
12976 GTK_DOC_BUILD_HTML_FALSE='#'
12978 GTK_DOC_BUILD_HTML_TRUE='#'
12979 GTK_DOC_BUILD_HTML_FALSE=
12982 if test x$enable_gtk_doc_pdf = xyes; then
12983 GTK_DOC_BUILD_PDF_TRUE=
12984 GTK_DOC_BUILD_PDF_FALSE='#'
12986 GTK_DOC_BUILD_PDF_TRUE='#'
12987 GTK_DOC_BUILD_PDF_FALSE=
12990 if test -n "$LIBTOOL"; then
12991 GTK_DOC_USE_LIBTOOL_TRUE=
12992 GTK_DOC_USE_LIBTOOL_FALSE='#'
12994 GTK_DOC_USE_LIBTOOL_TRUE='#'
12995 GTK_DOC_USE_LIBTOOL_FALSE=
12998 if test -n "$GTKDOC_REBASE"; then
12999 GTK_DOC_USE_REBASE_TRUE=
13000 GTK_DOC_USE_REBASE_FALSE='#'
13002 GTK_DOC_USE_REBASE_TRUE='#'
13003 GTK_DOC_USE_REBASE_FALSE=
13009 # Check whether --enable-cast-checks was given.
13010 if test "${enable_cast_checks+set}" = set; then :
13011 enableval=$enable_cast_checks;
13014 if test "x$enable_cast_checks" = "xno"; then :
13015 CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
13018 # Check whether --enable-asserts was given.
13019 if test "${enable_asserts+set}" = set; then :
13020 enableval=$enable_asserts;
13023 if test "x$enable_asserts" = "xno"; then :
13024 CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
13027 # Check whether --enable-checks was given.
13028 if test "${enable_checks+set}" = set; then :
13029 enableval=$enable_checks;
13032 if test "x$checks" = "xno"; then :
13033 CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
13036 # Check whether --enable-debug was given.
13037 if test "${enable_debug+set}" = set; then :
13038 enableval=$enable_debug;
13041 if test "x$enable_debug" = "xyes"; then :
13042 CFLAGS="$CFLAGS -DENABLE_DEBUG"
13045 # Check whether --enable-coverage was given.
13046 if test "${enable_coverage+set}" = set; then :
13047 enableval=$enable_coverage;
13050 if test "x$enable_coverage" = "xyes"; then :
13051 CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
13055 PYGOBJECT_REQUIRED=2.90
13057 # Check whether --enable-python was given.
13058 if test "${enable_python+set}" = set; then :
13059 enableval=$enable_python;
13063 if test "x$enable_python" != "xno"; then :
13064 if test -n "$PKG_CONFIG" && \
13065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
13066 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
13068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069 test $ac_status = 0; }; then
13076 if test "x$have_python" = "xyes"; then :
13083 # Find any Python interpreter.
13084 if test -z "$PYTHON"; then
13085 for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
13087 # Extract the first word of "$ac_prog", so it can be a program name with args.
13088 set dummy $ac_prog; ac_word=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13090 $as_echo_n "checking for $ac_word... " >&6; }
13091 if ${ac_cv_path_PYTHON+:} false; then :
13092 $as_echo_n "(cached) " >&6
13096 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13117 PYTHON=$ac_cv_path_PYTHON
13118 if test -n "$PYTHON"; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13120 $as_echo "$PYTHON" >&6; }
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123 $as_echo "no" >&6; }
13127 test -n "$PYTHON" && break
13129 test -n "$PYTHON" || PYTHON=":"
13132 am_display_PYTHON=python
13135 if test "$PYTHON" = :; then
13136 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13141 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13142 if ${am_cv_python_version+:} false; then :
13143 $as_echo_n "(cached) " >&6
13145 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13148 $as_echo "$am_cv_python_version" >&6; }
13149 PYTHON_VERSION=$am_cv_python_version
13153 PYTHON_PREFIX='${prefix}'
13155 PYTHON_EXEC_PREFIX='${exec_prefix}'
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13160 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13161 if ${am_cv_python_platform+:} false; then :
13162 $as_echo_n "(cached) " >&6
13164 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13167 $as_echo "$am_cv_python_platform" >&6; }
13168 PYTHON_PLATFORM=$am_cv_python_platform
13171 # Just factor out some code duplication.
13172 am_python_setup_sysconfig="\
13174 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13175 # with python 3.x. See automake bug#10227.
13178 except ImportError:
13179 can_use_sysconfig = 0
13181 can_use_sysconfig = 1
13182 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13183 # <https://github.com/pypa/virtualenv/issues/118>
13185 from platform import python_implementation
13186 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13187 can_use_sysconfig = 0
13188 except ImportError:
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13193 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13194 if ${am_cv_python_pythondir+:} false; then :
13195 $as_echo_n "(cached) " >&6
13197 if test "x$prefix" = xNONE
13199 am_py_prefix=$ac_default_prefix
13201 am_py_prefix=$prefix
13203 am_cv_python_pythondir=`$PYTHON -c "
13204 $am_python_setup_sysconfig
13205 if can_use_sysconfig:
13206 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13208 from distutils import sysconfig
13209 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13210 sys.stdout.write(sitedir)"`
13211 case $am_cv_python_pythondir in
13213 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13214 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13217 case $am_py_prefix in
13220 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13228 $as_echo "$am_cv_python_pythondir" >&6; }
13229 pythondir=$am_cv_python_pythondir
13233 pkgpythondir=\${pythondir}/$PACKAGE
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13237 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13238 if ${am_cv_python_pyexecdir+:} false; then :
13239 $as_echo_n "(cached) " >&6
13241 if test "x$exec_prefix" = xNONE
13243 am_py_exec_prefix=$am_py_prefix
13245 am_py_exec_prefix=$exec_prefix
13247 am_cv_python_pyexecdir=`$PYTHON -c "
13248 $am_python_setup_sysconfig
13249 if can_use_sysconfig:
13250 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13252 from distutils import sysconfig
13253 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13254 sys.stdout.write(sitedir)"`
13255 case $am_cv_python_pyexecdir in
13256 $am_py_exec_prefix*)
13257 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13258 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13261 case $am_py_exec_prefix in
13264 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13272 $as_echo "$am_cv_python_pyexecdir" >&6; }
13273 pyexecdir=$am_cv_python_pyexecdir
13277 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13284 pyoverridesdir=`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`
13288 if test "x$have_python" = "xyes"; then
13289 ENABLE_PYTHON_TRUE=
13290 ENABLE_PYTHON_FALSE='#'
13292 ENABLE_PYTHON_TRUE='#'
13293 ENABLE_PYTHON_FALSE=
13297 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"
13299 cat >confcache <<\_ACEOF
13300 # This file is a shell script that caches the results of configure
13301 # tests run on this system so they can be shared between configure
13302 # scripts and configure runs, see configure's option --config-cache.
13303 # It is not useful on other systems. If it contains results you don't
13304 # want to keep, you may remove or edit it.
13306 # config.status only pays attention to the cache file if you give it
13307 # the --recheck option to rerun configure.
13309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13311 # following values.
13315 # The following way of writing the cache mishandles newlines in values,
13316 # but we know of no workaround that is simple, portable, and efficient.
13317 # So, we kill variables containing newlines.
13318 # Ultrix sh set writes to stderr and can't be redirected directly,
13319 # and sets the high bit in the cache file unless we assign to the vars.
13321 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13322 eval ac_val=\$$ac_var
13326 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13330 _ | IFS | as_nl) ;; #(
13331 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13332 *) { eval $ac_var=; unset $ac_var;} ;;
13338 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13339 *${as_nl}ac_space=\ *)
13340 # `set' does not quote correctly, so add quotes: double-quote
13341 # substitution turns \\\\ into \\, and sed turns \\ into \.
13344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13347 # `set' quotes correctly as required by POSIX, so do not add quotes.
13348 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13359 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13361 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13362 if test -w "$cache_file"; then
13363 if test "x$cache_file" != "x/dev/null"; then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13365 $as_echo "$as_me: updating cache $cache_file" >&6;}
13366 if test ! -f "$cache_file" || test -h "$cache_file"; then
13367 cat confcache >"$cache_file"
13369 case $cache_file in #(
13371 mv -f confcache "$cache_file"$$ &&
13372 mv -f "$cache_file"$$ "$cache_file" ;; #(
13374 mv -f confcache "$cache_file" ;;
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13386 # Let make expand exec_prefix.
13387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13389 DEFS=-DHAVE_CONFIG_H
13394 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13395 # 1. Remove the extension, and $U if already installed.
13396 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13397 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13398 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13399 # will be set to the directory where LIBOBJS objects are built.
13400 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13401 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13403 LIBOBJS=$ac_libobjs
13405 LTLIBOBJS=$ac_ltlibobjs
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13409 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13410 if test -n "$am_sleep_pid"; then
13411 # Hide warnings about reused PIDs.
13412 wait $am_sleep_pid 2>/dev/null
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13415 $as_echo "done" >&6; }
13416 if test -n "$EXEEXT"; then
13418 am__EXEEXT_FALSE='#'
13420 am__EXEEXT_TRUE='#'
13424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13425 as_fn_error $? "conditional \"AMDEP\" was never defined.
13426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13428 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13429 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13432 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13433 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13436 if test -z "${HAVE_GTESTDBUS_TRUE}" && test -z "${HAVE_GTESTDBUS_FALSE}"; then
13437 as_fn_error $? "conditional \"HAVE_GTESTDBUS\" was never defined.
13438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13440 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13441 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13444 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13445 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13448 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13449 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13452 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13453 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13456 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13457 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13460 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13461 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13464 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13465 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13468 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
13469 as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
13470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13473 : "${CONFIG_STATUS=./config.status}"
13475 ac_clean_files_save=$ac_clean_files
13476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13478 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13480 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13482 # Generated by $as_me.
13483 # Run this file to recreate the current configuration.
13484 # Compiler output produced by configure, useful for debugging
13485 # configure, is in config.log if it exists.
13488 ac_cs_recheck=false
13491 SHELL=\${CONFIG_SHELL-$SHELL}
13494 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13495 ## -------------------- ##
13496 ## M4sh Initialization. ##
13497 ## -------------------- ##
13499 # Be more Bourne compatible
13500 DUALCASE=1; export DUALCASE # for MKS sh
13501 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13504 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13505 # is contrary to our usage. Disable this feature.
13506 alias -g '${1+"$@"}'='"$@"'
13507 setopt NO_GLOB_SUBST
13509 case `(set -o) 2>/dev/null` in #(
13521 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13522 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13523 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13525 # Prefer a ksh shell builtin over an external printf program on Solaris,
13526 # but without wasting forks for bash or zsh.
13527 if test -z "$BASH_VERSION$ZSH_VERSION" \
13528 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13529 as_echo='print -r --'
13530 as_echo_n='print -rn --'
13531 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13532 as_echo='printf %s\n'
13533 as_echo_n='printf %s'
13535 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13536 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13537 as_echo_n='/usr/ucb/echo -n'
13539 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13540 as_echo_n_body='eval
13544 expr "X$arg" : "X\\(.*\\)$as_nl";
13545 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13547 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13549 export as_echo_n_body
13550 as_echo_n='sh -c $as_echo_n_body as_echo'
13552 export as_echo_body
13553 as_echo='sh -c $as_echo_body as_echo'
13556 # The user is always right.
13557 if test "${PATH_SEPARATOR+set}" != set; then
13559 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13560 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13567 # We need space, tab and new line, in precisely that order. Quoting is
13568 # there to prevent editors from complaining about space-tab.
13569 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13570 # splitting by setting IFS to empty value.)
13573 # Find who we are. Look in the path if we contain no directory separator.
13576 *[\\/]* ) as_myself=$0 ;;
13577 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13578 for as_dir in $PATH
13581 test -z "$as_dir" && as_dir=.
13582 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13588 # We did not find ourselves, most probably we were run as `sh COMMAND'
13589 # in which case we are not to be found in the path.
13590 if test "x$as_myself" = x; then
13593 if test ! -f "$as_myself"; then
13594 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13598 # Unset variables that we do not need and which cause bugs (e.g. in
13599 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13600 # suppresses any "Segmentation fault" message there. '((' could
13601 # trigger a bug in pdksh 5.2.14.
13602 for as_var in BASH_ENV ENV MAIL MAILPATH
13603 do eval test x\${$as_var+set} = xset \
13604 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13617 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13620 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13621 # ----------------------------------------
13622 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13623 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13624 # script with STATUS, using 1 if that was 0.
13627 as_status=$1; test $as_status -eq 0 && as_status=1
13629 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13630 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13632 $as_echo "$as_me: error: $2" >&2
13633 as_fn_exit $as_status
13637 # as_fn_set_status STATUS
13638 # -----------------------
13639 # Set $? to STATUS, without forking.
13640 as_fn_set_status ()
13643 } # as_fn_set_status
13645 # as_fn_exit STATUS
13646 # -----------------
13647 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13651 as_fn_set_status $1
13657 # Portably unset VAR.
13660 { eval $1=; unset $1;}
13662 as_unset=as_fn_unset
13663 # as_fn_append VAR VALUE
13664 # ----------------------
13665 # Append the text in VALUE to the end of the definition contained in VAR. Take
13666 # advantage of any shell optimizations that allow amortized linear growth over
13667 # repeated appends, instead of the typical quadratic growth present in naive
13669 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13670 eval 'as_fn_append ()
13681 # as_fn_arith ARG...
13682 # ------------------
13683 # Perform arithmetic evaluation on the ARGs, and store the result in the
13684 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13685 # must be portable across $(()) and expr.
13686 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13687 eval 'as_fn_arith ()
13694 as_val=`expr "$@" || test $? -eq 1`
13699 if expr a : '\(a\)' >/dev/null 2>&1 &&
13700 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13706 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13707 as_basename=basename
13712 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13718 as_me=`$as_basename -- "$0" ||
13719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13720 X"$0" : 'X\(//\)$' \| \
13721 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13723 sed '/^.*\/\([^/][^/]*\)\/*$/{
13737 # Avoid depending upon Character Ranges.
13738 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13739 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13740 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13741 as_cr_digits='0123456789'
13742 as_cr_alnum=$as_cr_Letters$as_cr_digits
13744 ECHO_C= ECHO_N= ECHO_T=
13745 case `echo -n x` in #(((((
13747 case `echo 'xy\c'` in
13748 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13750 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13757 rm -f conf$$ conf$$.exe conf$$.file
13758 if test -d conf$$.dir; then
13759 rm -f conf$$.dir/conf$$.file
13762 mkdir conf$$.dir 2>/dev/null
13764 if (echo >conf$$.file) 2>/dev/null; then
13765 if ln -s conf$$.file conf$$ 2>/dev/null; then
13767 # ... but there are two gotchas:
13768 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13769 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13770 # In both cases, we have to default to `cp -pR'.
13771 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13773 elif ln conf$$.file conf$$ 2>/dev/null; then
13781 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13782 rmdir conf$$.dir 2>/dev/null
13787 # Create "$as_dir" as a directory, including parents if necessary.
13792 -*) as_dir=./$as_dir;;
13794 test -d "$as_dir" || eval $as_mkdir_p || {
13798 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13799 *) as_qdir=$as_dir;;
13801 as_dirs="'$as_qdir' $as_dirs"
13802 as_dir=`$as_dirname -- "$as_dir" ||
13803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13804 X"$as_dir" : 'X\(//\)[^/]' \| \
13805 X"$as_dir" : 'X\(//\)$' \| \
13806 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13807 $as_echo X"$as_dir" |
13808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13812 /^X\(\/\/\)[^/].*/{
13825 test -d "$as_dir" && break
13827 test -z "$as_dirs" || eval "mkdir $as_dirs"
13828 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13832 if mkdir -p . 2>/dev/null; then
13833 as_mkdir_p='mkdir -p "$as_dir"'
13835 test -d ./-p && rmdir ./-p
13840 # as_fn_executable_p FILE
13841 # -----------------------
13842 # Test if FILE is an executable regular file.
13843 as_fn_executable_p ()
13845 test -f "$1" && test -x "$1"
13846 } # as_fn_executable_p
13847 as_test_x='test -x'
13848 as_executable_p=as_fn_executable_p
13850 # Sed expression to map a string onto a valid CPP name.
13851 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13853 # Sed expression to map a string onto a valid variable name.
13854 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13858 ## ----------------------------------- ##
13859 ## Main body of $CONFIG_STATUS script. ##
13860 ## ----------------------------------- ##
13862 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13865 # Save the log message, to keep $0 and so on meaningful, and to
13866 # report actual input values of CONFIG_FILES etc. instead of their
13867 # values after options handling.
13869 This file was extended by libgsignon-glib $as_me 2.1.0, which was
13870 generated by GNU Autoconf 2.69. Invocation command line was
13872 CONFIG_FILES = $CONFIG_FILES
13873 CONFIG_HEADERS = $CONFIG_HEADERS
13874 CONFIG_LINKS = $CONFIG_LINKS
13875 CONFIG_COMMANDS = $CONFIG_COMMANDS
13878 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13883 case $ac_config_files in *"
13884 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13887 case $ac_config_headers in *"
13888 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13893 # Files that config.status was made for.
13894 config_files="$ac_config_files"
13895 config_headers="$ac_config_headers"
13896 config_commands="$ac_config_commands"
13900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13902 \`$as_me' instantiates files and other configuration actions
13903 from templates according to the current configuration. Unless the files
13904 and actions are specified as TAGs, all are instantiated by default.
13906 Usage: $0 [OPTION]... [TAG]...
13908 -h, --help print this help, then exit
13909 -V, --version print version number and configuration settings, then exit
13910 --config print configuration, then exit
13911 -q, --quiet, --silent
13912 do not print progress messages
13913 -d, --debug don't remove temporary files
13914 --recheck update $as_me by reconfiguring in the same conditions
13915 --file=FILE[:TEMPLATE]
13916 instantiate the configuration file FILE
13917 --header=FILE[:TEMPLATE]
13918 instantiate the configuration header FILE
13920 Configuration files:
13923 Configuration headers:
13926 Configuration commands:
13929 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
13930 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>."
13933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13936 libgsignon-glib config.status 2.1.0
13937 configured by $0, generated by GNU Autoconf 2.69,
13938 with options \\"\$ac_cs_config\\"
13940 Copyright (C) 2012 Free Software Foundation, Inc.
13941 This config.status script is free software; the Free Software Foundation
13942 gives unlimited permission to copy, distribute and modify it."
13949 test -n "\$AWK" || AWK=awk
13952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13953 # The default lists apply if the user does not specify any file.
13959 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13960 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13964 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13976 # Handling of the options.
13977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13979 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13980 $as_echo "$ac_cs_version"; exit ;;
13981 --config | --confi | --conf | --con | --co | --c )
13982 $as_echo "$ac_cs_config"; exit ;;
13983 --debug | --debu | --deb | --de | --d | -d )
13985 --file | --fil | --fi | --f )
13988 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13989 '') as_fn_error $? "missing file argument" ;;
13991 as_fn_append CONFIG_FILES " '$ac_optarg'"
13992 ac_need_defaults=false;;
13993 --header | --heade | --head | --hea )
13996 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13998 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13999 ac_need_defaults=false;;
14001 # Conflict between --help and --header
14002 as_fn_error $? "ambiguous option: \`$1'
14003 Try \`$0 --help' for more information.";;
14004 --help | --hel | -h )
14005 $as_echo "$ac_cs_usage"; exit ;;
14006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14007 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14010 # This is an error.
14011 -*) as_fn_error $? "unrecognized option: \`$1'
14012 Try \`$0 --help' for more information." ;;
14014 *) as_fn_append ac_config_targets " $1"
14015 ac_need_defaults=false ;;
14021 ac_configure_extra_args=
14023 if $ac_cs_silent; then
14025 ac_configure_extra_args="$ac_configure_extra_args --silent"
14029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14030 if \$ac_cs_recheck; then
14031 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14033 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14034 CONFIG_SHELL='$SHELL'
14035 export CONFIG_SHELL
14040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14044 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14045 ## Running $as_me. ##
14051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14055 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14058 # The HP-UX ksh and POSIX shell print the target directory to stdout
14059 # if CDPATH is set.
14060 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14062 sed_quote_subst='$sed_quote_subst'
14063 double_quote_subst='$double_quote_subst'
14064 delay_variable_subst='$delay_variable_subst'
14065 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14066 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14067 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14068 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14069 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14070 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14071 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14072 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14073 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14074 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14075 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14076 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14077 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14078 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14079 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14080 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14081 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14082 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14083 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14084 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14085 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14086 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14087 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14088 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14089 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14090 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14091 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14092 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14093 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14094 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14095 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14096 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14097 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14098 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14099 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14100 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14101 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14102 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14103 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14104 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14105 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14106 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14107 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14108 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14109 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14110 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14111 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14112 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14113 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14114 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14115 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14116 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14117 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14118 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14119 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14120 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14121 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"`'
14122 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14123 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14124 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14125 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14126 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14127 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14128 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14129 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14130 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14131 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14132 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14133 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14134 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14135 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14136 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14137 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14138 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14139 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14140 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14141 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14142 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14143 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14144 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14145 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14146 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14147 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14148 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14149 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14150 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14151 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14152 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14153 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14154 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14155 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14156 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14157 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14158 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14159 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14160 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14161 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14162 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14163 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14164 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14165 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14166 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14167 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14168 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14169 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14170 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14171 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14172 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14173 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14174 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14175 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14176 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14177 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14178 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14179 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14180 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14181 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14182 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14183 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14184 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14185 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14186 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14187 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14188 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14189 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14190 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14191 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14192 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14193 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14194 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14197 LTCFLAGS='$LTCFLAGS'
14198 compiler='$compiler_DEFAULT'
14200 # A function that is used when there is no print builtin or printf.
14201 func_fallback_echo ()
14203 eval 'cat <<_LTECHO_EOF
14208 # Quote evaled strings.
14223 deplibs_check_method \
14228 sharedlib_from_linklib_cmd \
14231 archiver_list_spec \
14237 lt_cv_sys_global_symbol_pipe \
14238 lt_cv_sys_global_symbol_to_cdecl \
14239 lt_cv_sys_global_symbol_to_c_name_address \
14240 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14241 nm_file_list_spec \
14242 lt_prog_compiler_no_builtin_flag \
14243 lt_prog_compiler_pic \
14244 lt_prog_compiler_wl \
14245 lt_prog_compiler_static \
14246 lt_cv_prog_compiler_c_o \
14255 export_dynamic_flag_spec \
14256 whole_archive_flag_spec \
14257 compiler_needs_object \
14259 allow_undefined_flag \
14260 no_undefined_flag \
14261 hardcode_libdir_flag_spec \
14262 hardcode_libdir_separator \
14266 variables_saved_for_relink \
14268 library_names_spec \
14270 install_override_mode \
14274 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14275 *[\\\\\\\`\\"\\\$]*)
14276 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14279 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14284 # Double-quote double-evaled strings.
14285 for var in reload_cmds \
14286 old_postinstall_cmds \
14287 old_postuninstall_cmds \
14289 extract_expsyms_cmds \
14290 old_archive_from_new_cmds \
14291 old_archive_from_expsyms_cmds \
14293 archive_expsym_cmds \
14295 module_expsym_cmds \
14296 export_symbols_cmds \
14300 postuninstall_cmds \
14302 sys_lib_search_path_spec \
14303 sys_lib_dlsearch_path_spec; do
14304 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14305 *[\\\\\\\`\\"\\\$]*)
14306 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14309 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14314 ac_aux_dir='$ac_aux_dir'
14315 xsi_shell='$xsi_shell'
14316 lt_shell_append='$lt_shell_append'
14318 # See if we are running on zsh, and set the options which allow our
14319 # commands through without removal of \ escapes INIT.
14320 if test -n "\${ZSH_VERSION+set}" ; then
14321 setopt NO_GLOB_SUBST
14327 TIMESTAMP='$TIMESTAMP'
14336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14338 # Handling of arguments.
14339 for ac_config_target in $ac_config_targets
14341 case $ac_config_target in
14342 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14343 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14344 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14345 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14346 "libgsignon-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libgsignon-glib/Makefile" ;;
14347 "libgsignon-glib.pc") CONFIG_FILES="$CONFIG_FILES libgsignon-glib.pc" ;;
14348 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14349 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14350 "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
14351 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14352 "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14353 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14355 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14360 # If the user did not use the arguments to specify the items to instantiate,
14361 # then the envvar interface is used. Set only those that are not.
14362 # We use the long form for the default assignment because of an extremely
14363 # bizarre bug on SunOS 4.1.3.
14364 if $ac_need_defaults; then
14365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14370 # Have a temporary directory for convenience. Make it in the build tree
14371 # simply because there is no reason against having it here, and in addition,
14372 # creating and moving files from /tmp can sometimes cause problems.
14373 # Hook for its removal unless debugging.
14374 # Note that there is a small window in which the directory will not be cleaned:
14375 # after its creation but before its name has been assigned to `$tmp'.
14379 trap 'exit_status=$?
14380 : "${ac_tmp:=$tmp}"
14381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14383 trap 'as_fn_exit 1' 1 2 13 15
14385 # Create a (secure) tmp directory for tmp files.
14388 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14392 tmp=./conf$$-$RANDOM
14393 (umask 077 && mkdir "$tmp")
14394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14397 # Set up the scripts for CONFIG_FILES section.
14398 # No need to generate them if there are no CONFIG_FILES.
14399 # This happens for instance with `./config.status config.h'.
14400 if test -n "$CONFIG_FILES"; then
14403 ac_cr=`echo X | tr X '\015'`
14404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14405 # But we know of no other shell where ac_cr would be empty at this
14406 # point, so we can use a bashism as a fallback.
14407 if test "x$ac_cr" = x; then
14408 eval ac_cr=\$\'\\r\'
14410 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14414 ac_cs_awk_cr=$ac_cr
14417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14422 echo "cat >conf$$subs.awk <<_ACEOF" &&
14423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14425 } >conf$$subs.sh ||
14426 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14429 for ac_last_try in false false false false false :; do
14430 . ./conf$$subs.sh ||
14431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14433 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14434 if test $ac_delim_n = $ac_delim_num; then
14436 elif $ac_last_try; then
14437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14439 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14442 rm -f conf$$subs.sh
14444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14445 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14449 s/^/S["/; s/!.*/"]=/
14459 s/\(.\{148\}\)..*/\1/
14461 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14473 s/\(.\{148\}\)..*/\1/
14475 s/["\\]/\\&/g; s/^/"/; s/$/"/
14479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14484 ' <conf$$subs.awk | sed '
14489 ' >>$CONFIG_STATUS || ac_write_fail=1
14490 rm -f conf$$subs.awk
14491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14493 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14494 for (key in S) S_is_set[key] = 1
14500 nfields = split(line, field, "@")
14502 len = length(field[1])
14503 for (i = 2; i < nfields; i++) {
14505 keylen = length(key)
14506 if (S_is_set[key]) {
14508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14509 len += length(value) + length(field[++i])
14520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14521 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14522 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14526 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14531 # trailing colons and then remove the whole line if VPATH becomes empty
14532 # (actually we leave an empty line to preserve line numbers).
14533 if test "x$srcdir" = x.; then
14534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14553 fi # test -n "$CONFIG_FILES"
14555 # Set up the scripts for CONFIG_HEADERS section.
14556 # No need to generate them if there are no CONFIG_HEADERS.
14557 # This happens for instance with `./config.status Makefile'.
14558 if test -n "$CONFIG_HEADERS"; then
14559 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14563 # Transform confdefs.h into an awk script `defines.awk', embedded as
14564 # here-document in config.status, that substitutes the proper values into
14565 # config.h.in to produce config.h.
14567 # Create a delimiter string that does not exist in confdefs.h, to ease
14568 # handling of long lines.
14570 for ac_last_try in false false :; do
14571 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14572 if test -z "$ac_tt"; then
14574 elif $ac_last_try; then
14575 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14577 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14581 # For the awk script, D is an array of macro values keyed by name,
14582 # likewise P contains macro parameters if any. Preserve backslash
14583 # newline sequences.
14585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14587 s/.\{148\}/&'"$ac_delim"'/g
14590 s/^[ ]*#[ ]*define[ ][ ]*/ /
14597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14599 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14604 D["\1"]=" \3\\\\\\n"\\/p
14606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14611 s/.\{148\}/&'"$ac_delim"'/g
14616 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14619 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14621 ' <confdefs.h | sed '
14622 s/'"$ac_delim"'/"\\\
14623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14626 for (key in D) D_is_set[key] = 1
14629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14631 split(line, arg, " ")
14632 if (arg[1] == "#") {
14636 defundef = substr(arg[1], 2)
14639 split(mac1, mac2, "(") #)
14641 prefix = substr(line, 1, index(line, defundef) - 1)
14642 if (D_is_set[macro]) {
14643 # Preserve the white space surrounding the "#".
14644 print prefix "define", macro P[macro] D[macro]
14647 # Replace #undef with comments. This is necessary, for example,
14648 # in the case of _POSIX_SOURCE, which is predefined and required
14649 # on some systems where configure will not decide to define it.
14650 if (defundef == "undef") {
14651 print "/*", prefix defundef, macro, "*/"
14659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14660 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14661 fi # test -n "$CONFIG_HEADERS"
14664 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14669 :[FHLC]) ac_mode=$ac_tag; continue;;
14671 case $ac_mode$ac_tag in
14673 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14674 :[FH]-) ac_tag=-:-;;
14675 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14692 -) ac_f="$ac_tmp/stdin";;
14693 *) # Look for the file first in the build tree, then in the source tree
14694 # (if the path is not absolute). The absolute path cannot be DOS-style,
14695 # because $ac_f cannot contain `:'.
14699 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14701 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14703 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14704 as_fn_append ac_file_inputs " '$ac_f'"
14707 # Let's still pretend it is `configure' which instantiates (i.e., don't
14708 # use $as_me), people would be surprised to read:
14709 # /* config.h. Generated by config.status. */
14710 configure_input='Generated from '`
14711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14713 if test x"$ac_file" != x-; then
14714 configure_input="$ac_file. $configure_input"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14716 $as_echo "$as_me: creating $ac_file" >&6;}
14718 # Neutralize special characters interpreted by sed in replacement strings.
14719 case $configure_input in #(
14720 *\&* | *\|* | *\\* )
14721 ac_sed_conf_input=`$as_echo "$configure_input" |
14722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14723 *) ac_sed_conf_input=$configure_input;;
14727 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14733 ac_dir=`$as_dirname -- "$ac_file" ||
14734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14735 X"$ac_file" : 'X\(//\)[^/]' \| \
14736 X"$ac_file" : 'X\(//\)$' \| \
14737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14738 $as_echo X"$ac_file" |
14739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14743 /^X\(\/\/\)[^/].*/{
14756 as_dir="$ac_dir"; as_fn_mkdir_p
14760 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14762 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14763 # A ".." for each directory in $ac_dir_suffix.
14764 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14765 case $ac_top_builddir_sub in
14766 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14767 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14770 ac_abs_top_builddir=$ac_pwd
14771 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14772 # for backward compatibility:
14773 ac_top_builddir=$ac_top_build_prefix
14776 .) # We are building in place.
14778 ac_top_srcdir=$ac_top_builddir_sub
14779 ac_abs_top_srcdir=$ac_pwd ;;
14780 [\\/]* | ?:[\\/]* ) # Absolute name.
14781 ac_srcdir=$srcdir$ac_dir_suffix;
14782 ac_top_srcdir=$srcdir
14783 ac_abs_top_srcdir=$srcdir ;;
14784 *) # Relative name.
14785 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14786 ac_top_srcdir=$ac_top_build_prefix$srcdir
14787 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14789 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14799 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14800 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14802 ac_MKDIR_P=$MKDIR_P
14804 [\\/$]* | ?:[\\/]* ) ;;
14805 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14810 # If the template does not know about datarootdir, expand it.
14811 # FIXME: This hack should be removed a few years after 2.60.
14812 ac_datarootdir_hack=; ac_datarootdir_seen=
14823 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14824 *datarootdir*) ac_datarootdir_seen=yes;;
14825 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14827 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14830 ac_datarootdir_hack='
14831 s&@datadir@&$datadir&g
14832 s&@docdir@&$docdir&g
14833 s&@infodir@&$infodir&g
14834 s&@localedir@&$localedir&g
14835 s&@mandir@&$mandir&g
14836 s&\\\${datarootdir}&$datarootdir&g' ;;
14840 # Neutralize VPATH when `$srcdir' = `.'.
14841 # Shell code in configure.ac might set extrasub.
14842 # FIXME: do we really want to maintain this feature?
14843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14844 ac_sed_extra="$ac_vpsub
14847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14850 s|@configure_input@|$ac_sed_conf_input|;t t
14851 s&@top_builddir@&$ac_top_builddir_sub&;t t
14852 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14853 s&@srcdir@&$ac_srcdir&;t t
14854 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14855 s&@top_srcdir@&$ac_top_srcdir&;t t
14856 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14857 s&@builddir@&$ac_builddir&;t t
14858 s&@abs_builddir@&$ac_abs_builddir&;t t
14859 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14860 s&@INSTALL@&$ac_INSTALL&;t t
14861 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14862 $ac_datarootdir_hack
14864 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14865 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14868 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14870 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14872 which seems to be undefined. Please make sure it is defined" >&5
14873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14874 which seems to be undefined. Please make sure it is defined" >&2;}
14876 rm -f "$ac_tmp/stdin"
14878 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14879 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14887 if test x"$ac_file" != x-; then
14889 $as_echo "/* $configure_input */" \
14890 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14891 } >"$ac_tmp/config.h" \
14892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14893 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14898 mv "$ac_tmp/config.h" "$ac_file" \
14899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14902 $as_echo "/* $configure_input */" \
14903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14904 || as_fn_error $? "could not create -" "$LINENO" 5
14906 # Compute "$ac_file"'s index in $config_headers.
14909 for _am_header in $config_headers :; do
14910 case $_am_header in
14911 $_am_arg | $_am_arg:* )
14914 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14919 X"$_am_arg" : 'X\(//\)[^/]' \| \
14920 X"$_am_arg" : 'X\(//\)$' \| \
14921 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14922 $as_echo X"$_am_arg" |
14923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14927 /^X\(\/\/\)[^/].*/{
14939 s/.*/./; q'`/stamp-h$_am_stamp_count
14942 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14943 $as_echo "$as_me: executing $ac_file commands" >&6;}
14948 case $ac_file$ac_mode in
14949 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14950 # Older Autoconf quotes --file arguments for eval, but not when files
14951 # are listed without --file. Let's play safe and only enable the eval
14952 # if we detect the quoting.
14953 case $CONFIG_FILES in
14954 *\'*) eval set x "$CONFIG_FILES" ;;
14955 *) set x $CONFIG_FILES ;;
14960 # Strip MF so we end up with the name of the file.
14961 mf=`echo "$mf" | sed -e 's/:.*$//'`
14962 # Check whether this is an Automake generated Makefile or not.
14963 # We used to match only the files named 'Makefile.in', but
14964 # some people rename them; so instead we look at the file content.
14965 # Grep'ing the first line is not enough: some people post-process
14966 # each Makefile.in and add a new line on top of each file to say so.
14967 # Grep'ing the whole file is not good either: AIX grep has a line
14968 # limit of 2048, but all sed's we know have understand at least 4000.
14969 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14970 dirpart=`$as_dirname -- "$mf" ||
14971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14972 X"$mf" : 'X\(//\)[^/]' \| \
14973 X"$mf" : 'X\(//\)$' \| \
14974 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14980 /^X\(\/\/\)[^/].*/{
14996 # Extract the definition of DEPDIR, am__include, and am__quote
14997 # from the Makefile without running 'make'.
14998 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14999 test -z "$DEPDIR" && continue
15000 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15001 test -z "$am__include" && continue
15002 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15003 # Find all dependency output files, they are included files with
15004 # $(DEPDIR) in their names. We invoke sed twice because it is the
15005 # simplest approach to changing $(DEPDIR) to its actual value in the
15007 for file in `sed -n "
15008 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15009 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15010 # Make sure the directory exists.
15011 test -f "$dirpart/$file" && continue
15012 fdir=`$as_dirname -- "$file" ||
15013 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15014 X"$file" : 'X\(//\)[^/]' \| \
15015 X"$file" : 'X\(//\)$' \| \
15016 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15017 $as_echo X"$file" |
15018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15022 /^X\(\/\/\)[^/].*/{
15035 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15036 # echo "creating $dirpart/$file"
15037 echo '# dummy' > "$dirpart/$file"
15044 # See if we are running on zsh, and set the options which allow our
15045 # commands through without removal of \ escapes.
15046 if test -n "${ZSH_VERSION+set}" ; then
15047 setopt NO_GLOB_SUBST
15050 cfgfile="${ofile}T"
15051 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15054 cat <<_LT_EOF >> "$cfgfile"
15057 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15058 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15059 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15060 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15062 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15063 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15065 # Written by Gordon Matzigkeit, 1996
15067 # This file is part of GNU Libtool.
15069 # GNU Libtool is free software; you can redistribute it and/or
15070 # modify it under the terms of the GNU General Public License as
15071 # published by the Free Software Foundation; either version 2 of
15072 # the License, or (at your option) any later version.
15074 # As a special exception to the GNU General Public License,
15075 # if you distribute this file as part of a program or library that
15076 # is built using GNU Libtool, you may include this file under the
15077 # same distribution terms that you use for the rest of that program.
15079 # GNU Libtool is distributed in the hope that it will be useful,
15080 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15081 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15082 # GNU General Public License for more details.
15084 # You should have received a copy of the GNU General Public License
15085 # along with GNU Libtool; see the file COPYING. If not, a copy
15086 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15087 # obtained by writing to the Free Software Foundation, Inc.,
15088 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15091 # The names of the tagged configurations supported by this script.
15094 # ### BEGIN LIBTOOL CONFIG
15096 # Which release of libtool.m4 was used?
15097 macro_version=$macro_version
15098 macro_revision=$macro_revision
15100 # Whether or not to build static libraries.
15101 build_old_libs=$enable_static
15103 # Whether or not to build shared libraries.
15104 build_libtool_libs=$enable_shared
15106 # What type of objects to build.
15109 # Whether or not to optimize for fast installation.
15110 fast_install=$enable_fast_install
15112 # Shell to use when invoking shell scripts.
15115 # An echo program that protects backslashes.
15118 # The PATH separator for the build system.
15119 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15122 host_alias=$host_alias
15126 # The build system.
15127 build_alias=$build_alias
15131 # A sed program that does not truncate output.
15134 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15135 Xsed="\$SED -e 1s/^X//"
15137 # A grep program that handles long lines.
15143 # A literal string matcher.
15146 # A BSD- or MS-compatible name lister.
15149 # Whether we need soft or hard links.
15152 # What is the maximum length of a command?
15153 max_cmd_len=$max_cmd_len
15155 # Object file suffix (normally "o").
15158 # Executable file suffix (normally "").
15161 # whether the shell understands "unset".
15164 # turn spaces into newlines.
15167 # turn newlines into spaces.
15170 # convert \$build file names to \$host format.
15171 to_host_file_cmd=$lt_cv_to_host_file_cmd
15173 # convert \$build files to toolchain format.
15174 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15176 # An object symbol dumper.
15177 OBJDUMP=$lt_OBJDUMP
15179 # Method to check whether dependent libraries are shared objects.
15180 deplibs_check_method=$lt_deplibs_check_method
15182 # Command to use when deplibs_check_method = "file_magic".
15183 file_magic_cmd=$lt_file_magic_cmd
15185 # How to find potential files when deplibs_check_method = "file_magic".
15186 file_magic_glob=$lt_file_magic_glob
15188 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15189 want_nocaseglob=$lt_want_nocaseglob
15191 # DLL creation program.
15192 DLLTOOL=$lt_DLLTOOL
15194 # Command to associate shared and link libraries.
15195 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15200 # Flags to create an archive.
15201 AR_FLAGS=$lt_AR_FLAGS
15203 # How to feed a file listing to the archiver.
15204 archiver_list_spec=$lt_archiver_list_spec
15206 # A symbol stripping program.
15209 # Commands used to install an old-style archive.
15211 old_postinstall_cmds=$lt_old_postinstall_cmds
15212 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15214 # Whether to use a lock for old archive extraction.
15215 lock_old_archive_extraction=$lock_old_archive_extraction
15220 # LTCC compiler flags.
15221 LTCFLAGS=$lt_CFLAGS
15223 # Take the output of nm and produce a listing of raw symbols and C names.
15224 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15226 # Transform the output of nm in a proper C declaration.
15227 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15229 # Transform the output of nm in a C name address pair.
15230 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15232 # Transform the output of nm in a C name address pair when lib prefix is needed.
15233 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15235 # Specify filename containing input files for \$NM.
15236 nm_file_list_spec=$lt_nm_file_list_spec
15238 # The root where to search for dependent libraries,and in which our libraries should be installed.
15239 lt_sysroot=$lt_sysroot
15241 # The name of the directory that contains temporary libtool files.
15244 # Used to examine libraries when file_magic_cmd begins with "file".
15245 MAGIC_CMD=$MAGIC_CMD
15247 # Must we lock files when doing compilation?
15248 need_locks=$lt_need_locks
15251 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15253 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15254 DSYMUTIL=$lt_DSYMUTIL
15256 # Tool to change global to local symbols on Mac OS X.
15259 # Tool to manipulate fat objects and archives on Mac OS X.
15262 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15265 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15266 OTOOL64=$lt_OTOOL64
15268 # Old archive suffix (normally "a").
15271 # Shared library suffix (normally ".so").
15272 shrext_cmds=$lt_shrext_cmds
15274 # The commands to extract the exported symbol list from a shared archive.
15275 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15277 # Variables whose values should be saved in libtool wrapper scripts and
15278 # restored at link time.
15279 variables_saved_for_relink=$lt_variables_saved_for_relink
15281 # Do we need the "lib" prefix for modules?
15282 need_lib_prefix=$need_lib_prefix
15284 # Do we need a version for libraries?
15285 need_version=$need_version
15287 # Library versioning type.
15288 version_type=$version_type
15290 # Shared library runtime path variable.
15291 runpath_var=$runpath_var
15293 # Shared library path variable.
15294 shlibpath_var=$shlibpath_var
15296 # Is shlibpath searched before the hard-coded library search path?
15297 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15299 # Format of library name prefix.
15300 libname_spec=$lt_libname_spec
15302 # List of archive names. First name is the real one, the rest are links.
15303 # The last name is the one that the linker finds with -lNAME
15304 library_names_spec=$lt_library_names_spec
15306 # The coded name of the library, if different from the real name.
15307 soname_spec=$lt_soname_spec
15309 # Permission mode override for installation of shared libraries.
15310 install_override_mode=$lt_install_override_mode
15312 # Command to use after installation of a shared archive.
15313 postinstall_cmds=$lt_postinstall_cmds
15315 # Command to use after uninstallation of a shared archive.
15316 postuninstall_cmds=$lt_postuninstall_cmds
15318 # Commands used to finish a libtool library installation in a directory.
15319 finish_cmds=$lt_finish_cmds
15321 # As "finish_cmds", except a single script fragment to be evaled but
15323 finish_eval=$lt_finish_eval
15325 # Whether we should hardcode library paths into libraries.
15326 hardcode_into_libs=$hardcode_into_libs
15328 # Compile-time system search path for libraries.
15329 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15331 # Run-time system search path for libraries.
15332 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15334 # Whether dlopen is supported.
15335 dlopen_support=$enable_dlopen
15337 # Whether dlopen of programs is supported.
15338 dlopen_self=$enable_dlopen_self
15340 # Whether dlopen of statically linked programs is supported.
15341 dlopen_self_static=$enable_dlopen_self_static
15343 # Commands to strip libraries.
15344 old_striplib=$lt_old_striplib
15345 striplib=$lt_striplib
15348 # The linker used to build libraries.
15351 # How to create reloadable object files.
15352 reload_flag=$lt_reload_flag
15353 reload_cmds=$lt_reload_cmds
15355 # Commands used to build an old-style archive.
15356 old_archive_cmds=$lt_old_archive_cmds
15358 # A language specific compiler.
15361 # Is the compiler the GNU compiler?
15364 # Compiler flag to turn off builtin functions.
15365 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15367 # Additional compiler flags for building library objects.
15368 pic_flag=$lt_lt_prog_compiler_pic
15370 # How to pass a linker flag through the compiler.
15371 wl=$lt_lt_prog_compiler_wl
15373 # Compiler flag to prevent dynamic linking.
15374 link_static_flag=$lt_lt_prog_compiler_static
15376 # Does compiler simultaneously support -c and -o options?
15377 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15379 # Whether or not to add -lc for building shared libraries.
15380 build_libtool_need_lc=$archive_cmds_need_lc
15382 # Whether or not to disallow shared libs when runtime libs are static.
15383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15385 # Compiler flag to allow reflexive dlopens.
15386 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15388 # Compiler flag to generate shared objects directly from archives.
15389 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15391 # Whether the compiler copes with passing no objects directly.
15392 compiler_needs_object=$lt_compiler_needs_object
15394 # Create an old-style archive from a shared archive.
15395 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15397 # Create a temporary old-style archive to link instead of a shared archive.
15398 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15400 # Commands used to build a shared archive.
15401 archive_cmds=$lt_archive_cmds
15402 archive_expsym_cmds=$lt_archive_expsym_cmds
15404 # Commands used to build a loadable module if different from building
15405 # a shared archive.
15406 module_cmds=$lt_module_cmds
15407 module_expsym_cmds=$lt_module_expsym_cmds
15409 # Whether we are building with GNU ld or not.
15410 with_gnu_ld=$lt_with_gnu_ld
15412 # Flag that allows shared libraries with undefined symbols to be built.
15413 allow_undefined_flag=$lt_allow_undefined_flag
15415 # Flag that enforces no undefined symbols.
15416 no_undefined_flag=$lt_no_undefined_flag
15418 # Flag to hardcode \$libdir into a binary during linking.
15419 # This must work even if \$libdir does not exist
15420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15422 # Whether we need a single "-rpath" flag with a separated argument.
15423 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15426 # DIR into the resulting binary.
15427 hardcode_direct=$hardcode_direct
15429 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15430 # DIR into the resulting binary and the resulting library dependency is
15431 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15432 # library is relocated.
15433 hardcode_direct_absolute=$hardcode_direct_absolute
15435 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15436 # into the resulting binary.
15437 hardcode_minus_L=$hardcode_minus_L
15439 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15440 # into the resulting binary.
15441 hardcode_shlibpath_var=$hardcode_shlibpath_var
15443 # Set to "yes" if building a shared library automatically hardcodes DIR
15444 # into the library and all subsequent libraries and executables linked
15446 hardcode_automatic=$hardcode_automatic
15448 # Set to yes if linker adds runtime paths of dependent libraries
15449 # to runtime path list.
15450 inherit_rpath=$inherit_rpath
15452 # Whether libtool must link a program against all its dependency libraries.
15453 link_all_deplibs=$link_all_deplibs
15455 # Set to "yes" if exported symbols are required.
15456 always_export_symbols=$always_export_symbols
15458 # The commands to list exported symbols.
15459 export_symbols_cmds=$lt_export_symbols_cmds
15461 # Symbols that should not be listed in the preloaded symbols.
15462 exclude_expsyms=$lt_exclude_expsyms
15464 # Symbols that must always be exported.
15465 include_expsyms=$lt_include_expsyms
15467 # Commands necessary for linking programs (against libraries) with templates.
15468 prelink_cmds=$lt_prelink_cmds
15470 # Commands necessary for finishing linking programs.
15471 postlink_cmds=$lt_postlink_cmds
15473 # Specify filename containing input files.
15474 file_list_spec=$lt_file_list_spec
15476 # How to hardcode a shared library path into an executable.
15477 hardcode_action=$hardcode_action
15479 # ### END LIBTOOL CONFIG
15485 cat <<\_LT_EOF >> "$cfgfile"
15486 # AIX sometimes has problems with the GCC collect2 program. For some
15487 # reason, if we set the COLLECT_NAMES environment variable, the problems
15488 # vanish in a puff of smoke.
15489 if test "X${COLLECT_NAMES+set}" != Xset; then
15491 export COLLECT_NAMES
15498 ltmain="$ac_aux_dir/ltmain.sh"
15501 # We use sed instead of cat because bash on DJGPP gets confused if
15502 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15503 # text mode, it properly converts lines to CR/LF. This bash problem
15504 # is reportedly fixed, but why not run on old versions too?
15505 sed '$q' "$ltmain" >> "$cfgfile" \
15506 || (rm -f "$cfgfile"; exit 1)
15508 if test x"$xsi_shell" = xyes; then
15509 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15513 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15514 \ * ) func_dirname_result="${3}" ;;\
15516 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15517 && mv -f "$cfgfile.tmp" "$cfgfile" \
15518 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15519 test 0 -eq $? || _lt_function_replace_fail=:
15522 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15525 \ func_basename_result="${1##*/}"\
15526 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15527 && mv -f "$cfgfile.tmp" "$cfgfile" \
15528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15529 test 0 -eq $? || _lt_function_replace_fail=:
15532 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15533 func_dirname_and_basename ()\
15536 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15537 \ * ) func_dirname_result="${3}" ;;\
15539 \ func_basename_result="${1##*/}"\
15540 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15541 && mv -f "$cfgfile.tmp" "$cfgfile" \
15542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15543 test 0 -eq $? || _lt_function_replace_fail=:
15546 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15549 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15550 \ # positional parameters, so assign one to ordinary parameter first.\
15551 \ func_stripname_result=${3}\
15552 \ func_stripname_result=${func_stripname_result#"${1}"}\
15553 \ func_stripname_result=${func_stripname_result%"${2}"}\
15554 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15555 && mv -f "$cfgfile.tmp" "$cfgfile" \
15556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15557 test 0 -eq $? || _lt_function_replace_fail=:
15560 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15561 func_split_long_opt ()\
15563 \ func_split_long_opt_name=${1%%=*}\
15564 \ func_split_long_opt_arg=${1#*=}\
15565 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15566 && mv -f "$cfgfile.tmp" "$cfgfile" \
15567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15568 test 0 -eq $? || _lt_function_replace_fail=:
15571 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15572 func_split_short_opt ()\
15574 \ func_split_short_opt_arg=${1#??}\
15575 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15576 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15577 && mv -f "$cfgfile.tmp" "$cfgfile" \
15578 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15579 test 0 -eq $? || _lt_function_replace_fail=:
15582 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15586 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15587 \ *) func_lo2o_result=${1} ;;\
15589 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15590 && mv -f "$cfgfile.tmp" "$cfgfile" \
15591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15592 test 0 -eq $? || _lt_function_replace_fail=:
15595 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15598 func_xform_result=${1%.*}.lo\
15599 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15600 && mv -f "$cfgfile.tmp" "$cfgfile" \
15601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15602 test 0 -eq $? || _lt_function_replace_fail=:
15605 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15608 func_arith_result=$(( $* ))\
15609 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15610 && mv -f "$cfgfile.tmp" "$cfgfile" \
15611 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15612 test 0 -eq $? || _lt_function_replace_fail=:
15615 sed -e '/^func_len ()$/,/^} # func_len /c\
15618 func_len_result=${#1}\
15619 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15620 && mv -f "$cfgfile.tmp" "$cfgfile" \
15621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15622 test 0 -eq $? || _lt_function_replace_fail=:
15626 if test x"$lt_shell_append" = xyes; then
15627 sed -e '/^func_append ()$/,/^} # func_append /c\
15630 eval "${1}+=\\${2}"\
15631 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15632 && mv -f "$cfgfile.tmp" "$cfgfile" \
15633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15634 test 0 -eq $? || _lt_function_replace_fail=:
15637 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15638 func_append_quoted ()\
15640 \ func_quote_for_eval "${2}"\
15641 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15642 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15643 && mv -f "$cfgfile.tmp" "$cfgfile" \
15644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15645 test 0 -eq $? || _lt_function_replace_fail=:
15648 # Save a `func_append' function call where possible by direct use of '+='
15649 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15650 && mv -f "$cfgfile.tmp" "$cfgfile" \
15651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15652 test 0 -eq $? || _lt_function_replace_fail=:
15654 # Save a `func_append' function call even when '+=' is not available
15655 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15656 && mv -f "$cfgfile.tmp" "$cfgfile" \
15657 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15658 test 0 -eq $? || _lt_function_replace_fail=:
15661 if test x"$_lt_function_replace_fail" = x":"; then
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15663 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15667 mv -f "$cfgfile" "$ofile" ||
15668 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15679 ac_clean_files=$ac_clean_files_save
15681 test $ac_write_fail = 0 ||
15682 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15685 # configure is writing to config.log, and then calls config.status.
15686 # config.status does its own redirection, appending to config.log.
15687 # Unfortunately, on DOS this fails, as config.log is still kept open
15688 # by configure, so config.status won't be able to write to it; its
15689 # output is simply discarded. So we exec the FD to /dev/null,
15690 # effectively closing config.log, so it can be properly (re)opened and
15691 # appended to by config.status. When coming back to configure, we
15692 # need to make the FD available again.
15693 if test "$no_create" != yes; then
15695 ac_config_status_args=
15696 test "$silent" = yes &&
15697 ac_config_status_args="$ac_config_status_args --quiet"
15699 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15701 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15702 # would make configure fail if this is the last instruction.
15703 $ac_cs_success || as_fn_exit 1
15705 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15707 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}