2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gsignond 0.0.2.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
568 PACKAGE_NAME='gsignond'
569 PACKAGE_TARNAME='gsignond'
570 PACKAGE_VERSION='0.0.2'
571 PACKAGE_STRING='gsignond 0.0.2'
573 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
575 ac_unique_file="src/daemon/main.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
612 ac_subst_vars='am__EXEEXT_FALSE
616 GTK_DOC_USE_REBASE_FALSE
617 GTK_DOC_USE_REBASE_TRUE
618 GTK_DOC_USE_LIBTOOL_FALSE
619 GTK_DOC_USE_LIBTOOL_TRUE
620 GTK_DOC_BUILD_PDF_FALSE
621 GTK_DOC_BUILD_PDF_TRUE
622 GTK_DOC_BUILD_HTML_FALSE
623 GTK_DOC_BUILD_HTML_TRUE
640 HAVE_LIBECRYPTFS_FALSE
641 HAVE_LIBECRYPTFS_TRUE
715 INSTALL_STRIP_PROGRAM
757 program_transform_name
770 enable_option_checking
772 enable_dependency_tracking
789 ac_precious_vars='build_alias
815 # Initialize some variables set by options.
817 ac_init_version=false
818 ac_unrecognized_opts=
820 # The variables have the same names as the options, with
821 # dashes changed to underlines.
829 program_transform_name=s,x,x,
837 # Installation directory options.
838 # These are left unexpanded so users can "make install exec_prefix=/foo"
839 # and all the variables that are supposed to be based on exec_prefix
840 # by default will actually change.
841 # Use braces instead of parens because sh, perl, etc. also accept them.
842 # (The list follows the same order as the GNU Coding Standards.)
843 bindir='${exec_prefix}/bin'
844 sbindir='${exec_prefix}/sbin'
845 libexecdir='${exec_prefix}/libexec'
846 datarootdir='${prefix}/share'
847 datadir='${datarootdir}'
848 sysconfdir='${prefix}/etc'
849 sharedstatedir='${prefix}/com'
850 localstatedir='${prefix}/var'
851 includedir='${prefix}/include'
852 oldincludedir='/usr/include'
853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854 infodir='${datarootdir}/info'
859 libdir='${exec_prefix}/lib'
860 localedir='${datarootdir}/locale'
861 mandir='${datarootdir}/man'
867 # If the previous option needs an argument, assign it.
868 if test -n "$ac_prev"; then
869 eval $ac_prev=\$ac_option
875 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
891 -build | --build | --buil | --bui | --bu)
892 ac_prev=build_alias ;;
893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894 build_alias=$ac_optarg ;;
896 -cache-file | --cache-file | --cache-fil | --cache-fi \
897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898 ac_prev=cache_file ;;
899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901 cache_file=$ac_optarg ;;
904 cache_file=config.cache ;;
906 -datadir | --datadir | --datadi | --datad)
908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
909 datadir=$ac_optarg ;;
911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912 | --dataroo | --dataro | --datar)
913 ac_prev=datarootdir ;;
914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916 datarootdir=$ac_optarg ;;
918 -disable-* | --disable-*)
919 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 as_fn_error $? "invalid feature name: $ac_useropt"
923 ac_useropt_orig=$ac_useropt
924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
930 ac_unrecognized_sep=', ';;
932 eval enable_$ac_useropt=no ;;
934 -docdir | --docdir | --docdi | --doc | --do)
936 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
939 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
944 -enable-* | --enable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=\$ac_optarg ;;
960 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
961 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
962 | --exec | --exe | --ex)
963 ac_prev=exec_prefix ;;
964 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
965 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
966 | --exec=* | --exe=* | --ex=*)
967 exec_prefix=$ac_optarg ;;
969 -gas | --gas | --ga | --g)
970 # Obsolete; use --with-gas.
973 -help | --help | --hel | --he | -h)
975 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
976 ac_init_help=recursive ;;
977 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
978 ac_init_help=short ;;
980 -host | --host | --hos | --ho)
981 ac_prev=host_alias ;;
982 -host=* | --host=* | --hos=* | --ho=*)
983 host_alias=$ac_optarg ;;
985 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989 htmldir=$ac_optarg ;;
991 -includedir | --includedir | --includedi | --included | --include \
992 | --includ | --inclu | --incl | --inc)
993 ac_prev=includedir ;;
994 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
995 | --includ=* | --inclu=* | --incl=* | --inc=*)
996 includedir=$ac_optarg ;;
998 -infodir | --infodir | --infodi | --infod | --info | --inf)
1000 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1001 infodir=$ac_optarg ;;
1003 -libdir | --libdir | --libdi | --libd)
1005 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1006 libdir=$ac_optarg ;;
1008 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1009 | --libexe | --libex | --libe)
1010 ac_prev=libexecdir ;;
1011 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1012 | --libexe=* | --libex=* | --libe=*)
1013 libexecdir=$ac_optarg ;;
1015 -localedir | --localedir | --localedi | --localed | --locale)
1016 ac_prev=localedir ;;
1017 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1018 localedir=$ac_optarg ;;
1020 -localstatedir | --localstatedir | --localstatedi | --localstated \
1021 | --localstate | --localstat | --localsta | --localst | --locals)
1022 ac_prev=localstatedir ;;
1023 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1024 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1025 localstatedir=$ac_optarg ;;
1027 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1030 mandir=$ac_optarg ;;
1032 -nfp | --nfp | --nf)
1033 # Obsolete; use --without-fp.
1036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1037 | --no-cr | --no-c | -n)
1040 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1044 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1045 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1046 | --oldin | --oldi | --old | --ol | --o)
1047 ac_prev=oldincludedir ;;
1048 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1049 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1050 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1051 oldincludedir=$ac_optarg ;;
1053 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1056 prefix=$ac_optarg ;;
1058 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1059 | --program-pre | --program-pr | --program-p)
1060 ac_prev=program_prefix ;;
1061 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1062 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1063 program_prefix=$ac_optarg ;;
1065 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1066 | --program-suf | --program-su | --program-s)
1067 ac_prev=program_suffix ;;
1068 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1069 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1070 program_suffix=$ac_optarg ;;
1072 -program-transform-name | --program-transform-name \
1073 | --program-transform-nam | --program-transform-na \
1074 | --program-transform-n | --program-transform- \
1075 | --program-transform | --program-transfor \
1076 | --program-transfo | --program-transf \
1077 | --program-trans | --program-tran \
1078 | --progr-tra | --program-tr | --program-t)
1079 ac_prev=program_transform_name ;;
1080 -program-transform-name=* | --program-transform-name=* \
1081 | --program-transform-nam=* | --program-transform-na=* \
1082 | --program-transform-n=* | --program-transform-=* \
1083 | --program-transform=* | --program-transfor=* \
1084 | --program-transfo=* | --program-transf=* \
1085 | --program-trans=* | --program-tran=* \
1086 | --progr-tra=* | --program-tr=* | --program-t=*)
1087 program_transform_name=$ac_optarg ;;
1089 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1092 pdfdir=$ac_optarg ;;
1094 -psdir | --psdir | --psdi | --psd | --ps)
1096 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1103 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107 sbindir=$ac_optarg ;;
1109 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1110 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1111 | --sharedst | --shareds | --shared | --share | --shar \
1113 ac_prev=sharedstatedir ;;
1114 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1115 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1116 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118 sharedstatedir=$ac_optarg ;;
1120 -site | --site | --sit)
1122 -site=* | --site=* | --sit=*)
1125 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1128 srcdir=$ac_optarg ;;
1130 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1131 | --syscon | --sysco | --sysc | --sys | --sy)
1132 ac_prev=sysconfdir ;;
1133 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1134 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1135 sysconfdir=$ac_optarg ;;
1137 -target | --target | --targe | --targ | --tar | --ta | --t)
1138 ac_prev=target_alias ;;
1139 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1140 target_alias=$ac_optarg ;;
1142 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1145 -version | --version | --versio | --versi | --vers | -V)
1146 ac_init_version=: ;;
1149 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152 as_fn_error $? "invalid package name: $ac_useropt"
1153 ac_useropt_orig=$ac_useropt
1154 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1159 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 ac_unrecognized_sep=', ';;
1162 eval with_$ac_useropt=\$ac_optarg ;;
1164 -without-* | --without-*)
1165 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error $? "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1178 eval with_$ac_useropt=no ;;
1181 # Obsolete; use --with-x.
1184 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185 | --x-incl | --x-inc | --x-in | --x-i)
1186 ac_prev=x_includes ;;
1187 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189 x_includes=$ac_optarg ;;
1191 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193 ac_prev=x_libraries ;;
1194 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196 x_libraries=$ac_optarg ;;
1198 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1199 Try \`$0 --help' for more information"
1203 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 case $ac_envvar in #(
1206 '' | [0-9]* | *[!_$as_cr_alnum]* )
1207 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1209 eval $ac_envvar=\$ac_optarg
1210 export $ac_envvar ;;
1213 # FIXME: should be removed in autoconf 3.0.
1214 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223 if test -n "$ac_prev"; then
1224 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225 as_fn_error $? "missing argument to $ac_option"
1228 if test -n "$ac_unrecognized_opts"; then
1229 case $enable_option_checking in
1231 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1232 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236 # Check all directory arguments for consistency.
1237 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238 datadir sysconfdir sharedstatedir localstatedir includedir \
1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240 libdir localedir mandir
1242 eval ac_val=\$$ac_var
1243 # Remove trailing slashes.
1246 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247 eval $ac_var=\$ac_val;;
1249 # Be sure to have absolute directory names.
1251 [\\/$]* | ?:[\\/]* ) continue;;
1252 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1254 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1257 # There might be people who depend on the old broken behavior: `$host'
1258 # used to hold the argument of --host etc.
1259 # FIXME: To remove some day.
1262 target=$target_alias
1264 # FIXME: To remove some day.
1265 if test "x$host_alias" != x; then
1266 if test "x$build_alias" = x; then
1267 cross_compiling=maybe
1268 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1269 If a cross compiler is detected then cross compile mode will be used" >&2
1270 elif test "x$build_alias" != "x$host_alias"; then
1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1278 test "$silent" = yes && exec 6>/dev/null
1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1282 ac_ls_di=`ls -di .` &&
1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1284 as_fn_error $? "working directory cannot be determined"
1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286 as_fn_error $? "pwd does not report name of working directory"
1289 # Find the source files, if location was not specified.
1290 if test -z "$srcdir"; then
1291 ac_srcdir_defaulted=yes
1292 # Try the directory containing this script, then the parent directory.
1293 ac_confdir=`$as_dirname -- "$as_myself" ||
1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1295 X"$as_myself" : 'X\(//\)[^/]' \| \
1296 X"$as_myself" : 'X\(//\)$' \| \
1297 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1298 $as_echo X"$as_myself" |
1299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1321 ac_srcdir_defaulted=no
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1324 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1329 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1331 # When building in place, set srcdir=.
1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335 # Remove unnecessary trailing slashes from srcdir.
1336 # Double slashes in file names in object file debugging info
1337 # mess up M-x gdb in Emacs.
1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1341 for ac_var in $ac_precious_vars; do
1342 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1343 eval ac_env_${ac_var}_value=\$${ac_var}
1344 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1345 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1349 # Report the --help message.
1351 if test "$ac_init_help" = "long"; then
1352 # Omit some internal or obsolete options to make the list less imposing.
1353 # This message is too long to be a string in the A/UX 3.1 sh.
1355 \`configure' configures gsignond 0.0.2 to adapt to many kinds of systems.
1357 Usage: $0 [OPTION]... [VAR=VALUE]...
1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1360 VAR=VALUE. See below for descriptions of some of the useful variables.
1362 Defaults for the options are specified in brackets.
1365 -h, --help display this help and exit
1366 --help=short display options specific to this package
1367 --help=recursive display the short help of all the included packages
1368 -V, --version display version information and exit
1369 -q, --quiet, --silent do not print \`checking ...' messages
1370 --cache-file=FILE cache test results in FILE [disabled]
1371 -C, --config-cache alias for \`--cache-file=config.cache'
1372 -n, --no-create do not create output files
1373 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1375 Installation directories:
1376 --prefix=PREFIX install architecture-independent files in PREFIX
1377 [$ac_default_prefix]
1378 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1381 By default, \`make install' will install all the files in
1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1384 for instance \`--prefix=\$HOME'.
1386 For better control, use the options below.
1388 Fine tuning of the installation directories:
1389 --bindir=DIR user executables [EPREFIX/bin]
1390 --sbindir=DIR system admin executables [EPREFIX/sbin]
1391 --libexecdir=DIR program executables [EPREFIX/libexec]
1392 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1393 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1394 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1395 --libdir=DIR object code libraries [EPREFIX/lib]
1396 --includedir=DIR C header files [PREFIX/include]
1397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1400 --infodir=DIR info documentation [DATAROOTDIR/info]
1401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1402 --mandir=DIR man documentation [DATAROOTDIR/man]
1403 --docdir=DIR documentation root [DATAROOTDIR/doc/gsignond]
1404 --htmldir=DIR html documentation [DOCDIR]
1405 --dvidir=DIR dvi documentation [DOCDIR]
1406 --pdfdir=DIR pdf documentation [DOCDIR]
1407 --psdir=DIR ps documentation [DOCDIR]
1413 --program-prefix=PREFIX prepend PREFIX to installed program names
1414 --program-suffix=SUFFIX append SUFFIX to installed program names
1415 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1418 --build=BUILD configure for building on BUILD [guessed]
1419 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1423 if test -n "$ac_init_help"; then
1424 case $ac_init_help in
1425 short | recursive ) echo "Configuration of gsignond 0.0.2:";;
1430 --disable-option-checking ignore unrecognized --enable/--with options
1431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1433 --enable-silent-rules less verbose build output (undo: `make V=1')
1434 --disable-silent-rules verbose build output (undo: `make V=0')
1435 --disable-dependency-tracking speeds up one-time build
1436 --enable-dependency-tracking do not reject slow dependency extractors
1437 --enable-static[=PKGS] build static libraries [default=no]
1438 --enable-shared[=PKGS] build shared libraries [default=yes]
1439 --enable-fast-install[=PKGS]
1440 optimize for fast installation [default=yes]
1441 --disable-libtool-lock avoid locking (might break parallel builds)
1442 --enable-distcheck build for distcheck target
1443 --enable-dbus-type=dbus-type specify daemon dbus type:
1444 p2p(default): uses peer to peer dbus
1445 session: uses session message bus
1446 system: uses system message bus
1447 --enable-debug enable debug features
1448 --enable-sql-log enable sql log feature
1449 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1450 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1451 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1454 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1455 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1456 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1458 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1459 --with-sysroot=DIR Search for dependent libraries within DIR
1460 (or the compiler's sysroot if not specified).
1461 --with-html-dir=PATH path to installed docs
1463 Some influential environment variables:
1464 CC C compiler command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1467 nonstandard directory <lib dir>
1468 LIBS libraries to pass to the linker, e.g. -l<library>
1469 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1470 you have headers in a nonstandard directory <include dir>
1472 PKG_CONFIG path to pkg-config utility
1474 directories to add to pkg-config's search path
1476 path overriding pkg-config's built-in search path
1478 C compiler flags for GSIGNOND, overriding pkg-config
1480 linker flags for GSIGNOND, overriding pkg-config
1482 C compiler flags for CHECK, overriding pkg-config
1483 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1485 C compiler flags for LIBSMACK, overriding pkg-config
1487 linker flags for LIBSMACK, overriding pkg-config
1489 C compiler flags for LIBECRYPTFS, overriding pkg-config
1491 linker flags for LIBECRYPTFS, overriding pkg-config
1493 C compiler flags for GTestDBus, overriding pkg-config
1495 linker flags for GTestDBus, overriding pkg-config
1497 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1499 linker flags for GTKDOC_DEPS, overriding pkg-config
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1505 gsignond home page: <http://code.google.com/p/accounts-sso/>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" ||
1514 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 gsignond configure 0.0.2
1569 generated by GNU Autoconf 2.68
1571 Copyright (C) 2010 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1578 ## ------------------------ ##
1579 ## Autoconf initialization. ##
1580 ## ------------------------ ##
1582 # ac_fn_c_try_compile LINENO
1583 # --------------------------
1584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_compile ()
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext
1589 if { { ac_try="$ac_compile"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_compile") 2>conftest.err
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest.$ac_objext; then :
1610 $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 as_fn_set_status $ac_retval
1618 } # ac_fn_c_try_compile
1620 # ac_fn_c_try_link LINENO
1621 # -----------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded.
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 rm -f conftest.$ac_objext conftest$ac_exeext
1627 if { { ac_try="$ac_link"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_link") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && {
1643 test -z "$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1645 } && test -s conftest$ac_exeext && {
1646 test "$cross_compiling" = yes ||
1647 $as_test_x conftest$ac_exeext
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1657 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1658 # interfere with the next link command; also delete a directory that is
1659 # left behind by Apple's compiler. We do this before executing the actions.
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1664 } # ac_fn_c_try_link
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval \${$3+:} false; then :
1676 $as_echo_n "(cached) " >&6
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1683 if ac_fn_c_try_compile "$LINENO"; then :
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 } # ac_fn_c_check_header_compile
1697 # ac_fn_c_try_cpp LINENO
1698 # ----------------------
1699 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_cpp conftest.$ac_ext"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1712 if test -s conftest.err; then
1713 grep -v '^ *+' conftest.err >conftest.er1
1714 cat conftest.er1 >&5
1715 mv -f conftest.er1 conftest.err
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } > conftest.i && {
1719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720 test ! -s conftest.err
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1752 { { case "(($ac_try" in
1753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_try") 2>&5
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; }; }; then :
1764 $as_echo "$as_me: program exited with status $ac_status" >&5
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=$ac_status
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1791 #define $2 innocuous_$2
1793 /* System header to define __stub macros and hopefully few prototypes,
1794 which can conflict with char $2 (); below.
1795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796 <limits.h> exists even on freestanding compilers. */
1799 # include <limits.h>
1801 # include <assert.h>
1806 /* Override any GCC internal prototype to avoid an error.
1807 Use char because int might match the return type of a GCC
1808 builtin and then its argument prototype would still apply. */
1813 /* The GNU C library defines this for functions which it implements
1814 to always fail with ENOSYS. Some functions are actually named
1815 something starting with __ and the normal name is an alias. */
1816 #if defined __stub_$2 || defined __stub___$2
1828 if ac_fn_c_try_link "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext \
1834 conftest$ac_exeext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 } # ac_fn_c_check_func
1843 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1846 # the include files in INCLUDES and setting the cache variable VAR
1848 ac_fn_c_check_header_mongrel ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if eval \${$3+:} false; then :
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855 $as_echo_n "(cached) " >&6
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1861 # Is the header compilable?
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1863 $as_echo_n "checking $2 usability... " >&6; }
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1869 if ac_fn_c_try_compile "$LINENO"; then :
1870 ac_header_compiler=yes
1872 ac_header_compiler=no
1874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1876 $as_echo "$ac_header_compiler" >&6; }
1878 # Is the header present?
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1880 $as_echo_n "checking $2 presence... " >&6; }
1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1885 if ac_fn_c_try_cpp "$LINENO"; then :
1886 ac_header_preproc=yes
1888 ac_header_preproc=no
1890 rm -f conftest.err conftest.i conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1892 $as_echo "$ac_header_preproc" >&6; }
1894 # So? What about this header?
1895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1898 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1900 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1904 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1906 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1908 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1910 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1912 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if eval \${$3+:} false; then :
1918 $as_echo_n "(cached) " >&6
1920 eval "$3=\$ac_header_compiler"
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 } # ac_fn_c_check_header_mongrel
1929 cat >config.log <<_ACEOF
1930 This file contains any messages produced by compilers while
1931 running configure, to aid debugging if configure makes a mistake.
1933 It was created by gsignond $as_me 0.0.2, which was
1934 generated by GNU Autoconf 2.68. Invocation command line was
1946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1958 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 $as_echo "PATH: $as_dir"
1986 # Keep a trace of the command line.
1987 # Strip out --no-create and --no-recursion so they do not pile up.
1988 # Strip out --silent because we don't want to record it for future runs.
1989 # Also quote any args containing shell meta-characters.
1990 # Make two passes to allow for proper duplicate-argument suppression.
1994 ac_must_keep_next=false
2000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2002 | -silent | --silent | --silen | --sile | --sil)
2005 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2008 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2010 as_fn_append ac_configure_args1 " '$ac_arg'"
2011 if test $ac_must_keep_next = true; then
2012 ac_must_keep_next=false # Got value, back to normal.
2015 *=* | --config-cache | -C | -disable-* | --disable-* \
2016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2018 | -with-* | --with-* | -without-* | --without-* | --x)
2019 case "$ac_configure_args0 " in
2020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023 -* ) ac_must_keep_next=true ;;
2026 as_fn_append ac_configure_args " '$ac_arg'"
2031 { ac_configure_args0=; unset ac_configure_args0;}
2032 { ac_configure_args1=; unset ac_configure_args1;}
2034 # When interrupted or exit'd, cleanup temporary files, and complete
2035 # config.log. We remove comments because anyway the quotes in there
2036 # would cause problems or look ugly.
2037 # WARNING: Use '\'' to represent an apostrophe within the trap.
2038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2039 trap 'exit_status=$?
2040 # Save into config.log some information that might help in debugging.
2044 $as_echo "## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##"
2048 # The following way of writing the cache mishandles newlines in values,
2050 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2051 eval ac_val=\$$ac_var
2055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 _ | IFS | as_nl) ;; #(
2060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061 *) { eval $ac_var=; unset $ac_var;} ;;
2066 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2067 *${as_nl}ac_space=\ *)
2069 "s/'\''/'\''\\\\'\'''\''/g;
2070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2080 $as_echo "## ----------------- ##
2081 ## Output variables. ##
2082 ## ----------------- ##"
2084 for ac_var in $ac_subst_vars
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -n "$ac_subst_files"; then
2095 $as_echo "## ------------------- ##
2096 ## File substitutions. ##
2097 ## ------------------- ##"
2099 for ac_var in $ac_subst_files
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -s confdefs.h; then
2111 $as_echo "## ----------- ##
2118 test "$ac_signal" != 0 &&
2119 $as_echo "$as_me: caught signal $ac_signal"
2120 $as_echo "$as_me: exit $exit_status"
2122 rm -f core *.core core.conftest.* &&
2123 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126 for ac_signal in 1 2 13 15; do
2127 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2132 rm -f -r conftest* confdefs.h
2134 $as_echo "/* confdefs.h */" > confdefs.h
2136 # Predefined preprocessor variables.
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_URL "$PACKAGE_URL"
2163 # Let the site file select an alternate cache file if it wants to.
2164 # Prefer an explicitly selected file to automatically selected ones.
2167 if test -n "$CONFIG_SITE"; then
2168 # We do not want a PATH search for config.site.
2169 case $CONFIG_SITE in #((
2170 -*) ac_site_file1=./$CONFIG_SITE;;
2171 */*) ac_site_file1=$CONFIG_SITE;;
2172 *) ac_site_file1=./$CONFIG_SITE;;
2174 elif test "x$prefix" != xNONE; then
2175 ac_site_file1=$prefix/share/config.site
2176 ac_site_file2=$prefix/etc/config.site
2178 ac_site_file1=$ac_default_prefix/share/config.site
2179 ac_site_file2=$ac_default_prefix/etc/config.site
2181 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2183 test "x$ac_site_file" = xNONE && continue
2184 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2187 sed 's/^/| /' "$ac_site_file" >&5
2189 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 as_fn_error $? "failed to load site script $ac_site_file
2192 See \`config.log' for more details" "$LINENO" 5; }
2196 if test -r "$cache_file"; then
2197 # Some versions of bash will fail to source /dev/null (special files
2198 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2199 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2201 $as_echo "$as_me: loading cache $cache_file" >&6;}
2203 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2204 *) . "./$cache_file";;
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2209 $as_echo "$as_me: creating cache $cache_file" >&6;}
2213 # Check that the precious variables saved in the cache have kept the same
2215 ac_cache_corrupted=false
2216 for ac_var in $ac_precious_vars; do
2217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218 eval ac_new_set=\$ac_env_${ac_var}_set
2219 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220 eval ac_new_val=\$ac_env_${ac_var}_value
2221 case $ac_old_set,$ac_new_set in
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225 ac_cache_corrupted=: ;;
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229 ac_cache_corrupted=: ;;
2232 if test "x$ac_old_val" != "x$ac_new_val"; then
2233 # differences in whitespace do not lead to failure.
2234 ac_old_val_w=`echo x $ac_old_val`
2235 ac_new_val_w=`echo x $ac_new_val`
2236 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239 ac_cache_corrupted=:
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243 eval $ac_var=\$ac_old_val
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2251 # Pass precious variables to config.status.
2252 if test "$ac_new_set" = set; then
2254 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255 *) ac_arg=$ac_var=$ac_new_val ;;
2257 case " $ac_configure_args " in
2258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2263 if $ac_cache_corrupted; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2268 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2270 ## -------------------- ##
2271 ## Main body of script. ##
2272 ## -------------------- ##
2275 ac_cpp='$CPP $CPPFLAGS'
2276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282 ac_config_headers="$ac_config_headers config.h"
2285 for ac_dir in build-aux "$srcdir"/build-aux; do
2286 if test -f "$ac_dir/install-sh"; then
2288 ac_install_sh="$ac_aux_dir/install-sh -c"
2290 elif test -f "$ac_dir/install.sh"; then
2292 ac_install_sh="$ac_aux_dir/install.sh -c"
2294 elif test -f "$ac_dir/shtool"; then
2296 ac_install_sh="$ac_aux_dir/shtool install -c"
2300 if test -z "$ac_aux_dir"; then
2301 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2315 am__api_version='1.11'
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 ./ | .// | /[cC]/* | \
2345 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2352 for ac_prog in ginstall scoinst install; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355 if test $ac_prog = install &&
2356 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2359 elif test $ac_prog = install &&
2360 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one > conftest.one
2366 echo two > conftest.two
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369 test -s conftest.one && test -s conftest.two &&
2370 test -s conftest.dir/conftest.one &&
2371 test -s conftest.dir/conftest.two
2373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2386 rm -rf conftest.one conftest.two conftest.dir
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL=$ac_cv_path_install
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL=$ac_install_sh
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2414 echo timestamp > conftest.file
2415 # Reject unsafe characters in $srcdir or the absolute working directory
2416 # name. Accept space and tab only in the latter.
2420 *[\\\"\#\$\&\'\`$am_lf]*)
2421 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2424 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2425 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2428 # Do `set' in a subshell so we don't clobber the current shell's
2429 # arguments. Must try -L first in case configure is actually a
2430 # symlink; some systems play weird games with the mod time of symlinks
2431 # (eg FreeBSD returns the mod time of the symlink's containing
2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435 if test "$*" = "X"; then
2437 set X `ls -t "$srcdir/configure" conftest.file`
2440 if test "$*" != "X $srcdir/configure conftest.file" \
2441 && test "$*" != "X conftest.file $srcdir/configure"; then
2443 # If neither matched, then we have a broken ls. This can happen
2444 # if, for instance, CONFIG_SHELL is bash and it inherits a
2445 # broken ls alias from the environment. This has actually
2446 # happened. Such a system could not be considered "sane".
2447 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2451 test "$2" = conftest.file
2457 as_fn_error $? "newly created file is older than distributed files!
2458 Check your system clock" "$LINENO" 5
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461 $as_echo "yes" >&6; }
2462 test "$program_prefix" != NONE &&
2463 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464 # Use a double $ so make ignores it.
2465 test "$program_suffix" != NONE &&
2466 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467 # Double any \ or $.
2468 # By default was `s,x,x', remove it if useless.
2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472 # expand $ac_aux_dir to an absolute path
2473 am_aux_dir=`cd $ac_aux_dir && pwd`
2475 if test x"${MISSING+set}" != xset; then
2478 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2480 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2483 # Use eval to expand $SHELL
2484 if eval "$MISSING --run true"; then
2485 am_missing_run="$MISSING --run "
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2489 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2492 if test x"${install_sh}" != xset; then
2495 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2497 install_sh="\${SHELL} $am_aux_dir/install-sh"
2501 # Installed binaries are usually stripped using `strip' when the user
2502 # run `make install-strip'. However `strip' might not be the right
2503 # tool to use in cross-compilation environments, therefore Automake
2504 # will honor the `STRIP' environment variable to overrule this program.
2505 if test "$cross_compiling" != no; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_STRIP+:} false; then :
2512 $as_echo_n "(cached) " >&6
2514 if test -n "$STRIP"; then
2515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 STRIP=$ac_cv_prog_STRIP
2535 if test -n "$STRIP"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537 $as_echo "$STRIP" >&6; }
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2545 if test -z "$ac_cv_prog_STRIP"; then
2547 # Extract the first word of "strip", so it can be a program name with args.
2548 set dummy strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$ac_ct_STRIP"; then
2555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_ac_ct_STRIP="strip"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575 if test -n "$ac_ct_STRIP"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577 $as_echo "$ac_ct_STRIP" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2583 if test "x$ac_ct_STRIP" = x; then
2586 case $cross_compiling:$ac_tool_warned in
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590 ac_tool_warned=yes ;;
2595 STRIP="$ac_cv_prog_STRIP"
2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604 if ${ac_cv_path_mkdir+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2611 test -z "$as_dir" && as_dir=.
2612 for ac_prog in mkdir gmkdir; do
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2615 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616 'mkdir (GNU coreutils) '* | \
2617 'mkdir (coreutils) '* | \
2618 'mkdir (fileutils) '4.1*)
2619 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2629 test -d ./--version && rmdir ./--version
2630 if test "${ac_cv_path_mkdir+set}" = set; then
2631 MKDIR_P="$ac_cv_path_mkdir -p"
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for MKDIR_P within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 MKDIR_P="$ac_install_sh -d"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641 $as_echo "$MKDIR_P" >&6; }
2645 [\\/$]* | ?:[\\/]*) ;;
2646 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2649 for ac_prog in gawk mawk nawk awk
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$AWK"; then
2659 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_AWK="$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$AWK"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$AWK" && break
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2694 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 cat >conftest.make <<\_ACEOF
2701 @echo '@@@%%%=$(MAKE)=@@@%%%'
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2706 eval ac_cv_prog_make_${ac_make}_set=yes;;
2708 eval ac_cv_prog_make_${ac_make}_set=no;;
2712 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719 SET_MAKE="MAKE=${MAKE-make}"
2722 rm -rf .tst 2>/dev/null
2723 mkdir .tst 2>/dev/null
2724 if test -d .tst; then
2729 rmdir .tst 2>/dev/null
2731 # Check whether --enable-silent-rules was given.
2732 if test "${enable_silent_rules+set}" = set; then :
2733 enableval=$enable_silent_rules;
2736 case $enable_silent_rules in
2737 yes) AM_DEFAULT_VERBOSITY=0;;
2738 no) AM_DEFAULT_VERBOSITY=1;;
2739 *) AM_DEFAULT_VERBOSITY=1;;
2741 am_make=${MAKE-make}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2744 if ${am_cv_make_support_nested_variables+:} false; then :
2745 $as_echo_n "(cached) " >&6
2747 if $as_echo 'TRUE=$(BAR$(V))
2753 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2754 am_cv_make_support_nested_variables=yes
2756 am_cv_make_support_nested_variables=no
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2761 if test $am_cv_make_support_nested_variables = yes; then
2763 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2765 AM_V=$AM_DEFAULT_VERBOSITY
2766 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2770 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2771 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2772 # is not polluted with repeated "-I."
2773 am__isrc=' -I$(srcdir)'
2774 # test to see if srcdir already configured
2775 if test -f $srcdir/config.status; then
2776 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2780 # test whether we have cygpath
2781 if test -z "$CYGPATH_W"; then
2782 if (cygpath --version) >/dev/null 2>/dev/null; then
2783 CYGPATH_W='cygpath -w'
2790 # Define the identity of the package.
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE "$PACKAGE"
2800 cat >>confdefs.h <<_ACEOF
2801 #define VERSION "$VERSION"
2804 # Some tools Automake needs.
2806 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2809 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2812 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2815 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2818 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2820 # We need awk for the "check" target. The system "awk" is bad on
2822 # Always define AMTAR for backward compatibility. Yes, it's still used
2823 # in the wild :-( We should find a proper way to deprecate it ...
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2828 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2829 # Loop over all known methods to create a tar archive until one works.
2830 _am_tools='gnutar pax cpio none'
2831 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2832 # Do not fold the above two line into one, because Tru64 sh and
2833 # Solaris sh will not grok spaces in the rhs of `-'.
2834 for _am_tool in $_am_tools
2838 for _am_tar in tar gnutar gtar;
2840 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2841 ($_am_tar --version) >&5 2>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } && break
2846 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2847 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2848 am__untar="$_am_tar -xf -"
2851 # Must skip GNU tar: if it does not support --format= it doesn't create
2852 # ustar tarball either.
2853 (tar --version) >/dev/null 2>&1 && continue
2854 am__tar='tar chf - "$$tardir"'
2855 am__tar_='tar chf - "$tardir"'
2856 am__untar='tar xf -'
2859 am__tar='pax -L -x pax -w "$$tardir"'
2860 am__tar_='pax -L -x pax -w "$tardir"'
2864 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2865 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2866 am__untar='cpio -i -H pax -d'
2875 # If the value was cached, stop now. We just wanted to have am__tar
2876 # and am__untar set.
2877 test -n "${am_cv_prog_tar_pax}" && break
2879 # tar/untar a dummy directory, and stop if the command works
2882 echo GrepMe > conftest.dir/file
2883 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2884 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }
2889 if test -s conftest.tar; then
2890 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2891 ($am__untar <conftest.tar) >&5 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }
2895 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2900 if ${am_cv_prog_tar_pax+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 am_cv_prog_tar_pax=$_am_tool
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2907 $as_echo "$am_cv_prog_tar_pax" >&6; }
2914 # Checks for programs.
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920 if test -n "$ac_tool_prefix"; then
2921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if ${ac_cv_prog_CC+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test -n "$CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 $as_echo "$CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2959 if test -z "$ac_cv_prog_CC"; then
2961 # Extract the first word of "gcc", so it can be a program name with args.
2962 set dummy gcc; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$ac_ct_CC"; then
2969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir=.
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_ac_ct_CC="gcc"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2989 if test -n "$ac_ct_CC"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2991 $as_echo "$ac_ct_CC" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2997 if test "x$ac_ct_CC" = x; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3012 if test -z "$CC"; then
3013 if test -n "$ac_tool_prefix"; then
3014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3015 set dummy ${ac_tool_prefix}cc; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_CC+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 if test -n "$CC"; then
3022 ac_cv_prog_CC="$CC" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_CC="${ac_tool_prefix}cc"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 if test -n "$CC"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3044 $as_echo "$CC" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3053 if test -z "$CC"; then
3054 # Extract the first word of "cc", so it can be a program name with args.
3055 set dummy cc; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_CC+:} false; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$CC"; then
3062 ac_cv_prog_CC="$CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3073 ac_prog_rejected=yes
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 if test $ac_prog_rejected = yes; then
3085 # We found a bogon in the path, so make sure we never use it.
3086 set dummy $ac_cv_prog_CC
3088 if test $# != 0; then
3089 # We chose a different compiler from the bogus one.
3090 # However, it has the same basename, so the bogon will be chosen
3091 # first if we set CC to just the basename; use the full file name.
3093 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3099 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3109 if test -z "$CC"; then
3110 if test -n "$ac_tool_prefix"; then
3111 for ac_prog in cl.exe
3113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3150 test -n "$CC" && break
3153 if test -z "$CC"; then
3155 for ac_prog in cl.exe
3157 # Extract the first word of "$ac_prog", so it can be a program name with args.
3158 set dummy $ac_prog; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$ac_ct_CC"; then
3165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_ac_ct_CC="$ac_prog"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3185 if test -n "$ac_ct_CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3187 $as_echo "$ac_ct_CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3194 test -n "$ac_ct_CC" && break
3197 if test "x$ac_ct_CC" = x; then
3200 case $cross_compiling:$ac_tool_warned in
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3204 ac_tool_warned=yes ;;
3213 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error $? "no acceptable C compiler found in \$PATH
3216 See \`config.log' for more details" "$LINENO" 5; }
3218 # Provide some information about the compiler.
3219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3222 for ac_option in --version -v -V -qversion; do
3223 { { ac_try="$ac_compiler $ac_option >&5"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3232 if test -s conftest.err; then
3234 ... rest of stderr output deleted ...
3235 10q' conftest.err >conftest.er1
3236 cat conftest.er1 >&5
3238 rm -f conftest.er1 conftest.err
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 ac_clean_files_save=$ac_clean_files
3255 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3256 # Try to create an executable without -o first, disregard a.out.
3257 # It will help us diagnose broken compilers, and finding out an intuition
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3260 $as_echo_n "checking whether the C compiler works... " >&6; }
3261 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3263 # The possible output files:
3264 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3267 for ac_file in $ac_files
3270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3271 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3276 if { { ac_try="$ac_link_default"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_link_default") 2>&5
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }; then :
3287 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3289 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3290 # so that the user can short-circuit this test for compilers unknown to
3292 for ac_file in $ac_files ''
3294 test -f "$ac_file" || continue
3296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3299 # We found the default executable, but exeext='' is most
3303 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3305 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3307 # We set ac_cv_exeext here because the later test for it is not
3308 # safe: cross compilers may not add the suffix if given an `-o'
3309 # argument, so we may need to know it at that point already.
3310 # Even if this section looks crufty: it has the advantage of
3317 test "$ac_cv_exeext" = no && ac_cv_exeext=
3322 if test -z "$ac_file"; then :
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 $as_echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.$ac_ext >&5
3328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3330 as_fn_error 77 "C compiler cannot create executables
3331 See \`config.log' for more details" "$LINENO" 5; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3337 $as_echo_n "checking for C compiler default output file name... " >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3339 $as_echo "$ac_file" >&6; }
3340 ac_exeext=$ac_cv_exeext
3342 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3343 ac_clean_files=$ac_clean_files_save
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3345 $as_echo_n "checking for suffix of executables... " >&6; }
3346 if { { ac_try="$ac_link"
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3358 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3359 # work properly (i.e., refer to `conftest.exe'), while it won't with
3361 for ac_file in conftest.exe conftest conftest.*; do
3362 test -f "$ac_file" || continue
3364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3365 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 rm -f conftest conftest$ac_cv_exeext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3378 $as_echo "$ac_cv_exeext" >&6; }
3380 rm -f conftest.$ac_ext
3381 EXEEXT=$ac_cv_exeext
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3389 FILE *f = fopen ("conftest.out", "w");
3390 return ferror (f) || fclose (f) != 0;
3396 ac_clean_files="$ac_clean_files conftest.out"
3397 # Check that the compiler produces executables we can run. If not, either
3398 # the compiler is broken, or we cross compile.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3400 $as_echo_n "checking whether we are cross compiling... " >&6; }
3401 if test "$cross_compiling" != yes; then
3402 { { ac_try="$ac_link"
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_link") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3413 if { ac_try='./conftest$ac_cv_exeext'
3414 { { case "(($ac_try" in
3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_try") 2>&5
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }; }; then
3426 if test "$cross_compiling" = maybe; then
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $? "cannot run C compiled programs.
3432 If you meant to cross compile, use \`--host'.
3433 See \`config.log' for more details" "$LINENO" 5; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3438 $as_echo "$cross_compiling" >&6; }
3440 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3441 ac_clean_files=$ac_clean_files_save
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3443 $as_echo_n "checking for suffix of object files... " >&6; }
3444 if ${ac_cv_objext+:} false; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 rm -f conftest.o conftest.obj
3459 if { { ac_try="$ac_compile"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_compile") 2>&5
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }; then :
3470 for ac_file in conftest.o conftest.obj conftest.*; do
3471 test -f "$ac_file" || continue;
3473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3474 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot compute suffix of object files: cannot compile
3485 See \`config.log' for more details" "$LINENO" 5; }
3487 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3490 $as_echo "$ac_cv_objext" >&6; }
3491 OBJEXT=$ac_cv_objext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3495 if ${ac_cv_c_compiler_gnu+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3512 if ac_fn_c_try_compile "$LINENO"; then :
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3522 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3523 if test $ac_compiler_gnu = yes; then
3528 ac_test_CFLAGS=${CFLAGS+set}
3529 ac_save_CFLAGS=$CFLAGS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3531 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3532 if ${ac_cv_prog_cc_g+:} false; then :
3533 $as_echo_n "(cached) " >&6
3535 ac_save_c_werror_flag=$ac_c_werror_flag
3536 ac_c_werror_flag=yes
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3550 if ac_fn_c_try_compile "$LINENO"; then :
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_c_werror_flag=$ac_save_c_werror_flag
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3592 $as_echo "$ac_cv_prog_cc_g" >&6; }
3593 if test "$ac_test_CFLAGS" = set; then
3594 CFLAGS=$ac_save_CFLAGS
3595 elif test $ac_cv_prog_cc_g = yes; then
3596 if test "$GCC" = yes; then
3602 if test "$GCC" = yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3609 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3610 if ${ac_cv_prog_cc_c89+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 ac_cv_prog_cc_c89=no
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3619 #include <sys/types.h>
3620 #include <sys/stat.h>
3621 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3622 struct buf { int x; };
3623 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3624 static char *e (p, i)
3630 static char *f (char * (*g) (char **, int), char **p, ...)
3635 s = g (p, va_arg (v,int));
3640 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3641 function prototypes and stuff, but not '\xHH' hex character constants.
3642 These don't provoke an error unfortunately, instead are silently treated
3643 as 'x'. The following induces an error, until -std is added to get
3644 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3645 array size at least. It's necessary to write '\x00'==0 to get something
3646 that's true only with -std. */
3647 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3649 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3650 inside strings and character constants. */
3652 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3654 int test (int i, double x);
3655 struct s1 {int (*f) (int a);};
3656 struct s2 {int (*f) (double a);};
3657 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3663 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3668 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3669 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3671 CC="$ac_save_CC $ac_arg"
3672 if ac_fn_c_try_compile "$LINENO"; then :
3673 ac_cv_prog_cc_c89=$ac_arg
3675 rm -f core conftest.err conftest.$ac_objext
3676 test "x$ac_cv_prog_cc_c89" != "xno" && break
3678 rm -f conftest.$ac_ext
3683 case "x$ac_cv_prog_cc_c89" in
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3686 $as_echo "none needed" >&6; } ;;
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3689 $as_echo "unsupported" >&6; } ;;
3691 CC="$CC $ac_cv_prog_cc_c89"
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3693 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3695 if test "x$ac_cv_prog_cc_c89" != xno; then :
3700 ac_cpp='$CPP $CPPFLAGS'
3701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704 DEPDIR="${am__leading_dot}deps"
3706 ac_config_commands="$ac_config_commands depfiles"
3709 am_make=${MAKE-make}
3710 cat > confinc << 'END'
3712 @echo this is the am__doit target
3715 # If we don't find an include directive, just comment out the code.
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3717 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3721 # First try GNU make style include.
3722 echo "include confinc" > confmf
3723 # Ignore all kinds of additional output from `make'.
3724 case `$am_make -s -f confmf 2> /dev/null` in #(
3725 *the\ am__doit\ target*)
3731 # Now try BSD make style include.
3732 if test "$am__include" = "#"; then
3733 echo '.include "confinc"' > confmf
3734 case `$am_make -s -f confmf 2> /dev/null` in #(
3735 *the\ am__doit\ target*)
3736 am__include=.include
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3745 $as_echo "$_am_result" >&6; }
3746 rm -f confinc confmf
3748 # Check whether --enable-dependency-tracking was given.
3749 if test "${enable_dependency_tracking+set}" = set; then :
3750 enableval=$enable_dependency_tracking;
3753 if test "x$enable_dependency_tracking" != xno; then
3754 am_depcomp="$ac_aux_dir/depcomp"
3758 if test "x$enable_dependency_tracking" != xno; then
3768 depcc="$CC" am_compiler_list=
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3771 $as_echo_n "checking dependency style of $depcc... " >&6; }
3772 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3776 # We make a subdir and do the tests there. Otherwise we can end up
3777 # making bogus files that we don't know about and never remove. For
3778 # instance it was reported that on HP-UX the gcc test will end up
3779 # making a dummy file named `D' -- because `-MD' means `put the output
3783 # Copy depcomp to subdir because otherwise we won't find it if we're
3784 # using a relative directory.
3785 cp "$am_depcomp" conftest.dir
3787 # We will build objects and dependencies in a subdirectory because
3788 # it helps to detect inapplicable dependency modes. For instance
3789 # both Tru64's cc and ICC support -MD to output dependencies as a
3790 # side effect of compilation, but ICC will put the dependencies in
3791 # the current directory while Tru64 will put them in the object
3795 am_cv_CC_dependencies_compiler_type=none
3796 if test "$am_compiler_list" = ""; then
3797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3800 case " $depcc " in #(
3801 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3804 for depmode in $am_compiler_list; do
3805 # Setup a source with many dependencies, because some compilers
3806 # like to wrap large dependency lists on column 80 (with \), and
3807 # we should not choose a depcomp mode which is confused by this.
3809 # We need to recreate these files for each test, as the compiler may
3810 # overwrite some of them when testing with obscure command lines.
3811 # This happens at least with the AIX C compiler.
3813 for i in 1 2 3 4 5 6; do
3814 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3815 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3816 # Solaris 8's {/usr,}/bin/sh.
3817 touch sub/conftst$i.h
3819 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3821 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3822 # mode. It turns out that the SunPro C++ compiler does not properly
3823 # handle `-M -o', and we need to detect this. Also, some Intel
3824 # versions had trouble with output in subdirs
3825 am__obj=sub/conftest.${OBJEXT-o}
3826 am__minus_obj="-o $am__obj"
3829 # This depmode causes a compiler race in universal mode.
3830 test "$am__universal" = false || continue
3833 # after this tag, mechanisms are not by side-effect, so they'll
3834 # only be used when explicitly requested
3835 if test "x$enable_dependency_tracking" = xyes; then
3841 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3842 # This compiler won't grok `-c -o', but also, the minuso test has
3843 # not run yet. These depmodes are late enough in the game, and
3844 # so weak that their functioning should not be impacted.
3845 am__obj=conftest.${OBJEXT-o}
3850 if depmode=$depmode \
3851 source=sub/conftest.c object=$am__obj \
3852 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3853 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3854 >/dev/null 2>conftest.err &&
3855 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3856 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3857 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3858 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3859 # icc doesn't choke on unknown options, it will just issue warnings
3860 # or remarks (even with -Werror). So we grep stderr for any message
3861 # that says an option was ignored or not supported.
3862 # When given -MP, icc 7.0 and 7.1 complain thusly:
3863 # icc: Command line warning: ignoring option '-M'; no argument required
3864 # The diagnosis changed in icc 8.0:
3865 # icc: Command line remark: option '-MP' not supported
3866 if (grep 'ignoring option' conftest.err ||
3867 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3868 am_cv_CC_dependencies_compiler_type=$depmode
3877 am_cv_CC_dependencies_compiler_type=none
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3882 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3883 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3886 test "x$enable_dependency_tracking" != xno \
3887 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3889 am__fastdepCC_FALSE='#'
3891 am__fastdepCC_TRUE='#'
3892 am__fastdepCC_FALSE=
3897 if test -n "$ac_tool_prefix"; then
3898 for ac_prog in ar lib "link -lib"
3900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if ${ac_cv_prog_AR+:} false; then :
3905 $as_echo_n "(cached) " >&6
3907 if test -n "$AR"; then
3908 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir=.
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 if test -n "$AR"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3930 $as_echo "$AR" >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3937 test -n "$AR" && break
3940 if test -z "$AR"; then
3942 for ac_prog in ar lib "link -lib"
3944 # Extract the first word of "$ac_prog", so it can be a program name with args.
3945 set dummy $ac_prog; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$ac_ct_AR"; then
3952 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961 ac_cv_prog_ac_ct_AR="$ac_prog"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3972 if test -n "$ac_ct_AR"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3974 $as_echo "$ac_ct_AR" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3981 test -n "$ac_ct_AR" && break
3984 if test "x$ac_ct_AR" = x; then
3987 case $cross_compiling:$ac_tool_warned in
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3991 ac_tool_warned=yes ;;
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4000 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4001 if ${am_cv_ar_interface+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 am_cv_ar_interface=ar
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 int some_variable = 0;
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4012 (eval $am_ar_try) 2>&5
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }
4016 if test "$ac_status" -eq 0; then
4017 am_cv_ar_interface=ar
4019 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4021 (eval $am_ar_try) 2>&5
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }
4025 if test "$ac_status" -eq 0; then
4026 am_cv_ar_interface=lib
4028 am_cv_ar_interface=unknown
4031 rm -f conftest.lib libconftest.a
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4038 $as_echo "$am_cv_ar_interface" >&6; }
4040 case $am_cv_ar_interface in
4044 # Microsoft lib, so override with the ar-lib wrapper script.
4045 # FIXME: It is wrong to rewrite AR.
4046 # But if we don't then we get into trouble of one sort or another.
4047 # A longer-term fix would be to have automake use am__AR in this case,
4048 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4050 AR="$am_aux_dir/ar-lib $AR"
4053 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4058 $as_echo_n "checking for GNU make... " >&6; }
4059 if ${_cv_gnu_make_command+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 _cv_gnu_make_command='' ;
4063 for a in "$MAKE" make gmake gnumake ; do
4064 if test -z "$a" ; then continue ; fi ;
4065 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4066 _cv_gnu_make_command=$a ;
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4073 $as_echo "$_cv_gnu_make_command" >&6; } ;
4074 if test "x$_cv_gnu_make_command" != "x" ; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4079 $as_echo "\"Not found\"" >&6; };
4083 if test "x$ifGNUmake" = "x#" ; then
4084 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4092 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4097 macro_version='2.4.2'
4098 macro_revision='1.3337'
4112 ltmain="$ac_aux_dir/ltmain.sh"
4114 # Make sure we can run config.sub.
4115 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4116 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4119 $as_echo_n "checking build system type... " >&6; }
4120 if ${ac_cv_build+:} false; then :
4121 $as_echo_n "(cached) " >&6
4123 ac_build_alias=$build_alias
4124 test "x$ac_build_alias" = x &&
4125 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4126 test "x$ac_build_alias" = x &&
4127 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4128 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4129 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4133 $as_echo "$ac_cv_build" >&6; }
4134 case $ac_cv_build in
4136 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4139 ac_save_IFS=$IFS; IFS='-'
4145 # Remember, the first character of IFS is used to create $*,
4146 # except with old shells:
4149 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4153 $as_echo_n "checking host system type... " >&6; }
4154 if ${ac_cv_host+:} false; then :
4155 $as_echo_n "(cached) " >&6
4157 if test "x$host_alias" = x; then
4158 ac_cv_host=$ac_cv_build
4160 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4161 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4166 $as_echo "$ac_cv_host" >&6; }
4169 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4172 ac_save_IFS=$IFS; IFS='-'
4178 # Remember, the first character of IFS is used to create $*,
4179 # except with old shells:
4182 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4185 # Backslashify metacharacters that are still active within
4186 # double-quoted strings.
4187 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4189 # Same as above, but do not quote variable references.
4190 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4192 # Sed substitution to delay expansion of an escaped shell variable in a
4193 # double_quote_subst'ed string.
4194 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4196 # Sed substitution to delay expansion of an escaped single quote.
4197 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4199 # Sed substitution to avoid accidental globbing in evaled expressions
4200 no_glob_subst='s/\*/\\\*/g'
4202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4203 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4204 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4207 $as_echo_n "checking how to print strings... " >&6; }
4208 # Test print first, because it will be a builtin if present.
4209 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4210 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4212 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4215 # Use this function as a fallback that always works.
4216 func_fallback_echo ()
4218 eval 'cat <<_LTECHO_EOF
4222 ECHO='func_fallback_echo'
4225 # func_echo_all arg...
4226 # Invoke $ECHO with all args, space-separated.
4233 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4234 $as_echo "printf" >&6; } ;;
4235 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4236 $as_echo "print -r" >&6; } ;;
4237 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4238 $as_echo "cat" >&6; } ;;
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4255 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4256 if ${ac_cv_path_SED+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4260 for ac_i in 1 2 3 4 5 6 7; do
4261 ac_script="$ac_script$as_nl$ac_script"
4263 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4264 { ac_script=; unset ac_script;}
4265 if test -z "$SED"; then
4266 ac_path_SED_found=false
4267 # Loop through the user's path and test for each of PROGNAME-LIST
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_prog in sed gsed; do
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4276 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4277 # Check for GNU ac_path_SED and select it if it is found.
4278 # Check for GNU $ac_path_SED
4279 case `"$ac_path_SED" --version 2>&1` in
4281 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4284 $as_echo_n 0123456789 >"conftest.in"
4287 cat "conftest.in" "conftest.in" >"conftest.tmp"
4288 mv "conftest.tmp" "conftest.in"
4289 cp "conftest.in" "conftest.nl"
4290 $as_echo '' >> "conftest.nl"
4291 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293 as_fn_arith $ac_count + 1 && ac_count=$as_val
4294 if test $ac_count -gt ${ac_path_SED_max-0}; then
4295 # Best one so far, save it but keep looking for a better one
4296 ac_cv_path_SED="$ac_path_SED"
4297 ac_path_SED_max=$ac_count
4299 # 10*(2^10) chars as input seems more than enough
4300 test $ac_count -gt 10 && break
4302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4305 $ac_path_SED_found && break 3
4310 if test -z "$ac_cv_path_SED"; then
4311 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4319 $as_echo "$ac_cv_path_SED" >&6; }
4320 SED="$ac_cv_path_SED"
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4337 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4338 if ${ac_cv_path_GREP+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -z "$GREP"; then
4342 ac_path_GREP_found=false
4343 # Loop through the user's path and test for each of PROGNAME-LIST
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4348 test -z "$as_dir" && as_dir=.
4349 for ac_prog in grep ggrep; do
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4352 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4353 # Check for GNU ac_path_GREP and select it if it is found.
4354 # Check for GNU $ac_path_GREP
4355 case `"$ac_path_GREP" --version 2>&1` in
4357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4360 $as_echo_n 0123456789 >"conftest.in"
4363 cat "conftest.in" "conftest.in" >"conftest.tmp"
4364 mv "conftest.tmp" "conftest.in"
4365 cp "conftest.in" "conftest.nl"
4366 $as_echo 'GREP' >> "conftest.nl"
4367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4369 as_fn_arith $ac_count + 1 && ac_count=$as_val
4370 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4371 # Best one so far, save it but keep looking for a better one
4372 ac_cv_path_GREP="$ac_path_GREP"
4373 ac_path_GREP_max=$ac_count
4375 # 10*(2^10) chars as input seems more than enough
4376 test $ac_count -gt 10 && break
4378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381 $ac_path_GREP_found && break 3
4386 if test -z "$ac_cv_path_GREP"; then
4387 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390 ac_cv_path_GREP=$GREP
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4395 $as_echo "$ac_cv_path_GREP" >&6; }
4396 GREP="$ac_cv_path_GREP"
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4400 $as_echo_n "checking for egrep... " >&6; }
4401 if ${ac_cv_path_EGREP+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4405 then ac_cv_path_EGREP="$GREP -E"
4407 if test -z "$EGREP"; then
4408 ac_path_EGREP_found=false
4409 # Loop through the user's path and test for each of PROGNAME-LIST
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4414 test -z "$as_dir" && as_dir=.
4415 for ac_prog in egrep; do
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4418 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4419 # Check for GNU ac_path_EGREP and select it if it is found.
4420 # Check for GNU $ac_path_EGREP
4421 case `"$ac_path_EGREP" --version 2>&1` in
4423 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4426 $as_echo_n 0123456789 >"conftest.in"
4429 cat "conftest.in" "conftest.in" >"conftest.tmp"
4430 mv "conftest.tmp" "conftest.in"
4431 cp "conftest.in" "conftest.nl"
4432 $as_echo 'EGREP' >> "conftest.nl"
4433 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4435 as_fn_arith $ac_count + 1 && ac_count=$as_val
4436 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4437 # Best one so far, save it but keep looking for a better one
4438 ac_cv_path_EGREP="$ac_path_EGREP"
4439 ac_path_EGREP_max=$ac_count
4441 # 10*(2^10) chars as input seems more than enough
4442 test $ac_count -gt 10 && break
4444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4447 $ac_path_EGREP_found && break 3
4452 if test -z "$ac_cv_path_EGREP"; then
4453 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4456 ac_cv_path_EGREP=$EGREP
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4462 $as_echo "$ac_cv_path_EGREP" >&6; }
4463 EGREP="$ac_cv_path_EGREP"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4467 $as_echo_n "checking for fgrep... " >&6; }
4468 if ${ac_cv_path_FGREP+:} false; then :
4469 $as_echo_n "(cached) " >&6
4471 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4472 then ac_cv_path_FGREP="$GREP -F"
4474 if test -z "$FGREP"; then
4475 ac_path_FGREP_found=false
4476 # Loop through the user's path and test for each of PROGNAME-LIST
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4481 test -z "$as_dir" && as_dir=.
4482 for ac_prog in fgrep; do
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4484 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4485 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4486 # Check for GNU ac_path_FGREP and select it if it is found.
4487 # Check for GNU $ac_path_FGREP
4488 case `"$ac_path_FGREP" --version 2>&1` in
4490 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4493 $as_echo_n 0123456789 >"conftest.in"
4496 cat "conftest.in" "conftest.in" >"conftest.tmp"
4497 mv "conftest.tmp" "conftest.in"
4498 cp "conftest.in" "conftest.nl"
4499 $as_echo 'FGREP' >> "conftest.nl"
4500 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4502 as_fn_arith $ac_count + 1 && ac_count=$as_val
4503 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4504 # Best one so far, save it but keep looking for a better one
4505 ac_cv_path_FGREP="$ac_path_FGREP"
4506 ac_path_FGREP_max=$ac_count
4508 # 10*(2^10) chars as input seems more than enough
4509 test $ac_count -gt 10 && break
4511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4514 $ac_path_FGREP_found && break 3
4519 if test -z "$ac_cv_path_FGREP"; then
4520 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4523 ac_cv_path_FGREP=$FGREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4529 $as_echo "$ac_cv_path_FGREP" >&6; }
4530 FGREP="$ac_cv_path_FGREP"
4533 test -z "$GREP" && GREP=grep
4553 # Check whether --with-gnu-ld was given.
4554 if test "${with_gnu_ld+set}" = set; then :
4555 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4561 if test "$GCC" = yes; then
4562 # Check if gcc -print-prog-name=ld gives a path.
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4564 $as_echo_n "checking for ld used by $CC... " >&6; }
4567 # gcc leaves a trailing carriage return which upsets mingw
4568 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4570 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4573 # Accept absolute paths.
4575 re_direlt='/[^/][^/]*/\.\./'
4576 # Canonicalize the pathname of ld
4577 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4578 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4579 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4581 test -z "$LD" && LD="$ac_prog"
4584 # If it fails, then pretend we aren't using GCC.
4588 # If it is relative, then search for the first ld in PATH.
4592 elif test "$with_gnu_ld" = yes; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4594 $as_echo_n "checking for GNU ld... " >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4597 $as_echo_n "checking for non-GNU ld... " >&6; }
4599 if ${lt_cv_path_LD+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 if test -z "$LD"; then
4603 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4604 for ac_dir in $PATH; do
4606 test -z "$ac_dir" && ac_dir=.
4607 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4608 lt_cv_path_LD="$ac_dir/$ac_prog"
4609 # Check to see if the program is GNU ld. I'd rather use --version,
4610 # but apparently some variants of GNU ld only accept -v.
4611 # Break only if it was the GNU/non-GNU ld that we prefer.
4612 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4613 *GNU* | *'with BFD'*)
4614 test "$with_gnu_ld" != no && break
4617 test "$with_gnu_ld" != yes && break
4624 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4629 if test -n "$LD"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4631 $as_echo "$LD" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4636 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4638 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4639 if ${lt_cv_prog_gnu_ld+:} false; then :
4640 $as_echo_n "(cached) " >&6
4642 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4643 case `$LD -v 2>&1 </dev/null` in
4644 *GNU* | *'with BFD'*)
4645 lt_cv_prog_gnu_ld=yes
4648 lt_cv_prog_gnu_ld=no
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4653 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4654 with_gnu_ld=$lt_cv_prog_gnu_ld
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4665 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4666 if ${lt_cv_path_NM+:} false; then :
4667 $as_echo_n "(cached) " >&6
4669 if test -n "$NM"; then
4670 # Let the user override the test.
4673 lt_nm_to_check="${ac_tool_prefix}nm"
4674 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4675 lt_nm_to_check="$lt_nm_to_check nm"
4677 for lt_tmp_nm in $lt_nm_to_check; do
4678 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4679 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4681 test -z "$ac_dir" && ac_dir=.
4682 tmp_nm="$ac_dir/$lt_tmp_nm"
4683 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4684 # Check to see if the nm accepts a BSD-compat flag.
4685 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4686 # nm: unknown option "B" ignored
4687 # Tru64's nm complains that /dev/null is an invalid object file
4688 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4689 */dev/null* | *'Invalid file or object type'*)
4690 lt_cv_path_NM="$tmp_nm -B"
4694 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4696 lt_cv_path_NM="$tmp_nm -p"
4700 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4701 continue # so that we can try to find one that supports BSD flags
4710 : ${lt_cv_path_NM=no}
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4714 $as_echo "$lt_cv_path_NM" >&6; }
4715 if test "$lt_cv_path_NM" != "no"; then
4718 # Didn't find any BSD compatible name lister, look for dumpbin.
4719 if test -n "$DUMPBIN"; then :
4720 # Let the user override the test.
4722 if test -n "$ac_tool_prefix"; then
4723 for ac_prog in dumpbin "link -dump"
4725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_DUMPBIN+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -n "$DUMPBIN"; then
4733 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 DUMPBIN=$ac_cv_prog_DUMPBIN
4753 if test -n "$DUMPBIN"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4755 $as_echo "$DUMPBIN" >&6; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 test -n "$DUMPBIN" && break
4765 if test -z "$DUMPBIN"; then
4766 ac_ct_DUMPBIN=$DUMPBIN
4767 for ac_prog in dumpbin "link -dump"
4769 # Extract the first word of "$ac_prog", so it can be a program name with args.
4770 set dummy $ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$ac_ct_DUMPBIN"; then
4777 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4797 if test -n "$ac_ct_DUMPBIN"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4799 $as_echo "$ac_ct_DUMPBIN" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 test -n "$ac_ct_DUMPBIN" && break
4809 if test "x$ac_ct_DUMPBIN" = x; then
4812 case $cross_compiling:$ac_tool_warned in
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4816 ac_tool_warned=yes ;;
4818 DUMPBIN=$ac_ct_DUMPBIN
4822 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4824 DUMPBIN="$DUMPBIN -symbols"
4832 if test "$DUMPBIN" != ":"; then
4836 test -z "$NM" && NM=nm
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4844 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4845 if ${lt_cv_nm_interface+:} false; then :
4846 $as_echo_n "(cached) " >&6
4848 lt_cv_nm_interface="BSD nm"
4849 echo "int some_variable = 0;" > conftest.$ac_ext
4850 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4851 (eval "$ac_compile" 2>conftest.err)
4852 cat conftest.err >&5
4853 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4854 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4855 cat conftest.err >&5
4856 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4857 cat conftest.out >&5
4858 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4859 lt_cv_nm_interface="MS dumpbin"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4864 $as_echo "$lt_cv_nm_interface" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4867 $as_echo_n "checking whether ln -s works... " >&6; }
4869 if test "$LN_S" = "ln -s"; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4871 $as_echo "yes" >&6; }
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4874 $as_echo "no, using $LN_S" >&6; }
4877 # find the maximum length of command line arguments
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4879 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4880 if ${lt_cv_sys_max_cmd_len+:} false; then :
4881 $as_echo_n "(cached) " >&6
4888 # On DJGPP, this test can blow up pretty badly due to problems in libc
4889 # (any single argument exceeding 2000 bytes causes a buffer overrun
4890 # during glob expansion). Even if it were fixed, the result of this
4891 # check would be larger than it should be.
4892 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4896 # Under GNU Hurd, this test is not required because there is
4897 # no limit to the length of command line arguments.
4898 # Libtool will interpret -1 as no limit whatsoever
4899 lt_cv_sys_max_cmd_len=-1;
4902 cygwin* | mingw* | cegcc*)
4903 # On Win9x/ME, this test blows up -- it succeeds, but takes
4904 # about 5 minutes as the teststring grows exponentially.
4905 # Worse, since 9x/ME are not pre-emptively multitasking,
4906 # you end up with a "frozen" computer, even though with patience
4907 # the test eventually succeeds (with a max line length of 256k).
4908 # Instead, let's just punt: use the minimum linelength reported by
4909 # all of the supported platforms: 8192 (on NT/2K/XP).
4910 lt_cv_sys_max_cmd_len=8192;
4914 # On MiNT this can take a long time and run out of memory.
4915 lt_cv_sys_max_cmd_len=8192;
4919 # On AmigaOS with pdksh, this test takes hours, literally.
4920 # So we just punt and use a minimum line length of 8192.
4921 lt_cv_sys_max_cmd_len=8192;
4924 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4925 # This has been around since 386BSD, at least. Likely further.
4926 if test -x /sbin/sysctl; then
4927 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4928 elif test -x /usr/sbin/sysctl; then
4929 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4931 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4933 # And add a safety zone
4934 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4935 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4939 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4940 lt_cv_sys_max_cmd_len=196608
4944 # The test takes a long time on OS/2.
4945 lt_cv_sys_max_cmd_len=8192
4949 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4950 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4951 # nice to cause kernel panics so lets avoid the loop below.
4952 # First set a reasonable default.
4953 lt_cv_sys_max_cmd_len=16384
4955 if test -x /sbin/sysconfig; then
4956 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4957 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4962 lt_cv_sys_max_cmd_len=102400
4964 sysv5* | sco5v6* | sysv4.2uw2*)
4965 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4966 if test -n "$kargmax"; then
4967 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4969 lt_cv_sys_max_cmd_len=32768
4973 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4974 if test -n "$lt_cv_sys_max_cmd_len"; then
4975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4976 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4978 # Make teststring a little bigger before we do anything with it.
4979 # a 1K string should be a reasonable start.
4980 for i in 1 2 3 4 5 6 7 8 ; do
4981 teststring=$teststring$teststring
4983 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4984 # If test is not a shell built-in, we'll probably end up computing a
4985 # maximum length that is only half of the actual maximum length, but
4987 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4988 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4989 test $i != 17 # 1/2 MB should be enough
4992 teststring=$teststring$teststring
4994 # Only check the string length outside the loop.
4995 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4997 # Add a significant safety factor because C++ compilers can tack on
4998 # massive amounts of additional arguments before passing them to the
4999 # linker. It appears as though 1/2 is a usable value.
5000 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5007 if test -n $lt_cv_sys_max_cmd_len ; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5009 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5012 $as_echo "none" >&6; }
5014 max_cmd_len=$lt_cv_sys_max_cmd_len
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5026 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5027 # Try some XSI features
5030 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5032 && eval 'test $(( 1 + 1 )) -eq 2 \
5033 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5036 $as_echo "$xsi_shell" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5040 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5042 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5044 && lt_shell_append=yes
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5046 $as_echo "$lt_shell_append" >&6; }
5049 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5059 # test EBCDIC or ASCII
5060 case `echo X|tr X '\101'` in
5061 A) # ASCII based system
5062 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5063 lt_SP2NL='tr \040 \012'
5064 lt_NL2SP='tr \015\012 \040\040'
5066 *) # EBCDIC based system
5067 lt_SP2NL='tr \100 \n'
5068 lt_NL2SP='tr \r\n \100\100'
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5081 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5082 if ${lt_cv_to_host_file_cmd+:} false; then :
5083 $as_echo_n "(cached) " >&6
5088 *-*-mingw* ) # actually msys
5089 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5092 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5094 * ) # otherwise, assume *nix
5095 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5101 *-*-mingw* ) # actually msys
5102 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5105 lt_cv_to_host_file_cmd=func_convert_file_noop
5107 * ) # otherwise, assume *nix
5108 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5112 * ) # unhandled hosts (and "normal" native builds)
5113 lt_cv_to_host_file_cmd=func_convert_file_noop
5119 to_host_file_cmd=$lt_cv_to_host_file_cmd
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5121 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5128 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5129 if ${lt_cv_to_tool_file_cmd+:} false; then :
5130 $as_echo_n "(cached) " >&6
5132 #assume ordinary cross tools, or native build.
5133 lt_cv_to_tool_file_cmd=func_convert_file_noop
5137 *-*-mingw* ) # actually msys
5138 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5146 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5148 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5155 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5156 if ${lt_cv_ld_reload_flag+:} false; then :
5157 $as_echo_n "(cached) " >&6
5159 lt_cv_ld_reload_flag='-r'
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5162 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5163 reload_flag=$lt_cv_ld_reload_flag
5164 case $reload_flag in
5166 *) reload_flag=" $reload_flag" ;;
5168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5170 cygwin* | mingw* | pw32* | cegcc*)
5171 if test "$GCC" != yes; then
5176 if test "$GCC" = yes; then
5177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5192 if test -n "$ac_tool_prefix"; then
5193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_OBJDUMP+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$OBJDUMP"; then
5201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 OBJDUMP=$ac_cv_prog_OBJDUMP
5221 if test -n "$OBJDUMP"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5223 $as_echo "$OBJDUMP" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5231 if test -z "$ac_cv_prog_OBJDUMP"; then
5232 ac_ct_OBJDUMP=$OBJDUMP
5233 # Extract the first word of "objdump", so it can be a program name with args.
5234 set dummy objdump; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$ac_ct_OBJDUMP"; then
5241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5261 if test -n "$ac_ct_OBJDUMP"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5263 $as_echo "$ac_ct_OBJDUMP" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5269 if test "x$ac_ct_OBJDUMP" = x; then
5272 case $cross_compiling:$ac_tool_warned in
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5276 ac_tool_warned=yes ;;
5278 OBJDUMP=$ac_ct_OBJDUMP
5281 OBJDUMP="$ac_cv_prog_OBJDUMP"
5284 test -z "$OBJDUMP" && OBJDUMP=objdump
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5296 if ${lt_cv_deplibs_check_method+:} false; then :
5297 $as_echo_n "(cached) " >&6
5299 lt_cv_file_magic_cmd='$MAGIC_CMD'
5300 lt_cv_file_magic_test_file=
5301 lt_cv_deplibs_check_method='unknown'
5302 # Need to set the preceding variable on all platforms that support
5303 # interlibrary dependencies.
5304 # 'none' -- dependencies not supported.
5305 # `unknown' -- same as none, but documents that we really don't know.
5306 # 'pass_all' -- all dependencies passed with no checks.
5307 # 'test_compile' -- check by making test program.
5308 # 'file_magic [[regex]]' -- check by looking for files in library path
5309 # which responds to the $file_magic_cmd with a given extended regex.
5310 # If you have `file' or equivalent on your system and you're not sure
5311 # whether `pass_all' will *always* work, you probably want this one.
5315 lt_cv_deplibs_check_method=pass_all
5319 lt_cv_deplibs_check_method=pass_all
5323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5324 lt_cv_file_magic_cmd='/usr/bin/file -L'
5325 lt_cv_file_magic_test_file=/shlib/libc.so
5329 # func_win32_libid is a shell function defined in ltmain.sh
5330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5331 lt_cv_file_magic_cmd='func_win32_libid'
5335 # Base MSYS/MinGW do not provide the 'file' command needed by
5336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5337 # unless we find 'file', for example because we are cross-compiling.
5338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5341 lt_cv_file_magic_cmd='func_win32_libid'
5343 # Keep this pattern in sync with the one in func_win32_libid.
5344 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5345 lt_cv_file_magic_cmd='$OBJDUMP -f'
5350 # use the weaker test based on 'objdump'. See mingw*.
5351 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5352 lt_cv_file_magic_cmd='$OBJDUMP -f'
5355 darwin* | rhapsody*)
5356 lt_cv_deplibs_check_method=pass_all
5359 freebsd* | dragonfly*)
5360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5363 # Not sure whether the presence of OpenBSD here was a mistake.
5364 # Let's accept both of them until this is cleared up.
5365 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5366 lt_cv_file_magic_cmd=/usr/bin/file
5367 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5371 lt_cv_deplibs_check_method=pass_all
5376 lt_cv_deplibs_check_method=pass_all
5380 lt_cv_deplibs_check_method=pass_all
5383 hpux10.20* | hpux11*)
5384 lt_cv_file_magic_cmd=/usr/bin/file
5387 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5388 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5391 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]'
5392 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5396 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5402 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5406 irix5* | irix6* | nonstopux*)
5408 *-32|*"-32 ") libmagic=32-bit;;
5409 *-n32|*"-n32 ") libmagic=N32;;
5410 *-64|*"-64 ") libmagic=64-bit;;
5411 *) libmagic=never-match;;
5413 lt_cv_deplibs_check_method=pass_all
5416 # This must be glibc/ELF.
5417 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5418 lt_cv_deplibs_check_method=pass_all
5421 netbsd* | netbsdelf*-gnu)
5422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5431 lt_cv_file_magic_cmd=/usr/bin/file
5432 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5436 lt_cv_deplibs_check_method=pass_all
5440 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5447 osf3* | osf4* | osf5*)
5448 lt_cv_deplibs_check_method=pass_all
5452 lt_cv_deplibs_check_method=pass_all
5456 lt_cv_deplibs_check_method=pass_all
5459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5460 lt_cv_deplibs_check_method=pass_all
5464 case $host_vendor in
5466 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]'
5467 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5470 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_file_magic_cmd='/bin/file'
5474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5477 lt_cv_file_magic_cmd='/bin/file'
5478 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5479 lt_cv_file_magic_test_file=/lib/libc.so
5482 lt_cv_deplibs_check_method=pass_all
5485 lt_cv_deplibs_check_method=pass_all
5491 lt_cv_deplibs_check_method=pass_all
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5501 if test "$build" = "$host"; then
5504 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5507 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5513 file_magic_cmd=$lt_cv_file_magic_cmd
5514 deplibs_check_method=$lt_cv_deplibs_check_method
5515 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_DLLTOOL+:} false; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$DLLTOOL"; then
5547 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 DLLTOOL=$ac_cv_prog_DLLTOOL
5567 if test -n "$DLLTOOL"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5569 $as_echo "$DLLTOOL" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if test -z "$ac_cv_prog_DLLTOOL"; then
5578 ac_ct_DLLTOOL=$DLLTOOL
5579 # Extract the first word of "dlltool", so it can be a program name with args.
5580 set dummy dlltool; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5584 $as_echo_n "(cached) " >&6
5586 if test -n "$ac_ct_DLLTOOL"; then
5587 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5607 if test -n "$ac_ct_DLLTOOL"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5609 $as_echo "$ac_ct_DLLTOOL" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5615 if test "x$ac_ct_DLLTOOL" = x; then
5618 case $cross_compiling:$ac_tool_warned in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned=yes ;;
5624 DLLTOOL=$ac_ct_DLLTOOL
5627 DLLTOOL="$ac_cv_prog_DLLTOOL"
5630 test -z "$DLLTOOL" && DLLTOOL=dlltool
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5642 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5643 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 lt_cv_sharedlib_from_linklib_cmd='unknown'
5649 cygwin* | mingw* | pw32* | cegcc*)
5650 # two different shell functions defined in ltmain.sh
5651 # decide which to use based on capabilities of $DLLTOOL
5652 case `$DLLTOOL --help 2>&1` in
5653 *--identify-strict*)
5654 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5657 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5662 # fallback: assume linklib IS sharedlib
5663 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5669 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5670 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5671 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5679 if test -n "$ac_tool_prefix"; then
5682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_AR+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$AR"; then
5690 ac_cv_prog_AR="$AR" # Let the user override the test.
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 if test -n "$AR"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5712 $as_echo "$AR" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$AR" && break
5722 if test -z "$AR"; then
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5731 $as_echo_n "(cached) " >&6
5733 if test -n "$ac_ct_AR"; then
5734 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743 ac_cv_prog_ac_ct_AR="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5754 if test -n "$ac_ct_AR"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5756 $as_echo "$ac_ct_AR" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$ac_ct_AR" && break
5766 if test "x$ac_ct_AR" = x; then
5769 case $cross_compiling:$ac_tool_warned in
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773 ac_tool_warned=yes ;;
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5793 $as_echo_n "checking for archiver @FILE support... " >&6; }
5794 if ${lt_cv_ar_at_file+:} false; then :
5795 $as_echo_n "(cached) " >&6
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5809 if ac_fn_c_try_compile "$LINENO"; then :
5810 echo conftest.$ac_objext > conftest.lst
5811 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5812 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5813 (eval $lt_ar_try) 2>&5
5815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816 test $ac_status = 0; }
5817 if test "$ac_status" -eq 0; then
5818 # Ensure the archiver fails upon bogus file names.
5819 rm -f conftest.$ac_objext libconftest.a
5820 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5821 (eval $lt_ar_try) 2>&5
5823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5824 test $ac_status = 0; }
5825 if test "$ac_status" -ne 0; then
5829 rm -f conftest.* libconftest.a
5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5836 $as_echo "$lt_cv_ar_at_file" >&6; }
5838 if test "x$lt_cv_ar_at_file" = xno; then
5841 archiver_list_spec=$lt_cv_ar_at_file
5850 if test -n "$ac_tool_prefix"; then
5851 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5852 set dummy ${ac_tool_prefix}strip; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_STRIP+:} false; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$STRIP"; then
5859 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 STRIP=$ac_cv_prog_STRIP
5879 if test -n "$STRIP"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5881 $as_echo "$STRIP" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5889 if test -z "$ac_cv_prog_STRIP"; then
5891 # Extract the first word of "strip", so it can be a program name with args.
5892 set dummy strip; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -n "$ac_ct_STRIP"; then
5899 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_STRIP="strip"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5919 if test -n "$ac_ct_STRIP"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5921 $as_echo "$ac_ct_STRIP" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5927 if test "x$ac_ct_STRIP" = x; then
5930 case $cross_compiling:$ac_tool_warned in
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934 ac_tool_warned=yes ;;
5939 STRIP="$ac_cv_prog_STRIP"
5942 test -z "$STRIP" && STRIP=:
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_RANLIB+:} false; then :
5955 $as_echo_n "(cached) " >&6
5957 if test -n "$RANLIB"; then
5958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 RANLIB=$ac_cv_prog_RANLIB
5978 if test -n "$RANLIB"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5980 $as_echo "$RANLIB" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5988 if test -z "$ac_cv_prog_RANLIB"; then
5989 ac_ct_RANLIB=$RANLIB
5990 # Extract the first word of "ranlib", so it can be a program name with args.
5991 set dummy ranlib; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5995 $as_echo_n "(cached) " >&6
5997 if test -n "$ac_ct_RANLIB"; then
5998 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_RANLIB="ranlib"
6008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6018 if test -n "$ac_ct_RANLIB"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6020 $as_echo "$ac_ct_RANLIB" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6026 if test "x$ac_ct_RANLIB" = x; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6033 ac_tool_warned=yes ;;
6035 RANLIB=$ac_ct_RANLIB
6038 RANLIB="$ac_cv_prog_RANLIB"
6041 test -z "$RANLIB" && RANLIB=:
6048 # Determine commands to create old-style static archives.
6049 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6050 old_postinstall_cmds='chmod 644 $oldlib'
6051 old_postuninstall_cmds=
6053 if test -n "$RANLIB"; then
6056 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6059 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6062 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6067 lock_old_archive_extraction=yes ;;
6069 lock_old_archive_extraction=no ;;
6110 # If no C compiler was specified, use CC.
6113 # If no C compiler flags were specified, use CFLAGS.
6114 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6116 # Allow CC to be a program name with arguments.
6120 # Check for command to grab the raw symbol name followed by C symbol from nm.
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6122 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6123 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6124 $as_echo_n "(cached) " >&6
6127 # These are sane defaults that work on at least a few old systems.
6128 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6130 # Character class describing NM global symbol codes.
6131 symcode='[BCDEGRST]'
6133 # Regexp to match symbols that can be accessed directly from C.
6134 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6136 # Define system-specific variables.
6141 cygwin* | mingw* | pw32* | cegcc*)
6142 symcode='[ABCDGISTW]'
6145 if test "$host_cpu" = ia64; then
6146 symcode='[ABCDEGRST]'
6150 symcode='[BCDEGRST]'
6153 symcode='[BCDEGQRST]'
6164 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6172 # If we're using GNU nm, then use its standard symbol codes.
6173 case `$NM -V 2>&1` in
6174 *GNU* | *'with BFD'*)
6175 symcode='[ABCDGIRSTW]' ;;
6178 # Transform an extracted symbol line into a proper C declaration.
6179 # Some systems (esp. on ia64) link data and code symbols differently,
6180 # so use this general approach.
6181 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6183 # Transform an extracted symbol line into symbol name and symbol address
6184 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6185 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'"
6187 # Handle CRLF in mingw tool chain
6191 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6195 # Try without a prefix underscore, then with it.
6196 for ac_symprfx in "" "_"; do
6198 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6199 symxfrm="\\1 $ac_symprfx\\2 \\2"
6201 # Write the raw and C identifiers.
6202 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6203 # Fake it for dumpbin and say T for any non-static function
6204 # and D for any global variable.
6205 # Also find C++ and __fastcall symbols from MSVC++,
6206 # which start with @ or ?.
6207 lt_cv_sys_global_symbol_pipe="$AWK '"\
6208 " {last_section=section; section=\$ 3};"\
6209 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6210 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6211 " \$ 0!~/External *\|/{next};"\
6212 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6213 " {if(hide[section]) next};"\
6214 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6215 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6216 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6217 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6218 " ' prfx=^$ac_symprfx"
6220 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6222 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6224 # Check to see that the pipe works correctly.
6228 cat > conftest.$ac_ext <<_LT_EOF
6233 void nm_test_func(void);
6234 void nm_test_func(void){}
6238 int main(){nm_test_var='a';nm_test_func();return(0);}
6241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6242 (eval $ac_compile) 2>&5
6244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6245 test $ac_status = 0; }; then
6246 # Now try to grab the symbols.
6248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6249 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 test $ac_status = 0; } && test -s "$nlist"; then
6253 # Try sorting and uniquifying the output.
6254 if sort "$nlist" | uniq > "$nlist"T; then
6255 mv -f "$nlist"T "$nlist"
6260 # Make sure that we snagged all the symbols we need.
6261 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6262 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6263 cat <<_LT_EOF > conftest.$ac_ext
6264 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6265 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6266 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6267 relocations are performed -- see ld's documentation on pseudo-relocs. */
6268 # define LT_DLSYM_CONST
6269 #elif defined(__osf__)
6270 /* This system does not cope well with relocations in const data. */
6271 # define LT_DLSYM_CONST
6273 # define LT_DLSYM_CONST const
6281 # Now generate the symbol file.
6282 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6284 cat <<_LT_EOF >> conftest.$ac_ext
6286 /* The mapping between symbol names and symbols. */
6287 LT_DLSYM_CONST struct {
6291 lt__PROGRAM__LTX_preloaded_symbols[] =
6293 { "@PROGRAM@", (void *) 0 },
6295 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6296 cat <<\_LT_EOF >> conftest.$ac_ext
6300 /* This works around a problem in FreeBSD linker */
6301 #ifdef FREEBSD_WORKAROUND
6302 static const void *lt_preloaded_setup() {
6303 return lt__PROGRAM__LTX_preloaded_symbols;
6311 # Now try linking the two files.
6312 mv conftest.$ac_objext conftstm.$ac_objext
6313 lt_globsym_save_LIBS=$LIBS
6314 lt_globsym_save_CFLAGS=$CFLAGS
6315 LIBS="conftstm.$ac_objext"
6316 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6318 (eval $ac_link) 2>&5
6320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6321 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6324 LIBS=$lt_globsym_save_LIBS
6325 CFLAGS=$lt_globsym_save_CFLAGS
6327 echo "cannot find nm_test_func in $nlist" >&5
6330 echo "cannot find nm_test_var in $nlist" >&5
6333 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6336 echo "$progname: failed program was:" >&5
6337 cat conftest.$ac_ext >&5
6339 rm -rf conftest* conftst*
6341 # Do not use the global_symbol_pipe unless it works.
6342 if test "$pipe_works" = yes; then
6345 lt_cv_sys_global_symbol_pipe=
6351 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6352 lt_cv_sys_global_symbol_to_cdecl=
6354 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6356 $as_echo "failed" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6359 $as_echo "ok" >&6; }
6362 # Response file support.
6363 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6364 nm_file_list_spec='@'
6365 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6366 nm_file_list_spec='@'
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6396 $as_echo_n "checking for sysroot... " >&6; }
6398 # Check whether --with-sysroot was given.
6399 if test "${with_sysroot+set}" = set; then :
6400 withval=$with_sysroot;
6407 case ${with_sysroot} in #(
6409 if test "$GCC" = yes; then
6410 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6414 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6420 $as_echo "${with_sysroot}" >&6; }
6421 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6426 $as_echo "${lt_sysroot:-no}" >&6; }
6432 # Check whether --enable-libtool-lock was given.
6433 if test "${enable_libtool_lock+set}" = set; then :
6434 enableval=$enable_libtool_lock;
6437 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6439 # Some flags need to be propagated to the compiler or linker for good
6443 # Find out which ABI we are using.
6444 echo 'int i;' > conftest.$ac_ext
6445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446 (eval $ac_compile) 2>&5
6448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449 test $ac_status = 0; }; then
6450 case `/usr/bin/file conftest.$ac_objext` in
6462 # Find out which ABI we are using.
6463 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6465 (eval $ac_compile) 2>&5
6467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6468 test $ac_status = 0; }; then
6469 if test "$lt_cv_prog_gnu_ld" = yes; then
6470 case `/usr/bin/file conftest.$ac_objext` in
6472 LD="${LD-ld} -melf32bsmip"
6475 LD="${LD-ld} -melf32bmipn32"
6478 LD="${LD-ld} -melf64bmip"
6482 case `/usr/bin/file conftest.$ac_objext` in
6498 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6499 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6500 # Find out which ABI we are using.
6501 echo 'int i;' > conftest.$ac_ext
6502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6503 (eval $ac_compile) 2>&5
6505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6506 test $ac_status = 0; }; then
6507 case `/usr/bin/file conftest.o` in
6510 x86_64-*kfreebsd*-gnu)
6511 LD="${LD-ld} -m elf_i386_fbsd"
6514 LD="${LD-ld} -m elf_i386"
6516 ppc64-*linux*|powerpc64-*linux*)
6517 LD="${LD-ld} -m elf32ppclinux"
6520 LD="${LD-ld} -m elf_s390"
6523 LD="${LD-ld} -m elf32_sparc"
6529 x86_64-*kfreebsd*-gnu)
6530 LD="${LD-ld} -m elf_x86_64_fbsd"
6533 LD="${LD-ld} -m elf_x86_64"
6535 ppc*-*linux*|powerpc*-*linux*)
6536 LD="${LD-ld} -m elf64ppc"
6538 s390*-*linux*|s390*-*tpf*)
6539 LD="${LD-ld} -m elf64_s390"
6542 LD="${LD-ld} -m elf64_sparc"
6552 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6553 SAVE_CFLAGS="$CFLAGS"
6554 CFLAGS="$CFLAGS -belf"
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6556 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6557 if ${lt_cv_cc_needs_belf+:} false; then :
6558 $as_echo_n "(cached) " >&6
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6577 if ac_fn_c_try_link "$LINENO"; then :
6578 lt_cv_cc_needs_belf=yes
6580 lt_cv_cc_needs_belf=no
6582 rm -f core conftest.err conftest.$ac_objext \
6583 conftest$ac_exeext conftest.$ac_ext
6585 ac_cpp='$CPP $CPPFLAGS'
6586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6592 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6593 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6594 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6595 CFLAGS="$SAVE_CFLAGS"
6599 # Find out which ABI we are using.
6600 echo 'int i;' > conftest.$ac_ext
6601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6602 (eval $ac_compile) 2>&5
6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6605 test $ac_status = 0; }; then
6606 case `/usr/bin/file conftest.o` in
6608 case $lt_cv_prog_gnu_ld in
6612 LD="${LD-ld} -m elf_x86_64"
6615 LD="${LD-ld} -m elf64_sparc"
6618 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6619 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6624 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6636 need_locks="$enable_libtool_lock"
6638 if test -n "$ac_tool_prefix"; then
6639 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6640 set dummy ${ac_tool_prefix}mt; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$MANIFEST_TOOL"; then
6647 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6667 if test -n "$MANIFEST_TOOL"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6669 $as_echo "$MANIFEST_TOOL" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6677 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6678 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6679 # Extract the first word of "mt", so it can be a program name with args.
6680 set dummy mt; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$ac_ct_MANIFEST_TOOL"; then
6687 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6707 if test -n "$ac_ct_MANIFEST_TOOL"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6709 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6715 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6724 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6727 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6730 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6732 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6733 if ${lt_cv_path_mainfest_tool+:} false; then :
6734 $as_echo_n "(cached) " >&6
6736 lt_cv_path_mainfest_tool=no
6737 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6738 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6739 cat conftest.err >&5
6740 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6741 lt_cv_path_mainfest_tool=yes
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6746 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6747 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6757 rhapsody* | darwin*)
6758 if test -n "$ac_tool_prefix"; then
6759 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6760 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 $as_echo_n "checking for $ac_word... " >&6; }
6763 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6764 $as_echo_n "(cached) " >&6
6766 if test -n "$DSYMUTIL"; then
6767 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6787 if test -n "$DSYMUTIL"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6789 $as_echo "$DSYMUTIL" >&6; }
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 $as_echo "no" >&6; }
6797 if test -z "$ac_cv_prog_DSYMUTIL"; then
6798 ac_ct_DSYMUTIL=$DSYMUTIL
6799 # Extract the first word of "dsymutil", so it can be a program name with args.
6800 set dummy dsymutil; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6804 $as_echo_n "(cached) " >&6
6806 if test -n "$ac_ct_DSYMUTIL"; then
6807 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6827 if test -n "$ac_ct_DSYMUTIL"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6829 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6835 if test "x$ac_ct_DSYMUTIL" = x; then
6838 case $cross_compiling:$ac_tool_warned in
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842 ac_tool_warned=yes ;;
6844 DSYMUTIL=$ac_ct_DSYMUTIL
6847 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 $as_echo_n "checking for $ac_word... " >&6; }
6855 if ${ac_cv_prog_NMEDIT+:} false; then :
6856 $as_echo_n "(cached) " >&6
6858 if test -n "$NMEDIT"; then
6859 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 NMEDIT=$ac_cv_prog_NMEDIT
6879 if test -n "$NMEDIT"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6881 $as_echo "$NMEDIT" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6889 if test -z "$ac_cv_prog_NMEDIT"; then
6890 ac_ct_NMEDIT=$NMEDIT
6891 # Extract the first word of "nmedit", so it can be a program name with args.
6892 set dummy nmedit; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$ac_ct_NMEDIT"; then
6899 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6919 if test -n "$ac_ct_NMEDIT"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6921 $as_echo "$ac_ct_NMEDIT" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6927 if test "x$ac_ct_NMEDIT" = x; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934 ac_tool_warned=yes ;;
6936 NMEDIT=$ac_ct_NMEDIT
6939 NMEDIT="$ac_cv_prog_NMEDIT"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if ${ac_cv_prog_LIPO+:} false; then :
6948 $as_echo_n "(cached) " >&6
6950 if test -n "$LIPO"; then
6951 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 LIPO=$ac_cv_prog_LIPO
6971 if test -n "$LIPO"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6973 $as_echo "$LIPO" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6981 if test -z "$ac_cv_prog_LIPO"; then
6983 # Extract the first word of "lipo", so it can be a program name with args.
6984 set dummy lipo; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$ac_ct_LIPO"; then
6991 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_LIPO="lipo"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7011 if test -n "$ac_ct_LIPO"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7013 $as_echo "$ac_ct_LIPO" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7019 if test "x$ac_ct_LIPO" = x; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026 ac_tool_warned=yes ;;
7031 LIPO="$ac_cv_prog_LIPO"
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7036 set dummy ${ac_tool_prefix}otool; ac_word=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if ${ac_cv_prog_OTOOL+:} false; then :
7040 $as_echo_n "(cached) " >&6
7042 if test -n "$OTOOL"; then
7043 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir=.
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 OTOOL=$ac_cv_prog_OTOOL
7063 if test -n "$OTOOL"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7065 $as_echo "$OTOOL" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7073 if test -z "$ac_cv_prog_OTOOL"; then
7075 # Extract the first word of "otool", so it can be a program name with args.
7076 set dummy otool; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$ac_ct_OTOOL"; then
7083 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_ac_ct_OTOOL="otool"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7103 if test -n "$ac_ct_OTOOL"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7105 $as_echo "$ac_ct_OTOOL" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7111 if test "x$ac_ct_OTOOL" = x; then
7114 case $cross_compiling:$ac_tool_warned in
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118 ac_tool_warned=yes ;;
7123 OTOOL="$ac_cv_prog_OTOOL"
7126 if test -n "$ac_tool_prefix"; then
7127 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_prog_OTOOL64+:} false; then :
7132 $as_echo_n "(cached) " >&6
7134 if test -n "$OTOOL64"; then
7135 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 OTOOL64=$ac_cv_prog_OTOOL64
7155 if test -n "$OTOOL64"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7157 $as_echo "$OTOOL64" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7165 if test -z "$ac_cv_prog_OTOOL64"; then
7166 ac_ct_OTOOL64=$OTOOL64
7167 # Extract the first word of "otool64", so it can be a program name with args.
7168 set dummy otool64; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$ac_ct_OTOOL64"; then
7175 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_ac_ct_OTOOL64="otool64"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7195 if test -n "$ac_ct_OTOOL64"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7197 $as_echo "$ac_ct_OTOOL64" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7203 if test "x$ac_ct_OTOOL64" = x; then
7206 case $cross_compiling:$ac_tool_warned in
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210 ac_tool_warned=yes ;;
7212 OTOOL64=$ac_ct_OTOOL64
7215 OTOOL64="$ac_cv_prog_OTOOL64"
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7245 $as_echo_n "checking for -single_module linker flag... " >&6; }
7246 if ${lt_cv_apple_cc_single_mod+:} false; then :
7247 $as_echo_n "(cached) " >&6
7249 lt_cv_apple_cc_single_mod=no
7250 if test -z "${LT_MULTI_MODULE}"; then
7251 # By default we will add the -single_module flag. You can override
7252 # by either setting the environment variable LT_MULTI_MODULE
7253 # non-empty at configure time, or by adding -multi_module to the
7255 rm -rf libconftest.dylib*
7256 echo "int foo(void){return 1;}" > conftest.c
7257 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7258 -dynamiclib -Wl,-single_module conftest.c" >&5
7259 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7260 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7262 # If there is a non-empty error log, and "single_module"
7263 # appears in it, assume the flag caused a linker warning
7264 if test -s conftest.err && $GREP single_module conftest.err; then
7265 cat conftest.err >&5
7266 # Otherwise, if the output was created with a 0 exit code from
7267 # the compiler, it worked.
7268 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7269 lt_cv_apple_cc_single_mod=yes
7271 cat conftest.err >&5
7273 rm -rf libconftest.dylib*
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7278 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7281 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7282 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7283 $as_echo_n "(cached) " >&6
7285 lt_cv_ld_exported_symbols_list=no
7286 save_LDFLAGS=$LDFLAGS
7287 echo "_main" > conftest.sym
7288 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7300 if ac_fn_c_try_link "$LINENO"; then :
7301 lt_cv_ld_exported_symbols_list=yes
7303 lt_cv_ld_exported_symbols_list=no
7305 rm -f core conftest.err conftest.$ac_objext \
7306 conftest$ac_exeext conftest.$ac_ext
7307 LDFLAGS="$save_LDFLAGS"
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7311 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7314 $as_echo_n "checking for -force_load linker flag... " >&6; }
7315 if ${lt_cv_ld_force_load+:} false; then :
7316 $as_echo_n "(cached) " >&6
7318 lt_cv_ld_force_load=no
7319 cat > conftest.c << _LT_EOF
7320 int forced_loaded() { return 2;}
7322 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7323 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7324 echo "$AR cru libconftest.a conftest.o" >&5
7325 $AR cru libconftest.a conftest.o 2>&5
7326 echo "$RANLIB libconftest.a" >&5
7327 $RANLIB libconftest.a 2>&5
7328 cat > conftest.c << _LT_EOF
7329 int main() { return 0;}
7331 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7332 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7334 if test -s conftest.err && $GREP force_load conftest.err; then
7335 cat conftest.err >&5
7336 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7337 lt_cv_ld_force_load=yes
7339 cat conftest.err >&5
7341 rm -f conftest.err libconftest.a conftest conftest.c
7342 rm -rf conftest.dSYM
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7346 $as_echo "$lt_cv_ld_force_load" >&6; }
7348 rhapsody* | darwin1.[012])
7349 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7351 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7352 darwin*) # darwin 5.x on
7353 # if running on 10.5 or later, the deployment target defaults
7354 # to the OS version, if on x86, and 10.4, the deployment
7355 # target defaults to 10.4. Don't you love it?
7356 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7357 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7358 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7360 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7362 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7366 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7367 _lt_dar_single_mod='$single_module'
7369 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7370 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7372 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7374 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7375 _lt_dsymutil='~$DSYMUTIL $lib || :'
7383 ac_cpp='$CPP $CPPFLAGS'
7384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7388 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7389 # On Suns, sometimes $CPP names a directory.
7390 if test -n "$CPP" && test -d "$CPP"; then
7393 if test -z "$CPP"; then
7394 if ${ac_cv_prog_CPP+:} false; then :
7395 $as_echo_n "(cached) " >&6
7397 # Double quotes because CPP needs to be expanded
7398 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7401 for ac_c_preproc_warn_flag in '' yes
7403 # Use a header file that comes with gcc, so configuring glibc
7404 # with a fresh cross-compiler works.
7405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7406 # <limits.h> exists even on freestanding compilers.
7407 # On the NeXT, cc -E runs the code through the compiler's parser,
7408 # not just through cpp. "Syntax error" is here to catch this case.
7409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7410 /* end confdefs.h. */
7412 # include <limits.h>
7414 # include <assert.h>
7418 if ac_fn_c_try_cpp "$LINENO"; then :
7421 # Broken: fails on valid input.
7424 rm -f conftest.err conftest.i conftest.$ac_ext
7426 # OK, works on sane cases. Now check whether nonexistent headers
7427 # can be detected and how.
7428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429 /* end confdefs.h. */
7430 #include <ac_nonexistent.h>
7432 if ac_fn_c_try_cpp "$LINENO"; then :
7433 # Broken: success on invalid input.
7436 # Passes both tests.
7440 rm -f conftest.err conftest.i conftest.$ac_ext
7443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7444 rm -f conftest.i conftest.err conftest.$ac_ext
7445 if $ac_preproc_ok; then :
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7458 $as_echo "$CPP" >&6; }
7460 for ac_c_preproc_warn_flag in '' yes
7462 # Use a header file that comes with gcc, so configuring glibc
7463 # with a fresh cross-compiler works.
7464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7465 # <limits.h> exists even on freestanding compilers.
7466 # On the NeXT, cc -E runs the code through the compiler's parser,
7467 # not just through cpp. "Syntax error" is here to catch this case.
7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7469 /* end confdefs.h. */
7471 # include <limits.h>
7473 # include <assert.h>
7477 if ac_fn_c_try_cpp "$LINENO"; then :
7480 # Broken: fails on valid input.
7483 rm -f conftest.err conftest.i conftest.$ac_ext
7485 # OK, works on sane cases. Now check whether nonexistent headers
7486 # can be detected and how.
7487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7488 /* end confdefs.h. */
7489 #include <ac_nonexistent.h>
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7492 # Broken: success on invalid input.
7495 # Passes both tests.
7499 rm -f conftest.err conftest.i conftest.$ac_ext
7502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7503 rm -f conftest.i conftest.err conftest.$ac_ext
7504 if $ac_preproc_ok; then :
7507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7509 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7510 See \`config.log' for more details" "$LINENO" 5; }
7514 ac_cpp='$CPP $CPPFLAGS'
7515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7521 $as_echo_n "checking for ANSI C header files... " >&6; }
7522 if ${ac_cv_header_stdc+:} false; then :
7523 $as_echo_n "(cached) " >&6
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7540 if ac_fn_c_try_compile "$LINENO"; then :
7541 ac_cv_header_stdc=yes
7543 ac_cv_header_stdc=no
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 if test $ac_cv_header_stdc = yes; then
7548 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h. */
7554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7555 $EGREP "memchr" >/dev/null 2>&1; then :
7558 ac_cv_header_stdc=no
7564 if test $ac_cv_header_stdc = yes; then
7565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7572 $EGREP "free" >/dev/null 2>&1; then :
7575 ac_cv_header_stdc=no
7581 if test $ac_cv_header_stdc = yes; then
7582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7583 if test "$cross_compiling" = yes; then :
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7590 #if ((' ' & 0x0FF) == 0x020)
7591 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7592 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7594 # define ISLOWER(c) \
7595 (('a' <= (c) && (c) <= 'i') \
7596 || ('j' <= (c) && (c) <= 'r') \
7597 || ('s' <= (c) && (c) <= 'z'))
7598 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7601 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7606 for (i = 0; i < 256; i++)
7607 if (XOR (islower (i), ISLOWER (i))
7608 || toupper (i) != TOUPPER (i))
7613 if ac_fn_c_try_run "$LINENO"; then :
7616 ac_cv_header_stdc=no
7618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7619 conftest.$ac_objext conftest.beam conftest.$ac_ext
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7625 $as_echo "$ac_cv_header_stdc" >&6; }
7626 if test $ac_cv_header_stdc = yes; then
7628 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7632 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7634 inttypes.h stdint.h unistd.h
7636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7639 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7640 cat >>confdefs.h <<_ACEOF
7641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 for ac_header in dlfcn.h
7651 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7653 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define HAVE_DLFCN_H 1
7667 # Check whether --enable-static was given.
7668 if test "${enable_static+set}" = set; then :
7669 enableval=$enable_static; p=${PACKAGE-default}
7671 yes) enable_static=yes ;;
7672 no) enable_static=no ;;
7675 # Look at the argument we got. We use all the common list separators.
7676 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7677 for pkg in $enableval; do
7679 if test "X$pkg" = "X$p"; then
7705 # Check whether --enable-shared was given.
7706 if test "${enable_shared+set}" = set; then :
7707 enableval=$enable_shared; p=${PACKAGE-default}
7709 yes) enable_shared=yes ;;
7710 no) enable_shared=no ;;
7713 # Look at the argument we got. We use all the common list separators.
7714 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7715 for pkg in $enableval; do
7717 if test "X$pkg" = "X$p"; then
7738 # Check whether --with-pic was given.
7739 if test "${with_pic+set}" = set; then :
7740 withval=$with_pic; lt_p=${PACKAGE-default}
7742 yes|no) pic_mode=$withval ;;
7745 # Look at the argument we got. We use all the common list separators.
7746 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747 for lt_pkg in $withval; do
7749 if test "X$lt_pkg" = "X$lt_p"; then
7761 test -z "$pic_mode" && pic_mode=default
7769 # Check whether --enable-fast-install was given.
7770 if test "${enable_fast_install+set}" = set; then :
7771 enableval=$enable_fast_install; p=${PACKAGE-default}
7773 yes) enable_fast_install=yes ;;
7774 no) enable_fast_install=no ;;
7776 enable_fast_install=no
7777 # Look at the argument we got. We use all the common list separators.
7778 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7779 for pkg in $enableval; do
7781 if test "X$pkg" = "X$p"; then
7782 enable_fast_install=yes
7789 enable_fast_install=yes
7802 # This can be used to rebuild libtool when needed
7803 LIBTOOL_DEPS="$ltmain"
7805 # Always use our own libtool.
7806 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7837 test -z "$LN_S" && LN_S="ln -s"
7852 if test -n "${ZSH_VERSION+set}" ; then
7853 setopt NO_GLOB_SUBST
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7857 $as_echo_n "checking for objdir... " >&6; }
7858 if ${lt_cv_objdir+:} false; then :
7859 $as_echo_n "(cached) " >&6
7861 rm -f .libs 2>/dev/null
7862 mkdir .libs 2>/dev/null
7863 if test -d .libs; then
7866 # MS-DOS does not allow filenames that begin with a dot.
7869 rmdir .libs 2>/dev/null
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7872 $as_echo "$lt_cv_objdir" >&6; }
7873 objdir=$lt_cv_objdir
7879 cat >>confdefs.h <<_ACEOF
7880 #define LT_OBJDIR "$lt_cv_objdir/"
7888 # AIX sometimes has problems with the GCC collect2 program. For some
7889 # reason, if we set the COLLECT_NAMES environment variable, the problems
7890 # vanish in a puff of smoke.
7891 if test "X${COLLECT_NAMES+set}" != Xset; then
7893 export COLLECT_NAMES
7900 can_build_shared=yes
7902 # All known linkers require a `.a' archive for static linking (except MSVC,
7903 # which needs '.lib').
7906 with_gnu_ld="$lt_cv_prog_gnu_ld"
7909 old_CFLAGS="$CFLAGS"
7911 # Set sane defaults for various variables
7912 test -z "$CC" && CC=cc
7913 test -z "$LTCC" && LTCC=$CC
7914 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7915 test -z "$LD" && LD=ld
7916 test -z "$ac_objext" && ac_objext=o
7918 for cc_temp in $compiler""; do
7920 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7921 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7926 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7929 # Only perform the check for file, if the check method requires it
7930 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7931 case $deplibs_check_method in
7933 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7935 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7936 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7937 $as_echo_n "(cached) " >&6
7941 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7944 lt_save_MAGIC_CMD="$MAGIC_CMD"
7945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7946 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7947 for ac_dir in $ac_dummy; do
7949 test -z "$ac_dir" && ac_dir=.
7950 if test -f $ac_dir/${ac_tool_prefix}file; then
7951 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7952 if test -n "$file_magic_test_file"; then
7953 case $deplibs_check_method in
7955 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7956 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7957 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7958 $EGREP "$file_magic_regex" > /dev/null; then
7963 *** Warning: the command libtool uses to detect shared libraries,
7964 *** $file_magic_cmd, produces output that libtool cannot recognize.
7965 *** The result is that libtool may fail to recognize shared libraries
7966 *** as such. This will affect the creation of libtool libraries that
7967 *** depend on shared libraries, but programs linked with such libtool
7968 *** libraries will work regardless of this problem. Nevertheless, you
7969 *** may want to report the problem to your system manager and/or to
7970 *** bug-libtool@gnu.org
7980 MAGIC_CMD="$lt_save_MAGIC_CMD"
7985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7986 if test -n "$MAGIC_CMD"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7988 $as_echo "$MAGIC_CMD" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7998 if test -z "$lt_cv_path_MAGIC_CMD"; then
7999 if test -n "$ac_tool_prefix"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8001 $as_echo_n "checking for file... " >&6; }
8002 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8003 $as_echo_n "(cached) " >&6
8007 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8010 lt_save_MAGIC_CMD="$MAGIC_CMD"
8011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8012 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8013 for ac_dir in $ac_dummy; do
8015 test -z "$ac_dir" && ac_dir=.
8016 if test -f $ac_dir/file; then
8017 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8018 if test -n "$file_magic_test_file"; then
8019 case $deplibs_check_method in
8021 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8022 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8023 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8024 $EGREP "$file_magic_regex" > /dev/null; then
8029 *** Warning: the command libtool uses to detect shared libraries,
8030 *** $file_magic_cmd, produces output that libtool cannot recognize.
8031 *** The result is that libtool may fail to recognize shared libraries
8032 *** as such. This will affect the creation of libtool libraries that
8033 *** depend on shared libraries, but programs linked with such libtool
8034 *** libraries will work regardless of this problem. Nevertheless, you
8035 *** may want to report the problem to your system manager and/or to
8036 *** bug-libtool@gnu.org
8046 MAGIC_CMD="$lt_save_MAGIC_CMD"
8051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8052 if test -n "$MAGIC_CMD"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8054 $as_echo "$MAGIC_CMD" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8057 $as_echo "no" >&6; }
8070 # Use C for the default configuration in the libtool script
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8080 # Source file extension for C test sources.
8083 # Object file extension for compiled C test sources.
8087 # Code to be used in simple compile tests
8088 lt_simple_compile_test_code="int some_variable = 0;"
8090 # Code to be used in simple link tests
8091 lt_simple_link_test_code='int main(){return(0);}'
8099 # If no C compiler was specified, use CC.
8102 # If no C compiler flags were specified, use CFLAGS.
8103 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8105 # Allow CC to be a program name with arguments.
8108 # Save the default compiler, since it gets overwritten when the other
8109 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8110 compiler_DEFAULT=$CC
8112 # save warnings/boilerplate of simple test code
8113 ac_outfile=conftest.$ac_objext
8114 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8115 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8116 _lt_compiler_boilerplate=`cat conftest.err`
8119 ac_outfile=conftest.$ac_objext
8120 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8121 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8122 _lt_linker_boilerplate=`cat conftest.err`
8127 ## There is no encapsulation within the following macros, do not change
8128 ## the running order or otherwise move them around unless you know exactly
8129 ## what you are doing...
8130 if test -n "$compiler"; then
8132 lt_prog_compiler_no_builtin_flag=
8134 if test "$GCC" = yes; then
8135 case $cc_basename in
8137 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8139 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8143 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8144 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8145 $as_echo_n "(cached) " >&6
8147 lt_cv_prog_compiler_rtti_exceptions=no
8148 ac_outfile=conftest.$ac_objext
8149 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8150 lt_compiler_flag="-fno-rtti -fno-exceptions"
8151 # Insert the option either (1) after the last *FLAGS variable, or
8152 # (2) before a word containing "conftest.", or (3) at the end.
8153 # Note that $ac_compile itself does not contain backslashes and begins
8154 # with a dollar sign (not a hyphen), so the echo should work correctly.
8155 # The option is referenced via a variable to avoid confusing sed.
8156 lt_compile=`echo "$ac_compile" | $SED \
8157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8159 -e 's:$: $lt_compiler_flag:'`
8160 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8161 (eval "$lt_compile" 2>conftest.err)
8163 cat conftest.err >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 if (exit $ac_status) && test -s "$ac_outfile"; then
8166 # The compiler can only warn and ignore the option if not recognized
8167 # So say no if there are warnings other than the usual output.
8168 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8171 lt_cv_prog_compiler_rtti_exceptions=yes
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8178 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8180 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8181 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8193 lt_prog_compiler_wl=
8194 lt_prog_compiler_pic=
8195 lt_prog_compiler_static=
8198 if test "$GCC" = yes; then
8199 lt_prog_compiler_wl='-Wl,'
8200 lt_prog_compiler_static='-static'
8204 # All AIX code is PIC.
8205 if test "$host_cpu" = ia64; then
8206 # AIX 5 now supports IA64 processor
8207 lt_prog_compiler_static='-Bstatic'
8214 # see comment about AmigaOS4 .so support
8215 lt_prog_compiler_pic='-fPIC'
8218 # FIXME: we need at least 68020 code to build shared libraries, but
8219 # adding the `-m68020' flag to GCC prevents building anything better,
8221 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8226 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8227 # PIC is the default for these OSes.
8230 mingw* | cygwin* | pw32* | os2* | cegcc*)
8231 # This hack is so that the source file can tell whether it is being
8232 # built for inclusion in a dll (and should export symbols for example).
8233 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8234 # (--disable-auto-import) libraries
8235 lt_prog_compiler_pic='-DDLL_EXPORT'
8238 darwin* | rhapsody*)
8239 # PIC is the default on this platform
8240 # Common symbols not allowed in MH_DYLIB files
8241 lt_prog_compiler_pic='-fno-common'
8245 # PIC is the default for Haiku.
8246 # The "-static" flag exists, but is broken.
8247 lt_prog_compiler_static=
8251 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8252 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8253 # sets the default TLS model and affects inlining.
8259 lt_prog_compiler_pic='-fPIC'
8265 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8266 # Instead, we relocate shared libraries at runtime.
8270 # Just because we use GCC doesn't mean we suddenly get shared libraries
8271 # on systems that don't support them.
8272 lt_prog_compiler_can_build_shared=no
8277 # QNX uses GNU C++, but need to define -shared option too, otherwise
8279 lt_prog_compiler_pic='-fPIC -shared'
8283 if test -d /usr/nec; then
8284 lt_prog_compiler_pic=-Kconform_pic
8289 lt_prog_compiler_pic='-fPIC'
8293 case $cc_basename in
8294 nvcc*) # Cuda Compiler Driver 2.2
8295 lt_prog_compiler_wl='-Xlinker '
8296 if test -n "$lt_prog_compiler_pic"; then
8297 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8302 # PORTME Check for flag to pass linker flags through the system compiler.
8305 lt_prog_compiler_wl='-Wl,'
8306 if test "$host_cpu" = ia64; then
8307 # AIX 5 now supports IA64 processor
8308 lt_prog_compiler_static='-Bstatic'
8310 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8314 mingw* | cygwin* | pw32* | os2* | cegcc*)
8315 # This hack is so that the source file can tell whether it is being
8316 # built for inclusion in a dll (and should export symbols for example).
8317 lt_prog_compiler_pic='-DDLL_EXPORT'
8320 hpux9* | hpux10* | hpux11*)
8321 lt_prog_compiler_wl='-Wl,'
8322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8329 lt_prog_compiler_pic='+Z'
8332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8333 lt_prog_compiler_static='${wl}-a ${wl}archive'
8336 irix5* | irix6* | nonstopux*)
8337 lt_prog_compiler_wl='-Wl,'
8338 # PIC (with -KPIC) is the default.
8339 lt_prog_compiler_static='-non_shared'
8342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8343 case $cc_basename in
8344 # old Intel for x86_64 which still supported -KPIC.
8346 lt_prog_compiler_wl='-Wl,'
8347 lt_prog_compiler_pic='-KPIC'
8348 lt_prog_compiler_static='-static'
8350 # icc used to be incompatible with GCC.
8351 # ICC 10 doesn't accept -KPIC any more.
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-fPIC'
8355 lt_prog_compiler_static='-static'
8357 # Lahey Fortran 8.1.
8359 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='--shared'
8361 lt_prog_compiler_static='--static'
8364 # NAG Fortran compiler
8365 lt_prog_compiler_wl='-Wl,-Wl,,'
8366 lt_prog_compiler_pic='-PIC'
8367 lt_prog_compiler_static='-Bstatic'
8369 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8370 # Portland Group compilers (*not* the Pentium gcc compiler,
8371 # which looks to be a dead project)
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-fpic'
8374 lt_prog_compiler_static='-Bstatic'
8377 lt_prog_compiler_wl='-Wl,'
8378 # All Alpha code is PIC.
8379 lt_prog_compiler_static='-non_shared'
8381 xl* | bgxl* | bgf* | mpixl*)
8382 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8383 lt_prog_compiler_wl='-Wl,'
8384 lt_prog_compiler_pic='-qpic'
8385 lt_prog_compiler_static='-qstaticlink'
8388 case `$CC -V 2>&1 | sed 5q` in
8389 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8390 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8391 lt_prog_compiler_pic='-KPIC'
8392 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_wl=''
8395 *Sun\ F* | *Sun*Fortran*)
8396 lt_prog_compiler_pic='-KPIC'
8397 lt_prog_compiler_static='-Bstatic'
8398 lt_prog_compiler_wl='-Qoption ld '
8402 lt_prog_compiler_pic='-KPIC'
8403 lt_prog_compiler_static='-Bstatic'
8404 lt_prog_compiler_wl='-Wl,'
8406 *Intel*\ [CF]*Compiler*)
8407 lt_prog_compiler_wl='-Wl,'
8408 lt_prog_compiler_pic='-fPIC'
8409 lt_prog_compiler_static='-static'
8412 lt_prog_compiler_wl='-Wl,'
8413 lt_prog_compiler_pic='-fpic'
8414 lt_prog_compiler_static='-Bstatic'
8422 lt_prog_compiler_pic='-KPIC'
8423 lt_prog_compiler_static='-Bstatic'
8427 # QNX uses GNU C++, but need to define -shared option too, otherwise
8429 lt_prog_compiler_pic='-fPIC -shared'
8432 osf3* | osf4* | osf5*)
8433 lt_prog_compiler_wl='-Wl,'
8434 # All OSF/1 code is PIC.
8435 lt_prog_compiler_static='-non_shared'
8439 lt_prog_compiler_static='-non_shared'
8443 lt_prog_compiler_pic='-KPIC'
8444 lt_prog_compiler_static='-Bstatic'
8445 case $cc_basename in
8446 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8447 lt_prog_compiler_wl='-Qoption ld ';;
8449 lt_prog_compiler_wl='-Wl,';;
8454 lt_prog_compiler_wl='-Qoption ld '
8455 lt_prog_compiler_pic='-PIC'
8456 lt_prog_compiler_static='-Bstatic'
8459 sysv4 | sysv4.2uw2* | sysv4.3*)
8460 lt_prog_compiler_wl='-Wl,'
8461 lt_prog_compiler_pic='-KPIC'
8462 lt_prog_compiler_static='-Bstatic'
8466 if test -d /usr/nec ;then
8467 lt_prog_compiler_pic='-Kconform_pic'
8468 lt_prog_compiler_static='-Bstatic'
8472 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8473 lt_prog_compiler_wl='-Wl,'
8474 lt_prog_compiler_pic='-KPIC'
8475 lt_prog_compiler_static='-Bstatic'
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_can_build_shared=no
8484 lt_prog_compiler_pic='-pic'
8485 lt_prog_compiler_static='-Bstatic'
8489 lt_prog_compiler_can_build_shared=no
8495 # For platforms which do not support PIC, -DPIC is meaningless:
8497 lt_prog_compiler_pic=
8500 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506 if ${lt_cv_prog_compiler_pic+:} false; then :
8507 $as_echo_n "(cached) " >&6
8509 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8512 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8513 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8516 # Check to make sure the PIC flag actually works.
8518 if test -n "$lt_prog_compiler_pic"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8520 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8521 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8522 $as_echo_n "(cached) " >&6
8524 lt_cv_prog_compiler_pic_works=no
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8527 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8528 # Insert the option either (1) after the last *FLAGS variable, or
8529 # (2) before a word containing "conftest.", or (3) at the end.
8530 # Note that $ac_compile itself does not contain backslashes and begins
8531 # with a dollar sign (not a hyphen), so the echo should work correctly.
8532 # The option is referenced via a variable to avoid confusing sed.
8533 lt_compile=`echo "$ac_compile" | $SED \
8534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536 -e 's:$: $lt_compiler_flag:'`
8537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8538 (eval "$lt_compile" 2>conftest.err)
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 if (exit $ac_status) && test -s "$ac_outfile"; then
8543 # The compiler can only warn and ignore the option if not recognized
8544 # So say no if there are warnings other than the usual output.
8545 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8546 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8547 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8548 lt_cv_prog_compiler_pic_works=yes
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8557 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8558 case $lt_prog_compiler_pic in
8560 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8563 lt_prog_compiler_pic=
8564 lt_prog_compiler_can_build_shared=no
8580 # Check to make sure the static flag actually works.
8582 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8584 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8585 if ${lt_cv_prog_compiler_static_works+:} false; then :
8586 $as_echo_n "(cached) " >&6
8588 lt_cv_prog_compiler_static_works=no
8589 save_LDFLAGS="$LDFLAGS"
8590 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8591 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8592 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8593 # The linker can only warn and ignore the option if not recognized
8594 # So say no if there are warnings
8595 if test -s conftest.err; then
8596 # Append any errors to the config.log.
8597 cat conftest.err 1>&5
8598 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8599 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8600 if diff conftest.exp conftest.er2 >/dev/null; then
8601 lt_cv_prog_compiler_static_works=yes
8604 lt_cv_prog_compiler_static_works=yes
8608 LDFLAGS="$save_LDFLAGS"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8612 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8614 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8617 lt_prog_compiler_static=
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8628 if ${lt_cv_prog_compiler_c_o+:} false; then :
8629 $as_echo_n "(cached) " >&6
8631 lt_cv_prog_compiler_c_o=no
8632 $RM -r conftest 2>/dev/null
8636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8638 lt_compiler_flag="-o out/conftest2.$ac_objext"
8639 # Insert the option either (1) after the last *FLAGS variable, or
8640 # (2) before a word containing "conftest.", or (3) at the end.
8641 # Note that $ac_compile itself does not contain backslashes and begins
8642 # with a dollar sign (not a hyphen), so the echo should work correctly.
8643 lt_compile=`echo "$ac_compile" | $SED \
8644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8646 -e 's:$: $lt_compiler_flag:'`
8647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8648 (eval "$lt_compile" 2>out/conftest.err)
8650 cat out/conftest.err >&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8654 # The compiler can only warn and ignore the option if not recognized
8655 # So say no if there are warnings
8656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8657 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8658 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8659 lt_cv_prog_compiler_c_o=yes
8664 # SGI C++ compiler will create directory out/ii_files/ for
8665 # template instantiation
8666 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8667 $RM out/* && rmdir out
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8683 if ${lt_cv_prog_compiler_c_o+:} false; then :
8684 $as_echo_n "(cached) " >&6
8686 lt_cv_prog_compiler_c_o=no
8687 $RM -r conftest 2>/dev/null
8691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8693 lt_compiler_flag="-o out/conftest2.$ac_objext"
8694 # Insert the option either (1) after the last *FLAGS variable, or
8695 # (2) before a word containing "conftest.", or (3) at the end.
8696 # Note that $ac_compile itself does not contain backslashes and begins
8697 # with a dollar sign (not a hyphen), so the echo should work correctly.
8698 lt_compile=`echo "$ac_compile" | $SED \
8699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8701 -e 's:$: $lt_compiler_flag:'`
8702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8703 (eval "$lt_compile" 2>out/conftest.err)
8705 cat out/conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8709 # The compiler can only warn and ignore the option if not recognized
8710 # So say no if there are warnings
8711 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8712 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8713 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8714 lt_cv_prog_compiler_c_o=yes
8719 # SGI C++ compiler will create directory out/ii_files/ for
8720 # template instantiation
8721 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8722 $RM out/* && rmdir out
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8734 hard_links="nottested"
8735 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8736 # do not overwrite the value of need_locks provided by the user
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8738 $as_echo_n "checking if we can lock with hard links... " >&6; }
8741 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8743 ln conftest.a conftest.b 2>&5 || hard_links=no
8744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8746 $as_echo "$hard_links" >&6; }
8747 if test "$hard_links" = no; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8749 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8765 allow_undefined_flag=
8766 always_export_symbols=no
8768 archive_expsym_cmds=
8769 compiler_needs_object=no
8770 enable_shared_with_static_runtimes=no
8771 export_dynamic_flag_spec=
8772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8773 hardcode_automatic=no
8775 hardcode_direct_absolute=no
8776 hardcode_libdir_flag_spec=
8777 hardcode_libdir_separator=
8779 hardcode_shlibpath_var=unsupported
8781 link_all_deplibs=unknown
8784 old_archive_from_new_cmds=
8785 old_archive_from_expsyms_cmds=
8786 thread_safe_flag_spec=
8787 whole_archive_flag_spec=
8788 # include_expsyms should be a list of space-separated symbols to be *always*
8789 # included in the symbol list
8791 # exclude_expsyms can be an extended regexp of symbols to exclude
8792 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8793 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8794 # as well as any symbol that contains `d'.
8795 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8796 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8797 # platforms (ab)use it in PIC code, but their linkers get confused if
8798 # the symbol is explicitly referenced. Since portable code cannot
8799 # rely on this symbol name, it's probably fine to never include it in
8800 # preloaded symbol tables.
8801 # Exclude shared library initialization/finalization symbols.
8802 extract_expsyms_cmds=
8805 cygwin* | mingw* | pw32* | cegcc*)
8806 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8807 # When not using gcc, we currently assume that we are using
8808 # Microsoft Visual C++.
8809 if test "$GCC" != yes; then
8814 # we just hope/assume this is gcc and not c89 (= MSVC++)
8820 linux* | k*bsd*-gnu | gnu*)
8827 # On some targets, GNU ld is compatible enough with the native linker
8828 # that we're better off using the native interface for both.
8829 lt_use_gnu_ld_interface=no
8830 if test "$with_gnu_ld" = yes; then
8833 # The AIX port of GNU ld has always aspired to compatibility
8834 # with the native linker. However, as the warning in the GNU ld
8835 # block says, versions before 2.19.5* couldn't really create working
8836 # shared libraries, regardless of the interface used.
8837 case `$LD -v 2>&1` in
8838 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8839 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8840 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8842 lt_use_gnu_ld_interface=yes
8847 lt_use_gnu_ld_interface=yes
8852 if test "$lt_use_gnu_ld_interface" = yes; then
8853 # If archive_cmds runs LD, not CC, wlarc should be empty
8856 # Set some defaults for GNU ld with shared library support. These
8857 # are reset later if shared libraries are not supported. Putting them
8858 # here allows them to be overridden if necessary.
8859 runpath_var=LD_RUN_PATH
8860 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8861 export_dynamic_flag_spec='${wl}--export-dynamic'
8862 # ancient GNU ld didn't support --whole-archive et. al.
8863 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8864 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8866 whole_archive_flag_spec=
8868 supports_anon_versioning=no
8869 case `$LD -v 2>&1` in
8870 *GNU\ gold*) supports_anon_versioning=yes ;;
8871 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8872 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8873 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8874 *\ 2.11.*) ;; # other 2.11 versions
8875 *) supports_anon_versioning=yes ;;
8878 # See if GNU ld supports shared libraries.
8881 # On AIX/PPC, the GNU linker is very broken
8882 if test "$host_cpu" != ia64; then
8886 *** Warning: the GNU linker, at least up to release 2.19, is reported
8887 *** to be unable to reliably create shared libraries on AIX.
8888 *** Therefore, libtool is disabling shared libraries support. If you
8889 *** really care for shared libraries, you may want to install binutils
8890 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8891 *** You will then need to restart the configuration process.
8900 # see comment about AmigaOS4 .so support
8901 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902 archive_expsym_cmds=''
8905 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)'
8906 hardcode_libdir_flag_spec='-L$libdir'
8907 hardcode_minus_L=yes
8913 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8914 allow_undefined_flag=unsupported
8915 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8916 # support --undefined. This deserves some investigation. FIXME
8917 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8923 cygwin* | mingw* | pw32* | cegcc*)
8924 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8925 # as there is no search path for DLLs.
8926 hardcode_libdir_flag_spec='-L$libdir'
8927 export_dynamic_flag_spec='${wl}--export-all-symbols'
8928 allow_undefined_flag=unsupported
8929 always_export_symbols=no
8930 enable_shared_with_static_runtimes=yes
8931 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'
8932 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8934 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8936 # If the export-symbols file already is a .def file (1st line
8937 # is EXPORTS), use it as is; otherwise, prepend...
8938 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8939 cp $export_symbols $output_objdir/$soname.def;
8941 echo EXPORTS > $output_objdir/$soname.def;
8942 cat $export_symbols >> $output_objdir/$soname.def;
8944 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8952 link_all_deplibs=yes
8957 hardcode_shlibpath_var=no
8958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8959 export_dynamic_flag_spec='${wl}-E'
8960 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8961 # Instead, shared libraries are loaded at an image base (0x10000000 by
8962 # default) and relocated if they conflict, which is a slow very memory
8963 # consuming and fragmenting process. To avoid this, we pick a random,
8964 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8965 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8966 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8967 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'
8970 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8972 if test "$host_os" = linux-dietlibc; then
8973 case $cc_basename in
8974 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8977 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8978 && test "$tmp_diet" = no
8980 tmp_addflag=' $pic_flag'
8981 tmp_sharedflag='-shared'
8982 case $cc_basename,$host_cpu in
8983 pgcc*) # Portland Group C compiler
8984 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'
8985 tmp_addflag=' $pic_flag'
8987 pgf77* | pgf90* | pgf95* | pgfortran*)
8988 # Portland Group f77 and f90 compilers
8989 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'
8990 tmp_addflag=' $pic_flag -Mnomain' ;;
8991 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8992 tmp_addflag=' -i_dynamic' ;;
8993 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8994 tmp_addflag=' -i_dynamic -nofor_main' ;;
8995 ifc* | ifort*) # Intel Fortran compiler
8996 tmp_addflag=' -nofor_main' ;;
8997 lf95*) # Lahey Fortran 8.1
8998 whole_archive_flag_spec=
8999 tmp_sharedflag='--shared' ;;
9000 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9001 tmp_sharedflag='-qmkshrobj'
9003 nvcc*) # Cuda Compiler Driver 2.2
9004 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'
9005 compiler_needs_object=yes
9008 case `$CC -V 2>&1 | sed 5q` in
9009 *Sun\ C*) # Sun C 5.9
9010 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'
9011 compiler_needs_object=yes
9012 tmp_sharedflag='-G' ;;
9013 *Sun\ F*) # Sun Fortran 8.3
9014 tmp_sharedflag='-G' ;;
9016 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9018 if test "x$supports_anon_versioning" = xyes; then
9019 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9021 echo "local: *; };" >> $output_objdir/$libname.ver~
9022 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9025 case $cc_basename in
9026 xlf* | bgf* | bgxlf* | mpixlf*)
9027 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9028 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9029 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9030 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9031 if test "x$supports_anon_versioning" = xyes; then
9032 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9034 echo "local: *; };" >> $output_objdir/$libname.ver~
9035 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9044 netbsd* | netbsdelf*-gnu)
9045 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9046 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9049 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9050 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9055 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9059 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9060 *** create shared libraries on Solaris systems. Therefore, libtool
9061 *** is disabling shared libraries support. We urge you to upgrade GNU
9062 *** binutils to release 2.9.1 or newer. Another option is to modify
9063 *** your PATH or compiler configuration so that the native linker is
9064 *** used, and then restart.
9067 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9068 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9075 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9076 case `$LD -v 2>&1` in
9077 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9081 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9082 *** reliably create shared libraries on SCO systems. Therefore, libtool
9083 *** is disabling shared libraries support. We urge you to upgrade GNU
9084 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9085 *** your PATH or compiler configuration so that the native linker is
9086 *** used, and then restart.
9091 # For security reasons, it is highly recommended that you always
9092 # use absolute paths for naming shared libraries, and exclude the
9093 # DT_RUNPATH tag from executables and libraries. But doing so
9094 # requires that you compile everything twice, which is a pain.
9095 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9096 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9107 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9110 hardcode_shlibpath_var=no
9114 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9115 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9116 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123 if test "$ld_shlibs" = no; then
9125 hardcode_libdir_flag_spec=
9126 export_dynamic_flag_spec=
9127 whole_archive_flag_spec=
9130 # PORTME fill in a description of your system's linker (not GNU ld)
9133 allow_undefined_flag=unsupported
9134 always_export_symbols=yes
9135 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'
9136 # Note: this linker hardcodes the directories in LIBPATH if there
9137 # are no directories specified by -L.
9138 hardcode_minus_L=yes
9139 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9140 # Neither direct hardcoding nor static linking is supported with a
9142 hardcode_direct=unsupported
9147 if test "$host_cpu" = ia64; then
9148 # On IA64, the linker does run time linking by default, so we don't
9149 # have to do anything special.
9150 aix_use_runtimelinking=no
9151 exp_sym_flag='-Bexport'
9154 # If we're using GNU nm, then we don't want the "-C" option.
9155 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9156 # Also, AIX nm treats weak defined symbols like other global
9157 # defined symbols, whereas GNU nm marks them as "W".
9158 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9159 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'
9161 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'
9163 aix_use_runtimelinking=no
9165 # Test if we are trying to use run time linking or normal
9166 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9167 # need to do runtime linking.
9168 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9169 for ld_flag in $LDFLAGS; do
9170 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9171 aix_use_runtimelinking=yes
9178 exp_sym_flag='-bexport'
9179 no_entry_flag='-bnoentry'
9182 # When large executables or shared objects are built, AIX ld can
9183 # have problems creating the table of contents. If linking a library
9184 # or program results in "error TOC overflow" add -mminimal-toc to
9185 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9186 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9190 hardcode_direct_absolute=yes
9191 hardcode_libdir_separator=':'
9192 link_all_deplibs=yes
9193 file_list_spec='${wl}-f,'
9195 if test "$GCC" = yes; then
9196 case $host_os in aix4.[012]|aix4.[012].*)
9197 # We only want to do this on AIX 4.2 and lower, the check
9198 # below for broken collect2 doesn't work under 4.3+
9199 collect2name=`${CC} -print-prog-name=collect2`
9200 if test -f "$collect2name" &&
9201 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9203 # We have reworked collect2
9206 # We have old collect2
9207 hardcode_direct=unsupported
9208 # It fails to find uninstalled libraries when the uninstalled
9209 # path is not listed in the libpath. Setting hardcode_minus_L
9210 # to unsupported forces relinking
9211 hardcode_minus_L=yes
9212 hardcode_libdir_flag_spec='-L$libdir'
9213 hardcode_libdir_separator=
9217 shared_flag='-shared'
9218 if test "$aix_use_runtimelinking" = yes; then
9219 shared_flag="$shared_flag "'${wl}-G'
9224 if test "$host_cpu" = ia64; then
9225 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9226 # chokes on -Wl,-G. The following line is correct:
9229 if test "$aix_use_runtimelinking" = yes; then
9230 shared_flag='${wl}-G'
9232 shared_flag='${wl}-bM:SRE'
9237 export_dynamic_flag_spec='${wl}-bexpall'
9238 # It seems that -bexpall does not export symbols beginning with
9239 # underscore (_), so it is better to generate a list of symbols to export.
9240 always_export_symbols=yes
9241 if test "$aix_use_runtimelinking" = yes; then
9242 # Warning - without using the other runtime loading flags (-brtl),
9243 # -berok will link without error, but may produce a broken library.
9244 allow_undefined_flag='-berok'
9245 # Determine the default libpath from the value encoded in an
9247 if test "${lt_cv_aix_libpath+set}" = set; then
9248 aix_libpath=$lt_cv_aix_libpath
9250 if ${lt_cv_aix_libpath_+:} false; then :
9251 $as_echo_n "(cached) " >&6
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9264 if ac_fn_c_try_link "$LINENO"; then :
9266 lt_aix_libpath_sed='
9267 /Import File Strings/,/^$/ {
9269 s/^0 *\([^ ]*\) *$/\1/
9273 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9274 # Check for a 64-bit object if we didn't find anything.
9275 if test -z "$lt_cv_aix_libpath_"; then
9276 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 if test -z "$lt_cv_aix_libpath_"; then
9282 lt_cv_aix_libpath_="/usr/lib:/lib"
9287 aix_libpath=$lt_cv_aix_libpath_
9290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9291 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"
9293 if test "$host_cpu" = ia64; then
9294 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9295 allow_undefined_flag="-z nodefs"
9296 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"
9298 # Determine the default libpath from the value encoded in an
9300 if test "${lt_cv_aix_libpath+set}" = set; then
9301 aix_libpath=$lt_cv_aix_libpath
9303 if ${lt_cv_aix_libpath_+:} false; then :
9304 $as_echo_n "(cached) " >&6
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9317 if ac_fn_c_try_link "$LINENO"; then :
9319 lt_aix_libpath_sed='
9320 /Import File Strings/,/^$/ {
9322 s/^0 *\([^ ]*\) *$/\1/
9326 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9327 # Check for a 64-bit object if we didn't find anything.
9328 if test -z "$lt_cv_aix_libpath_"; then
9329 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 if test -z "$lt_cv_aix_libpath_"; then
9335 lt_cv_aix_libpath_="/usr/lib:/lib"
9340 aix_libpath=$lt_cv_aix_libpath_
9343 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9344 # Warning - without using the other run time loading flags,
9345 # -berok will link without error, but may produce a broken library.
9346 no_undefined_flag=' ${wl}-bernotok'
9347 allow_undefined_flag=' ${wl}-berok'
9348 if test "$with_gnu_ld" = yes; then
9349 # We only use this code for GNU lds that support --whole-archive.
9350 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9352 # Exported symbols can be pulled into shared objects from archives
9353 whole_archive_flag_spec='$convenience'
9355 archive_cmds_need_lc=yes
9356 # This is similar to how AIX traditionally builds its shared libraries.
9357 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'
9365 # see comment about AmigaOS4 .so support
9366 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 archive_expsym_cmds=''
9370 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)'
9371 hardcode_libdir_flag_spec='-L$libdir'
9372 hardcode_minus_L=yes
9378 export_dynamic_flag_spec=-rdynamic
9381 cygwin* | mingw* | pw32* | cegcc*)
9382 # When not using gcc, we currently assume that we are using
9383 # Microsoft Visual C++.
9384 # hardcode_libdir_flag_spec is actually meaningless, as there is
9385 # no search path for DLLs.
9386 case $cc_basename in
9389 hardcode_libdir_flag_spec=' '
9390 allow_undefined_flag=unsupported
9391 always_export_symbols=yes
9393 # Tell ltmain to make .lib files, not .a files.
9395 # Tell ltmain to make .dll files, not .so files.
9397 # FIXME: Setting linknames here is a bad hack.
9398 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9399 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9400 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9402 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9404 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9406 # The linker will not automatically build a static lib if we build a DLL.
9407 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9408 enable_shared_with_static_runtimes=yes
9409 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9410 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9412 old_postinstall_cmds='chmod 644 $oldlib'
9413 postlink_cmds='lt_outputfile="@OUTPUT@"~
9414 lt_tool_outputfile="@TOOL_OUTPUT@"~
9415 case $lt_outputfile in
9418 lt_outputfile="$lt_outputfile.exe"
9419 lt_tool_outputfile="$lt_tool_outputfile.exe"
9422 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9423 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9424 $RM "$lt_outputfile.manifest";
9428 # Assume MSVC wrapper
9429 hardcode_libdir_flag_spec=' '
9430 allow_undefined_flag=unsupported
9431 # Tell ltmain to make .lib files, not .a files.
9433 # Tell ltmain to make .dll files, not .so files.
9435 # FIXME: Setting linknames here is a bad hack.
9436 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9437 # The linker will automatically build a .lib file if we build a DLL.
9438 old_archive_from_new_cmds='true'
9439 # FIXME: Should let the user specify the lib program.
9440 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9441 enable_shared_with_static_runtimes=yes
9446 darwin* | rhapsody*)
9449 archive_cmds_need_lc=no
9451 hardcode_automatic=yes
9452 hardcode_shlibpath_var=unsupported
9453 if test "$lt_cv_ld_force_load" = "yes"; then
9454 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\"`'
9457 whole_archive_flag_spec=''
9459 link_all_deplibs=yes
9460 allow_undefined_flag="$_lt_dar_allow_undefined"
9461 case $cc_basename in
9462 ifort*) _lt_dar_can_shared=yes ;;
9463 *) _lt_dar_can_shared=$GCC ;;
9465 if test "$_lt_dar_can_shared" = "yes"; then
9466 output_verbose_link_cmd=func_echo_all
9467 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9468 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9469 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}"
9470 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}"
9479 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480 hardcode_libdir_flag_spec='-L$libdir'
9481 hardcode_shlibpath_var=no
9484 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9485 # support. Future versions do this automatically, but an explicit c++rt0.o
9486 # does not break anything, and helps significantly (at the cost of a little
9489 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9490 hardcode_libdir_flag_spec='-R$libdir'
9492 hardcode_shlibpath_var=no
9495 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9497 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9499 hardcode_minus_L=yes
9500 hardcode_shlibpath_var=no
9503 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9504 freebsd* | dragonfly*)
9505 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9506 hardcode_libdir_flag_spec='-R$libdir'
9508 hardcode_shlibpath_var=no
9512 if test "$GCC" = yes; then
9513 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'
9515 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'
9517 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9518 hardcode_libdir_separator=:
9521 # hardcode_minus_L: Not really in the search PATH,
9522 # but as the default location of the library.
9523 hardcode_minus_L=yes
9524 export_dynamic_flag_spec='${wl}-E'
9528 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9529 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9533 if test "$with_gnu_ld" = no; then
9534 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9535 hardcode_libdir_separator=:
9537 hardcode_direct_absolute=yes
9538 export_dynamic_flag_spec='${wl}-E'
9539 # hardcode_minus_L: Not really in the search PATH,
9540 # but as the default location of the library.
9541 hardcode_minus_L=yes
9546 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9549 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9552 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9561 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9564 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9568 # Older versions of the 11.00 compiler do not understand -b yet
9569 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9571 $as_echo_n "checking if $CC understands -b... " >&6; }
9572 if ${lt_cv_prog_compiler__b+:} false; then :
9573 $as_echo_n "(cached) " >&6
9575 lt_cv_prog_compiler__b=no
9576 save_LDFLAGS="$LDFLAGS"
9577 LDFLAGS="$LDFLAGS -b"
9578 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9579 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9580 # The linker can only warn and ignore the option if not recognized
9581 # So say no if there are warnings
9582 if test -s conftest.err; then
9583 # Append any errors to the config.log.
9584 cat conftest.err 1>&5
9585 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9586 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9587 if diff conftest.exp conftest.er2 >/dev/null; then
9588 lt_cv_prog_compiler__b=yes
9591 lt_cv_prog_compiler__b=yes
9595 LDFLAGS="$save_LDFLAGS"
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9599 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9601 if test x"$lt_cv_prog_compiler__b" = xyes; then
9602 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9610 if test "$with_gnu_ld" = no; then
9611 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9612 hardcode_libdir_separator=:
9617 hardcode_shlibpath_var=no
9621 hardcode_direct_absolute=yes
9622 export_dynamic_flag_spec='${wl}-E'
9624 # hardcode_minus_L: Not really in the search PATH,
9625 # but as the default location of the library.
9626 hardcode_minus_L=yes
9632 irix5* | irix6* | nonstopux*)
9633 if test "$GCC" = yes; then
9634 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'
9635 # Try to use the -exported_symbol ld option, if it does not
9636 # work, assume that -exports_file does not work either and
9637 # implicitly export all symbols.
9638 # This should be the same for all languages, so no per-tag cache variable.
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9640 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9641 if ${lt_cv_irix_exported_symbol+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 save_LDFLAGS="$LDFLAGS"
9645 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9648 int foo (void) { return 0; }
9650 if ac_fn_c_try_link "$LINENO"; then :
9651 lt_cv_irix_exported_symbol=yes
9653 lt_cv_irix_exported_symbol=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LDFLAGS="$save_LDFLAGS"
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9660 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9661 if test "$lt_cv_irix_exported_symbol" = yes; then
9662 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'
9665 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'
9666 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'
9668 archive_cmds_need_lc='no'
9669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9670 hardcode_libdir_separator=:
9672 link_all_deplibs=yes
9675 netbsd* | netbsdelf*-gnu)
9676 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9677 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9679 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9681 hardcode_libdir_flag_spec='-R$libdir'
9683 hardcode_shlibpath_var=no
9687 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9690 hardcode_libdir_separator=:
9691 hardcode_shlibpath_var=no
9698 if test -f /usr/libexec/ld.so; then
9700 hardcode_shlibpath_var=no
9701 hardcode_direct_absolute=yes
9702 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9703 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9705 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9706 export_dynamic_flag_spec='${wl}-E'
9709 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9710 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9711 hardcode_libdir_flag_spec='-R$libdir'
9714 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9725 hardcode_libdir_flag_spec='-L$libdir'
9726 hardcode_minus_L=yes
9727 allow_undefined_flag=unsupported
9728 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'
9729 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9733 if test "$GCC" = yes; then
9734 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9735 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'
9737 allow_undefined_flag=' -expect_unresolved \*'
9738 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'
9740 archive_cmds_need_lc='no'
9741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742 hardcode_libdir_separator=:
9745 osf4* | osf5*) # as osf3* with the addition of -msym flag
9746 if test "$GCC" = yes; then
9747 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9748 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'
9749 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9751 allow_undefined_flag=' -expect_unresolved \*'
9752 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'
9753 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~
9754 $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'
9756 # Both c and cxx compiler support -rpath directly
9757 hardcode_libdir_flag_spec='-rpath $libdir'
9759 archive_cmds_need_lc='no'
9760 hardcode_libdir_separator=:
9764 no_undefined_flag=' -z defs'
9765 if test "$GCC" = yes; then
9767 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9769 $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'
9771 case `$CC -V 2>&1` in
9774 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9776 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9780 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9782 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9786 hardcode_libdir_flag_spec='-R$libdir'
9787 hardcode_shlibpath_var=no
9789 solaris2.[0-5] | solaris2.[0-5].*) ;;
9791 # The compiler driver will combine and reorder linker options,
9792 # but understands `-z linker_flag'. GCC discards it without `$wl',
9793 # but is careful enough not to reorder.
9794 # Supported since Solaris 2.6 (maybe 2.5.1?)
9795 if test "$GCC" = yes; then
9796 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9798 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9802 link_all_deplibs=yes
9806 if test "x$host_vendor" = xsequent; then
9807 # Use $CC to link under sequent, because it throws in some extra .o
9808 # files that make .init and .fini sections work.
9809 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_libdir_flag_spec='-L$libdir'
9815 hardcode_minus_L=yes
9816 hardcode_shlibpath_var=no
9820 case $host_vendor in
9822 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9823 hardcode_direct=yes # is this really true???
9826 ## LD is ld it makes a PLAMLIB
9827 ## CC just makes a GrossModule.
9828 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9829 reload_cmds='$CC -r -o $output$reload_objs'
9833 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9834 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9837 runpath_var='LD_RUN_PATH'
9838 hardcode_shlibpath_var=no
9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_shlibpath_var=no
9844 export_dynamic_flag_spec='-Bexport'
9848 if test -d /usr/nec; then
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_shlibpath_var=no
9851 runpath_var=LD_RUN_PATH
9852 hardcode_runpath_var=yes
9857 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9858 no_undefined_flag='${wl}-z,text'
9859 archive_cmds_need_lc=no
9860 hardcode_shlibpath_var=no
9861 runpath_var='LD_RUN_PATH'
9863 if test "$GCC" = yes; then
9864 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9872 sysv5* | sco3.2v5* | sco5v6*)
9873 # Note: We can NOT use -z defs as we might desire, because we do not
9874 # link with -lc, and that would cause any symbols used from libc to
9875 # always be unresolved, which means just about no library would
9876 # ever link correctly. If we're not using GNU ld we use -z text
9877 # though, which does catch some bad symbols but isn't as heavy-handed
9879 no_undefined_flag='${wl}-z,text'
9880 allow_undefined_flag='${wl}-z,nodefs'
9881 archive_cmds_need_lc=no
9882 hardcode_shlibpath_var=no
9883 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9884 hardcode_libdir_separator=':'
9885 link_all_deplibs=yes
9886 export_dynamic_flag_spec='${wl}-Bexport'
9887 runpath_var='LD_RUN_PATH'
9889 if test "$GCC" = yes; then
9890 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900 hardcode_libdir_flag_spec='-L$libdir'
9901 hardcode_shlibpath_var=no
9909 if test x$host_vendor = xsni; then
9911 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9912 export_dynamic_flag_spec='${wl}-Blargedynsym'
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9919 $as_echo "$ld_shlibs" >&6; }
9920 test "$ld_shlibs" = no && can_build_shared=no
9922 with_gnu_ld=$with_gnu_ld
9939 # Do we need to explicitly link libc?
9941 case "x$archive_cmds_need_lc" in
9943 # Assume -lc should be added
9944 archive_cmds_need_lc=yes
9946 if test "$enable_shared" = yes && test "$GCC" = yes; then
9947 case $archive_cmds in
9949 # FIXME: we may have to deal with multi-command sequences.
9952 # Test whether the compiler implicitly links with -lc since on some
9953 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9954 # to ld, don't add -lc before -lgcc.
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9956 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9957 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9958 $as_echo_n "(cached) " >&6
9961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9964 (eval $ac_compile) 2>&5
9966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9967 test $ac_status = 0; } 2>conftest.err; then
9970 libobjs=conftest.$ac_objext
9972 wl=$lt_prog_compiler_wl
9973 pic_flag=$lt_prog_compiler_pic
9979 lt_save_allow_undefined_flag=$allow_undefined_flag
9980 allow_undefined_flag=
9981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9982 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9985 test $ac_status = 0; }
9987 lt_cv_archive_cmds_need_lc=no
9989 lt_cv_archive_cmds_need_lc=yes
9991 allow_undefined_flag=$lt_save_allow_undefined_flag
9993 cat conftest.err 1>&5
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9999 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10000 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10159 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10161 if test "$GCC" = yes; then
10163 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10164 *) lt_awk_arg="/^libraries:/" ;;
10167 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10168 *) lt_sed_strip_eq="s,=/,/,g" ;;
10170 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10171 case $lt_search_path_spec in
10173 # if the path contains ";" then we assume it to be the separator
10174 # otherwise default to the standard path separator (i.e. ":") - it is
10175 # assumed that no part of a normal pathname contains ";" but that should
10176 # okay in the real world where ";" in dirpaths is itself problematic.
10177 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10180 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10183 # Ok, now we have the path, separated by spaces, we can step through it
10184 # and add multilib dir if necessary.
10185 lt_tmp_lt_search_path_spec=
10186 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10187 for lt_sys_path in $lt_search_path_spec; do
10188 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10189 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10191 test -d "$lt_sys_path" && \
10192 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10195 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10196 BEGIN {RS=" "; FS="/|\n";} {
10199 for (lt_i = NF; lt_i > 0; lt_i--) {
10200 if ($lt_i != "" && $lt_i != ".") {
10201 if ($lt_i == "..") {
10204 if (lt_count == 0) {
10205 lt_foo="/" $lt_i lt_foo;
10212 if (lt_foo != "") { lt_freq[lt_foo]++; }
10213 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10215 # AWK program above erroneously prepends '/' to C:/dos/paths
10218 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10219 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10221 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10223 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10225 library_names_spec=
10226 libname_spec='lib$name'
10230 postuninstall_cmds=
10234 shlibpath_overrides_runpath=unknown
10236 dynamic_linker="$host_os ld.so"
10237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10238 need_lib_prefix=unknown
10239 hardcode_into_libs=no
10241 # when you set need_version to no, make sure it does not cause -set_version
10242 # flags to be left without arguments
10243 need_version=unknown
10247 version_type=linux # correct to gnu/linux during the next big refactor
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10249 shlibpath_var=LIBPATH
10251 # AIX 3 has no versioning support, so we append a major version to the name.
10252 soname_spec='${libname}${release}${shared_ext}$major'
10256 version_type=linux # correct to gnu/linux during the next big refactor
10259 hardcode_into_libs=yes
10260 if test "$host_cpu" = ia64; then
10261 # AIX 5 supports IA64
10262 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10263 shlibpath_var=LD_LIBRARY_PATH
10265 # With GCC up to 2.95.x, collect2 would create an import file
10266 # for dependence libraries. The import file would start with
10267 # the line `#! .'. This would cause the generated library to
10268 # depend on `.', always an invalid library. This was fixed in
10269 # development snapshots of GCC prior to 3.0.
10271 aix4 | aix4.[01] | aix4.[01].*)
10272 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10274 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10277 can_build_shared=no
10281 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10282 # soname into executable. Probably we can add versioning support to
10283 # collect2, so additional links can be useful in future.
10284 if test "$aix_use_runtimelinking" = yes; then
10285 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10286 # instead of lib<name>.a to let people know that these are not
10287 # typical AIX shared libraries.
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 # We preserve .a as extension for shared libraries through AIX4.2
10291 # and later when we are not doing run time linking.
10292 library_names_spec='${libname}${release}.a $libname.a'
10293 soname_spec='${libname}${release}${shared_ext}$major'
10295 shlibpath_var=LIBPATH
10302 # Since July 2007 AmigaOS4 officially supports .so libraries.
10303 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 library_names_spec='$libname.ixlibrary $libname.a'
10308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10309 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'
10315 library_names_spec='${libname}${shared_ext}'
10316 dynamic_linker="$host_os ld.so"
10317 shlibpath_var=LIBRARY_PATH
10321 version_type=linux # correct to gnu/linux during the next big refactor
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10324 soname_spec='${libname}${release}${shared_ext}$major'
10325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10326 shlibpath_var=LD_LIBRARY_PATH
10327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10329 # the default ld.so.conf also contains /usr/contrib/lib and
10330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10331 # libtool to hard-code these into programs
10334 cygwin* | mingw* | pw32* | cegcc*)
10335 version_type=windows
10340 case $GCC,$cc_basename in
10343 library_names_spec='$libname.dll.a'
10344 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10345 postinstall_cmds='base_file=`basename \${file}`~
10346 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10347 dldir=$destdir/`dirname \$dlpath`~
10348 test -d \$dldir || mkdir -p \$dldir~
10349 $install_prog $dir/$dlname \$dldir/$dlname~
10350 chmod a+x \$dldir/$dlname~
10351 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10352 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10354 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10355 dlpath=$dir/\$dldll~
10357 shlibpath_overrides_runpath=yes
10361 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10362 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10364 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10367 # MinGW DLLs use traditional 'lib' prefix
10368 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10371 # pw32 DLLs use 'pw' prefix rather than 'lib'
10372 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10375 dynamic_linker='Win32 ld.exe'
10380 libname_spec='$name'
10381 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10382 library_names_spec='${libname}.dll.lib'
10386 sys_lib_search_path_spec=
10389 for lt_path in $LIB
10392 # Let DOS variable expansion print the short 8.3 style file name.
10393 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10394 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10397 # Convert to MSYS style.
10398 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10401 # Convert to unix form, then to dos form, then back to unix form
10402 # but this time dos style (no spaces!) so that the unix form looks
10403 # like /cygdrive/c/PROGRA~1:/cygdr...
10404 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10405 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10406 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10409 sys_lib_search_path_spec="$LIB"
10410 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10411 # It is most probably a Windows format PATH.
10412 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10414 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10416 # FIXME: find the short name or the path components, as spaces are
10417 # common. (e.g. "Program Files" -> "PROGRA~1")
10421 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10422 postinstall_cmds='base_file=`basename \${file}`~
10423 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10424 dldir=$destdir/`dirname \$dlpath`~
10425 test -d \$dldir || mkdir -p \$dldir~
10426 $install_prog $dir/$dlname \$dldir/$dlname'
10427 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10428 dlpath=$dir/\$dldll~
10430 shlibpath_overrides_runpath=yes
10431 dynamic_linker='Win32 link.exe'
10435 # Assume MSVC wrapper
10436 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10437 dynamic_linker='Win32 ld.exe'
10440 # FIXME: first we should search . and the directory the executable is in
10444 darwin* | rhapsody*)
10445 dynamic_linker="$host_os dyld"
10446 version_type=darwin
10449 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10450 soname_spec='${libname}${release}${major}$shared_ext'
10451 shlibpath_overrides_runpath=yes
10452 shlibpath_var=DYLD_LIBRARY_PATH
10453 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10455 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10456 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10460 version_type=linux # correct to gnu/linux during the next big refactor
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10464 soname_spec='${libname}${release}${shared_ext}$major'
10465 shlibpath_var=LD_LIBRARY_PATH
10468 freebsd* | dragonfly*)
10469 # DragonFly does not have aout. When/if they implement a new
10470 # versioning mechanism, adjust this.
10471 if test -x /usr/bin/objformat; then
10472 objformat=`/usr/bin/objformat`
10475 freebsd[23].*) objformat=aout ;;
10476 *) objformat=elf ;;
10479 version_type=freebsd-$objformat
10480 case $version_type in
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10491 shlibpath_var=LD_LIBRARY_PATH
10494 shlibpath_overrides_runpath=yes
10496 freebsd3.[01]* | freebsdelf3.[01]*)
10497 shlibpath_overrides_runpath=yes
10498 hardcode_into_libs=yes
10500 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10501 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10502 shlibpath_overrides_runpath=no
10503 hardcode_into_libs=yes
10505 *) # from 4.6 on, and DragonFly
10506 shlibpath_overrides_runpath=yes
10507 hardcode_into_libs=yes
10513 version_type=linux # correct to gnu/linux during the next big refactor
10516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10517 soname_spec='${libname}${release}${shared_ext}$major'
10518 shlibpath_var=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath=no
10520 hardcode_into_libs=yes
10524 version_type=linux # correct to gnu/linux during the next big refactor
10527 dynamic_linker="$host_os runtime_loader"
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 shlibpath_var=LIBRARY_PATH
10531 shlibpath_overrides_runpath=yes
10532 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10533 hardcode_into_libs=yes
10536 hpux9* | hpux10* | hpux11*)
10537 # Give a soname corresponding to the major version so that dld.sl refuses to
10538 # link against other versions.
10545 hardcode_into_libs=yes
10546 dynamic_linker="$host_os dld.so"
10547 shlibpath_var=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 soname_spec='${libname}${release}${shared_ext}$major'
10551 if test "X$HPUX_IA64_MODE" = X32; then
10552 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10554 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10556 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10560 hardcode_into_libs=yes
10561 dynamic_linker="$host_os dld.sl"
10562 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10563 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10567 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10571 dynamic_linker="$host_os dld.sl"
10572 shlibpath_var=SHLIB_PATH
10573 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 soname_spec='${libname}${release}${shared_ext}$major'
10578 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10579 postinstall_cmds='chmod 555 $lib'
10580 # or fails outright, so override atomically:
10581 install_override_mode=555
10585 version_type=linux # correct to gnu/linux during the next big refactor
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10590 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10591 shlibpath_var=LD_LIBRARY_PATH
10592 shlibpath_overrides_runpath=no
10593 hardcode_into_libs=yes
10596 irix5* | irix6* | nonstopux*)
10598 nonstopux*) version_type=nonstopux ;;
10600 if test "$lt_cv_prog_gnu_ld" = yes; then
10601 version_type=linux # correct to gnu/linux during the next big refactor
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 irix5* | nonstopux*)
10612 libsuff= shlibsuff=
10615 case $LD in # libtool.m4 will add one of these switches to LD
10616 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10617 libsuff= shlibsuff= libmagic=32-bit;;
10618 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10619 libsuff=32 shlibsuff=N32 libmagic=N32;;
10620 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10621 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10622 *) libsuff= shlibsuff= libmagic=never-match;;
10626 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10627 shlibpath_overrides_runpath=no
10628 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10629 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10630 hardcode_into_libs=yes
10633 # No shared lib support for Linux oldld, aout, or coff.
10634 linux*oldld* | linux*aout* | linux*coff*)
10638 # This must be glibc/ELF.
10639 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10640 version_type=linux # correct to gnu/linux during the next big refactor
10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644 soname_spec='${libname}${release}${shared_ext}$major'
10645 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath=no
10649 # Some binutils ld are patched to set DT_RUNPATH
10650 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10651 $as_echo_n "(cached) " >&6
10653 lt_cv_shlibpath_overrides_runpath=no
10654 save_LDFLAGS=$LDFLAGS
10655 save_libdir=$libdir
10656 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10657 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10671 lt_cv_shlibpath_overrides_runpath=yes
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LDFLAGS=$save_LDFLAGS
10677 libdir=$save_libdir
10681 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10683 # This implies no fast_install, which is unacceptable.
10684 # Some rework will be needed to allow for fast_install
10685 # before this can be enabled.
10686 hardcode_into_libs=yes
10688 # Append ld.so.conf contents to the search path
10689 if test -f /etc/ld.so.conf; then
10690 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' ' '`
10691 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10694 # We used to test for /lib/ld.so.1 and disable shared libraries on
10695 # powerpc, because MkLinux only supported shared libraries with the
10696 # GNU dynamic linker. Since this was broken with cross compilers,
10697 # most powerpc-linux boxes support dynamic linking these days and
10698 # people can always --disable-shared, the test was removed, and we
10699 # assume the GNU/Linux dynamic linker is in use.
10700 dynamic_linker='GNU/Linux ld.so'
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10708 soname_spec='${libname}${release}${shared_ext}$major'
10709 shlibpath_var=LD_LIBRARY_PATH
10710 shlibpath_overrides_runpath=no
10711 hardcode_into_libs=yes
10712 dynamic_linker='NetBSD ld.elf_so'
10719 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10721 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10722 dynamic_linker='NetBSD (a.out) ld.so'
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 dynamic_linker='NetBSD ld.elf_so'
10728 shlibpath_var=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath=yes
10730 hardcode_into_libs=yes
10734 version_type=linux # correct to gnu/linux during the next big refactor
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=yes
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=no
10748 hardcode_into_libs=yes
10749 dynamic_linker='ldqnx.so'
10754 sys_lib_dlsearch_path_spec="/usr/lib"
10756 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10758 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10759 *) need_version=no ;;
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10762 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10766 openbsd2.[89] | openbsd2.[89].*)
10767 shlibpath_overrides_runpath=no
10770 shlibpath_overrides_runpath=yes
10774 shlibpath_overrides_runpath=yes
10779 libname_spec='$name'
10782 library_names_spec='$libname${shared_ext} $libname.a'
10783 dynamic_linker='OS/2 ld.exe'
10784 shlibpath_var=LIBPATH
10787 osf3* | osf4* | osf5*)
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793 shlibpath_var=LD_LIBRARY_PATH
10794 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10795 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10803 version_type=linux # correct to gnu/linux during the next big refactor
10806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 soname_spec='${libname}${release}${shared_ext}$major'
10808 shlibpath_var=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath=yes
10810 hardcode_into_libs=yes
10811 # ldd complains unless libraries are executable
10812 postinstall_cmds='chmod +x $lib'
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10818 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10819 shlibpath_var=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath=yes
10821 if test "$with_gnu_ld" = yes; then
10828 version_type=linux # correct to gnu/linux during the next big refactor
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 case $host_vendor in
10834 shlibpath_overrides_runpath=no
10836 runpath_var=LD_RUN_PATH
10844 shlibpath_overrides_runpath=no
10845 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10851 if test -d /usr/nec ;then
10852 version_type=linux # correct to gnu/linux during the next big refactor
10853 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10854 soname_spec='$libname${shared_ext}.$major'
10855 shlibpath_var=LD_LIBRARY_PATH
10859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10860 version_type=freebsd-elf
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 soname_spec='${libname}${release}${shared_ext}$major'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath=yes
10867 hardcode_into_libs=yes
10868 if test "$with_gnu_ld" = yes; then
10869 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10871 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10874 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10878 sys_lib_dlsearch_path_spec='/usr/lib'
10882 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10883 version_type=linux # correct to gnu/linux during the next big refactor
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=no
10889 hardcode_into_libs=yes
10893 version_type=linux # correct to gnu/linux during the next big refactor
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 shlibpath_var=LD_LIBRARY_PATH
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10904 $as_echo "$dynamic_linker" >&6; }
10905 test "$dynamic_linker" = no && can_build_shared=no
10907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10908 if test "$GCC" = yes; then
10909 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10913 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10916 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11011 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11013 if test -n "$hardcode_libdir_flag_spec" ||
11014 test -n "$runpath_var" ||
11015 test "X$hardcode_automatic" = "Xyes" ; then
11017 # We can hardcode non-existent directories.
11018 if test "$hardcode_direct" != no &&
11019 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11020 # have to relink, otherwise we might link with an installed library
11021 # when we should be linking with a yet-to-be-installed one
11022 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11023 test "$hardcode_minus_L" != no; then
11024 # Linking always hardcodes the temporary library directory.
11025 hardcode_action=relink
11027 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11028 hardcode_action=immediate
11031 # We cannot hardcode anything, or else we can only hardcode existing
11033 hardcode_action=unsupported
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11036 $as_echo "$hardcode_action" >&6; }
11038 if test "$hardcode_action" = relink ||
11039 test "$inherit_rpath" = yes; then
11040 # Fast installation is not supported
11041 enable_fast_install=no
11042 elif test "$shlibpath_overrides_runpath" = yes ||
11043 test "$enable_shared" = no; then
11044 # Fast installation is not necessary
11045 enable_fast_install=needless
11053 if test "x$enable_dlopen" != xyes; then
11054 enable_dlopen=unknown
11055 enable_dlopen_self=unknown
11056 enable_dlopen_self_static=unknown
11063 lt_cv_dlopen="load_add_on"
11065 lt_cv_dlopen_self=yes
11068 mingw* | pw32* | cegcc*)
11069 lt_cv_dlopen="LoadLibrary"
11074 lt_cv_dlopen="dlopen"
11079 # if libdl is installed we need to link against it
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11081 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11082 if ${ac_cv_lib_dl_dlopen+:} false; then :
11083 $as_echo_n "(cached) " >&6
11085 ac_check_lib_save_LIBS=$LIBS
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11105 if ac_fn_c_try_link "$LINENO"; then :
11106 ac_cv_lib_dl_dlopen=yes
11108 ac_cv_lib_dl_dlopen=no
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_lib_save_LIBS
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11116 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11117 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11120 lt_cv_dlopen="dyld"
11122 lt_cv_dlopen_self=yes
11129 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11130 if test "x$ac_cv_func_shl_load" = xyes; then :
11131 lt_cv_dlopen="shl_load"
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11134 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11135 if ${ac_cv_lib_dld_shl_load+:} false; then :
11136 $as_echo_n "(cached) " >&6
11138 ac_check_lib_save_LIBS=$LIBS
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11153 return shl_load ();
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_dld_shl_load=yes
11161 ac_cv_lib_dld_shl_load=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11168 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11169 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11170 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11172 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11173 if test "x$ac_cv_func_dlopen" = xyes; then :
11174 lt_cv_dlopen="dlopen"
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11178 if ${ac_cv_lib_dl_dlopen+:} false; then :
11179 $as_echo_n "(cached) " >&6
11181 ac_check_lib_save_LIBS=$LIBS
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_dl_dlopen=yes
11204 ac_cv_lib_dl_dlopen=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11211 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11212 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11213 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11216 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11217 if ${ac_cv_lib_svld_dlopen+:} false; then :
11218 $as_echo_n "(cached) " >&6
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lsvld $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_svld_dlopen=yes
11243 ac_cv_lib_svld_dlopen=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11250 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11251 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11252 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11255 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11256 if ${ac_cv_lib_dld_dld_link+:} false; then :
11257 $as_echo_n "(cached) " >&6
11259 ac_check_lib_save_LIBS=$LIBS
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11274 return dld_link ();
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 ac_cv_lib_dld_dld_link=yes
11282 ac_cv_lib_dld_dld_link=no
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11289 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11290 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11291 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11312 if test "x$lt_cv_dlopen" != xno; then
11318 case $lt_cv_dlopen in
11320 save_CPPFLAGS="$CPPFLAGS"
11321 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11323 save_LDFLAGS="$LDFLAGS"
11324 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11327 LIBS="$lt_cv_dlopen_libs $LIBS"
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11330 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11331 if ${lt_cv_dlopen_self+:} false; then :
11332 $as_echo_n "(cached) " >&6
11334 if test "$cross_compiling" = yes; then :
11335 lt_cv_dlopen_self=cross
11337 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11338 lt_status=$lt_dlunknown
11339 cat > conftest.$ac_ext <<_LT_EOF
11340 #line $LINENO "configure"
11341 #include "confdefs.h"
11350 # define LT_DLGLOBAL RTLD_GLOBAL
11353 # define LT_DLGLOBAL DL_GLOBAL
11355 # define LT_DLGLOBAL 0
11359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11360 find out it does not work in some platform. */
11361 #ifndef LT_DLLAZY_OR_NOW
11363 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11366 # define LT_DLLAZY_OR_NOW DL_LAZY
11369 # define LT_DLLAZY_OR_NOW RTLD_NOW
11372 # define LT_DLLAZY_OR_NOW DL_NOW
11374 # define LT_DLLAZY_OR_NOW 0
11381 /* When -fvisbility=hidden is used, assume the code has been annotated
11382 correspondingly for the symbols needed. */
11383 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11384 int fnord () __attribute__((visibility("default")));
11387 int fnord () { return 42; }
11390 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11391 int status = $lt_dlunknown;
11395 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11398 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11399 else puts (dlerror ());
11401 /* dlclose (self); */
11409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11410 (eval $ac_link) 2>&5
11412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11413 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11414 (./conftest; exit; ) >&5 2>/dev/null
11416 case x$lt_status in
11417 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11418 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11419 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11422 # compilation failed
11423 lt_cv_dlopen_self=no
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11431 $as_echo "$lt_cv_dlopen_self" >&6; }
11433 if test "x$lt_cv_dlopen_self" = xyes; then
11434 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11436 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11437 if ${lt_cv_dlopen_self_static+:} false; then :
11438 $as_echo_n "(cached) " >&6
11440 if test "$cross_compiling" = yes; then :
11441 lt_cv_dlopen_self_static=cross
11443 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11444 lt_status=$lt_dlunknown
11445 cat > conftest.$ac_ext <<_LT_EOF
11446 #line $LINENO "configure"
11447 #include "confdefs.h"
11456 # define LT_DLGLOBAL RTLD_GLOBAL
11459 # define LT_DLGLOBAL DL_GLOBAL
11461 # define LT_DLGLOBAL 0
11465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11466 find out it does not work in some platform. */
11467 #ifndef LT_DLLAZY_OR_NOW
11469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11472 # define LT_DLLAZY_OR_NOW DL_LAZY
11475 # define LT_DLLAZY_OR_NOW RTLD_NOW
11478 # define LT_DLLAZY_OR_NOW DL_NOW
11480 # define LT_DLLAZY_OR_NOW 0
11487 /* When -fvisbility=hidden is used, assume the code has been annotated
11488 correspondingly for the symbols needed. */
11489 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11490 int fnord () __attribute__((visibility("default")));
11493 int fnord () { return 42; }
11496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11497 int status = $lt_dlunknown;
11501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11504 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11505 else puts (dlerror ());
11507 /* dlclose (self); */
11515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11516 (eval $ac_link) 2>&5
11518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11519 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11520 (./conftest; exit; ) >&5 2>/dev/null
11522 case x$lt_status in
11523 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11524 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11525 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11528 # compilation failed
11529 lt_cv_dlopen_self_static=no
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11537 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11540 CPPFLAGS="$save_CPPFLAGS"
11541 LDFLAGS="$save_LDFLAGS"
11546 case $lt_cv_dlopen_self in
11547 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11548 *) enable_dlopen_self=unknown ;;
11551 case $lt_cv_dlopen_self_static in
11552 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11553 *) enable_dlopen_self_static=unknown ;;
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11576 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11577 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11578 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11579 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11581 $as_echo "yes" >&6; }
11583 # FIXME - insert some real tests, host_os isn't really good enough
11586 if test -n "$STRIP" ; then
11587 striplib="$STRIP -x"
11588 old_striplib="$STRIP -S"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11590 $as_echo "yes" >&6; }
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11593 $as_echo "no" >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598 $as_echo "no" >&6; }
11614 # Report which library types will actually be built
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11616 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11618 $as_echo "$can_build_shared" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11621 $as_echo_n "checking whether to build shared libraries... " >&6; }
11622 test "$can_build_shared" = "no" && enable_shared=no
11624 # On AIX, shared libraries and static libraries use the same namespace, and
11625 # are all built from PIC.
11628 test "$enable_shared" = yes && enable_static=no
11629 if test -n "$RANLIB"; then
11630 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11631 postinstall_cmds='$RANLIB $lib'
11636 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11637 test "$enable_shared" = yes && enable_static=no
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11642 $as_echo "$enable_shared" >&6; }
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11645 $as_echo_n "checking whether to build static libraries... " >&6; }
11646 # Make sure either enable_shared or enable_static is yes.
11647 test "$enable_shared" = yes || enable_static=yes
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11649 $as_echo "$enable_static" >&6; }
11656 ac_cpp='$CPP $CPPFLAGS'
11657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677 ac_config_commands="$ac_config_commands libtool"
11682 # Only expand once:
11686 # Checks for libraries.
11694 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11695 if test -n "$ac_tool_prefix"; then
11696 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11697 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699 $as_echo_n "checking for $ac_word... " >&6; }
11700 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11701 $as_echo_n "(cached) " >&6
11703 case $PKG_CONFIG in
11705 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11709 for as_dir in $PATH
11712 test -z "$as_dir" && as_dir=.
11713 for ac_exec_ext in '' $ac_executable_extensions; do
11714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11715 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11726 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11727 if test -n "$PKG_CONFIG"; then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11729 $as_echo "$PKG_CONFIG" >&6; }
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11732 $as_echo "no" >&6; }
11737 if test -z "$ac_cv_path_PKG_CONFIG"; then
11738 ac_pt_PKG_CONFIG=$PKG_CONFIG
11739 # Extract the first word of "pkg-config", so it can be a program name with args.
11740 set dummy pkg-config; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11744 $as_echo_n "(cached) " >&6
11746 case $ac_pt_PKG_CONFIG in
11748 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11755 test -z "$as_dir" && as_dir=.
11756 for ac_exec_ext in '' $ac_executable_extensions; do
11757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11769 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11770 if test -n "$ac_pt_PKG_CONFIG"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11772 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11778 if test "x$ac_pt_PKG_CONFIG" = x; then
11781 case $cross_compiling:$ac_tool_warned in
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11785 ac_tool_warned=yes ;;
11787 PKG_CONFIG=$ac_pt_PKG_CONFIG
11790 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11794 if test -n "$PKG_CONFIG"; then
11795 _pkg_min_version=0.9.0
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11797 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11800 $as_echo "yes" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11810 $as_echo_n "checking for GSIGNOND... " >&6; }
11812 if test -n "$GSIGNOND_CFLAGS"; then
11813 pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11814 elif test -n "$PKG_CONFIG"; then
11815 if test -n "$PKG_CONFIG" && \
11816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11821 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11828 test $ac_status = 0; }; then
11829 pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11833 sqlite3" 2>/dev/null`
11834 test "x$?" != "x0" && pkg_failed=yes
11841 if test -n "$GSIGNOND_LIBS"; then
11842 pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11843 elif test -n "$PKG_CONFIG"; then
11844 if test -n "$PKG_CONFIG" && \
11845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11850 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11857 test $ac_status = 0; }; then
11858 pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11862 sqlite3" 2>/dev/null`
11863 test "x$?" != "x0" && pkg_failed=yes
11873 if test $pkg_failed = yes; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11878 _pkg_short_errors_supported=yes
11880 _pkg_short_errors_supported=no
11882 if test $_pkg_short_errors_supported = yes; then
11883 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11889 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11895 # Put the nasty error message in config.log where it belongs
11896 echo "$GSIGNOND_PKG_ERRORS" >&5
11898 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11902 sqlite3) were not met:
11904 $GSIGNOND_PKG_ERRORS
11906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11907 installed software in a non-standard prefix.
11909 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11910 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11911 See the pkg-config man page for more details." "$LINENO" 5
11912 elif test $pkg_failed = untried; then
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11914 $as_echo "no" >&6; }
11915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11917 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11918 is in your PATH or set the PKG_CONFIG environment variable to the full
11919 path to pkg-config.
11921 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11922 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11923 See the pkg-config man page for more details.
11925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11926 See \`config.log' for more details" "$LINENO" 5; }
11928 GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11929 GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11931 $as_echo "yes" >&6; }
11938 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11942 $as_echo_n "checking for CHECK... " >&6; }
11944 if test -n "$CHECK_CFLAGS"; then
11945 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11946 elif test -n "$PKG_CONFIG"; then
11947 if test -n "$PKG_CONFIG" && \
11948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11949 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11952 test $ac_status = 0; }; then
11953 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11954 test "x$?" != "x0" && pkg_failed=yes
11961 if test -n "$CHECK_LIBS"; then
11962 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11963 elif test -n "$PKG_CONFIG"; then
11964 if test -n "$PKG_CONFIG" && \
11965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11966 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11969 test $ac_status = 0; }; then
11970 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11971 test "x$?" != "x0" && pkg_failed=yes
11981 if test $pkg_failed = yes; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11986 _pkg_short_errors_supported=yes
11988 _pkg_short_errors_supported=no
11990 if test $_pkg_short_errors_supported = yes; then
11991 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
11993 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
11995 # Put the nasty error message in config.log where it belongs
11996 echo "$CHECK_PKG_ERRORS" >&5
11999 elif test $pkg_failed = untried; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12004 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12005 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12007 $as_echo "yes" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12016 $as_echo_n "checking for LIBSMACK... " >&6; }
12018 if test -n "$LIBSMACK_CFLAGS"; then
12019 pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12020 elif test -n "$PKG_CONFIG"; then
12021 if test -n "$PKG_CONFIG" && \
12022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12023 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026 test $ac_status = 0; }; then
12027 pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12028 test "x$?" != "x0" && pkg_failed=yes
12035 if test -n "$LIBSMACK_LIBS"; then
12036 pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12037 elif test -n "$PKG_CONFIG"; then
12038 if test -n "$PKG_CONFIG" && \
12039 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12040 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12043 test $ac_status = 0; }; then
12044 pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12045 test "x$?" != "x0" && pkg_failed=yes
12055 if test $pkg_failed = yes; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12060 _pkg_short_errors_supported=yes
12062 _pkg_short_errors_supported=no
12064 if test $_pkg_short_errors_supported = yes; then
12065 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12067 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12069 # Put the nasty error message in config.log where it belongs
12070 echo "$LIBSMACK_PKG_ERRORS" >&5
12073 elif test $pkg_failed = untried; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12078 LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12079 LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12081 $as_echo "yes" >&6; }
12084 if test x$libsmack = xyes; then
12085 HAVE_LIBSMACK_TRUE=
12086 HAVE_LIBSMACK_FALSE='#'
12088 HAVE_LIBSMACK_TRUE='#'
12089 HAVE_LIBSMACK_FALSE=
12092 if test "x$libsmack" = xyes; then
12094 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12101 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12103 if test -n "$LIBECRYPTFS_CFLAGS"; then
12104 pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12105 elif test -n "$PKG_CONFIG"; then
12106 if test -n "$PKG_CONFIG" && \
12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12108 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111 test $ac_status = 0; }; then
12112 pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12113 test "x$?" != "x0" && pkg_failed=yes
12120 if test -n "$LIBECRYPTFS_LIBS"; then
12121 pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12122 elif test -n "$PKG_CONFIG"; then
12123 if test -n "$PKG_CONFIG" && \
12124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12125 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128 test $ac_status = 0; }; then
12129 pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12130 test "x$?" != "x0" && pkg_failed=yes
12140 if test $pkg_failed = yes; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12145 _pkg_short_errors_supported=yes
12147 _pkg_short_errors_supported=no
12149 if test $_pkg_short_errors_supported = yes; then
12150 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12152 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12154 # Put the nasty error message in config.log where it belongs
12155 echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12158 elif test $pkg_failed = untried; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12163 LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12164 LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12166 $as_echo "yes" >&6; }
12169 if test x$libecryptfs = xyes; then
12170 HAVE_LIBECRYPTFS_TRUE=
12171 HAVE_LIBECRYPTFS_FALSE='#'
12173 HAVE_LIBECRYPTFS_TRUE='#'
12174 HAVE_LIBECRYPTFS_FALSE=
12177 if test "x$libecryptfs" = xes; then
12179 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12183 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12184 set dummy glib-mkenums; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12186 $as_echo_n "checking for $ac_word... " >&6; }
12187 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12188 $as_echo_n "(cached) " >&6
12190 case $GLIB_MKENUMS in
12192 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12199 test -z "$as_dir" && as_dir=.
12200 for ac_exec_ext in '' $ac_executable_extensions; do
12201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12202 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12213 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12214 if test -n "$GLIB_MKENUMS"; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12216 $as_echo "$GLIB_MKENUMS" >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12219 $as_echo "no" >&6; }
12224 # allow fake installations for "distcheck"
12225 # Check whether --enable-distcheck was given.
12226 if test "${enable_distcheck+set}" = set; then :
12227 enableval=$enable_distcheck; enable_distcheck=yes
12229 enable_distcheck=no
12232 echo -n "running distcheck... "
12233 echo $enable_distcheck
12235 # Check whether --enable-dbus-type was given.
12236 if test "${enable_dbus_type+set}" = set; then :
12237 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12239 enable_dbus_type=p2p
12242 echo "----------------------"
12243 echo " DBUS TYPE : '$enable_dbus_type'"
12244 echo "----------------------"
12245 if test "x$enable_dbus_type" = "xp2p" ; then
12247 $as_echo "#define USE_P2P 1" >>confdefs.h
12249 elif test "x$enable_dbus_type" = "xsession" ; then
12251 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12253 if test "x$enable_distcheck" = "xyes" ; then
12254 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12256 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12262 $as_echo_n "checking for GTestDBus... " >&6; }
12264 if test -n "$GTestDBus_CFLAGS"; then
12265 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12266 elif test -n "$PKG_CONFIG"; then
12267 if test -n "$PKG_CONFIG" && \
12268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12269 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272 test $ac_status = 0; }; then
12273 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12274 test "x$?" != "x0" && pkg_failed=yes
12281 if test -n "$GTestDBus_LIBS"; then
12282 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12283 elif test -n "$PKG_CONFIG"; then
12284 if test -n "$PKG_CONFIG" && \
12285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12286 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289 test $ac_status = 0; }; then
12290 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12291 test "x$?" != "x0" && pkg_failed=yes
12301 if test $pkg_failed = yes; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12306 _pkg_short_errors_supported=yes
12308 _pkg_short_errors_supported=no
12310 if test $_pkg_short_errors_supported = yes; then
12311 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12313 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12315 # Put the nasty error message in config.log where it belongs
12316 echo "$GTestDBus_PKG_ERRORS" >&5
12319 elif test $pkg_failed = untried; then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12324 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12325 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12327 $as_echo "yes" >&6; }
12330 if test "x$gtestdbus" = xyes; then
12332 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12335 elif test "x$enable_dbus_type" = "xsystem" ; then
12337 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12339 if test "x$enable_distcheck" = "xyes" ; then
12340 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12342 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12345 if test "x$enable_dbus_type" != "xp2p" ; then
12346 if test "x$enable_distcheck" = "xyes" ; then
12347 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12349 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12353 # Check whether --enable-debug was given.
12354 if test "${enable_debug+set}" = set; then :
12355 enableval=$enable_debug; enable_debug=yes
12360 echo -n "enable debug features... "
12362 if test "x$enable_debug" = "xyes" ; then
12364 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12366 # Check whether --enable-sql-log was given.
12367 if test "${enable_sql_log+set}" = set; then :
12368 enableval=$enable_sql_log; enable_sql_log=yes
12373 echo -n "enable sql log feature... "
12374 echo $enable_sql_log
12375 if test "x$enable_sql_log" = "xyes" ; then
12377 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12382 if test x$gtestdbus = xyes; then
12383 USE_GTESTDBUS_TRUE=
12384 USE_GTESTDBUS_FALSE='#'
12386 USE_GTESTDBUS_TRUE='#'
12387 USE_GTESTDBUS_FALSE=
12390 MESSAGE_BUS_TYPE=$enable_dbus_type
12400 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12401 set dummy gtkdoc-check; ac_word=$2
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12403 $as_echo_n "checking for $ac_word... " >&6; }
12404 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12405 $as_echo_n "(cached) " >&6
12407 case $GTKDOC_CHECK in
12409 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413 for as_dir in $PATH
12416 test -z "$as_dir" && as_dir=.
12417 for ac_exec_ext in '' $ac_executable_extensions; do
12418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12430 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12431 if test -n "$GTKDOC_CHECK"; then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12433 $as_echo "$GTKDOC_CHECK" >&6; }
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12436 $as_echo "no" >&6; }
12440 for ac_prog in gtkdoc-rebase
12442 # Extract the first word of "$ac_prog", so it can be a program name with args.
12443 set dummy $ac_prog; ac_word=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445 $as_echo_n "checking for $ac_word... " >&6; }
12446 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12447 $as_echo_n "(cached) " >&6
12449 case $GTKDOC_REBASE in
12451 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12458 test -z "$as_dir" && as_dir=.
12459 for ac_exec_ext in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12472 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12473 if test -n "$GTKDOC_REBASE"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12475 $as_echo "$GTKDOC_REBASE" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12482 test -n "$GTKDOC_REBASE" && break
12484 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12486 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12487 set dummy gtkdoc-mkpdf; ac_word=$2
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12489 $as_echo_n "checking for $ac_word... " >&6; }
12490 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12491 $as_echo_n "(cached) " >&6
12493 case $GTKDOC_MKPDF in
12495 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12516 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12517 if test -n "$GTKDOC_MKPDF"; then
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12519 $as_echo "$GTKDOC_MKPDF" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 $as_echo "no" >&6; }
12528 # Check whether --with-html-dir was given.
12529 if test "${with_html_dir+set}" = set; then :
12530 withval=$with_html_dir;
12532 with_html_dir='${datadir}/gtk-doc/html'
12535 HTML_DIR="$with_html_dir"
12538 # Check whether --enable-gtk-doc was given.
12539 if test "${enable_gtk_doc+set}" = set; then :
12540 enableval=$enable_gtk_doc;
12546 if test x$enable_gtk_doc = xyes; then
12547 if test -n "$PKG_CONFIG" && \
12548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
12549 ($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
12551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12552 test $ac_status = 0; }; then
12555 as_fn_error $? "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
12557 if test "x$PACKAGE_NAME" != "xglib"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12561 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12563 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12564 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12565 elif test -n "$PKG_CONFIG"; then
12566 if test -n "$PKG_CONFIG" && \
12567 { { $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
12568 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12571 test $ac_status = 0; }; then
12572 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12573 test "x$?" != "x0" && pkg_failed=yes
12580 if test -n "$GTKDOC_DEPS_LIBS"; then
12581 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12582 elif test -n "$PKG_CONFIG"; then
12583 if test -n "$PKG_CONFIG" && \
12584 { { $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
12585 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12588 test $ac_status = 0; }; then
12589 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12590 test "x$?" != "x0" && pkg_failed=yes
12600 if test $pkg_failed = yes; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 $as_echo "no" >&6; }
12604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12605 _pkg_short_errors_supported=yes
12607 _pkg_short_errors_supported=no
12609 if test $_pkg_short_errors_supported = yes; then
12610 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`
12612 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12614 # Put the nasty error message in config.log where it belongs
12615 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12617 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12619 $GTKDOC_DEPS_PKG_ERRORS
12621 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12622 installed software in a non-standard prefix.
12624 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12625 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12626 See the pkg-config man page for more details." "$LINENO" 5
12627 elif test $pkg_failed = untried; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12632 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12633 is in your PATH or set the PKG_CONFIG environment variable to the full
12634 path to pkg-config.
12636 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12637 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12638 See the pkg-config man page for more details.
12640 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12641 See \`config.log' for more details" "$LINENO" 5; }
12643 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12644 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12646 $as_echo "yes" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12653 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12655 $as_echo "$enable_gtk_doc" >&6; }
12657 # Check whether --enable-gtk-doc-html was given.
12658 if test "${enable_gtk_doc_html+set}" = set; then :
12659 enableval=$enable_gtk_doc_html;
12661 enable_gtk_doc_html=yes
12664 # Check whether --enable-gtk-doc-pdf was given.
12665 if test "${enable_gtk_doc_pdf+set}" = set; then :
12666 enableval=$enable_gtk_doc_pdf;
12668 enable_gtk_doc_pdf=no
12672 if test -z "$GTKDOC_MKPDF"; then
12673 enable_gtk_doc_pdf=no
12677 if test x$enable_gtk_doc = xyes; then
12678 ENABLE_GTK_DOC_TRUE=
12679 ENABLE_GTK_DOC_FALSE='#'
12681 ENABLE_GTK_DOC_TRUE='#'
12682 ENABLE_GTK_DOC_FALSE=
12685 if test x$enable_gtk_doc_html = xyes; then
12686 GTK_DOC_BUILD_HTML_TRUE=
12687 GTK_DOC_BUILD_HTML_FALSE='#'
12689 GTK_DOC_BUILD_HTML_TRUE='#'
12690 GTK_DOC_BUILD_HTML_FALSE=
12693 if test x$enable_gtk_doc_pdf = xyes; then
12694 GTK_DOC_BUILD_PDF_TRUE=
12695 GTK_DOC_BUILD_PDF_FALSE='#'
12697 GTK_DOC_BUILD_PDF_TRUE='#'
12698 GTK_DOC_BUILD_PDF_FALSE=
12701 if test -n "$LIBTOOL"; then
12702 GTK_DOC_USE_LIBTOOL_TRUE=
12703 GTK_DOC_USE_LIBTOOL_FALSE='#'
12705 GTK_DOC_USE_LIBTOOL_TRUE='#'
12706 GTK_DOC_USE_LIBTOOL_FALSE=
12709 if test -n "$GTKDOC_REBASE"; then
12710 GTK_DOC_USE_REBASE_TRUE=
12711 GTK_DOC_USE_REBASE_FALSE='#'
12713 GTK_DOC_USE_REBASE_TRUE='#'
12714 GTK_DOC_USE_REBASE_FALSE=
12719 # Checks for header files.
12720 for ac_header in string.h
12722 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12723 if test "x$ac_cv_header_string_h" = xyes; then :
12724 cat >>confdefs.h <<_ACEOF
12725 #define HAVE_STRING_H 1
12733 # Enable feature sets
12734 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12736 # Checks for typedefs, structures, and compiler characteristics.
12737 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -Werror -DG_LOG_DOMAIN=\\\"gsignond\\\""
12738 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12740 # Checks for library functions.
12742 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc src/Makefile src/common/Makefile src/common/db/Makefile src/daemon/Makefile src/daemon/db/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service src/daemon/plugins/Makefile src/daemon/plugins/plugind/Makefile src/extensions/Makefile src/extensions/test/Makefile src/extensions/tizen/Makefile src/plugins/Makefile src/plugins/password/Makefile src/plugins/ssotest/Makefile src/plugins/digest/Makefile test/Makefile test/common/Makefile test/db/Makefile test/daemon/Makefile test/daemon/gsignond-dbus.conf test/plugins/Makefile"
12744 cat >confcache <<\_ACEOF
12745 # This file is a shell script that caches the results of configure
12746 # tests run on this system so they can be shared between configure
12747 # scripts and configure runs, see configure's option --config-cache.
12748 # It is not useful on other systems. If it contains results you don't
12749 # want to keep, you may remove or edit it.
12751 # config.status only pays attention to the cache file if you give it
12752 # the --recheck option to rerun configure.
12754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12756 # following values.
12760 # The following way of writing the cache mishandles newlines in values,
12761 # but we know of no workaround that is simple, portable, and efficient.
12762 # So, we kill variables containing newlines.
12763 # Ultrix sh set writes to stderr and can't be redirected directly,
12764 # and sets the high bit in the cache file unless we assign to the vars.
12766 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12767 eval ac_val=\$$ac_var
12771 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12772 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12775 _ | IFS | as_nl) ;; #(
12776 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12777 *) { eval $ac_var=; unset $ac_var;} ;;
12783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12784 *${as_nl}ac_space=\ *)
12785 # `set' does not quote correctly, so add quotes: double-quote
12786 # substitution turns \\\\ into \\, and sed turns \\ into \.
12789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12792 # `set' quotes correctly as required by POSIX, so do not add quotes.
12793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12807 if test -w "$cache_file"; then
12808 if test "x$cache_file" != "x/dev/null"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12810 $as_echo "$as_me: updating cache $cache_file" >&6;}
12811 if test ! -f "$cache_file" || test -h "$cache_file"; then
12812 cat confcache >"$cache_file"
12814 case $cache_file in #(
12816 mv -f confcache "$cache_file"$$ &&
12817 mv -f "$cache_file"$$ "$cache_file" ;; #(
12819 mv -f confcache "$cache_file" ;;
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12825 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12830 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12831 # Let make expand exec_prefix.
12832 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12834 DEFS=-DHAVE_CONFIG_H
12839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12840 # 1. Remove the extension, and $U if already installed.
12841 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12842 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12843 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12844 # will be set to the directory where LIBOBJS objects are built.
12845 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12846 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12848 LIBOBJS=$ac_libobjs
12850 LTLIBOBJS=$ac_ltlibobjs
12853 if test -n "$EXEEXT"; then
12855 am__EXEEXT_FALSE='#'
12857 am__EXEEXT_TRUE='#'
12861 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12862 as_fn_error $? "conditional \"AMDEP\" was never defined.
12863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12866 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12869 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
12870 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
12871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12873 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
12874 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
12875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12877 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
12878 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
12879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12881 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12882 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12885 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12886 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12889 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12890 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12893 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12894 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12897 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12898 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12902 : "${CONFIG_STATUS=./config.status}"
12904 ac_clean_files_save=$ac_clean_files
12905 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12907 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12909 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12911 # Generated by $as_me.
12912 # Run this file to recreate the current configuration.
12913 # Compiler output produced by configure, useful for debugging
12914 # configure, is in config.log if it exists.
12917 ac_cs_recheck=false
12920 SHELL=\${CONFIG_SHELL-$SHELL}
12923 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12924 ## -------------------- ##
12925 ## M4sh Initialization. ##
12926 ## -------------------- ##
12928 # Be more Bourne compatible
12929 DUALCASE=1; export DUALCASE # for MKS sh
12930 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12933 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12934 # is contrary to our usage. Disable this feature.
12935 alias -g '${1+"$@"}'='"$@"'
12936 setopt NO_GLOB_SUBST
12938 case `(set -o) 2>/dev/null` in #(
12950 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12951 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12953 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12954 # Prefer a ksh shell builtin over an external printf program on Solaris,
12955 # but without wasting forks for bash or zsh.
12956 if test -z "$BASH_VERSION$ZSH_VERSION" \
12957 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12958 as_echo='print -r --'
12959 as_echo_n='print -rn --'
12960 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12961 as_echo='printf %s\n'
12962 as_echo_n='printf %s'
12964 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12965 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12966 as_echo_n='/usr/ucb/echo -n'
12968 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12969 as_echo_n_body='eval
12973 expr "X$arg" : "X\\(.*\\)$as_nl";
12974 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12976 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12978 export as_echo_n_body
12979 as_echo_n='sh -c $as_echo_n_body as_echo'
12981 export as_echo_body
12982 as_echo='sh -c $as_echo_body as_echo'
12985 # The user is always right.
12986 if test "${PATH_SEPARATOR+set}" != set; then
12988 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12989 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12996 # We need space, tab and new line, in precisely that order. Quoting is
12997 # there to prevent editors from complaining about space-tab.
12998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12999 # splitting by setting IFS to empty value.)
13002 # Find who we are. Look in the path if we contain no directory separator.
13005 *[\\/]* ) as_myself=$0 ;;
13006 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13007 for as_dir in $PATH
13010 test -z "$as_dir" && as_dir=.
13011 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13017 # We did not find ourselves, most probably we were run as `sh COMMAND'
13018 # in which case we are not to be found in the path.
13019 if test "x$as_myself" = x; then
13022 if test ! -f "$as_myself"; then
13023 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13027 # Unset variables that we do not need and which cause bugs (e.g. in
13028 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13029 # suppresses any "Segmentation fault" message there. '((' could
13030 # trigger a bug in pdksh 5.2.14.
13031 for as_var in BASH_ENV ENV MAIL MAILPATH
13032 do eval test x\${$as_var+set} = xset \
13033 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13046 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13049 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13050 # ----------------------------------------
13051 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13052 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13053 # script with STATUS, using 1 if that was 0.
13056 as_status=$1; test $as_status -eq 0 && as_status=1
13058 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13059 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13061 $as_echo "$as_me: error: $2" >&2
13062 as_fn_exit $as_status
13066 # as_fn_set_status STATUS
13067 # -----------------------
13068 # Set $? to STATUS, without forking.
13069 as_fn_set_status ()
13072 } # as_fn_set_status
13074 # as_fn_exit STATUS
13075 # -----------------
13076 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13080 as_fn_set_status $1
13086 # Portably unset VAR.
13089 { eval $1=; unset $1;}
13091 as_unset=as_fn_unset
13092 # as_fn_append VAR VALUE
13093 # ----------------------
13094 # Append the text in VALUE to the end of the definition contained in VAR. Take
13095 # advantage of any shell optimizations that allow amortized linear growth over
13096 # repeated appends, instead of the typical quadratic growth present in naive
13098 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13099 eval 'as_fn_append ()
13110 # as_fn_arith ARG...
13111 # ------------------
13112 # Perform arithmetic evaluation on the ARGs, and store the result in the
13113 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13114 # must be portable across $(()) and expr.
13115 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13116 eval 'as_fn_arith ()
13123 as_val=`expr "$@" || test $? -eq 1`
13128 if expr a : '\(a\)' >/dev/null 2>&1 &&
13129 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13135 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13136 as_basename=basename
13141 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13147 as_me=`$as_basename -- "$0" ||
13148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13149 X"$0" : 'X\(//\)$' \| \
13150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13152 sed '/^.*\/\([^/][^/]*\)\/*$/{
13166 # Avoid depending upon Character Ranges.
13167 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13168 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13169 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13170 as_cr_digits='0123456789'
13171 as_cr_alnum=$as_cr_Letters$as_cr_digits
13173 ECHO_C= ECHO_N= ECHO_T=
13174 case `echo -n x` in #(((((
13176 case `echo 'xy\c'` in
13177 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13179 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13186 rm -f conf$$ conf$$.exe conf$$.file
13187 if test -d conf$$.dir; then
13188 rm -f conf$$.dir/conf$$.file
13191 mkdir conf$$.dir 2>/dev/null
13193 if (echo >conf$$.file) 2>/dev/null; then
13194 if ln -s conf$$.file conf$$ 2>/dev/null; then
13196 # ... but there are two gotchas:
13197 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13198 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13199 # In both cases, we have to default to `cp -p'.
13200 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13202 elif ln conf$$.file conf$$ 2>/dev/null; then
13210 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13211 rmdir conf$$.dir 2>/dev/null
13216 # Create "$as_dir" as a directory, including parents if necessary.
13221 -*) as_dir=./$as_dir;;
13223 test -d "$as_dir" || eval $as_mkdir_p || {
13227 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13228 *) as_qdir=$as_dir;;
13230 as_dirs="'$as_qdir' $as_dirs"
13231 as_dir=`$as_dirname -- "$as_dir" ||
13232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13233 X"$as_dir" : 'X\(//\)[^/]' \| \
13234 X"$as_dir" : 'X\(//\)$' \| \
13235 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13236 $as_echo X"$as_dir" |
13237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13241 /^X\(\/\/\)[^/].*/{
13254 test -d "$as_dir" && break
13256 test -z "$as_dirs" || eval "mkdir $as_dirs"
13257 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13261 if mkdir -p . 2>/dev/null; then
13262 as_mkdir_p='mkdir -p "$as_dir"'
13264 test -d ./-p && rmdir ./-p
13268 if test -x / >/dev/null 2>&1; then
13269 as_test_x='test -x'
13271 if ls -dL / >/dev/null 2>&1; then
13278 if test -d "$1"; then
13284 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13285 ???[sx]*):;;*)false;;esac;fi
13289 as_executable_p=$as_test_x
13291 # Sed expression to map a string onto a valid CPP name.
13292 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13294 # Sed expression to map a string onto a valid variable name.
13295 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13299 ## ----------------------------------- ##
13300 ## Main body of $CONFIG_STATUS script. ##
13301 ## ----------------------------------- ##
13303 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13306 # Save the log message, to keep $0 and so on meaningful, and to
13307 # report actual input values of CONFIG_FILES etc. instead of their
13308 # values after options handling.
13310 This file was extended by gsignond $as_me 0.0.2, which was
13311 generated by GNU Autoconf 2.68. Invocation command line was
13313 CONFIG_FILES = $CONFIG_FILES
13314 CONFIG_HEADERS = $CONFIG_HEADERS
13315 CONFIG_LINKS = $CONFIG_LINKS
13316 CONFIG_COMMANDS = $CONFIG_COMMANDS
13319 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13324 case $ac_config_files in *"
13325 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13328 case $ac_config_headers in *"
13329 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13334 # Files that config.status was made for.
13335 config_files="$ac_config_files"
13336 config_headers="$ac_config_headers"
13337 config_commands="$ac_config_commands"
13341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13343 \`$as_me' instantiates files and other configuration actions
13344 from templates according to the current configuration. Unless the files
13345 and actions are specified as TAGs, all are instantiated by default.
13347 Usage: $0 [OPTION]... [TAG]...
13349 -h, --help print this help, then exit
13350 -V, --version print version number and configuration settings, then exit
13351 --config print configuration, then exit
13352 -q, --quiet, --silent
13353 do not print progress messages
13354 -d, --debug don't remove temporary files
13355 --recheck update $as_me by reconfiguring in the same conditions
13356 --file=FILE[:TEMPLATE]
13357 instantiate the configuration file FILE
13358 --header=FILE[:TEMPLATE]
13359 instantiate the configuration header FILE
13361 Configuration files:
13364 Configuration headers:
13367 Configuration commands:
13370 Report bugs to the package provider.
13371 gsignond home page: <http://code.google.com/p/accounts-sso/>."
13374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13377 gsignond config.status 0.0.2
13378 configured by $0, generated by GNU Autoconf 2.68,
13379 with options \\"\$ac_cs_config\\"
13381 Copyright (C) 2010 Free Software Foundation, Inc.
13382 This config.status script is free software; the Free Software Foundation
13383 gives unlimited permission to copy, distribute and modify it."
13390 test -n "\$AWK" || AWK=awk
13393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13394 # The default lists apply if the user does not specify any file.
13400 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13401 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13405 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13417 # Handling of the options.
13418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13420 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13421 $as_echo "$ac_cs_version"; exit ;;
13422 --config | --confi | --conf | --con | --co | --c )
13423 $as_echo "$ac_cs_config"; exit ;;
13424 --debug | --debu | --deb | --de | --d | -d )
13426 --file | --fil | --fi | --f )
13429 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13430 '') as_fn_error $? "missing file argument" ;;
13432 as_fn_append CONFIG_FILES " '$ac_optarg'"
13433 ac_need_defaults=false;;
13434 --header | --heade | --head | --hea )
13437 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13439 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13440 ac_need_defaults=false;;
13442 # Conflict between --help and --header
13443 as_fn_error $? "ambiguous option: \`$1'
13444 Try \`$0 --help' for more information.";;
13445 --help | --hel | -h )
13446 $as_echo "$ac_cs_usage"; exit ;;
13447 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13448 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13451 # This is an error.
13452 -*) as_fn_error $? "unrecognized option: \`$1'
13453 Try \`$0 --help' for more information." ;;
13455 *) as_fn_append ac_config_targets " $1"
13456 ac_need_defaults=false ;;
13462 ac_configure_extra_args=
13464 if $ac_cs_silent; then
13466 ac_configure_extra_args="$ac_configure_extra_args --silent"
13470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13471 if \$ac_cs_recheck; then
13472 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13474 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13475 CONFIG_SHELL='$SHELL'
13476 export CONFIG_SHELL
13481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13485 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13486 ## Running $as_me. ##
13492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13496 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13499 # The HP-UX ksh and POSIX shell print the target directory to stdout
13500 # if CDPATH is set.
13501 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13503 sed_quote_subst='$sed_quote_subst'
13504 double_quote_subst='$double_quote_subst'
13505 delay_variable_subst='$delay_variable_subst'
13506 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13507 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13508 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13509 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13510 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13511 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13512 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13513 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13514 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13515 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13516 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13517 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13518 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13519 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13520 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13521 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13522 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13523 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13524 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13525 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13526 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13527 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13528 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13529 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13530 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13531 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13532 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13533 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13534 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13535 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13536 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13537 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13538 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13539 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13540 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13541 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13542 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13543 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13544 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13545 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13546 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13547 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13548 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13549 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13550 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13551 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13552 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13553 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13554 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13555 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13556 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13557 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13558 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13559 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13560 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13561 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13562 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"`'
13563 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13564 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13565 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13566 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13567 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13568 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13569 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13570 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13571 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13572 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13573 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13574 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13575 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13576 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13577 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13578 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13579 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13580 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13581 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13582 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13583 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13584 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13585 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13586 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13587 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13588 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13589 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13590 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13591 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13592 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13593 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13594 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13595 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13596 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13597 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13598 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13599 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13600 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13601 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13602 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13603 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13604 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13605 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13606 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13607 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13608 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13609 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13610 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13611 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13612 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13613 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13614 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13615 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13616 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13617 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13618 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13619 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13620 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13621 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13622 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13623 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13624 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13625 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13626 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13627 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13628 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13629 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13630 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13631 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13632 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13633 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13634 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13635 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13638 LTCFLAGS='$LTCFLAGS'
13639 compiler='$compiler_DEFAULT'
13641 # A function that is used when there is no print builtin or printf.
13642 func_fallback_echo ()
13644 eval 'cat <<_LTECHO_EOF
13649 # Quote evaled strings.
13664 deplibs_check_method \
13669 sharedlib_from_linklib_cmd \
13672 archiver_list_spec \
13678 lt_cv_sys_global_symbol_pipe \
13679 lt_cv_sys_global_symbol_to_cdecl \
13680 lt_cv_sys_global_symbol_to_c_name_address \
13681 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13682 nm_file_list_spec \
13683 lt_prog_compiler_no_builtin_flag \
13684 lt_prog_compiler_pic \
13685 lt_prog_compiler_wl \
13686 lt_prog_compiler_static \
13687 lt_cv_prog_compiler_c_o \
13696 export_dynamic_flag_spec \
13697 whole_archive_flag_spec \
13698 compiler_needs_object \
13700 allow_undefined_flag \
13701 no_undefined_flag \
13702 hardcode_libdir_flag_spec \
13703 hardcode_libdir_separator \
13707 variables_saved_for_relink \
13709 library_names_spec \
13711 install_override_mode \
13715 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13716 *[\\\\\\\`\\"\\\$]*)
13717 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13720 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13725 # Double-quote double-evaled strings.
13726 for var in reload_cmds \
13727 old_postinstall_cmds \
13728 old_postuninstall_cmds \
13730 extract_expsyms_cmds \
13731 old_archive_from_new_cmds \
13732 old_archive_from_expsyms_cmds \
13734 archive_expsym_cmds \
13736 module_expsym_cmds \
13737 export_symbols_cmds \
13741 postuninstall_cmds \
13743 sys_lib_search_path_spec \
13744 sys_lib_dlsearch_path_spec; do
13745 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13746 *[\\\\\\\`\\"\\\$]*)
13747 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13750 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13755 ac_aux_dir='$ac_aux_dir'
13756 xsi_shell='$xsi_shell'
13757 lt_shell_append='$lt_shell_append'
13759 # See if we are running on zsh, and set the options which allow our
13760 # commands through without removal of \ escapes INIT.
13761 if test -n "\${ZSH_VERSION+set}" ; then
13762 setopt NO_GLOB_SUBST
13768 TIMESTAMP='$TIMESTAMP'
13777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13779 # Handling of arguments.
13780 for ac_config_target in $ac_config_targets
13782 case $ac_config_target in
13783 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13784 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13785 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13786 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13787 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13788 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13789 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13790 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13791 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13792 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13793 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13794 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13795 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13796 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13797 "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
13798 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13799 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13800 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13801 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13802 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13803 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13804 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13805 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13806 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13807 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13808 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13809 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13810 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13812 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13817 # If the user did not use the arguments to specify the items to instantiate,
13818 # then the envvar interface is used. Set only those that are not.
13819 # We use the long form for the default assignment because of an extremely
13820 # bizarre bug on SunOS 4.1.3.
13821 if $ac_need_defaults; then
13822 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13823 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13824 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13827 # Have a temporary directory for convenience. Make it in the build tree
13828 # simply because there is no reason against having it here, and in addition,
13829 # creating and moving files from /tmp can sometimes cause problems.
13830 # Hook for its removal unless debugging.
13831 # Note that there is a small window in which the directory will not be cleaned:
13832 # after its creation but before its name has been assigned to `$tmp'.
13836 trap 'exit_status=$?
13837 : "${ac_tmp:=$tmp}"
13838 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13840 trap 'as_fn_exit 1' 1 2 13 15
13842 # Create a (secure) tmp directory for tmp files.
13845 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13849 tmp=./conf$$-$RANDOM
13850 (umask 077 && mkdir "$tmp")
13851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13854 # Set up the scripts for CONFIG_FILES section.
13855 # No need to generate them if there are no CONFIG_FILES.
13856 # This happens for instance with `./config.status config.h'.
13857 if test -n "$CONFIG_FILES"; then
13860 ac_cr=`echo X | tr X '\015'`
13861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13862 # But we know of no other shell where ac_cr would be empty at this
13863 # point, so we can use a bashism as a fallback.
13864 if test "x$ac_cr" = x; then
13865 eval ac_cr=\$\'\\r\'
13867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13871 ac_cs_awk_cr=$ac_cr
13874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13879 echo "cat >conf$$subs.awk <<_ACEOF" &&
13880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13882 } >conf$$subs.sh ||
13883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13886 for ac_last_try in false false false false false :; do
13887 . ./conf$$subs.sh ||
13888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13890 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13891 if test $ac_delim_n = $ac_delim_num; then
13893 elif $ac_last_try; then
13894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13899 rm -f conf$$subs.sh
13901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13906 s/^/S["/; s/!.*/"]=/
13916 s/\(.\{148\}\)..*/\1/
13918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13930 s/\(.\{148\}\)..*/\1/
13932 s/["\\]/\\&/g; s/^/"/; s/$/"/
13936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13941 ' <conf$$subs.awk | sed '
13946 ' >>$CONFIG_STATUS || ac_write_fail=1
13947 rm -f conf$$subs.awk
13948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13951 for (key in S) S_is_set[key] = 1
13957 nfields = split(line, field, "@")
13959 len = length(field[1])
13960 for (i = 2; i < nfields; i++) {
13962 keylen = length(key)
13963 if (S_is_set[key]) {
13965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13966 len += length(value) + length(field[++i])
13977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13979 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13983 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13988 # trailing colons and then remove the whole line if VPATH becomes empty
13989 # (actually we leave an empty line to preserve line numbers).
13990 if test "x$srcdir" = x.; then
13991 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14010 fi # test -n "$CONFIG_FILES"
14012 # Set up the scripts for CONFIG_HEADERS section.
14013 # No need to generate them if there are no CONFIG_HEADERS.
14014 # This happens for instance with `./config.status Makefile'.
14015 if test -n "$CONFIG_HEADERS"; then
14016 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14020 # Transform confdefs.h into an awk script `defines.awk', embedded as
14021 # here-document in config.status, that substitutes the proper values into
14022 # config.h.in to produce config.h.
14024 # Create a delimiter string that does not exist in confdefs.h, to ease
14025 # handling of long lines.
14027 for ac_last_try in false false :; do
14028 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14029 if test -z "$ac_tt"; then
14031 elif $ac_last_try; then
14032 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14038 # For the awk script, D is an array of macro values keyed by name,
14039 # likewise P contains macro parameters if any. Preserve backslash
14040 # newline sequences.
14042 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14044 s/.\{148\}/&'"$ac_delim"'/g
14047 s/^[ ]*#[ ]*define[ ][ ]*/ /
14054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14056 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14061 D["\1"]=" \3\\\\\\n"\\/p
14063 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14068 s/.\{148\}/&'"$ac_delim"'/g
14073 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14076 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14078 ' <confdefs.h | sed '
14079 s/'"$ac_delim"'/"\\\
14080 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14083 for (key in D) D_is_set[key] = 1
14086 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14088 split(line, arg, " ")
14089 if (arg[1] == "#") {
14093 defundef = substr(arg[1], 2)
14096 split(mac1, mac2, "(") #)
14098 prefix = substr(line, 1, index(line, defundef) - 1)
14099 if (D_is_set[macro]) {
14100 # Preserve the white space surrounding the "#".
14101 print prefix "define", macro P[macro] D[macro]
14104 # Replace #undef with comments. This is necessary, for example,
14105 # in the case of _POSIX_SOURCE, which is predefined and required
14106 # on some systems where configure will not decide to define it.
14107 if (defundef == "undef") {
14108 print "/*", prefix defundef, macro, "*/"
14116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14117 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14118 fi # test -n "$CONFIG_HEADERS"
14121 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14126 :[FHLC]) ac_mode=$ac_tag; continue;;
14128 case $ac_mode$ac_tag in
14130 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14131 :[FH]-) ac_tag=-:-;;
14132 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14149 -) ac_f="$ac_tmp/stdin";;
14150 *) # Look for the file first in the build tree, then in the source tree
14151 # (if the path is not absolute). The absolute path cannot be DOS-style,
14152 # because $ac_f cannot contain `:'.
14156 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14158 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14160 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14161 as_fn_append ac_file_inputs " '$ac_f'"
14164 # Let's still pretend it is `configure' which instantiates (i.e., don't
14165 # use $as_me), people would be surprised to read:
14166 # /* config.h. Generated by config.status. */
14167 configure_input='Generated from '`
14168 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14170 if test x"$ac_file" != x-; then
14171 configure_input="$ac_file. $configure_input"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14173 $as_echo "$as_me: creating $ac_file" >&6;}
14175 # Neutralize special characters interpreted by sed in replacement strings.
14176 case $configure_input in #(
14177 *\&* | *\|* | *\\* )
14178 ac_sed_conf_input=`$as_echo "$configure_input" |
14179 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14180 *) ac_sed_conf_input=$configure_input;;
14184 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14190 ac_dir=`$as_dirname -- "$ac_file" ||
14191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14192 X"$ac_file" : 'X\(//\)[^/]' \| \
14193 X"$ac_file" : 'X\(//\)$' \| \
14194 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14195 $as_echo X"$ac_file" |
14196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14200 /^X\(\/\/\)[^/].*/{
14213 as_dir="$ac_dir"; as_fn_mkdir_p
14217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14219 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14220 # A ".." for each directory in $ac_dir_suffix.
14221 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14222 case $ac_top_builddir_sub in
14223 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14224 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14227 ac_abs_top_builddir=$ac_pwd
14228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14229 # for backward compatibility:
14230 ac_top_builddir=$ac_top_build_prefix
14233 .) # We are building in place.
14235 ac_top_srcdir=$ac_top_builddir_sub
14236 ac_abs_top_srcdir=$ac_pwd ;;
14237 [\\/]* | ?:[\\/]* ) # Absolute name.
14238 ac_srcdir=$srcdir$ac_dir_suffix;
14239 ac_top_srcdir=$srcdir
14240 ac_abs_top_srcdir=$srcdir ;;
14241 *) # Relative name.
14242 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14243 ac_top_srcdir=$ac_top_build_prefix$srcdir
14244 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14256 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14257 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14259 ac_MKDIR_P=$MKDIR_P
14261 [\\/$]* | ?:[\\/]* ) ;;
14262 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14267 # If the template does not know about datarootdir, expand it.
14268 # FIXME: This hack should be removed a few years after 2.60.
14269 ac_datarootdir_hack=; ac_datarootdir_seen=
14280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14281 *datarootdir*) ac_datarootdir_seen=yes;;
14282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14287 ac_datarootdir_hack='
14288 s&@datadir@&$datadir&g
14289 s&@docdir@&$docdir&g
14290 s&@infodir@&$infodir&g
14291 s&@localedir@&$localedir&g
14292 s&@mandir@&$mandir&g
14293 s&\\\${datarootdir}&$datarootdir&g' ;;
14297 # Neutralize VPATH when `$srcdir' = `.'.
14298 # Shell code in configure.ac might set extrasub.
14299 # FIXME: do we really want to maintain this feature?
14300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14301 ac_sed_extra="$ac_vpsub
14304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14307 s|@configure_input@|$ac_sed_conf_input|;t t
14308 s&@top_builddir@&$ac_top_builddir_sub&;t t
14309 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14310 s&@srcdir@&$ac_srcdir&;t t
14311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14312 s&@top_srcdir@&$ac_top_srcdir&;t t
14313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14314 s&@builddir@&$ac_builddir&;t t
14315 s&@abs_builddir@&$ac_abs_builddir&;t t
14316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14317 s&@INSTALL@&$ac_INSTALL&;t t
14318 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14319 $ac_datarootdir_hack
14321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14322 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14325 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14326 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14327 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14329 which seems to be undefined. Please make sure it is defined" >&5
14330 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14331 which seems to be undefined. Please make sure it is defined" >&2;}
14333 rm -f "$ac_tmp/stdin"
14335 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14336 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14344 if test x"$ac_file" != x-; then
14346 $as_echo "/* $configure_input */" \
14347 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14348 } >"$ac_tmp/config.h" \
14349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14350 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14352 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14355 mv "$ac_tmp/config.h" "$ac_file" \
14356 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14359 $as_echo "/* $configure_input */" \
14360 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14361 || as_fn_error $? "could not create -" "$LINENO" 5
14363 # Compute "$ac_file"'s index in $config_headers.
14366 for _am_header in $config_headers :; do
14367 case $_am_header in
14368 $_am_arg | $_am_arg:* )
14371 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14374 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14375 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14376 X"$_am_arg" : 'X\(//\)[^/]' \| \
14377 X"$_am_arg" : 'X\(//\)$' \| \
14378 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14379 $as_echo X"$_am_arg" |
14380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14384 /^X\(\/\/\)[^/].*/{
14396 s/.*/./; q'`/stamp-h$_am_stamp_count
14399 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14400 $as_echo "$as_me: executing $ac_file commands" >&6;}
14405 case $ac_file$ac_mode in
14406 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14407 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14408 # are listed without --file. Let's play safe and only enable the eval
14409 # if we detect the quoting.
14410 case $CONFIG_FILES in
14411 *\'*) eval set x "$CONFIG_FILES" ;;
14412 *) set x $CONFIG_FILES ;;
14417 # Strip MF so we end up with the name of the file.
14418 mf=`echo "$mf" | sed -e 's/:.*$//'`
14419 # Check whether this is an Automake generated Makefile or not.
14420 # We used to match only the files named `Makefile.in', but
14421 # some people rename them; so instead we look at the file content.
14422 # Grep'ing the first line is not enough: some people post-process
14423 # each Makefile.in and add a new line on top of each file to say so.
14424 # Grep'ing the whole file is not good either: AIX grep has a line
14425 # limit of 2048, but all sed's we know have understand at least 4000.
14426 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14427 dirpart=`$as_dirname -- "$mf" ||
14428 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14429 X"$mf" : 'X\(//\)[^/]' \| \
14430 X"$mf" : 'X\(//\)$' \| \
14431 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14437 /^X\(\/\/\)[^/].*/{
14453 # Extract the definition of DEPDIR, am__include, and am__quote
14454 # from the Makefile without running `make'.
14455 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14456 test -z "$DEPDIR" && continue
14457 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14458 test -z "am__include" && continue
14459 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14460 # When using ansi2knr, U may be empty or an underscore; expand it
14461 U=`sed -n 's/^U = //p' < "$mf"`
14462 # Find all dependency output files, they are included files with
14463 # $(DEPDIR) in their names. We invoke sed twice because it is the
14464 # simplest approach to changing $(DEPDIR) to its actual value in the
14466 for file in `sed -n "
14467 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14468 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14469 # Make sure the directory exists.
14470 test -f "$dirpart/$file" && continue
14471 fdir=`$as_dirname -- "$file" ||
14472 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14473 X"$file" : 'X\(//\)[^/]' \| \
14474 X"$file" : 'X\(//\)$' \| \
14475 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14476 $as_echo X"$file" |
14477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14481 /^X\(\/\/\)[^/].*/{
14494 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14495 # echo "creating $dirpart/$file"
14496 echo '# dummy' > "$dirpart/$file"
14503 # See if we are running on zsh, and set the options which allow our
14504 # commands through without removal of \ escapes.
14505 if test -n "${ZSH_VERSION+set}" ; then
14506 setopt NO_GLOB_SUBST
14509 cfgfile="${ofile}T"
14510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14513 cat <<_LT_EOF >> "$cfgfile"
14516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14521 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14522 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14524 # Written by Gordon Matzigkeit, 1996
14526 # This file is part of GNU Libtool.
14528 # GNU Libtool is free software; you can redistribute it and/or
14529 # modify it under the terms of the GNU General Public License as
14530 # published by the Free Software Foundation; either version 2 of
14531 # the License, or (at your option) any later version.
14533 # As a special exception to the GNU General Public License,
14534 # if you distribute this file as part of a program or library that
14535 # is built using GNU Libtool, you may include this file under the
14536 # same distribution terms that you use for the rest of that program.
14538 # GNU Libtool is distributed in the hope that it will be useful,
14539 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14540 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14541 # GNU General Public License for more details.
14543 # You should have received a copy of the GNU General Public License
14544 # along with GNU Libtool; see the file COPYING. If not, a copy
14545 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14546 # obtained by writing to the Free Software Foundation, Inc.,
14547 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14550 # The names of the tagged configurations supported by this script.
14553 # ### BEGIN LIBTOOL CONFIG
14555 # Which release of libtool.m4 was used?
14556 macro_version=$macro_version
14557 macro_revision=$macro_revision
14559 # Whether or not to build static libraries.
14560 build_old_libs=$enable_static
14562 # Whether or not to build shared libraries.
14563 build_libtool_libs=$enable_shared
14565 # What type of objects to build.
14568 # Whether or not to optimize for fast installation.
14569 fast_install=$enable_fast_install
14571 # Shell to use when invoking shell scripts.
14574 # An echo program that protects backslashes.
14577 # The PATH separator for the build system.
14578 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14581 host_alias=$host_alias
14585 # The build system.
14586 build_alias=$build_alias
14590 # A sed program that does not truncate output.
14593 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14594 Xsed="\$SED -e 1s/^X//"
14596 # A grep program that handles long lines.
14602 # A literal string matcher.
14605 # A BSD- or MS-compatible name lister.
14608 # Whether we need soft or hard links.
14611 # What is the maximum length of a command?
14612 max_cmd_len=$max_cmd_len
14614 # Object file suffix (normally "o").
14617 # Executable file suffix (normally "").
14620 # whether the shell understands "unset".
14623 # turn spaces into newlines.
14626 # turn newlines into spaces.
14629 # convert \$build file names to \$host format.
14630 to_host_file_cmd=$lt_cv_to_host_file_cmd
14632 # convert \$build files to toolchain format.
14633 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14635 # An object symbol dumper.
14636 OBJDUMP=$lt_OBJDUMP
14638 # Method to check whether dependent libraries are shared objects.
14639 deplibs_check_method=$lt_deplibs_check_method
14641 # Command to use when deplibs_check_method = "file_magic".
14642 file_magic_cmd=$lt_file_magic_cmd
14644 # How to find potential files when deplibs_check_method = "file_magic".
14645 file_magic_glob=$lt_file_magic_glob
14647 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14648 want_nocaseglob=$lt_want_nocaseglob
14650 # DLL creation program.
14651 DLLTOOL=$lt_DLLTOOL
14653 # Command to associate shared and link libraries.
14654 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14659 # Flags to create an archive.
14660 AR_FLAGS=$lt_AR_FLAGS
14662 # How to feed a file listing to the archiver.
14663 archiver_list_spec=$lt_archiver_list_spec
14665 # A symbol stripping program.
14668 # Commands used to install an old-style archive.
14670 old_postinstall_cmds=$lt_old_postinstall_cmds
14671 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14673 # Whether to use a lock for old archive extraction.
14674 lock_old_archive_extraction=$lock_old_archive_extraction
14679 # LTCC compiler flags.
14680 LTCFLAGS=$lt_CFLAGS
14682 # Take the output of nm and produce a listing of raw symbols and C names.
14683 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14685 # Transform the output of nm in a proper C declaration.
14686 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14688 # Transform the output of nm in a C name address pair.
14689 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14691 # Transform the output of nm in a C name address pair when lib prefix is needed.
14692 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14694 # Specify filename containing input files for \$NM.
14695 nm_file_list_spec=$lt_nm_file_list_spec
14697 # The root where to search for dependent libraries,and in which our libraries should be installed.
14698 lt_sysroot=$lt_sysroot
14700 # The name of the directory that contains temporary libtool files.
14703 # Used to examine libraries when file_magic_cmd begins with "file".
14704 MAGIC_CMD=$MAGIC_CMD
14706 # Must we lock files when doing compilation?
14707 need_locks=$lt_need_locks
14710 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14712 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14713 DSYMUTIL=$lt_DSYMUTIL
14715 # Tool to change global to local symbols on Mac OS X.
14718 # Tool to manipulate fat objects and archives on Mac OS X.
14721 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14724 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14725 OTOOL64=$lt_OTOOL64
14727 # Old archive suffix (normally "a").
14730 # Shared library suffix (normally ".so").
14731 shrext_cmds=$lt_shrext_cmds
14733 # The commands to extract the exported symbol list from a shared archive.
14734 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14736 # Variables whose values should be saved in libtool wrapper scripts and
14737 # restored at link time.
14738 variables_saved_for_relink=$lt_variables_saved_for_relink
14740 # Do we need the "lib" prefix for modules?
14741 need_lib_prefix=$need_lib_prefix
14743 # Do we need a version for libraries?
14744 need_version=$need_version
14746 # Library versioning type.
14747 version_type=$version_type
14749 # Shared library runtime path variable.
14750 runpath_var=$runpath_var
14752 # Shared library path variable.
14753 shlibpath_var=$shlibpath_var
14755 # Is shlibpath searched before the hard-coded library search path?
14756 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14758 # Format of library name prefix.
14759 libname_spec=$lt_libname_spec
14761 # List of archive names. First name is the real one, the rest are links.
14762 # The last name is the one that the linker finds with -lNAME
14763 library_names_spec=$lt_library_names_spec
14765 # The coded name of the library, if different from the real name.
14766 soname_spec=$lt_soname_spec
14768 # Permission mode override for installation of shared libraries.
14769 install_override_mode=$lt_install_override_mode
14771 # Command to use after installation of a shared archive.
14772 postinstall_cmds=$lt_postinstall_cmds
14774 # Command to use after uninstallation of a shared archive.
14775 postuninstall_cmds=$lt_postuninstall_cmds
14777 # Commands used to finish a libtool library installation in a directory.
14778 finish_cmds=$lt_finish_cmds
14780 # As "finish_cmds", except a single script fragment to be evaled but
14782 finish_eval=$lt_finish_eval
14784 # Whether we should hardcode library paths into libraries.
14785 hardcode_into_libs=$hardcode_into_libs
14787 # Compile-time system search path for libraries.
14788 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14790 # Run-time system search path for libraries.
14791 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14793 # Whether dlopen is supported.
14794 dlopen_support=$enable_dlopen
14796 # Whether dlopen of programs is supported.
14797 dlopen_self=$enable_dlopen_self
14799 # Whether dlopen of statically linked programs is supported.
14800 dlopen_self_static=$enable_dlopen_self_static
14802 # Commands to strip libraries.
14803 old_striplib=$lt_old_striplib
14804 striplib=$lt_striplib
14807 # The linker used to build libraries.
14810 # How to create reloadable object files.
14811 reload_flag=$lt_reload_flag
14812 reload_cmds=$lt_reload_cmds
14814 # Commands used to build an old-style archive.
14815 old_archive_cmds=$lt_old_archive_cmds
14817 # A language specific compiler.
14820 # Is the compiler the GNU compiler?
14823 # Compiler flag to turn off builtin functions.
14824 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14826 # Additional compiler flags for building library objects.
14827 pic_flag=$lt_lt_prog_compiler_pic
14829 # How to pass a linker flag through the compiler.
14830 wl=$lt_lt_prog_compiler_wl
14832 # Compiler flag to prevent dynamic linking.
14833 link_static_flag=$lt_lt_prog_compiler_static
14835 # Does compiler simultaneously support -c and -o options?
14836 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14838 # Whether or not to add -lc for building shared libraries.
14839 build_libtool_need_lc=$archive_cmds_need_lc
14841 # Whether or not to disallow shared libs when runtime libs are static.
14842 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14844 # Compiler flag to allow reflexive dlopens.
14845 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14847 # Compiler flag to generate shared objects directly from archives.
14848 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14850 # Whether the compiler copes with passing no objects directly.
14851 compiler_needs_object=$lt_compiler_needs_object
14853 # Create an old-style archive from a shared archive.
14854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14856 # Create a temporary old-style archive to link instead of a shared archive.
14857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14859 # Commands used to build a shared archive.
14860 archive_cmds=$lt_archive_cmds
14861 archive_expsym_cmds=$lt_archive_expsym_cmds
14863 # Commands used to build a loadable module if different from building
14864 # a shared archive.
14865 module_cmds=$lt_module_cmds
14866 module_expsym_cmds=$lt_module_expsym_cmds
14868 # Whether we are building with GNU ld or not.
14869 with_gnu_ld=$lt_with_gnu_ld
14871 # Flag that allows shared libraries with undefined symbols to be built.
14872 allow_undefined_flag=$lt_allow_undefined_flag
14874 # Flag that enforces no undefined symbols.
14875 no_undefined_flag=$lt_no_undefined_flag
14877 # Flag to hardcode \$libdir into a binary during linking.
14878 # This must work even if \$libdir does not exist
14879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14881 # Whether we need a single "-rpath" flag with a separated argument.
14882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14885 # DIR into the resulting binary.
14886 hardcode_direct=$hardcode_direct
14888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14889 # DIR into the resulting binary and the resulting library dependency is
14890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14891 # library is relocated.
14892 hardcode_direct_absolute=$hardcode_direct_absolute
14894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14895 # into the resulting binary.
14896 hardcode_minus_L=$hardcode_minus_L
14898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14899 # into the resulting binary.
14900 hardcode_shlibpath_var=$hardcode_shlibpath_var
14902 # Set to "yes" if building a shared library automatically hardcodes DIR
14903 # into the library and all subsequent libraries and executables linked
14905 hardcode_automatic=$hardcode_automatic
14907 # Set to yes if linker adds runtime paths of dependent libraries
14908 # to runtime path list.
14909 inherit_rpath=$inherit_rpath
14911 # Whether libtool must link a program against all its dependency libraries.
14912 link_all_deplibs=$link_all_deplibs
14914 # Set to "yes" if exported symbols are required.
14915 always_export_symbols=$always_export_symbols
14917 # The commands to list exported symbols.
14918 export_symbols_cmds=$lt_export_symbols_cmds
14920 # Symbols that should not be listed in the preloaded symbols.
14921 exclude_expsyms=$lt_exclude_expsyms
14923 # Symbols that must always be exported.
14924 include_expsyms=$lt_include_expsyms
14926 # Commands necessary for linking programs (against libraries) with templates.
14927 prelink_cmds=$lt_prelink_cmds
14929 # Commands necessary for finishing linking programs.
14930 postlink_cmds=$lt_postlink_cmds
14932 # Specify filename containing input files.
14933 file_list_spec=$lt_file_list_spec
14935 # How to hardcode a shared library path into an executable.
14936 hardcode_action=$hardcode_action
14938 # ### END LIBTOOL CONFIG
14944 cat <<\_LT_EOF >> "$cfgfile"
14945 # AIX sometimes has problems with the GCC collect2 program. For some
14946 # reason, if we set the COLLECT_NAMES environment variable, the problems
14947 # vanish in a puff of smoke.
14948 if test "X${COLLECT_NAMES+set}" != Xset; then
14950 export COLLECT_NAMES
14957 ltmain="$ac_aux_dir/ltmain.sh"
14960 # We use sed instead of cat because bash on DJGPP gets confused if
14961 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14962 # text mode, it properly converts lines to CR/LF. This bash problem
14963 # is reportedly fixed, but why not run on old versions too?
14964 sed '$q' "$ltmain" >> "$cfgfile" \
14965 || (rm -f "$cfgfile"; exit 1)
14967 if test x"$xsi_shell" = xyes; then
14968 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14972 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14973 \ * ) func_dirname_result="${3}" ;;\
14975 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14976 && mv -f "$cfgfile.tmp" "$cfgfile" \
14977 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14978 test 0 -eq $? || _lt_function_replace_fail=:
14981 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14984 \ func_basename_result="${1##*/}"\
14985 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14986 && mv -f "$cfgfile.tmp" "$cfgfile" \
14987 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14988 test 0 -eq $? || _lt_function_replace_fail=:
14991 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14992 func_dirname_and_basename ()\
14995 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14996 \ * ) func_dirname_result="${3}" ;;\
14998 \ func_basename_result="${1##*/}"\
14999 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15000 && mv -f "$cfgfile.tmp" "$cfgfile" \
15001 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15002 test 0 -eq $? || _lt_function_replace_fail=:
15005 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15008 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15009 \ # positional parameters, so assign one to ordinary parameter first.\
15010 \ func_stripname_result=${3}\
15011 \ func_stripname_result=${func_stripname_result#"${1}"}\
15012 \ func_stripname_result=${func_stripname_result%"${2}"}\
15013 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15014 && mv -f "$cfgfile.tmp" "$cfgfile" \
15015 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15016 test 0 -eq $? || _lt_function_replace_fail=:
15019 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15020 func_split_long_opt ()\
15022 \ func_split_long_opt_name=${1%%=*}\
15023 \ func_split_long_opt_arg=${1#*=}\
15024 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15025 && mv -f "$cfgfile.tmp" "$cfgfile" \
15026 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15027 test 0 -eq $? || _lt_function_replace_fail=:
15030 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15031 func_split_short_opt ()\
15033 \ func_split_short_opt_arg=${1#??}\
15034 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15035 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15036 && mv -f "$cfgfile.tmp" "$cfgfile" \
15037 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15038 test 0 -eq $? || _lt_function_replace_fail=:
15041 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15045 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15046 \ *) func_lo2o_result=${1} ;;\
15048 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15049 && mv -f "$cfgfile.tmp" "$cfgfile" \
15050 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15051 test 0 -eq $? || _lt_function_replace_fail=:
15054 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15057 func_xform_result=${1%.*}.lo\
15058 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15059 && mv -f "$cfgfile.tmp" "$cfgfile" \
15060 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15061 test 0 -eq $? || _lt_function_replace_fail=:
15064 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15067 func_arith_result=$(( $* ))\
15068 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15069 && mv -f "$cfgfile.tmp" "$cfgfile" \
15070 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15071 test 0 -eq $? || _lt_function_replace_fail=:
15074 sed -e '/^func_len ()$/,/^} # func_len /c\
15077 func_len_result=${#1}\
15078 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15079 && mv -f "$cfgfile.tmp" "$cfgfile" \
15080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15081 test 0 -eq $? || _lt_function_replace_fail=:
15085 if test x"$lt_shell_append" = xyes; then
15086 sed -e '/^func_append ()$/,/^} # func_append /c\
15089 eval "${1}+=\\${2}"\
15090 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15091 && mv -f "$cfgfile.tmp" "$cfgfile" \
15092 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15093 test 0 -eq $? || _lt_function_replace_fail=:
15096 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15097 func_append_quoted ()\
15099 \ func_quote_for_eval "${2}"\
15100 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15101 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15102 && mv -f "$cfgfile.tmp" "$cfgfile" \
15103 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15104 test 0 -eq $? || _lt_function_replace_fail=:
15107 # Save a `func_append' function call where possible by direct use of '+='
15108 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15109 && mv -f "$cfgfile.tmp" "$cfgfile" \
15110 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15111 test 0 -eq $? || _lt_function_replace_fail=:
15113 # Save a `func_append' function call even when '+=' is not available
15114 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15115 && mv -f "$cfgfile.tmp" "$cfgfile" \
15116 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15117 test 0 -eq $? || _lt_function_replace_fail=:
15120 if test x"$_lt_function_replace_fail" = x":"; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15122 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15126 mv -f "$cfgfile" "$ofile" ||
15127 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15138 ac_clean_files=$ac_clean_files_save
15140 test $ac_write_fail = 0 ||
15141 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15144 # configure is writing to config.log, and then calls config.status.
15145 # config.status does its own redirection, appending to config.log.
15146 # Unfortunately, on DOS this fails, as config.log is still kept open
15147 # by configure, so config.status won't be able to write to it; its
15148 # output is simply discarded. So we exec the FD to /dev/null,
15149 # effectively closing config.log, so it can be properly (re)opened and
15150 # appended to by config.status. When coming back to configure, we
15151 # need to make the FD available again.
15152 if test "$no_create" != yes; then
15154 ac_config_status_args=
15155 test "$silent" = yes &&
15156 ac_config_status_args="$ac_config_status_args --quiet"
15158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15161 # would make configure fail if this is the last instruction.
15162 $ac_cs_success || as_fn_exit 1
15164 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15166 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15170 if test x$enable_dbus_type != xp2p; then
15171 ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15173 cat >confcache <<\_ACEOF
15174 # This file is a shell script that caches the results of configure
15175 # tests run on this system so they can be shared between configure
15176 # scripts and configure runs, see configure's option --config-cache.
15177 # It is not useful on other systems. If it contains results you don't
15178 # want to keep, you may remove or edit it.
15180 # config.status only pays attention to the cache file if you give it
15181 # the --recheck option to rerun configure.
15183 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15184 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15185 # following values.
15189 # The following way of writing the cache mishandles newlines in values,
15190 # but we know of no workaround that is simple, portable, and efficient.
15191 # So, we kill variables containing newlines.
15192 # Ultrix sh set writes to stderr and can't be redirected directly,
15193 # and sets the high bit in the cache file unless we assign to the vars.
15195 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15196 eval ac_val=\$$ac_var
15200 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15201 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15204 _ | IFS | as_nl) ;; #(
15205 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15206 *) { eval $ac_var=; unset $ac_var;} ;;
15212 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15213 *${as_nl}ac_space=\ *)
15214 # `set' does not quote correctly, so add quotes: double-quote
15215 # substitution turns \\\\ into \\, and sed turns \\ into \.
15218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15221 # `set' quotes correctly as required by POSIX, so do not add quotes.
15222 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15231 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15233 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15235 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15236 if test -w "$cache_file"; then
15237 if test "x$cache_file" != "x/dev/null"; then
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15239 $as_echo "$as_me: updating cache $cache_file" >&6;}
15240 if test ! -f "$cache_file" || test -h "$cache_file"; then
15241 cat confcache >"$cache_file"
15243 case $cache_file in #(
15245 mv -f confcache "$cache_file"$$ &&
15246 mv -f "$cache_file"$$ "$cache_file" ;; #(
15248 mv -f confcache "$cache_file" ;;
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15254 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15260 # Let make expand exec_prefix.
15261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15263 DEFS=-DHAVE_CONFIG_H
15268 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15269 # 1. Remove the extension, and $U if already installed.
15270 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15271 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15272 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15273 # will be set to the directory where LIBOBJS objects are built.
15274 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15275 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15277 LIBOBJS=$ac_libobjs
15279 LTLIBOBJS=$ac_ltlibobjs
15282 if test -n "$EXEEXT"; then
15284 am__EXEEXT_FALSE='#'
15286 am__EXEEXT_TRUE='#'
15290 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15291 as_fn_error $? "conditional \"AMDEP\" was never defined.
15292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15294 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15295 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15298 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15299 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15302 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15303 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15306 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15307 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15310 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15311 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15314 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15315 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15318 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15319 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15322 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15323 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15326 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15327 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15330 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15331 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15335 : "${CONFIG_STATUS=./config.status}"
15337 ac_clean_files_save=$ac_clean_files
15338 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15344 # Generated by $as_me.
15345 # Run this file to recreate the current configuration.
15346 # Compiler output produced by configure, useful for debugging
15347 # configure, is in config.log if it exists.
15350 ac_cs_recheck=false
15353 SHELL=\${CONFIG_SHELL-$SHELL}
15356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15357 ## -------------------- ##
15358 ## M4sh Initialization. ##
15359 ## -------------------- ##
15361 # Be more Bourne compatible
15362 DUALCASE=1; export DUALCASE # for MKS sh
15363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15366 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15367 # is contrary to our usage. Disable this feature.
15368 alias -g '${1+"$@"}'='"$@"'
15369 setopt NO_GLOB_SUBST
15371 case `(set -o) 2>/dev/null` in #(
15383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15384 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15387 # Prefer a ksh shell builtin over an external printf program on Solaris,
15388 # but without wasting forks for bash or zsh.
15389 if test -z "$BASH_VERSION$ZSH_VERSION" \
15390 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15391 as_echo='print -r --'
15392 as_echo_n='print -rn --'
15393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15394 as_echo='printf %s\n'
15395 as_echo_n='printf %s'
15397 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15398 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15399 as_echo_n='/usr/ucb/echo -n'
15401 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15402 as_echo_n_body='eval
15406 expr "X$arg" : "X\\(.*\\)$as_nl";
15407 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15409 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15411 export as_echo_n_body
15412 as_echo_n='sh -c $as_echo_n_body as_echo'
15414 export as_echo_body
15415 as_echo='sh -c $as_echo_body as_echo'
15418 # The user is always right.
15419 if test "${PATH_SEPARATOR+set}" != set; then
15421 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15422 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15429 # We need space, tab and new line, in precisely that order. Quoting is
15430 # there to prevent editors from complaining about space-tab.
15431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15432 # splitting by setting IFS to empty value.)
15435 # Find who we are. Look in the path if we contain no directory separator.
15438 *[\\/]* ) as_myself=$0 ;;
15439 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15440 for as_dir in $PATH
15443 test -z "$as_dir" && as_dir=.
15444 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15450 # We did not find ourselves, most probably we were run as `sh COMMAND'
15451 # in which case we are not to be found in the path.
15452 if test "x$as_myself" = x; then
15455 if test ! -f "$as_myself"; then
15456 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15460 # Unset variables that we do not need and which cause bugs (e.g. in
15461 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15462 # suppresses any "Segmentation fault" message there. '((' could
15463 # trigger a bug in pdksh 5.2.14.
15464 for as_var in BASH_ENV ENV MAIL MAILPATH
15465 do eval test x\${$as_var+set} = xset \
15466 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15482 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15483 # ----------------------------------------
15484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15486 # script with STATUS, using 1 if that was 0.
15489 as_status=$1; test $as_status -eq 0 && as_status=1
15491 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15492 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15494 $as_echo "$as_me: error: $2" >&2
15495 as_fn_exit $as_status
15499 # as_fn_set_status STATUS
15500 # -----------------------
15501 # Set $? to STATUS, without forking.
15502 as_fn_set_status ()
15505 } # as_fn_set_status
15507 # as_fn_exit STATUS
15508 # -----------------
15509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15513 as_fn_set_status $1
15519 # Portably unset VAR.
15522 { eval $1=; unset $1;}
15524 as_unset=as_fn_unset
15525 # as_fn_append VAR VALUE
15526 # ----------------------
15527 # Append the text in VALUE to the end of the definition contained in VAR. Take
15528 # advantage of any shell optimizations that allow amortized linear growth over
15529 # repeated appends, instead of the typical quadratic growth present in naive
15531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15532 eval 'as_fn_append ()
15543 # as_fn_arith ARG...
15544 # ------------------
15545 # Perform arithmetic evaluation on the ARGs, and store the result in the
15546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15547 # must be portable across $(()) and expr.
15548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15549 eval 'as_fn_arith ()
15556 as_val=`expr "$@" || test $? -eq 1`
15561 if expr a : '\(a\)' >/dev/null 2>&1 &&
15562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15568 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15569 as_basename=basename
15574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15580 as_me=`$as_basename -- "$0" ||
15581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15582 X"$0" : 'X\(//\)$' \| \
15583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15585 sed '/^.*\/\([^/][^/]*\)\/*$/{
15599 # Avoid depending upon Character Ranges.
15600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15603 as_cr_digits='0123456789'
15604 as_cr_alnum=$as_cr_Letters$as_cr_digits
15606 ECHO_C= ECHO_N= ECHO_T=
15607 case `echo -n x` in #(((((
15609 case `echo 'xy\c'` in
15610 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15612 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15619 rm -f conf$$ conf$$.exe conf$$.file
15620 if test -d conf$$.dir; then
15621 rm -f conf$$.dir/conf$$.file
15624 mkdir conf$$.dir 2>/dev/null
15626 if (echo >conf$$.file) 2>/dev/null; then
15627 if ln -s conf$$.file conf$$ 2>/dev/null; then
15629 # ... but there are two gotchas:
15630 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15631 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15632 # In both cases, we have to default to `cp -p'.
15633 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15635 elif ln conf$$.file conf$$ 2>/dev/null; then
15643 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15644 rmdir conf$$.dir 2>/dev/null
15649 # Create "$as_dir" as a directory, including parents if necessary.
15654 -*) as_dir=./$as_dir;;
15656 test -d "$as_dir" || eval $as_mkdir_p || {
15660 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15661 *) as_qdir=$as_dir;;
15663 as_dirs="'$as_qdir' $as_dirs"
15664 as_dir=`$as_dirname -- "$as_dir" ||
15665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15666 X"$as_dir" : 'X\(//\)[^/]' \| \
15667 X"$as_dir" : 'X\(//\)$' \| \
15668 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15669 $as_echo X"$as_dir" |
15670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15674 /^X\(\/\/\)[^/].*/{
15687 test -d "$as_dir" && break
15689 test -z "$as_dirs" || eval "mkdir $as_dirs"
15690 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15694 if mkdir -p . 2>/dev/null; then
15695 as_mkdir_p='mkdir -p "$as_dir"'
15697 test -d ./-p && rmdir ./-p
15701 if test -x / >/dev/null 2>&1; then
15702 as_test_x='test -x'
15704 if ls -dL / >/dev/null 2>&1; then
15711 if test -d "$1"; then
15717 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15718 ???[sx]*):;;*)false;;esac;fi
15722 as_executable_p=$as_test_x
15724 # Sed expression to map a string onto a valid CPP name.
15725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15727 # Sed expression to map a string onto a valid variable name.
15728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15732 ## ----------------------------------- ##
15733 ## Main body of $CONFIG_STATUS script. ##
15734 ## ----------------------------------- ##
15736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15739 # Save the log message, to keep $0 and so on meaningful, and to
15740 # report actual input values of CONFIG_FILES etc. instead of their
15741 # values after options handling.
15743 This file was extended by gsignond $as_me 0.0.2, which was
15744 generated by GNU Autoconf 2.68. Invocation command line was
15746 CONFIG_FILES = $CONFIG_FILES
15747 CONFIG_HEADERS = $CONFIG_HEADERS
15748 CONFIG_LINKS = $CONFIG_LINKS
15749 CONFIG_COMMANDS = $CONFIG_COMMANDS
15752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15757 case $ac_config_files in *"
15758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15761 case $ac_config_headers in *"
15762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15767 # Files that config.status was made for.
15768 config_files="$ac_config_files"
15769 config_headers="$ac_config_headers"
15770 config_commands="$ac_config_commands"
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15776 \`$as_me' instantiates files and other configuration actions
15777 from templates according to the current configuration. Unless the files
15778 and actions are specified as TAGs, all are instantiated by default.
15780 Usage: $0 [OPTION]... [TAG]...
15782 -h, --help print this help, then exit
15783 -V, --version print version number and configuration settings, then exit
15784 --config print configuration, then exit
15785 -q, --quiet, --silent
15786 do not print progress messages
15787 -d, --debug don't remove temporary files
15788 --recheck update $as_me by reconfiguring in the same conditions
15789 --file=FILE[:TEMPLATE]
15790 instantiate the configuration file FILE
15791 --header=FILE[:TEMPLATE]
15792 instantiate the configuration header FILE
15794 Configuration files:
15797 Configuration headers:
15800 Configuration commands:
15803 Report bugs to the package provider.
15804 gsignond home page: <http://code.google.com/p/accounts-sso/>."
15807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15808 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15810 gsignond config.status 0.0.2
15811 configured by $0, generated by GNU Autoconf 2.68,
15812 with options \\"\$ac_cs_config\\"
15814 Copyright (C) 2010 Free Software Foundation, Inc.
15815 This config.status script is free software; the Free Software Foundation
15816 gives unlimited permission to copy, distribute and modify it."
15823 test -n "\$AWK" || AWK=awk
15826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15827 # The default lists apply if the user does not specify any file.
15833 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15834 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15850 # Handling of the options.
15851 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15853 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15854 $as_echo "$ac_cs_version"; exit ;;
15855 --config | --confi | --conf | --con | --co | --c )
15856 $as_echo "$ac_cs_config"; exit ;;
15857 --debug | --debu | --deb | --de | --d | -d )
15859 --file | --fil | --fi | --f )
15862 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15863 '') as_fn_error $? "missing file argument" ;;
15865 as_fn_append CONFIG_FILES " '$ac_optarg'"
15866 ac_need_defaults=false;;
15867 --header | --heade | --head | --hea )
15870 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15872 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15873 ac_need_defaults=false;;
15875 # Conflict between --help and --header
15876 as_fn_error $? "ambiguous option: \`$1'
15877 Try \`$0 --help' for more information.";;
15878 --help | --hel | -h )
15879 $as_echo "$ac_cs_usage"; exit ;;
15880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15881 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15884 # This is an error.
15885 -*) as_fn_error $? "unrecognized option: \`$1'
15886 Try \`$0 --help' for more information." ;;
15888 *) as_fn_append ac_config_targets " $1"
15889 ac_need_defaults=false ;;
15895 ac_configure_extra_args=
15897 if $ac_cs_silent; then
15899 ac_configure_extra_args="$ac_configure_extra_args --silent"
15903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15904 if \$ac_cs_recheck; then
15905 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15907 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15908 CONFIG_SHELL='$SHELL'
15909 export CONFIG_SHELL
15914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15918 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15919 ## Running $as_me. ##
15925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15929 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15932 # The HP-UX ksh and POSIX shell print the target directory to stdout
15933 # if CDPATH is set.
15934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15936 sed_quote_subst='$sed_quote_subst'
15937 double_quote_subst='$double_quote_subst'
15938 delay_variable_subst='$delay_variable_subst'
15939 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15940 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15941 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15942 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15943 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15944 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15945 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15946 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15947 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15948 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15949 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15950 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15951 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15952 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15953 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15954 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15955 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15956 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15957 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15958 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15959 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15960 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15961 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15962 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15963 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15964 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15965 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15966 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15967 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15968 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15969 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15970 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15971 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15972 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15973 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15974 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15975 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15976 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15977 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15978 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15979 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15980 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15981 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15982 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15983 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15984 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15985 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15986 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15987 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15988 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15989 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15990 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15991 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15992 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15993 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15994 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15995 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"`'
15996 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15997 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15998 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15999 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16000 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16001 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16002 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16003 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16004 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16005 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16006 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16007 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16008 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16009 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16010 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16011 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16012 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16013 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16014 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16015 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16016 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16017 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16018 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16019 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16020 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16021 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16022 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16023 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16024 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16025 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16026 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16027 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16028 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16029 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16030 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16031 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16032 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16033 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16034 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16035 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16036 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16037 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16038 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16039 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16040 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16041 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16042 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16043 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16044 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16045 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16046 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16047 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16048 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16049 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16050 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16051 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16052 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16053 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16054 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16055 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16056 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16057 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16058 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16059 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16060 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16061 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16062 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16063 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16064 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16065 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16066 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16067 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16068 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16071 LTCFLAGS='$LTCFLAGS'
16072 compiler='$compiler_DEFAULT'
16074 # A function that is used when there is no print builtin or printf.
16075 func_fallback_echo ()
16077 eval 'cat <<_LTECHO_EOF
16082 # Quote evaled strings.
16097 deplibs_check_method \
16102 sharedlib_from_linklib_cmd \
16105 archiver_list_spec \
16111 lt_cv_sys_global_symbol_pipe \
16112 lt_cv_sys_global_symbol_to_cdecl \
16113 lt_cv_sys_global_symbol_to_c_name_address \
16114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16115 nm_file_list_spec \
16116 lt_prog_compiler_no_builtin_flag \
16117 lt_prog_compiler_pic \
16118 lt_prog_compiler_wl \
16119 lt_prog_compiler_static \
16120 lt_cv_prog_compiler_c_o \
16129 export_dynamic_flag_spec \
16130 whole_archive_flag_spec \
16131 compiler_needs_object \
16133 allow_undefined_flag \
16134 no_undefined_flag \
16135 hardcode_libdir_flag_spec \
16136 hardcode_libdir_separator \
16140 variables_saved_for_relink \
16142 library_names_spec \
16144 install_override_mode \
16148 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16149 *[\\\\\\\`\\"\\\$]*)
16150 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16153 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16158 # Double-quote double-evaled strings.
16159 for var in reload_cmds \
16160 old_postinstall_cmds \
16161 old_postuninstall_cmds \
16163 extract_expsyms_cmds \
16164 old_archive_from_new_cmds \
16165 old_archive_from_expsyms_cmds \
16167 archive_expsym_cmds \
16169 module_expsym_cmds \
16170 export_symbols_cmds \
16174 postuninstall_cmds \
16176 sys_lib_search_path_spec \
16177 sys_lib_dlsearch_path_spec; do
16178 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16179 *[\\\\\\\`\\"\\\$]*)
16180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16188 ac_aux_dir='$ac_aux_dir'
16189 xsi_shell='$xsi_shell'
16190 lt_shell_append='$lt_shell_append'
16192 # See if we are running on zsh, and set the options which allow our
16193 # commands through without removal of \ escapes INIT.
16194 if test -n "\${ZSH_VERSION+set}" ; then
16195 setopt NO_GLOB_SUBST
16201 TIMESTAMP='$TIMESTAMP'
16205 ac_aux_dir='$ac_aux_dir'
16211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213 # Handling of arguments.
16214 for ac_config_target in $ac_config_targets
16216 case $ac_config_target in
16217 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16218 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16219 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16220 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16221 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16222 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16223 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16224 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16225 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16226 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16227 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16228 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16229 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16230 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16231 "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
16232 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16233 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16234 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16235 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16236 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16237 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16238 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16239 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16240 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16241 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16242 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16243 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16244 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16245 "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16247 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16252 # If the user did not use the arguments to specify the items to instantiate,
16253 # then the envvar interface is used. Set only those that are not.
16254 # We use the long form for the default assignment because of an extremely
16255 # bizarre bug on SunOS 4.1.3.
16256 if $ac_need_defaults; then
16257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16259 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16262 # Have a temporary directory for convenience. Make it in the build tree
16263 # simply because there is no reason against having it here, and in addition,
16264 # creating and moving files from /tmp can sometimes cause problems.
16265 # Hook for its removal unless debugging.
16266 # Note that there is a small window in which the directory will not be cleaned:
16267 # after its creation but before its name has been assigned to `$tmp'.
16271 trap 'exit_status=$?
16272 : "${ac_tmp:=$tmp}"
16273 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16275 trap 'as_fn_exit 1' 1 2 13 15
16277 # Create a (secure) tmp directory for tmp files.
16280 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16284 tmp=./conf$$-$RANDOM
16285 (umask 077 && mkdir "$tmp")
16286 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16289 # Set up the scripts for CONFIG_FILES section.
16290 # No need to generate them if there are no CONFIG_FILES.
16291 # This happens for instance with `./config.status config.h'.
16292 if test -n "$CONFIG_FILES"; then
16295 ac_cr=`echo X | tr X '\015'`
16296 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16297 # But we know of no other shell where ac_cr would be empty at this
16298 # point, so we can use a bashism as a fallback.
16299 if test "x$ac_cr" = x; then
16300 eval ac_cr=\$\'\\r\'
16302 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16303 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16306 ac_cs_awk_cr=$ac_cr
16309 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16314 echo "cat >conf$$subs.awk <<_ACEOF" &&
16315 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16317 } >conf$$subs.sh ||
16318 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16319 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16321 for ac_last_try in false false false false false :; do
16322 . ./conf$$subs.sh ||
16323 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16325 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16326 if test $ac_delim_n = $ac_delim_num; then
16328 elif $ac_last_try; then
16329 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16331 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16334 rm -f conf$$subs.sh
16336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16337 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16341 s/^/S["/; s/!.*/"]=/
16351 s/\(.\{148\}\)..*/\1/
16353 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16358 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16365 s/\(.\{148\}\)..*/\1/
16367 s/["\\]/\\&/g; s/^/"/; s/$/"/
16371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16376 ' <conf$$subs.awk | sed '
16381 ' >>$CONFIG_STATUS || ac_write_fail=1
16382 rm -f conf$$subs.awk
16383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16386 for (key in S) S_is_set[key] = 1
16392 nfields = split(line, field, "@")
16394 len = length(field[1])
16395 for (i = 2; i < nfields; i++) {
16397 keylen = length(key)
16398 if (S_is_set[key]) {
16400 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16401 len += length(value) + length(field[++i])
16412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16413 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16414 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16417 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16418 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16421 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16422 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16423 # trailing colons and then remove the whole line if VPATH becomes empty
16424 # (actually we leave an empty line to preserve line numbers).
16425 if test "x$srcdir" = x.; then
16426 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16445 fi # test -n "$CONFIG_FILES"
16447 # Set up the scripts for CONFIG_HEADERS section.
16448 # No need to generate them if there are no CONFIG_HEADERS.
16449 # This happens for instance with `./config.status Makefile'.
16450 if test -n "$CONFIG_HEADERS"; then
16451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16455 # Transform confdefs.h into an awk script `defines.awk', embedded as
16456 # here-document in config.status, that substitutes the proper values into
16457 # config.h.in to produce config.h.
16459 # Create a delimiter string that does not exist in confdefs.h, to ease
16460 # handling of long lines.
16462 for ac_last_try in false false :; do
16463 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16464 if test -z "$ac_tt"; then
16466 elif $ac_last_try; then
16467 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16473 # For the awk script, D is an array of macro values keyed by name,
16474 # likewise P contains macro parameters if any. Preserve backslash
16475 # newline sequences.
16477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16479 s/.\{148\}/&'"$ac_delim"'/g
16482 s/^[ ]*#[ ]*define[ ][ ]*/ /
16489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16491 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16496 D["\1"]=" \3\\\\\\n"\\/p
16498 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16503 s/.\{148\}/&'"$ac_delim"'/g
16508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16513 ' <confdefs.h | sed '
16514 s/'"$ac_delim"'/"\\\
16515 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16518 for (key in D) D_is_set[key] = 1
16521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16523 split(line, arg, " ")
16524 if (arg[1] == "#") {
16528 defundef = substr(arg[1], 2)
16531 split(mac1, mac2, "(") #)
16533 prefix = substr(line, 1, index(line, defundef) - 1)
16534 if (D_is_set[macro]) {
16535 # Preserve the white space surrounding the "#".
16536 print prefix "define", macro P[macro] D[macro]
16539 # Replace #undef with comments. This is necessary, for example,
16540 # in the case of _POSIX_SOURCE, which is predefined and required
16541 # on some systems where configure will not decide to define it.
16542 if (defundef == "undef") {
16543 print "/*", prefix defundef, macro, "*/"
16551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16553 fi # test -n "$CONFIG_HEADERS"
16556 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16561 :[FHLC]) ac_mode=$ac_tag; continue;;
16563 case $ac_mode$ac_tag in
16565 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16566 :[FH]-) ac_tag=-:-;;
16567 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16584 -) ac_f="$ac_tmp/stdin";;
16585 *) # Look for the file first in the build tree, then in the source tree
16586 # (if the path is not absolute). The absolute path cannot be DOS-style,
16587 # because $ac_f cannot contain `:'.
16591 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16593 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16595 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16596 as_fn_append ac_file_inputs " '$ac_f'"
16599 # Let's still pretend it is `configure' which instantiates (i.e., don't
16600 # use $as_me), people would be surprised to read:
16601 # /* config.h. Generated by config.status. */
16602 configure_input='Generated from '`
16603 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16605 if test x"$ac_file" != x-; then
16606 configure_input="$ac_file. $configure_input"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16608 $as_echo "$as_me: creating $ac_file" >&6;}
16610 # Neutralize special characters interpreted by sed in replacement strings.
16611 case $configure_input in #(
16612 *\&* | *\|* | *\\* )
16613 ac_sed_conf_input=`$as_echo "$configure_input" |
16614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16615 *) ac_sed_conf_input=$configure_input;;
16619 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16625 ac_dir=`$as_dirname -- "$ac_file" ||
16626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16627 X"$ac_file" : 'X\(//\)[^/]' \| \
16628 X"$ac_file" : 'X\(//\)$' \| \
16629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16630 $as_echo X"$ac_file" |
16631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16635 /^X\(\/\/\)[^/].*/{
16648 as_dir="$ac_dir"; as_fn_mkdir_p
16652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16655 # A ".." for each directory in $ac_dir_suffix.
16656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16657 case $ac_top_builddir_sub in
16658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16662 ac_abs_top_builddir=$ac_pwd
16663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16664 # for backward compatibility:
16665 ac_top_builddir=$ac_top_build_prefix
16668 .) # We are building in place.
16670 ac_top_srcdir=$ac_top_builddir_sub
16671 ac_abs_top_srcdir=$ac_pwd ;;
16672 [\\/]* | ?:[\\/]* ) # Absolute name.
16673 ac_srcdir=$srcdir$ac_dir_suffix;
16674 ac_top_srcdir=$srcdir
16675 ac_abs_top_srcdir=$srcdir ;;
16676 *) # Relative name.
16677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16678 ac_top_srcdir=$ac_top_build_prefix$srcdir
16679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16691 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16692 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16694 ac_MKDIR_P=$MKDIR_P
16696 [\\/$]* | ?:[\\/]* ) ;;
16697 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16702 # If the template does not know about datarootdir, expand it.
16703 # FIXME: This hack should be removed a few years after 2.60.
16704 ac_datarootdir_hack=; ac_datarootdir_seen=
16715 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16716 *datarootdir*) ac_datarootdir_seen=yes;;
16717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16719 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16722 ac_datarootdir_hack='
16723 s&@datadir@&$datadir&g
16724 s&@docdir@&$docdir&g
16725 s&@infodir@&$infodir&g
16726 s&@localedir@&$localedir&g
16727 s&@mandir@&$mandir&g
16728 s&\\\${datarootdir}&$datarootdir&g' ;;
16732 # Neutralize VPATH when `$srcdir' = `.'.
16733 # Shell code in configure.ac might set extrasub.
16734 # FIXME: do we really want to maintain this feature?
16735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16736 ac_sed_extra="$ac_vpsub
16739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16742 s|@configure_input@|$ac_sed_conf_input|;t t
16743 s&@top_builddir@&$ac_top_builddir_sub&;t t
16744 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16745 s&@srcdir@&$ac_srcdir&;t t
16746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16747 s&@top_srcdir@&$ac_top_srcdir&;t t
16748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16749 s&@builddir@&$ac_builddir&;t t
16750 s&@abs_builddir@&$ac_abs_builddir&;t t
16751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16752 s&@INSTALL@&$ac_INSTALL&;t t
16753 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16754 $ac_datarootdir_hack
16756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16757 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16760 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16762 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16764 which seems to be undefined. Please make sure it is defined" >&5
16765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16766 which seems to be undefined. Please make sure it is defined" >&2;}
16768 rm -f "$ac_tmp/stdin"
16770 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16771 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16779 if test x"$ac_file" != x-; then
16781 $as_echo "/* $configure_input */" \
16782 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16783 } >"$ac_tmp/config.h" \
16784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16785 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16787 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16790 mv "$ac_tmp/config.h" "$ac_file" \
16791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16794 $as_echo "/* $configure_input */" \
16795 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16796 || as_fn_error $? "could not create -" "$LINENO" 5
16798 # Compute "$ac_file"'s index in $config_headers.
16801 for _am_header in $config_headers :; do
16802 case $_am_header in
16803 $_am_arg | $_am_arg:* )
16806 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16809 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16810 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811 X"$_am_arg" : 'X\(//\)[^/]' \| \
16812 X"$_am_arg" : 'X\(//\)$' \| \
16813 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$_am_arg" |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819 /^X\(\/\/\)[^/].*/{
16831 s/.*/./; q'`/stamp-h$_am_stamp_count
16834 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16835 $as_echo "$as_me: executing $ac_file commands" >&6;}
16840 case $ac_file$ac_mode in
16841 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16842 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16843 # are listed without --file. Let's play safe and only enable the eval
16844 # if we detect the quoting.
16845 case $CONFIG_FILES in
16846 *\'*) eval set x "$CONFIG_FILES" ;;
16847 *) set x $CONFIG_FILES ;;
16852 # Strip MF so we end up with the name of the file.
16853 mf=`echo "$mf" | sed -e 's/:.*$//'`
16854 # Check whether this is an Automake generated Makefile or not.
16855 # We used to match only the files named `Makefile.in', but
16856 # some people rename them; so instead we look at the file content.
16857 # Grep'ing the first line is not enough: some people post-process
16858 # each Makefile.in and add a new line on top of each file to say so.
16859 # Grep'ing the whole file is not good either: AIX grep has a line
16860 # limit of 2048, but all sed's we know have understand at least 4000.
16861 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16862 dirpart=`$as_dirname -- "$mf" ||
16863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16864 X"$mf" : 'X\(//\)[^/]' \| \
16865 X"$mf" : 'X\(//\)$' \| \
16866 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16872 /^X\(\/\/\)[^/].*/{
16888 # Extract the definition of DEPDIR, am__include, and am__quote
16889 # from the Makefile without running `make'.
16890 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16891 test -z "$DEPDIR" && continue
16892 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16893 test -z "am__include" && continue
16894 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16895 # When using ansi2knr, U may be empty or an underscore; expand it
16896 U=`sed -n 's/^U = //p' < "$mf"`
16897 # Find all dependency output files, they are included files with
16898 # $(DEPDIR) in their names. We invoke sed twice because it is the
16899 # simplest approach to changing $(DEPDIR) to its actual value in the
16901 for file in `sed -n "
16902 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16903 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16904 # Make sure the directory exists.
16905 test -f "$dirpart/$file" && continue
16906 fdir=`$as_dirname -- "$file" ||
16907 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16908 X"$file" : 'X\(//\)[^/]' \| \
16909 X"$file" : 'X\(//\)$' \| \
16910 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16911 $as_echo X"$file" |
16912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16916 /^X\(\/\/\)[^/].*/{
16929 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16930 # echo "creating $dirpart/$file"
16931 echo '# dummy' > "$dirpart/$file"
16938 # See if we are running on zsh, and set the options which allow our
16939 # commands through without removal of \ escapes.
16940 if test -n "${ZSH_VERSION+set}" ; then
16941 setopt NO_GLOB_SUBST
16944 cfgfile="${ofile}T"
16945 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16948 cat <<_LT_EOF >> "$cfgfile"
16951 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16952 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16953 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16954 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16956 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16957 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16959 # Written by Gordon Matzigkeit, 1996
16961 # This file is part of GNU Libtool.
16963 # GNU Libtool is free software; you can redistribute it and/or
16964 # modify it under the terms of the GNU General Public License as
16965 # published by the Free Software Foundation; either version 2 of
16966 # the License, or (at your option) any later version.
16968 # As a special exception to the GNU General Public License,
16969 # if you distribute this file as part of a program or library that
16970 # is built using GNU Libtool, you may include this file under the
16971 # same distribution terms that you use for the rest of that program.
16973 # GNU Libtool is distributed in the hope that it will be useful,
16974 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16975 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16976 # GNU General Public License for more details.
16978 # You should have received a copy of the GNU General Public License
16979 # along with GNU Libtool; see the file COPYING. If not, a copy
16980 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16981 # obtained by writing to the Free Software Foundation, Inc.,
16982 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16985 # The names of the tagged configurations supported by this script.
16988 # ### BEGIN LIBTOOL CONFIG
16990 # Which release of libtool.m4 was used?
16991 macro_version=$macro_version
16992 macro_revision=$macro_revision
16994 # Whether or not to build static libraries.
16995 build_old_libs=$enable_static
16997 # Whether or not to build shared libraries.
16998 build_libtool_libs=$enable_shared
17000 # What type of objects to build.
17003 # Whether or not to optimize for fast installation.
17004 fast_install=$enable_fast_install
17006 # Shell to use when invoking shell scripts.
17009 # An echo program that protects backslashes.
17012 # The PATH separator for the build system.
17013 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17016 host_alias=$host_alias
17020 # The build system.
17021 build_alias=$build_alias
17025 # A sed program that does not truncate output.
17028 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17029 Xsed="\$SED -e 1s/^X//"
17031 # A grep program that handles long lines.
17037 # A literal string matcher.
17040 # A BSD- or MS-compatible name lister.
17043 # Whether we need soft or hard links.
17046 # What is the maximum length of a command?
17047 max_cmd_len=$max_cmd_len
17049 # Object file suffix (normally "o").
17052 # Executable file suffix (normally "").
17055 # whether the shell understands "unset".
17058 # turn spaces into newlines.
17061 # turn newlines into spaces.
17064 # convert \$build file names to \$host format.
17065 to_host_file_cmd=$lt_cv_to_host_file_cmd
17067 # convert \$build files to toolchain format.
17068 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17070 # An object symbol dumper.
17071 OBJDUMP=$lt_OBJDUMP
17073 # Method to check whether dependent libraries are shared objects.
17074 deplibs_check_method=$lt_deplibs_check_method
17076 # Command to use when deplibs_check_method = "file_magic".
17077 file_magic_cmd=$lt_file_magic_cmd
17079 # How to find potential files when deplibs_check_method = "file_magic".
17080 file_magic_glob=$lt_file_magic_glob
17082 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17083 want_nocaseglob=$lt_want_nocaseglob
17085 # DLL creation program.
17086 DLLTOOL=$lt_DLLTOOL
17088 # Command to associate shared and link libraries.
17089 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17094 # Flags to create an archive.
17095 AR_FLAGS=$lt_AR_FLAGS
17097 # How to feed a file listing to the archiver.
17098 archiver_list_spec=$lt_archiver_list_spec
17100 # A symbol stripping program.
17103 # Commands used to install an old-style archive.
17105 old_postinstall_cmds=$lt_old_postinstall_cmds
17106 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17108 # Whether to use a lock for old archive extraction.
17109 lock_old_archive_extraction=$lock_old_archive_extraction
17114 # LTCC compiler flags.
17115 LTCFLAGS=$lt_CFLAGS
17117 # Take the output of nm and produce a listing of raw symbols and C names.
17118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17120 # Transform the output of nm in a proper C declaration.
17121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17123 # Transform the output of nm in a C name address pair.
17124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17126 # Transform the output of nm in a C name address pair when lib prefix is needed.
17127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17129 # Specify filename containing input files for \$NM.
17130 nm_file_list_spec=$lt_nm_file_list_spec
17132 # The root where to search for dependent libraries,and in which our libraries should be installed.
17133 lt_sysroot=$lt_sysroot
17135 # The name of the directory that contains temporary libtool files.
17138 # Used to examine libraries when file_magic_cmd begins with "file".
17139 MAGIC_CMD=$MAGIC_CMD
17141 # Must we lock files when doing compilation?
17142 need_locks=$lt_need_locks
17145 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17147 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17148 DSYMUTIL=$lt_DSYMUTIL
17150 # Tool to change global to local symbols on Mac OS X.
17153 # Tool to manipulate fat objects and archives on Mac OS X.
17156 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17159 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17160 OTOOL64=$lt_OTOOL64
17162 # Old archive suffix (normally "a").
17165 # Shared library suffix (normally ".so").
17166 shrext_cmds=$lt_shrext_cmds
17168 # The commands to extract the exported symbol list from a shared archive.
17169 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17171 # Variables whose values should be saved in libtool wrapper scripts and
17172 # restored at link time.
17173 variables_saved_for_relink=$lt_variables_saved_for_relink
17175 # Do we need the "lib" prefix for modules?
17176 need_lib_prefix=$need_lib_prefix
17178 # Do we need a version for libraries?
17179 need_version=$need_version
17181 # Library versioning type.
17182 version_type=$version_type
17184 # Shared library runtime path variable.
17185 runpath_var=$runpath_var
17187 # Shared library path variable.
17188 shlibpath_var=$shlibpath_var
17190 # Is shlibpath searched before the hard-coded library search path?
17191 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17193 # Format of library name prefix.
17194 libname_spec=$lt_libname_spec
17196 # List of archive names. First name is the real one, the rest are links.
17197 # The last name is the one that the linker finds with -lNAME
17198 library_names_spec=$lt_library_names_spec
17200 # The coded name of the library, if different from the real name.
17201 soname_spec=$lt_soname_spec
17203 # Permission mode override for installation of shared libraries.
17204 install_override_mode=$lt_install_override_mode
17206 # Command to use after installation of a shared archive.
17207 postinstall_cmds=$lt_postinstall_cmds
17209 # Command to use after uninstallation of a shared archive.
17210 postuninstall_cmds=$lt_postuninstall_cmds
17212 # Commands used to finish a libtool library installation in a directory.
17213 finish_cmds=$lt_finish_cmds
17215 # As "finish_cmds", except a single script fragment to be evaled but
17217 finish_eval=$lt_finish_eval
17219 # Whether we should hardcode library paths into libraries.
17220 hardcode_into_libs=$hardcode_into_libs
17222 # Compile-time system search path for libraries.
17223 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17225 # Run-time system search path for libraries.
17226 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17228 # Whether dlopen is supported.
17229 dlopen_support=$enable_dlopen
17231 # Whether dlopen of programs is supported.
17232 dlopen_self=$enable_dlopen_self
17234 # Whether dlopen of statically linked programs is supported.
17235 dlopen_self_static=$enable_dlopen_self_static
17237 # Commands to strip libraries.
17238 old_striplib=$lt_old_striplib
17239 striplib=$lt_striplib
17242 # The linker used to build libraries.
17245 # How to create reloadable object files.
17246 reload_flag=$lt_reload_flag
17247 reload_cmds=$lt_reload_cmds
17249 # Commands used to build an old-style archive.
17250 old_archive_cmds=$lt_old_archive_cmds
17252 # A language specific compiler.
17255 # Is the compiler the GNU compiler?
17258 # Compiler flag to turn off builtin functions.
17259 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17261 # Additional compiler flags for building library objects.
17262 pic_flag=$lt_lt_prog_compiler_pic
17264 # How to pass a linker flag through the compiler.
17265 wl=$lt_lt_prog_compiler_wl
17267 # Compiler flag to prevent dynamic linking.
17268 link_static_flag=$lt_lt_prog_compiler_static
17270 # Does compiler simultaneously support -c and -o options?
17271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17273 # Whether or not to add -lc for building shared libraries.
17274 build_libtool_need_lc=$archive_cmds_need_lc
17276 # Whether or not to disallow shared libs when runtime libs are static.
17277 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17279 # Compiler flag to allow reflexive dlopens.
17280 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17282 # Compiler flag to generate shared objects directly from archives.
17283 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17285 # Whether the compiler copes with passing no objects directly.
17286 compiler_needs_object=$lt_compiler_needs_object
17288 # Create an old-style archive from a shared archive.
17289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17291 # Create a temporary old-style archive to link instead of a shared archive.
17292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17294 # Commands used to build a shared archive.
17295 archive_cmds=$lt_archive_cmds
17296 archive_expsym_cmds=$lt_archive_expsym_cmds
17298 # Commands used to build a loadable module if different from building
17299 # a shared archive.
17300 module_cmds=$lt_module_cmds
17301 module_expsym_cmds=$lt_module_expsym_cmds
17303 # Whether we are building with GNU ld or not.
17304 with_gnu_ld=$lt_with_gnu_ld
17306 # Flag that allows shared libraries with undefined symbols to be built.
17307 allow_undefined_flag=$lt_allow_undefined_flag
17309 # Flag that enforces no undefined symbols.
17310 no_undefined_flag=$lt_no_undefined_flag
17312 # Flag to hardcode \$libdir into a binary during linking.
17313 # This must work even if \$libdir does not exist
17314 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17316 # Whether we need a single "-rpath" flag with a separated argument.
17317 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17320 # DIR into the resulting binary.
17321 hardcode_direct=$hardcode_direct
17323 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17324 # DIR into the resulting binary and the resulting library dependency is
17325 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17326 # library is relocated.
17327 hardcode_direct_absolute=$hardcode_direct_absolute
17329 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17330 # into the resulting binary.
17331 hardcode_minus_L=$hardcode_minus_L
17333 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17334 # into the resulting binary.
17335 hardcode_shlibpath_var=$hardcode_shlibpath_var
17337 # Set to "yes" if building a shared library automatically hardcodes DIR
17338 # into the library and all subsequent libraries and executables linked
17340 hardcode_automatic=$hardcode_automatic
17342 # Set to yes if linker adds runtime paths of dependent libraries
17343 # to runtime path list.
17344 inherit_rpath=$inherit_rpath
17346 # Whether libtool must link a program against all its dependency libraries.
17347 link_all_deplibs=$link_all_deplibs
17349 # Set to "yes" if exported symbols are required.
17350 always_export_symbols=$always_export_symbols
17352 # The commands to list exported symbols.
17353 export_symbols_cmds=$lt_export_symbols_cmds
17355 # Symbols that should not be listed in the preloaded symbols.
17356 exclude_expsyms=$lt_exclude_expsyms
17358 # Symbols that must always be exported.
17359 include_expsyms=$lt_include_expsyms
17361 # Commands necessary for linking programs (against libraries) with templates.
17362 prelink_cmds=$lt_prelink_cmds
17364 # Commands necessary for finishing linking programs.
17365 postlink_cmds=$lt_postlink_cmds
17367 # Specify filename containing input files.
17368 file_list_spec=$lt_file_list_spec
17370 # How to hardcode a shared library path into an executable.
17371 hardcode_action=$hardcode_action
17373 # ### END LIBTOOL CONFIG
17379 cat <<\_LT_EOF >> "$cfgfile"
17380 # AIX sometimes has problems with the GCC collect2 program. For some
17381 # reason, if we set the COLLECT_NAMES environment variable, the problems
17382 # vanish in a puff of smoke.
17383 if test "X${COLLECT_NAMES+set}" != Xset; then
17385 export COLLECT_NAMES
17392 ltmain="$ac_aux_dir/ltmain.sh"
17395 # We use sed instead of cat because bash on DJGPP gets confused if
17396 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17397 # text mode, it properly converts lines to CR/LF. This bash problem
17398 # is reportedly fixed, but why not run on old versions too?
17399 sed '$q' "$ltmain" >> "$cfgfile" \
17400 || (rm -f "$cfgfile"; exit 1)
17402 if test x"$xsi_shell" = xyes; then
17403 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17407 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17408 \ * ) func_dirname_result="${3}" ;;\
17410 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17411 && mv -f "$cfgfile.tmp" "$cfgfile" \
17412 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17413 test 0 -eq $? || _lt_function_replace_fail=:
17416 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17419 \ func_basename_result="${1##*/}"\
17420 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17421 && mv -f "$cfgfile.tmp" "$cfgfile" \
17422 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17423 test 0 -eq $? || _lt_function_replace_fail=:
17426 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17427 func_dirname_and_basename ()\
17430 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17431 \ * ) func_dirname_result="${3}" ;;\
17433 \ func_basename_result="${1##*/}"\
17434 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17435 && mv -f "$cfgfile.tmp" "$cfgfile" \
17436 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17437 test 0 -eq $? || _lt_function_replace_fail=:
17440 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17443 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17444 \ # positional parameters, so assign one to ordinary parameter first.\
17445 \ func_stripname_result=${3}\
17446 \ func_stripname_result=${func_stripname_result#"${1}"}\
17447 \ func_stripname_result=${func_stripname_result%"${2}"}\
17448 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17449 && mv -f "$cfgfile.tmp" "$cfgfile" \
17450 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17451 test 0 -eq $? || _lt_function_replace_fail=:
17454 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17455 func_split_long_opt ()\
17457 \ func_split_long_opt_name=${1%%=*}\
17458 \ func_split_long_opt_arg=${1#*=}\
17459 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17460 && mv -f "$cfgfile.tmp" "$cfgfile" \
17461 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17462 test 0 -eq $? || _lt_function_replace_fail=:
17465 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17466 func_split_short_opt ()\
17468 \ func_split_short_opt_arg=${1#??}\
17469 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17470 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17471 && mv -f "$cfgfile.tmp" "$cfgfile" \
17472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17473 test 0 -eq $? || _lt_function_replace_fail=:
17476 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17480 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17481 \ *) func_lo2o_result=${1} ;;\
17483 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17484 && mv -f "$cfgfile.tmp" "$cfgfile" \
17485 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17486 test 0 -eq $? || _lt_function_replace_fail=:
17489 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17492 func_xform_result=${1%.*}.lo\
17493 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17494 && mv -f "$cfgfile.tmp" "$cfgfile" \
17495 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17496 test 0 -eq $? || _lt_function_replace_fail=:
17499 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17502 func_arith_result=$(( $* ))\
17503 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17504 && mv -f "$cfgfile.tmp" "$cfgfile" \
17505 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17506 test 0 -eq $? || _lt_function_replace_fail=:
17509 sed -e '/^func_len ()$/,/^} # func_len /c\
17512 func_len_result=${#1}\
17513 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17514 && mv -f "$cfgfile.tmp" "$cfgfile" \
17515 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17516 test 0 -eq $? || _lt_function_replace_fail=:
17520 if test x"$lt_shell_append" = xyes; then
17521 sed -e '/^func_append ()$/,/^} # func_append /c\
17524 eval "${1}+=\\${2}"\
17525 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17526 && mv -f "$cfgfile.tmp" "$cfgfile" \
17527 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17528 test 0 -eq $? || _lt_function_replace_fail=:
17531 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17532 func_append_quoted ()\
17534 \ func_quote_for_eval "${2}"\
17535 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17536 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17537 && mv -f "$cfgfile.tmp" "$cfgfile" \
17538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17542 # Save a `func_append' function call where possible by direct use of '+='
17543 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17544 && mv -f "$cfgfile.tmp" "$cfgfile" \
17545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17546 test 0 -eq $? || _lt_function_replace_fail=:
17548 # Save a `func_append' function call even when '+=' is not available
17549 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17550 && mv -f "$cfgfile.tmp" "$cfgfile" \
17551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17552 test 0 -eq $? || _lt_function_replace_fail=:
17555 if test x"$_lt_function_replace_fail" = x":"; then
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17557 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17561 mv -f "$cfgfile" "$ofile" ||
17562 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17573 ac_clean_files=$ac_clean_files_save
17575 test $ac_write_fail = 0 ||
17576 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17579 # configure is writing to config.log, and then calls config.status.
17580 # config.status does its own redirection, appending to config.log.
17581 # Unfortunately, on DOS this fails, as config.log is still kept open
17582 # by configure, so config.status won't be able to write to it; its
17583 # output is simply discarded. So we exec the FD to /dev/null,
17584 # effectively closing config.log, so it can be properly (re)opened and
17585 # appended to by config.status. When coming back to configure, we
17586 # need to make the FD available again.
17587 if test "$no_create" != yes; then
17589 ac_config_status_args=
17590 test "$silent" = yes &&
17591 ac_config_status_args="$ac_config_status_args --quiet"
17593 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17595 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17596 # would make configure fail if this is the last instruction.
17597 $ac_cs_success || as_fn_exit 1
17599 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17601 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}