2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gsignond 1.0.1.
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='1.0.1'
571 PACKAGE_STRING='gsignond 1.0.1'
573 PACKAGE_URL='http://01.org/gsso'
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
637 SET_PERMISSIONS_FALSE
649 HAVE_LIBECRYPTFS_FALSE
650 HAVE_LIBECRYPTFS_TRUE
724 INSTALL_STRIP_PROGRAM
766 program_transform_name
779 enable_option_checking
781 enable_dependency_tracking
802 ac_precious_vars='build_alias
828 # Initialize some variables set by options.
830 ac_init_version=false
831 ac_unrecognized_opts=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name=s,x,x,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\$ac_option
888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir | --bindir | --bindi | --bind | --bin | --bi)
901 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 -build | --build | --buil | --bui | --bu)
905 ac_prev=build_alias ;;
906 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907 build_alias=$ac_optarg ;;
909 -cache-file | --cache-file | --cache-fil | --cache-fi \
910 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911 ac_prev=cache_file ;;
912 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914 cache_file=$ac_optarg ;;
917 cache_file=config.cache ;;
919 -datadir | --datadir | --datadi | --datad)
921 -datadir=* | --datadir=* | --datadi=* | --datad=*)
922 datadir=$ac_optarg ;;
924 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925 | --dataroo | --dataro | --datar)
926 ac_prev=datarootdir ;;
927 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929 datarootdir=$ac_optarg ;;
931 -disable-* | --disable-*)
932 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935 as_fn_error $? "invalid feature name: $ac_useropt"
936 ac_useropt_orig=$ac_useropt
937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep=', ';;
945 eval enable_$ac_useropt=no ;;
947 -docdir | --docdir | --docdi | --doc | --do)
949 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
954 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957 -enable-* | --enable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep=', ';;
971 eval enable_$ac_useropt=\$ac_optarg ;;
973 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975 | --exec | --exe | --ex)
976 ac_prev=exec_prefix ;;
977 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979 | --exec=* | --exe=* | --ex=*)
980 exec_prefix=$ac_optarg ;;
982 -gas | --gas | --ga | --g)
983 # Obsolete; use --with-gas.
986 -help | --help | --hel | --he | -h)
988 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989 ac_init_help=recursive ;;
990 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991 ac_init_help=short ;;
993 -host | --host | --hos | --ho)
994 ac_prev=host_alias ;;
995 -host=* | --host=* | --hos=* | --ho=*)
996 host_alias=$ac_optarg ;;
998 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1000 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1002 htmldir=$ac_optarg ;;
1004 -includedir | --includedir | --includedi | --included | --include \
1005 | --includ | --inclu | --incl | --inc)
1006 ac_prev=includedir ;;
1007 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008 | --includ=* | --inclu=* | --incl=* | --inc=*)
1009 includedir=$ac_optarg ;;
1011 -infodir | --infodir | --infodi | --infod | --info | --inf)
1013 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014 infodir=$ac_optarg ;;
1016 -libdir | --libdir | --libdi | --libd)
1018 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019 libdir=$ac_optarg ;;
1021 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022 | --libexe | --libex | --libe)
1023 ac_prev=libexecdir ;;
1024 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025 | --libexe=* | --libex=* | --libe=*)
1026 libexecdir=$ac_optarg ;;
1028 -localedir | --localedir | --localedi | --localed | --locale)
1029 ac_prev=localedir ;;
1030 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031 localedir=$ac_optarg ;;
1033 -localstatedir | --localstatedir | --localstatedi | --localstated \
1034 | --localstate | --localstat | --localsta | --localst | --locals)
1035 ac_prev=localstatedir ;;
1036 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038 localstatedir=$ac_optarg ;;
1040 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1042 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043 mandir=$ac_optarg ;;
1045 -nfp | --nfp | --nf)
1046 # Obsolete; use --without-fp.
1049 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050 | --no-cr | --no-c | -n)
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059 | --oldin | --oldi | --old | --ol | --o)
1060 ac_prev=oldincludedir ;;
1061 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064 oldincludedir=$ac_optarg ;;
1066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069 prefix=$ac_optarg ;;
1071 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072 | --program-pre | --program-pr | --program-p)
1073 ac_prev=program_prefix ;;
1074 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076 program_prefix=$ac_optarg ;;
1078 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079 | --program-suf | --program-su | --program-s)
1080 ac_prev=program_suffix ;;
1081 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083 program_suffix=$ac_optarg ;;
1085 -program-transform-name | --program-transform-name \
1086 | --program-transform-nam | --program-transform-na \
1087 | --program-transform-n | --program-transform- \
1088 | --program-transform | --program-transfor \
1089 | --program-transfo | --program-transf \
1090 | --program-trans | --program-tran \
1091 | --progr-tra | --program-tr | --program-t)
1092 ac_prev=program_transform_name ;;
1093 -program-transform-name=* | --program-transform-name=* \
1094 | --program-transform-nam=* | --program-transform-na=* \
1095 | --program-transform-n=* | --program-transform-=* \
1096 | --program-transform=* | --program-transfor=* \
1097 | --program-transfo=* | --program-transf=* \
1098 | --program-trans=* | --program-tran=* \
1099 | --progr-tra=* | --program-tr=* | --program-t=*)
1100 program_transform_name=$ac_optarg ;;
1102 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1104 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105 pdfdir=$ac_optarg ;;
1107 -psdir | --psdir | --psdi | --psd | --ps)
1109 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113 | -silent | --silent | --silen | --sile | --sil)
1116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 sbindir=$ac_optarg ;;
1122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124 | --sharedst | --shareds | --shared | --share | --shar \
1126 ac_prev=sharedstatedir ;;
1127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 sharedstatedir=$ac_optarg ;;
1133 -site | --site | --sit)
1135 -site=* | --site=* | --sit=*)
1138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141 srcdir=$ac_optarg ;;
1143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144 | --syscon | --sysco | --sysc | --sys | --sy)
1145 ac_prev=sysconfdir ;;
1146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148 sysconfdir=$ac_optarg ;;
1150 -target | --target | --targe | --targ | --tar | --ta | --t)
1151 ac_prev=target_alias ;;
1152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153 target_alias=$ac_optarg ;;
1155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 -version | --version | --versio | --versi | --vers | -V)
1159 ac_init_version=: ;;
1162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165 as_fn_error $? "invalid package name: $ac_useropt"
1166 ac_useropt_orig=$ac_useropt
1167 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep=', ';;
1175 eval with_$ac_useropt=\$ac_optarg ;;
1177 -without-* | --without-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=no ;;
1194 # Obsolete; use --with-x.
1197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198 | --x-incl | --x-inc | --x-in | --x-i)
1199 ac_prev=x_includes ;;
1200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202 x_includes=$ac_optarg ;;
1204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206 ac_prev=x_libraries ;;
1207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209 x_libraries=$ac_optarg ;;
1211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' | [0-9]* | *[!_$as_cr_alnum]* )
1220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $? "missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val=\$$ac_var
1256 # Remove trailing slashes.
1259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$]* | ?:[\\/]* ) continue;;
1265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279 if test "x$build_alias" = x; then
1280 cross_compiling=maybe
1281 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1282 If a cross compiler is detected then cross compile mode will be used" >&2
1283 elif test "x$build_alias" != "x$host_alias"; then
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291 test "$silent" = yes && exec 6>/dev/null
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error $? "pwd does not report name of working directory"
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1334 ac_srcdir_defaulted=no
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 for ac_var in $ac_precious_vars; do
1355 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_${ac_var}_value=\$${ac_var}
1357 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 # Report the --help message.
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1368 \`configure' configures gsignond 1.0.1 to adapt to many kinds of systems.
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1375 Defaults for the options are specified in brackets.
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print \`checking ...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for \`--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1399 For better control, use the options below.
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root [DATAROOTDIR/doc/gsignond]
1417 --htmldir=DIR html documentation [DOCDIR]
1418 --dvidir=DIR dvi documentation [DOCDIR]
1419 --pdfdir=DIR pdf documentation [DOCDIR]
1420 --psdir=DIR ps documentation [DOCDIR]
1426 --program-prefix=PREFIX prepend PREFIX to installed program names
1427 --program-suffix=SUFFIX append SUFFIX to installed program names
1428 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1431 --build=BUILD configure for building on BUILD [guessed]
1432 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 if test -n "$ac_init_help"; then
1437 case $ac_init_help in
1438 short | recursive ) echo "Configuration of gsignond 1.0.1:";;
1443 --disable-option-checking ignore unrecognized --enable/--with options
1444 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1445 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1446 --enable-silent-rules less verbose build output (undo: `make V=1')
1447 --disable-silent-rules verbose build output (undo: `make V=0')
1448 --disable-dependency-tracking speeds up one-time build
1449 --enable-dependency-tracking do not reject slow dependency extractors
1450 --enable-static[=PKGS] build static libraries [default=no]
1451 --enable-shared[=PKGS] build shared libraries [default=yes]
1452 --enable-fast-install[=PKGS]
1453 optimize for fast installation [default=yes]
1454 --disable-libtool-lock avoid locking (might break parallel builds)
1455 --enable-coverage compile with coverage info
1456 --enable-distcheck build for distcheck target
1457 --enable-dbus-type=dbus-type specify daemon dbus type:
1458 p2p(default): uses peer to peer dbus
1459 session: uses session message bus
1460 system: uses system message bus
1461 --enable-keychain=sysctx
1462 enable keychain access with
1463 system context "sysctx"
1464 --enable-storagedir=path
1465 enable storage at location "path"
1466 instead of default "/var/db"
1467 --enable-debug enable debug features
1468 --enable-sql-log enable sql log feature
1469 --enable-acltriggers enable ACL before delete triggers
1470 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1471 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1472 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1475 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1476 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1477 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1479 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1480 --with-sysroot=DIR Search for dependent libraries within DIR
1481 (or the compiler's sysroot if not specified).
1482 --with-html-dir=PATH path to installed docs
1484 Some influential environment variables:
1485 CC C compiler command
1486 CFLAGS C compiler flags
1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1488 nonstandard directory <lib dir>
1489 LIBS libraries to pass to the linker, e.g. -l<library>
1490 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491 you have headers in a nonstandard directory <include dir>
1493 PKG_CONFIG path to pkg-config utility
1495 directories to add to pkg-config's search path
1497 path overriding pkg-config's built-in search path
1499 C compiler flags for GSIGNOND, overriding pkg-config
1501 linker flags for GSIGNOND, overriding pkg-config
1503 C compiler flags for CHECK, overriding pkg-config
1504 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1506 C compiler flags for LIBSMACK, overriding pkg-config
1508 linker flags for LIBSMACK, overriding pkg-config
1510 C compiler flags for LIBECRYPTFS, overriding pkg-config
1512 linker flags for LIBECRYPTFS, overriding pkg-config
1514 C compiler flags for GTestDBus, overriding pkg-config
1516 linker flags for GTestDBus, overriding pkg-config
1518 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1520 linker flags for GTKDOC_DEPS, overriding pkg-config
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to the package provider.
1526 gsignond home page: <http://01.org/gsso>.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1556 .) # We are building in place.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1589 gsignond configure 1.0.1
1590 generated by GNU Autoconf 2.68
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_c_try_link LINENO
1642 # -----------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext conftest$ac_exeext
1648 if { { ac_try="$ac_link"
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_link") 2>conftest.err
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest$ac_exeext && {
1667 test "$cross_compiling" = yes ||
1668 $as_test_x conftest$ac_exeext
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679 # interfere with the next link command; also delete a directory that is
1680 # left behind by Apple's compiler. We do this before executing the actions.
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_c_try_link
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile "$LINENO"; then :
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_compile
1718 # ac_fn_c_try_cpp LINENO
1719 # ----------------------
1720 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 if { { ac_try="$ac_cpp conftest.$ac_ext"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } > conftest.i && {
1740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1812 #define $2 innocuous_$2
1814 /* System header to define __stub macros and hopefully few prototypes,
1815 which can conflict with char $2 (); below.
1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817 <limits.h> exists even on freestanding compilers. */
1820 # include <limits.h>
1822 # include <assert.h>
1827 /* Override any GCC internal prototype to avoid an error.
1828 Use char because int might match the return type of a GCC
1829 builtin and then its argument prototype would still apply. */
1834 /* The GNU C library defines this for functions which it implements
1835 to always fail with ENOSYS. Some functions are actually named
1836 something starting with __ and the normal name is an alias. */
1837 #if defined __stub_$2 || defined __stub___$2
1849 if ac_fn_c_try_link "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext \
1855 conftest$ac_exeext conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_func
1864 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1865 # -------------------------------------------------------
1866 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1867 # the include files in INCLUDES and setting the cache variable VAR
1869 ac_fn_c_check_header_mongrel ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if eval \${$3+:} false; then :
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876 $as_echo_n "(cached) " >&6
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1882 # Is the header compilable?
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1884 $as_echo_n "checking $2 usability... " >&6; }
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 ac_header_compiler=yes
1893 ac_header_compiler=no
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1897 $as_echo "$ac_header_compiler" >&6; }
1899 # Is the header present?
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1901 $as_echo_n "checking $2 presence... " >&6; }
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1906 if ac_fn_c_try_cpp "$LINENO"; then :
1907 ac_header_preproc=yes
1909 ac_header_preproc=no
1911 rm -f conftest.err conftest.i conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1913 $as_echo "$ac_header_preproc" >&6; }
1915 # So? What about this header?
1916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1919 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1921 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1925 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1927 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1929 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1931 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if eval \${$3+:} false; then :
1939 $as_echo_n "(cached) " >&6
1941 eval "$3=\$ac_header_compiler"
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 } # ac_fn_c_check_header_mongrel
1950 cat >config.log <<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1954 It was created by gsignond $as_me 1.0.1, which was
1955 generated by GNU Autoconf 2.68. Invocation command line was
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 $as_echo "PATH: $as_dir"
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2015 ac_must_keep_next=false
2021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023 | -silent | --silent | --silen | --sile | --sil)
2026 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2031 as_fn_append ac_configure_args1 " '$ac_arg'"
2032 if test $ac_must_keep_next = true; then
2033 ac_must_keep_next=false # Got value, back to normal.
2036 *=* | --config-cache | -C | -disable-* | --disable-* \
2037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039 | -with-* | --with-* | -without-* | --without-* | --x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 -* ) ac_must_keep_next=true ;;
2047 as_fn_append ac_configure_args " '$ac_arg'"
2052 { ac_configure_args0=; unset ac_configure_args0;}
2053 { ac_configure_args1=; unset ac_configure_args1;}
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2069 # The following way of writing the cache mishandles newlines in values,
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2105 for ac_var in $ac_subst_vars
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2120 for ac_var in $ac_subst_files
2122 eval ac_val=\$$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2155 $as_echo "/* confdefs.h */" > confdefs.h
2157 # Predefined preprocessor variables.
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1=./$CONFIG_SITE;;
2192 */*) ac_site_file1=$CONFIG_SITE;;
2193 *) ac_site_file1=./$CONFIG_SITE;;
2195 elif test "x$prefix" != xNONE; then
2196 ac_site_file1=$prefix/share/config.site
2197 ac_site_file2=$prefix/etc/config.site
2199 ac_site_file1=$ac_default_prefix/share/config.site
2200 ac_site_file2=$ac_default_prefix/etc/config.site
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE && continue
2205 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2210 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $? "failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225 *) . "./$cache_file";;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2234 # Check that the precious variables saved in the cache have kept the same
2236 ac_cache_corrupted=false
2237 for ac_var in $ac_precious_vars; do
2238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239 eval ac_new_set=\$ac_env_${ac_var}_set
2240 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241 eval ac_new_val=\$ac_env_${ac_var}_value
2242 case $ac_old_set,$ac_new_set in
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250 ac_cache_corrupted=: ;;
2253 if test "x$ac_old_val" != "x$ac_new_val"; then
2254 # differences in whitespace do not lead to failure.
2255 ac_old_val_w=`echo x $ac_old_val`
2256 ac_new_val_w=`echo x $ac_new_val`
2257 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260 ac_cache_corrupted=:
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264 eval $ac_var=\$ac_old_val
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2267 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2269 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2272 # Pass precious variables to config.status.
2273 if test "$ac_new_set" = set; then
2275 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276 *) ac_arg=$ac_var=$ac_new_val ;;
2278 case " $ac_configure_args " in
2279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2280 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2284 if $ac_cache_corrupted; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2291 ## -------------------- ##
2292 ## Main body of script. ##
2293 ## -------------------- ##
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2303 ac_config_headers="$ac_config_headers config.h"
2306 for ac_dir in build-aux "$srcdir"/build-aux; do
2307 if test -f "$ac_dir/install-sh"; then
2309 ac_install_sh="$ac_aux_dir/install-sh -c"
2311 elif test -f "$ac_dir/install.sh"; then
2313 ac_install_sh="$ac_aux_dir/install.sh -c"
2315 elif test -f "$ac_dir/shtool"; then
2317 ac_install_sh="$ac_aux_dir/shtool install -c"
2321 if test -z "$ac_aux_dir"; then
2322 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2325 # These three variables are undocumented and unsupported,
2326 # and are intended to be withdrawn in a future Autoconf release.
2327 # They can cause serious problems if a builder's source tree is in a directory
2328 # whose full name contains unusual characters.
2329 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2330 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2331 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2336 am__api_version='1.11'
2338 # Find a good install program. We prefer a C program (faster),
2339 # so one script is as good as another. But avoid the broken or
2340 # incompatible versions:
2341 # SysV /etc/install, /usr/sbin/install
2342 # SunOS /usr/etc/install
2343 # IRIX /sbin/install
2345 # AmigaOS /C/install, which installs bootblocks on floppy discs
2346 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2347 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2348 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2349 # OS/2's system install, which has a completely different semantic
2350 # ./install, which can be erroneously created by make from ./install.sh.
2351 # Reject install programs that cannot install multiple files.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2353 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2354 if test -z "$INSTALL"; then
2355 if ${ac_cv_path_install+:} false; then :
2356 $as_echo_n "(cached) " >&6
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 # Account for people who put trailing slashes in PATH elements.
2364 case $as_dir/ in #((
2365 ./ | .// | /[cC]/* | \
2366 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2367 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2370 # OSF1 and SCO ODT 3.0 have their own names for install.
2371 # Don't use installbsd from OSF since it installs stuff as root
2373 for ac_prog in ginstall scoinst install; do
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2376 if test $ac_prog = install &&
2377 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2378 # AIX install. It has an incompatible calling convention.
2380 elif test $ac_prog = install &&
2381 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2382 # program-specific install script used by HP pwplus--don't use.
2385 rm -rf conftest.one conftest.two conftest.dir
2386 echo one > conftest.one
2387 echo two > conftest.two
2389 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2390 test -s conftest.one && test -s conftest.two &&
2391 test -s conftest.dir/conftest.one &&
2392 test -s conftest.dir/conftest.two
2394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2407 rm -rf conftest.one conftest.two conftest.dir
2410 if test "${ac_cv_path_install+set}" = set; then
2411 INSTALL=$ac_cv_path_install
2413 # As a last resort, use the slow shell script. Don't cache a
2414 # value for INSTALL within a source directory, because that will
2415 # break other packages using the cache if that directory is
2416 # removed, or if the value is a relative name.
2417 INSTALL=$ac_install_sh
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2421 $as_echo "$INSTALL" >&6; }
2423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2424 # It thinks the first close brace ends the variable substitution.
2425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2429 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2432 $as_echo_n "checking whether build environment is sane... " >&6; }
2435 echo timestamp > conftest.file
2436 # Reject unsafe characters in $srcdir or the absolute working directory
2437 # name. Accept space and tab only in the latter.
2441 *[\\\"\#\$\&\'\`$am_lf]*)
2442 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2445 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2446 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2449 # Do `set' in a subshell so we don't clobber the current shell's
2450 # arguments. Must try -L first in case configure is actually a
2451 # symlink; some systems play weird games with the mod time of symlinks
2452 # (eg FreeBSD returns the mod time of the symlink's containing
2455 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2456 if test "$*" = "X"; then
2458 set X `ls -t "$srcdir/configure" conftest.file`
2461 if test "$*" != "X $srcdir/configure conftest.file" \
2462 && test "$*" != "X conftest.file $srcdir/configure"; then
2464 # If neither matched, then we have a broken ls. This can happen
2465 # if, for instance, CONFIG_SHELL is bash and it inherits a
2466 # broken ls alias from the environment. This has actually
2467 # happened. Such a system could not be considered "sane".
2468 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2469 alias in your environment" "$LINENO" 5
2472 test "$2" = conftest.file
2478 as_fn_error $? "newly created file is older than distributed files!
2479 Check your system clock" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2482 $as_echo "yes" >&6; }
2483 test "$program_prefix" != NONE &&
2484 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2485 # Use a double $ so make ignores it.
2486 test "$program_suffix" != NONE &&
2487 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2488 # Double any \ or $.
2489 # By default was `s,x,x', remove it if useless.
2490 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2491 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2493 # expand $ac_aux_dir to an absolute path
2494 am_aux_dir=`cd $ac_aux_dir && pwd`
2496 if test x"${MISSING+set}" != xset; then
2499 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2501 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2504 # Use eval to expand $SHELL
2505 if eval "$MISSING --run true"; then
2506 am_missing_run="$MISSING --run "
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2510 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2513 if test x"${install_sh}" != xset; then
2516 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2518 install_sh="\${SHELL} $am_aux_dir/install-sh"
2522 # Installed binaries are usually stripped using `strip' when the user
2523 # run `make install-strip'. However `strip' might not be the right
2524 # tool to use in cross-compilation environments, therefore Automake
2525 # will honor the `STRIP' environment variable to overrule this program.
2526 if test "$cross_compiling" != no; then
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2529 set dummy ${ac_tool_prefix}strip; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if ${ac_cv_prog_STRIP+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$STRIP"; then
2536 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 STRIP=$ac_cv_prog_STRIP
2556 if test -n "$STRIP"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2558 $as_echo "$STRIP" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2566 if test -z "$ac_cv_prog_STRIP"; then
2568 # Extract the first word of "strip", so it can be a program name with args.
2569 set dummy strip; ac_word=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$ac_ct_STRIP"; then
2576 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_ac_ct_STRIP="strip"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2596 if test -n "$ac_ct_STRIP"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2598 $as_echo "$ac_ct_STRIP" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2604 if test "x$ac_ct_STRIP" = x; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned=yes ;;
2616 STRIP="$ac_cv_prog_STRIP"
2620 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2623 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2624 if test -z "$MKDIR_P"; then
2625 if ${ac_cv_path_mkdir+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2632 test -z "$as_dir" && as_dir=.
2633 for ac_prog in mkdir gmkdir; do
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2636 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2637 'mkdir (GNU coreutils) '* | \
2638 'mkdir (coreutils) '* | \
2639 'mkdir (fileutils) '4.1*)
2640 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2650 test -d ./--version && rmdir ./--version
2651 if test "${ac_cv_path_mkdir+set}" = set; then
2652 MKDIR_P="$ac_cv_path_mkdir -p"
2654 # As a last resort, use the slow shell script. Don't cache a
2655 # value for MKDIR_P within a source directory, because that will
2656 # break other packages using the cache if that directory is
2657 # removed, or if the value is a relative name.
2658 MKDIR_P="$ac_install_sh -d"
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2662 $as_echo "$MKDIR_P" >&6; }
2666 [\\/$]* | ?:[\\/]*) ;;
2667 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2670 for ac_prog in gawk mawk nawk awk
2672 # Extract the first word of "$ac_prog", so it can be a program name with args.
2673 set dummy $ac_prog; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_AWK+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$AWK"; then
2680 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 ac_cv_prog_AWK="$ac_prog"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test -n "$AWK"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2702 $as_echo "$AWK" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2709 test -n "$AWK" && break
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2713 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2715 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2716 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 cat >conftest.make <<\_ACEOF
2722 @echo '@@@%%%=$(MAKE)=@@@%%%'
2724 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2725 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2727 eval ac_cv_prog_make_${ac_make}_set=yes;;
2729 eval ac_cv_prog_make_${ac_make}_set=no;;
2733 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2735 $as_echo "yes" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2740 SET_MAKE="MAKE=${MAKE-make}"
2743 rm -rf .tst 2>/dev/null
2744 mkdir .tst 2>/dev/null
2745 if test -d .tst; then
2750 rmdir .tst 2>/dev/null
2752 # Check whether --enable-silent-rules was given.
2753 if test "${enable_silent_rules+set}" = set; then :
2754 enableval=$enable_silent_rules;
2757 case $enable_silent_rules in
2758 yes) AM_DEFAULT_VERBOSITY=0;;
2759 no) AM_DEFAULT_VERBOSITY=1;;
2760 *) AM_DEFAULT_VERBOSITY=1;;
2762 am_make=${MAKE-make}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2764 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2765 if ${am_cv_make_support_nested_variables+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if $as_echo 'TRUE=$(BAR$(V))
2774 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2775 am_cv_make_support_nested_variables=yes
2777 am_cv_make_support_nested_variables=no
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2781 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2782 if test $am_cv_make_support_nested_variables = yes; then
2784 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2786 AM_V=$AM_DEFAULT_VERBOSITY
2787 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2791 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2792 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2793 # is not polluted with repeated "-I."
2794 am__isrc=' -I$(srcdir)'
2795 # test to see if srcdir already configured
2796 if test -f $srcdir/config.status; then
2797 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2801 # test whether we have cygpath
2802 if test -z "$CYGPATH_W"; then
2803 if (cygpath --version) >/dev/null 2>/dev/null; then
2804 CYGPATH_W='cygpath -w'
2811 # Define the identity of the package.
2816 cat >>confdefs.h <<_ACEOF
2817 #define PACKAGE "$PACKAGE"
2821 cat >>confdefs.h <<_ACEOF
2822 #define VERSION "$VERSION"
2825 # Some tools Automake needs.
2827 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2830 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2833 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2836 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2839 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2841 # We need awk for the "check" target. The system "awk" is bad on
2843 # Always define AMTAR for backward compatibility. Yes, it's still used
2844 # in the wild :-( We should find a proper way to deprecate it ...
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2849 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2850 # Loop over all known methods to create a tar archive until one works.
2851 _am_tools='gnutar pax cpio none'
2852 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2853 # Do not fold the above two line into one, because Tru64 sh and
2854 # Solaris sh will not grok spaces in the rhs of `-'.
2855 for _am_tool in $_am_tools
2859 for _am_tar in tar gnutar gtar;
2861 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2862 ($_am_tar --version) >&5 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } && break
2867 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2868 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2869 am__untar="$_am_tar -xf -"
2872 # Must skip GNU tar: if it does not support --format= it doesn't create
2873 # ustar tarball either.
2874 (tar --version) >/dev/null 2>&1 && continue
2875 am__tar='tar chf - "$$tardir"'
2876 am__tar_='tar chf - "$tardir"'
2877 am__untar='tar xf -'
2880 am__tar='pax -L -x pax -w "$$tardir"'
2881 am__tar_='pax -L -x pax -w "$tardir"'
2885 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2886 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2887 am__untar='cpio -i -H pax -d'
2896 # If the value was cached, stop now. We just wanted to have am__tar
2897 # and am__untar set.
2898 test -n "${am_cv_prog_tar_pax}" && break
2900 # tar/untar a dummy directory, and stop if the command works
2903 echo GrepMe > conftest.dir/file
2904 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2905 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2910 if test -s conftest.tar; then
2911 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2912 ($am__untar <conftest.tar) >&5 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2916 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2921 if ${am_cv_prog_tar_pax+:} false; then :
2922 $as_echo_n "(cached) " >&6
2924 am_cv_prog_tar_pax=$_am_tool
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2928 $as_echo "$am_cv_prog_tar_pax" >&6; }
2935 # Checks for programs.
2937 ac_cpp='$CPP $CPPFLAGS'
2938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2941 if test -n "$ac_tool_prefix"; then
2942 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2943 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_CC+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC="$CC" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972 $as_echo "$CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2980 if test -z "$ac_cv_prog_CC"; then
2982 # Extract the first word of "gcc", so it can be a program name with args.
2983 set dummy gcc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$ac_ct_CC"; then
2990 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 ac_cv_prog_ac_ct_CC="gcc"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010 if test -n "$ac_ct_CC"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3012 $as_echo "$ac_ct_CC" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3018 if test "x$ac_ct_CC" = x; then
3021 case $cross_compiling:$ac_tool_warned in
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3033 if test -z "$CC"; then
3034 if test -n "$ac_tool_prefix"; then
3035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3036 set dummy ${ac_tool_prefix}cc; ac_word=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_CC+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$CC"; then
3043 ac_cv_prog_CC="$CC" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_CC="${ac_tool_prefix}cc"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test -n "$CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065 $as_echo "$CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3074 if test -z "$CC"; then
3075 # Extract the first word of "cc", so it can be a program name with args.
3076 set dummy cc; ac_word=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_CC+:} false; then :
3080 $as_echo_n "(cached) " >&6
3082 if test -n "$CC"; then
3083 ac_cv_prog_CC="$CC" # Let the user override the test.
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3094 ac_prog_rejected=yes
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test $ac_prog_rejected = yes; then
3106 # We found a bogon in the path, so make sure we never use it.
3107 set dummy $ac_cv_prog_CC
3109 if test $# != 0; then
3110 # We chose a different compiler from the bogus one.
3111 # However, it has the same basename, so the bogon will be chosen
3112 # first if we set CC to just the basename; use the full file name.
3114 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3120 if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3130 if test -z "$CC"; then
3131 if test -n "$ac_tool_prefix"; then
3132 for ac_prog in cl.exe
3134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3171 test -n "$CC" && break
3174 if test -z "$CC"; then
3176 for ac_prog in cl.exe
3178 # Extract the first word of "$ac_prog", so it can be a program name with args.
3179 set dummy $ac_prog; ac_word=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$ac_ct_CC"; then
3186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir=.
3193 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195 ac_cv_prog_ac_ct_CC="$ac_prog"
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3206 if test -n "$ac_ct_CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3208 $as_echo "$ac_ct_CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3215 test -n "$ac_ct_CC" && break
3218 if test "x$ac_ct_CC" = x; then
3221 case $cross_compiling:$ac_tool_warned in
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225 ac_tool_warned=yes ;;
3234 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error $? "no acceptable C compiler found in \$PATH
3237 See \`config.log' for more details" "$LINENO" 5; }
3239 # Provide some information about the compiler.
3240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3243 for ac_option in --version -v -V -qversion; do
3244 { { ac_try="$ac_compiler $ac_option >&5"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3253 if test -s conftest.err; then
3255 ... rest of stderr output deleted ...
3256 10q' conftest.err >conftest.er1
3257 cat conftest.er1 >&5
3259 rm -f conftest.er1 conftest.err
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 ac_clean_files_save=$ac_clean_files
3276 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3277 # Try to create an executable without -o first, disregard a.out.
3278 # It will help us diagnose broken compilers, and finding out an intuition
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3281 $as_echo_n "checking whether the C compiler works... " >&6; }
3282 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3284 # The possible output files:
3285 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3288 for ac_file in $ac_files
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3292 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3297 if { { ac_try="$ac_link_default"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_link_default") 2>&5
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }; then :
3308 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3309 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3310 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3311 # so that the user can short-circuit this test for compilers unknown to
3313 for ac_file in $ac_files ''
3315 test -f "$ac_file" || continue
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3320 # We found the default executable, but exeext='' is most
3324 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3326 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3328 # We set ac_cv_exeext here because the later test for it is not
3329 # safe: cross compilers may not add the suffix if given an `-o'
3330 # argument, so we may need to know it at that point already.
3331 # Even if this section looks crufty: it has the advantage of
3338 test "$ac_cv_exeext" = no && ac_cv_exeext=
3343 if test -z "$ac_file"; then :
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error 77 "C compiler cannot create executables
3352 See \`config.log' for more details" "$LINENO" 5; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3355 $as_echo "yes" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3358 $as_echo_n "checking for C compiler default output file name... " >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3360 $as_echo "$ac_file" >&6; }
3361 ac_exeext=$ac_cv_exeext
3363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3364 ac_clean_files=$ac_clean_files_save
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3366 $as_echo_n "checking for suffix of executables... " >&6; }
3367 if { { ac_try="$ac_link"
3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374 (eval "$ac_link") 2>&5
3376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377 test $ac_status = 0; }; then :
3378 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3379 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3380 # work properly (i.e., refer to `conftest.exe'), while it won't with
3382 for ac_file in conftest.exe conftest conftest.*; do
3383 test -f "$ac_file" || continue
3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3386 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3395 See \`config.log' for more details" "$LINENO" 5; }
3397 rm -f conftest conftest$ac_cv_exeext
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3399 $as_echo "$ac_cv_exeext" >&6; }
3401 rm -f conftest.$ac_ext
3402 EXEEXT=$ac_cv_exeext
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3410 FILE *f = fopen ("conftest.out", "w");
3411 return ferror (f) || fclose (f) != 0;
3417 ac_clean_files="$ac_clean_files conftest.out"
3418 # Check that the compiler produces executables we can run. If not, either
3419 # the compiler is broken, or we cross compile.
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3421 $as_echo_n "checking whether we are cross compiling... " >&6; }
3422 if test "$cross_compiling" != yes; then
3423 { { ac_try="$ac_link"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_link") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }
3434 if { ac_try='./conftest$ac_cv_exeext'
3435 { { case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441 (eval "$ac_try") 2>&5
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }; }; then
3447 if test "$cross_compiling" = maybe; then
3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $? "cannot run C compiled programs.
3453 If you meant to cross compile, use \`--host'.
3454 See \`config.log' for more details" "$LINENO" 5; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3459 $as_echo "$cross_compiling" >&6; }
3461 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3462 ac_clean_files=$ac_clean_files_save
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3464 $as_echo_n "checking for suffix of object files... " >&6; }
3465 if ${ac_cv_objext+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 rm -f conftest.o conftest.obj
3480 if { { ac_try="$ac_compile"
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_compile") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; then :
3491 for ac_file in conftest.o conftest.obj conftest.*; do
3492 test -f "$ac_file" || continue;
3494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3495 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3500 $as_echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error $? "cannot compute suffix of object files: cannot compile
3506 See \`config.log' for more details" "$LINENO" 5; }
3508 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3511 $as_echo "$ac_cv_objext" >&6; }
3512 OBJEXT=$ac_cv_objext
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3515 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3516 if ${ac_cv_c_compiler_gnu+:} false; then :
3517 $as_echo_n "(cached) " >&6
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3533 if ac_fn_c_try_compile "$LINENO"; then :
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3543 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3544 if test $ac_compiler_gnu = yes; then
3549 ac_test_CFLAGS=${CFLAGS+set}
3550 ac_save_CFLAGS=$CFLAGS
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3552 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3553 if ${ac_cv_prog_cc_g+:} false; then :
3554 $as_echo_n "(cached) " >&6
3556 ac_save_c_werror_flag=$ac_c_werror_flag
3557 ac_c_werror_flag=yes
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3571 if ac_fn_c_try_compile "$LINENO"; then :
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3589 ac_c_werror_flag=$ac_save_c_werror_flag
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3602 if ac_fn_c_try_compile "$LINENO"; then :
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 ac_c_werror_flag=$ac_save_c_werror_flag
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3613 $as_echo "$ac_cv_prog_cc_g" >&6; }
3614 if test "$ac_test_CFLAGS" = set; then
3615 CFLAGS=$ac_save_CFLAGS
3616 elif test $ac_cv_prog_cc_g = yes; then
3617 if test "$GCC" = yes; then
3623 if test "$GCC" = yes; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3630 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3631 if ${ac_cv_prog_cc_c89+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 ac_cv_prog_cc_c89=no
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3640 #include <sys/types.h>
3641 #include <sys/stat.h>
3642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3643 struct buf { int x; };
3644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3645 static char *e (p, i)
3651 static char *f (char * (*g) (char **, int), char **p, ...)
3656 s = g (p, va_arg (v,int));
3661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3662 function prototypes and stuff, but not '\xHH' hex character constants.
3663 These don't provoke an error unfortunately, instead are silently treated
3664 as 'x'. The following induces an error, until -std is added to get
3665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3666 array size at least. It's necessary to write '\x00'==0 to get something
3667 that's true only with -std. */
3668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3670 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3671 inside strings and character constants. */
3673 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3675 int test (int i, double x);
3676 struct s1 {int (*f) (int a);};
3677 struct s2 {int (*f) (double a);};
3678 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3684 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3689 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3690 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3692 CC="$ac_save_CC $ac_arg"
3693 if ac_fn_c_try_compile "$LINENO"; then :
3694 ac_cv_prog_cc_c89=$ac_arg
3696 rm -f core conftest.err conftest.$ac_objext
3697 test "x$ac_cv_prog_cc_c89" != "xno" && break
3699 rm -f conftest.$ac_ext
3704 case "x$ac_cv_prog_cc_c89" in
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3707 $as_echo "none needed" >&6; } ;;
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3710 $as_echo "unsupported" >&6; } ;;
3712 CC="$CC $ac_cv_prog_cc_c89"
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3714 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3716 if test "x$ac_cv_prog_cc_c89" != xno; then :
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 DEPDIR="${am__leading_dot}deps"
3727 ac_config_commands="$ac_config_commands depfiles"
3730 am_make=${MAKE-make}
3731 cat > confinc << 'END'
3733 @echo this is the am__doit target
3736 # If we don't find an include directive, just comment out the code.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3738 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3742 # First try GNU make style include.
3743 echo "include confinc" > confmf
3744 # Ignore all kinds of additional output from `make'.
3745 case `$am_make -s -f confmf 2> /dev/null` in #(
3746 *the\ am__doit\ target*)
3752 # Now try BSD make style include.
3753 if test "$am__include" = "#"; then
3754 echo '.include "confinc"' > confmf
3755 case `$am_make -s -f confmf 2> /dev/null` in #(
3756 *the\ am__doit\ target*)
3757 am__include=.include
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3766 $as_echo "$_am_result" >&6; }
3767 rm -f confinc confmf
3769 # Check whether --enable-dependency-tracking was given.
3770 if test "${enable_dependency_tracking+set}" = set; then :
3771 enableval=$enable_dependency_tracking;
3774 if test "x$enable_dependency_tracking" != xno; then
3775 am_depcomp="$ac_aux_dir/depcomp"
3779 if test "x$enable_dependency_tracking" != xno; then
3789 depcc="$CC" am_compiler_list=
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3792 $as_echo_n "checking dependency style of $depcc... " >&6; }
3793 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3797 # We make a subdir and do the tests there. Otherwise we can end up
3798 # making bogus files that we don't know about and never remove. For
3799 # instance it was reported that on HP-UX the gcc test will end up
3800 # making a dummy file named `D' -- because `-MD' means `put the output
3804 # Copy depcomp to subdir because otherwise we won't find it if we're
3805 # using a relative directory.
3806 cp "$am_depcomp" conftest.dir
3808 # We will build objects and dependencies in a subdirectory because
3809 # it helps to detect inapplicable dependency modes. For instance
3810 # both Tru64's cc and ICC support -MD to output dependencies as a
3811 # side effect of compilation, but ICC will put the dependencies in
3812 # the current directory while Tru64 will put them in the object
3816 am_cv_CC_dependencies_compiler_type=none
3817 if test "$am_compiler_list" = ""; then
3818 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3821 case " $depcc " in #(
3822 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3825 for depmode in $am_compiler_list; do
3826 # Setup a source with many dependencies, because some compilers
3827 # like to wrap large dependency lists on column 80 (with \), and
3828 # we should not choose a depcomp mode which is confused by this.
3830 # We need to recreate these files for each test, as the compiler may
3831 # overwrite some of them when testing with obscure command lines.
3832 # This happens at least with the AIX C compiler.
3834 for i in 1 2 3 4 5 6; do
3835 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3836 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3837 # Solaris 8's {/usr,}/bin/sh.
3838 touch sub/conftst$i.h
3840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3842 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3843 # mode. It turns out that the SunPro C++ compiler does not properly
3844 # handle `-M -o', and we need to detect this. Also, some Intel
3845 # versions had trouble with output in subdirs
3846 am__obj=sub/conftest.${OBJEXT-o}
3847 am__minus_obj="-o $am__obj"
3850 # This depmode causes a compiler race in universal mode.
3851 test "$am__universal" = false || continue
3854 # after this tag, mechanisms are not by side-effect, so they'll
3855 # only be used when explicitly requested
3856 if test "x$enable_dependency_tracking" = xyes; then
3862 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3863 # This compiler won't grok `-c -o', but also, the minuso test has
3864 # not run yet. These depmodes are late enough in the game, and
3865 # so weak that their functioning should not be impacted.
3866 am__obj=conftest.${OBJEXT-o}
3871 if depmode=$depmode \
3872 source=sub/conftest.c object=$am__obj \
3873 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3874 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3875 >/dev/null 2>conftest.err &&
3876 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3877 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3878 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3879 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3880 # icc doesn't choke on unknown options, it will just issue warnings
3881 # or remarks (even with -Werror). So we grep stderr for any message
3882 # that says an option was ignored or not supported.
3883 # When given -MP, icc 7.0 and 7.1 complain thusly:
3884 # icc: Command line warning: ignoring option '-M'; no argument required
3885 # The diagnosis changed in icc 8.0:
3886 # icc: Command line remark: option '-MP' not supported
3887 if (grep 'ignoring option' conftest.err ||
3888 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3889 am_cv_CC_dependencies_compiler_type=$depmode
3898 am_cv_CC_dependencies_compiler_type=none
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3904 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3907 test "x$enable_dependency_tracking" != xno \
3908 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3910 am__fastdepCC_FALSE='#'
3912 am__fastdepCC_TRUE='#'
3913 am__fastdepCC_FALSE=
3918 if test -n "$ac_tool_prefix"; then
3919 for ac_prog in ar lib "link -lib"
3921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_AR+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$AR"; then
3929 ac_cv_prog_AR="$AR" # Let the user override the test.
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test -n "$AR"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3951 $as_echo "$AR" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3958 test -n "$AR" && break
3961 if test -z "$AR"; then
3963 for ac_prog in ar lib "link -lib"
3965 # Extract the first word of "$ac_prog", so it can be a program name with args.
3966 set dummy $ac_prog; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$ac_ct_AR"; then
3973 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982 ac_cv_prog_ac_ct_AR="$ac_prog"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3993 if test -n "$ac_ct_AR"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3995 $as_echo "$ac_ct_AR" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4002 test -n "$ac_ct_AR" && break
4005 if test "x$ac_ct_AR" = x; then
4008 case $cross_compiling:$ac_tool_warned in
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned=yes ;;
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4021 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4022 if ${am_cv_ar_interface+:} false; then :
4023 $as_echo_n "(cached) " >&6
4025 am_cv_ar_interface=ar
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 int some_variable = 0;
4030 if ac_fn_c_try_compile "$LINENO"; then :
4031 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4032 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4033 (eval $am_ar_try) 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }
4037 if test "$ac_status" -eq 0; then
4038 am_cv_ar_interface=ar
4040 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4041 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4042 (eval $am_ar_try) 2>&5
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }
4046 if test "$ac_status" -eq 0; then
4047 am_cv_ar_interface=lib
4049 am_cv_ar_interface=unknown
4052 rm -f conftest.lib libconftest.a
4055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4059 $as_echo "$am_cv_ar_interface" >&6; }
4061 case $am_cv_ar_interface in
4065 # Microsoft lib, so override with the ar-lib wrapper script.
4066 # FIXME: It is wrong to rewrite AR.
4067 # But if we don't then we get into trouble of one sort or another.
4068 # A longer-term fix would be to have automake use am__AR in this case,
4069 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4071 AR="$am_aux_dir/ar-lib $AR"
4074 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4079 $as_echo_n "checking for GNU make... " >&6; }
4080 if ${_cv_gnu_make_command+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 _cv_gnu_make_command='' ;
4084 for a in "$MAKE" make gmake gnumake ; do
4085 if test -z "$a" ; then continue ; fi ;
4086 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4087 _cv_gnu_make_command=$a ;
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4094 $as_echo "$_cv_gnu_make_command" >&6; } ;
4095 if test "x$_cv_gnu_make_command" != "x" ; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4100 $as_echo "\"Not found\"" >&6; };
4104 if test "x$ifGNUmake" = "x#" ; then
4105 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4113 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4118 macro_version='2.4.2'
4119 macro_revision='1.3337'
4133 ltmain="$ac_aux_dir/ltmain.sh"
4135 # Make sure we can run config.sub.
4136 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4137 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4140 $as_echo_n "checking build system type... " >&6; }
4141 if ${ac_cv_build+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 ac_build_alias=$build_alias
4145 test "x$ac_build_alias" = x &&
4146 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4147 test "x$ac_build_alias" = x &&
4148 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4149 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4150 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4154 $as_echo "$ac_cv_build" >&6; }
4155 case $ac_cv_build in
4157 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4160 ac_save_IFS=$IFS; IFS='-'
4166 # Remember, the first character of IFS is used to create $*,
4167 # except with old shells:
4170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4174 $as_echo_n "checking host system type... " >&6; }
4175 if ${ac_cv_host+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 if test "x$host_alias" = x; then
4179 ac_cv_host=$ac_cv_build
4181 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4182 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4187 $as_echo "$ac_cv_host" >&6; }
4190 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4193 ac_save_IFS=$IFS; IFS='-'
4199 # Remember, the first character of IFS is used to create $*,
4200 # except with old shells:
4203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4206 # Backslashify metacharacters that are still active within
4207 # double-quoted strings.
4208 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4210 # Same as above, but do not quote variable references.
4211 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4213 # Sed substitution to delay expansion of an escaped shell variable in a
4214 # double_quote_subst'ed string.
4215 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4217 # Sed substitution to delay expansion of an escaped single quote.
4218 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4220 # Sed substitution to avoid accidental globbing in evaled expressions
4221 no_glob_subst='s/\*/\\\*/g'
4223 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4224 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4225 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4228 $as_echo_n "checking how to print strings... " >&6; }
4229 # Test print first, because it will be a builtin if present.
4230 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4231 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4233 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4236 # Use this function as a fallback that always works.
4237 func_fallback_echo ()
4239 eval 'cat <<_LTECHO_EOF
4243 ECHO='func_fallback_echo'
4246 # func_echo_all arg...
4247 # Invoke $ECHO with all args, space-separated.
4254 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4255 $as_echo "printf" >&6; } ;;
4256 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4257 $as_echo "print -r" >&6; } ;;
4258 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4259 $as_echo "cat" >&6; } ;;
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4276 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4277 if ${ac_cv_path_SED+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4281 for ac_i in 1 2 3 4 5 6 7; do
4282 ac_script="$ac_script$as_nl$ac_script"
4284 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4285 { ac_script=; unset ac_script;}
4286 if test -z "$SED"; then
4287 ac_path_SED_found=false
4288 # Loop through the user's path and test for each of PROGNAME-LIST
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293 test -z "$as_dir" && as_dir=.
4294 for ac_prog in sed gsed; do
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4297 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4298 # Check for GNU ac_path_SED and select it if it is found.
4299 # Check for GNU $ac_path_SED
4300 case `"$ac_path_SED" --version 2>&1` in
4302 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4305 $as_echo_n 0123456789 >"conftest.in"
4308 cat "conftest.in" "conftest.in" >"conftest.tmp"
4309 mv "conftest.tmp" "conftest.in"
4310 cp "conftest.in" "conftest.nl"
4311 $as_echo '' >> "conftest.nl"
4312 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4314 as_fn_arith $ac_count + 1 && ac_count=$as_val
4315 if test $ac_count -gt ${ac_path_SED_max-0}; then
4316 # Best one so far, save it but keep looking for a better one
4317 ac_cv_path_SED="$ac_path_SED"
4318 ac_path_SED_max=$ac_count
4320 # 10*(2^10) chars as input seems more than enough
4321 test $ac_count -gt 10 && break
4323 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4326 $ac_path_SED_found && break 3
4331 if test -z "$ac_cv_path_SED"; then
4332 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4340 $as_echo "$ac_cv_path_SED" >&6; }
4341 SED="$ac_cv_path_SED"
4344 test -z "$SED" && SED=sed
4345 Xsed="$SED -e 1s/^X//"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4359 if ${ac_cv_path_GREP+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -z "$GREP"; then
4363 ac_path_GREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in grep ggrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4374 # Check for GNU ac_path_GREP and select it if it is found.
4375 # Check for GNU $ac_path_GREP
4376 case `"$ac_path_GREP" --version 2>&1` in
4378 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4381 $as_echo_n 0123456789 >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo 'GREP' >> "conftest.nl"
4388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_GREP="$ac_path_GREP"
4394 ac_path_GREP_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4402 $ac_path_GREP_found && break 3
4407 if test -z "$ac_cv_path_GREP"; then
4408 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4411 ac_cv_path_GREP=$GREP
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4416 $as_echo "$ac_cv_path_GREP" >&6; }
4417 GREP="$ac_cv_path_GREP"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4421 $as_echo_n "checking for egrep... " >&6; }
4422 if ${ac_cv_path_EGREP+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4426 then ac_cv_path_EGREP="$GREP -E"
4428 if test -z "$EGREP"; then
4429 ac_path_EGREP_found=false
4430 # Loop through the user's path and test for each of PROGNAME-LIST
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4435 test -z "$as_dir" && as_dir=.
4436 for ac_prog in egrep; do
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4439 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4440 # Check for GNU ac_path_EGREP and select it if it is found.
4441 # Check for GNU $ac_path_EGREP
4442 case `"$ac_path_EGREP" --version 2>&1` in
4444 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4447 $as_echo_n 0123456789 >"conftest.in"
4450 cat "conftest.in" "conftest.in" >"conftest.tmp"
4451 mv "conftest.tmp" "conftest.in"
4452 cp "conftest.in" "conftest.nl"
4453 $as_echo 'EGREP' >> "conftest.nl"
4454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4456 as_fn_arith $ac_count + 1 && ac_count=$as_val
4457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4458 # Best one so far, save it but keep looking for a better one
4459 ac_cv_path_EGREP="$ac_path_EGREP"
4460 ac_path_EGREP_max=$ac_count
4462 # 10*(2^10) chars as input seems more than enough
4463 test $ac_count -gt 10 && break
4465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4468 $ac_path_EGREP_found && break 3
4473 if test -z "$ac_cv_path_EGREP"; then
4474 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4477 ac_cv_path_EGREP=$EGREP
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4483 $as_echo "$ac_cv_path_EGREP" >&6; }
4484 EGREP="$ac_cv_path_EGREP"
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4488 $as_echo_n "checking for fgrep... " >&6; }
4489 if ${ac_cv_path_FGREP+:} false; then :
4490 $as_echo_n "(cached) " >&6
4492 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4493 then ac_cv_path_FGREP="$GREP -F"
4495 if test -z "$FGREP"; then
4496 ac_path_FGREP_found=false
4497 # Loop through the user's path and test for each of PROGNAME-LIST
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4502 test -z "$as_dir" && as_dir=.
4503 for ac_prog in fgrep; do
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4506 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4507 # Check for GNU ac_path_FGREP and select it if it is found.
4508 # Check for GNU $ac_path_FGREP
4509 case `"$ac_path_FGREP" --version 2>&1` in
4511 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4514 $as_echo_n 0123456789 >"conftest.in"
4517 cat "conftest.in" "conftest.in" >"conftest.tmp"
4518 mv "conftest.tmp" "conftest.in"
4519 cp "conftest.in" "conftest.nl"
4520 $as_echo 'FGREP' >> "conftest.nl"
4521 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4522 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4523 as_fn_arith $ac_count + 1 && ac_count=$as_val
4524 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4525 # Best one so far, save it but keep looking for a better one
4526 ac_cv_path_FGREP="$ac_path_FGREP"
4527 ac_path_FGREP_max=$ac_count
4529 # 10*(2^10) chars as input seems more than enough
4530 test $ac_count -gt 10 && break
4532 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4535 $ac_path_FGREP_found && break 3
4540 if test -z "$ac_cv_path_FGREP"; then
4541 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4544 ac_cv_path_FGREP=$FGREP
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4550 $as_echo "$ac_cv_path_FGREP" >&6; }
4551 FGREP="$ac_cv_path_FGREP"
4554 test -z "$GREP" && GREP=grep
4574 # Check whether --with-gnu-ld was given.
4575 if test "${with_gnu_ld+set}" = set; then :
4576 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4582 if test "$GCC" = yes; then
4583 # Check if gcc -print-prog-name=ld gives a path.
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4585 $as_echo_n "checking for ld used by $CC... " >&6; }
4588 # gcc leaves a trailing carriage return which upsets mingw
4589 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4591 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4594 # Accept absolute paths.
4596 re_direlt='/[^/][^/]*/\.\./'
4597 # Canonicalize the pathname of ld
4598 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4599 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4600 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4602 test -z "$LD" && LD="$ac_prog"
4605 # If it fails, then pretend we aren't using GCC.
4609 # If it is relative, then search for the first ld in PATH.
4613 elif test "$with_gnu_ld" = yes; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4615 $as_echo_n "checking for GNU ld... " >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4618 $as_echo_n "checking for non-GNU ld... " >&6; }
4620 if ${lt_cv_path_LD+:} false; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -z "$LD"; then
4624 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4625 for ac_dir in $PATH; do
4627 test -z "$ac_dir" && ac_dir=.
4628 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4629 lt_cv_path_LD="$ac_dir/$ac_prog"
4630 # Check to see if the program is GNU ld. I'd rather use --version,
4631 # but apparently some variants of GNU ld only accept -v.
4632 # Break only if it was the GNU/non-GNU ld that we prefer.
4633 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4634 *GNU* | *'with BFD'*)
4635 test "$with_gnu_ld" != no && break
4638 test "$with_gnu_ld" != yes && break
4645 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4650 if test -n "$LD"; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4652 $as_echo "$LD" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4657 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4659 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4660 if ${lt_cv_prog_gnu_ld+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4664 case `$LD -v 2>&1 </dev/null` in
4665 *GNU* | *'with BFD'*)
4666 lt_cv_prog_gnu_ld=yes
4669 lt_cv_prog_gnu_ld=no
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4674 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4675 with_gnu_ld=$lt_cv_prog_gnu_ld
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4686 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4687 if ${lt_cv_path_NM+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$NM"; then
4691 # Let the user override the test.
4694 lt_nm_to_check="${ac_tool_prefix}nm"
4695 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4696 lt_nm_to_check="$lt_nm_to_check nm"
4698 for lt_tmp_nm in $lt_nm_to_check; do
4699 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4700 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4702 test -z "$ac_dir" && ac_dir=.
4703 tmp_nm="$ac_dir/$lt_tmp_nm"
4704 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4705 # Check to see if the nm accepts a BSD-compat flag.
4706 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4707 # nm: unknown option "B" ignored
4708 # Tru64's nm complains that /dev/null is an invalid object file
4709 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4710 */dev/null* | *'Invalid file or object type'*)
4711 lt_cv_path_NM="$tmp_nm -B"
4715 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4717 lt_cv_path_NM="$tmp_nm -p"
4721 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4722 continue # so that we can try to find one that supports BSD flags
4731 : ${lt_cv_path_NM=no}
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4735 $as_echo "$lt_cv_path_NM" >&6; }
4736 if test "$lt_cv_path_NM" != "no"; then
4739 # Didn't find any BSD compatible name lister, look for dumpbin.
4740 if test -n "$DUMPBIN"; then :
4741 # Let the user override the test.
4743 if test -n "$ac_tool_prefix"; then
4744 for ac_prog in dumpbin "link -dump"
4746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if ${ac_cv_prog_DUMPBIN+:} false; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$DUMPBIN"; then
4754 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir=.
4761 for ac_exec_ext in '' $ac_executable_extensions; do
4762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 DUMPBIN=$ac_cv_prog_DUMPBIN
4774 if test -n "$DUMPBIN"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4776 $as_echo "$DUMPBIN" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4783 test -n "$DUMPBIN" && break
4786 if test -z "$DUMPBIN"; then
4787 ac_ct_DUMPBIN=$DUMPBIN
4788 for ac_prog in dumpbin "link -dump"
4790 # Extract the first word of "$ac_prog", so it can be a program name with args.
4791 set dummy $ac_prog; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$ac_ct_DUMPBIN"; then
4798 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4818 if test -n "$ac_ct_DUMPBIN"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4820 $as_echo "$ac_ct_DUMPBIN" >&6; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4827 test -n "$ac_ct_DUMPBIN" && break
4830 if test "x$ac_ct_DUMPBIN" = x; then
4833 case $cross_compiling:$ac_tool_warned in
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned=yes ;;
4839 DUMPBIN=$ac_ct_DUMPBIN
4843 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4845 DUMPBIN="$DUMPBIN -symbols"
4853 if test "$DUMPBIN" != ":"; then
4857 test -z "$NM" && NM=nm
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4865 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4866 if ${lt_cv_nm_interface+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 lt_cv_nm_interface="BSD nm"
4870 echo "int some_variable = 0;" > conftest.$ac_ext
4871 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4872 (eval "$ac_compile" 2>conftest.err)
4873 cat conftest.err >&5
4874 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4875 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4876 cat conftest.err >&5
4877 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4878 cat conftest.out >&5
4879 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4880 lt_cv_nm_interface="MS dumpbin"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4885 $as_echo "$lt_cv_nm_interface" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4888 $as_echo_n "checking whether ln -s works... " >&6; }
4890 if test "$LN_S" = "ln -s"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4892 $as_echo "yes" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4895 $as_echo "no, using $LN_S" >&6; }
4898 # find the maximum length of command line arguments
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4900 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4901 if ${lt_cv_sys_max_cmd_len+:} false; then :
4902 $as_echo_n "(cached) " >&6
4909 # On DJGPP, this test can blow up pretty badly due to problems in libc
4910 # (any single argument exceeding 2000 bytes causes a buffer overrun
4911 # during glob expansion). Even if it were fixed, the result of this
4912 # check would be larger than it should be.
4913 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4917 # Under GNU Hurd, this test is not required because there is
4918 # no limit to the length of command line arguments.
4919 # Libtool will interpret -1 as no limit whatsoever
4920 lt_cv_sys_max_cmd_len=-1;
4923 cygwin* | mingw* | cegcc*)
4924 # On Win9x/ME, this test blows up -- it succeeds, but takes
4925 # about 5 minutes as the teststring grows exponentially.
4926 # Worse, since 9x/ME are not pre-emptively multitasking,
4927 # you end up with a "frozen" computer, even though with patience
4928 # the test eventually succeeds (with a max line length of 256k).
4929 # Instead, let's just punt: use the minimum linelength reported by
4930 # all of the supported platforms: 8192 (on NT/2K/XP).
4931 lt_cv_sys_max_cmd_len=8192;
4935 # On MiNT this can take a long time and run out of memory.
4936 lt_cv_sys_max_cmd_len=8192;
4940 # On AmigaOS with pdksh, this test takes hours, literally.
4941 # So we just punt and use a minimum line length of 8192.
4942 lt_cv_sys_max_cmd_len=8192;
4945 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4946 # This has been around since 386BSD, at least. Likely further.
4947 if test -x /sbin/sysctl; then
4948 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4949 elif test -x /usr/sbin/sysctl; then
4950 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4952 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4954 # And add a safety zone
4955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4956 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4960 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4961 lt_cv_sys_max_cmd_len=196608
4965 # The test takes a long time on OS/2.
4966 lt_cv_sys_max_cmd_len=8192
4970 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4971 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4972 # nice to cause kernel panics so lets avoid the loop below.
4973 # First set a reasonable default.
4974 lt_cv_sys_max_cmd_len=16384
4976 if test -x /sbin/sysconfig; then
4977 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4978 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4983 lt_cv_sys_max_cmd_len=102400
4985 sysv5* | sco5v6* | sysv4.2uw2*)
4986 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4987 if test -n "$kargmax"; then
4988 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4990 lt_cv_sys_max_cmd_len=32768
4994 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4995 if test -n "$lt_cv_sys_max_cmd_len"; then
4996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4999 # Make teststring a little bigger before we do anything with it.
5000 # a 1K string should be a reasonable start.
5001 for i in 1 2 3 4 5 6 7 8 ; do
5002 teststring=$teststring$teststring
5004 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5005 # If test is not a shell built-in, we'll probably end up computing a
5006 # maximum length that is only half of the actual maximum length, but
5008 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5009 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5010 test $i != 17 # 1/2 MB should be enough
5013 teststring=$teststring$teststring
5015 # Only check the string length outside the loop.
5016 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5018 # Add a significant safety factor because C++ compilers can tack on
5019 # massive amounts of additional arguments before passing them to the
5020 # linker. It appears as though 1/2 is a usable value.
5021 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5028 if test -n $lt_cv_sys_max_cmd_len ; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5030 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5033 $as_echo "none" >&6; }
5035 max_cmd_len=$lt_cv_sys_max_cmd_len
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5047 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5048 # Try some XSI features
5051 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5053 && eval 'test $(( 1 + 1 )) -eq 2 \
5054 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5057 $as_echo "$xsi_shell" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5061 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5063 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5065 && lt_shell_append=yes
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5067 $as_echo "$lt_shell_append" >&6; }
5070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5080 # test EBCDIC or ASCII
5081 case `echo X|tr X '\101'` in
5082 A) # ASCII based system
5083 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5084 lt_SP2NL='tr \040 \012'
5085 lt_NL2SP='tr \015\012 \040\040'
5087 *) # EBCDIC based system
5088 lt_SP2NL='tr \100 \n'
5089 lt_NL2SP='tr \r\n \100\100'
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5102 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5103 if ${lt_cv_to_host_file_cmd+:} false; then :
5104 $as_echo_n "(cached) " >&6
5109 *-*-mingw* ) # actually msys
5110 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5113 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5115 * ) # otherwise, assume *nix
5116 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5122 *-*-mingw* ) # actually msys
5123 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5126 lt_cv_to_host_file_cmd=func_convert_file_noop
5128 * ) # otherwise, assume *nix
5129 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5133 * ) # unhandled hosts (and "normal" native builds)
5134 lt_cv_to_host_file_cmd=func_convert_file_noop
5140 to_host_file_cmd=$lt_cv_to_host_file_cmd
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5142 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5149 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5150 if ${lt_cv_to_tool_file_cmd+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 #assume ordinary cross tools, or native build.
5154 lt_cv_to_tool_file_cmd=func_convert_file_noop
5158 *-*-mingw* ) # actually msys
5159 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5167 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5169 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5176 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5177 if ${lt_cv_ld_reload_flag+:} false; then :
5178 $as_echo_n "(cached) " >&6
5180 lt_cv_ld_reload_flag='-r'
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5183 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5184 reload_flag=$lt_cv_ld_reload_flag
5185 case $reload_flag in
5187 *) reload_flag=" $reload_flag" ;;
5189 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5191 cygwin* | mingw* | pw32* | cegcc*)
5192 if test "$GCC" != yes; then
5197 if test "$GCC" = yes; then
5198 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5200 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_OBJDUMP+:} false; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$OBJDUMP"; then
5222 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 OBJDUMP=$ac_cv_prog_OBJDUMP
5242 if test -n "$OBJDUMP"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5244 $as_echo "$OBJDUMP" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5252 if test -z "$ac_cv_prog_OBJDUMP"; then
5253 ac_ct_OBJDUMP=$OBJDUMP
5254 # Extract the first word of "objdump", so it can be a program name with args.
5255 set dummy objdump; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$ac_ct_OBJDUMP"; then
5262 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5282 if test -n "$ac_ct_OBJDUMP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5284 $as_echo "$ac_ct_OBJDUMP" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5290 if test "x$ac_ct_OBJDUMP" = x; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5299 OBJDUMP=$ac_ct_OBJDUMP
5302 OBJDUMP="$ac_cv_prog_OBJDUMP"
5305 test -z "$OBJDUMP" && OBJDUMP=objdump
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5316 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5317 if ${lt_cv_deplibs_check_method+:} false; then :
5318 $as_echo_n "(cached) " >&6
5320 lt_cv_file_magic_cmd='$MAGIC_CMD'
5321 lt_cv_file_magic_test_file=
5322 lt_cv_deplibs_check_method='unknown'
5323 # Need to set the preceding variable on all platforms that support
5324 # interlibrary dependencies.
5325 # 'none' -- dependencies not supported.
5326 # `unknown' -- same as none, but documents that we really don't know.
5327 # 'pass_all' -- all dependencies passed with no checks.
5328 # 'test_compile' -- check by making test program.
5329 # 'file_magic [[regex]]' -- check by looking for files in library path
5330 # which responds to the $file_magic_cmd with a given extended regex.
5331 # If you have `file' or equivalent on your system and you're not sure
5332 # whether `pass_all' will *always* work, you probably want this one.
5336 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_deplibs_check_method=pass_all
5344 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5345 lt_cv_file_magic_cmd='/usr/bin/file -L'
5346 lt_cv_file_magic_test_file=/shlib/libc.so
5350 # func_win32_libid is a shell function defined in ltmain.sh
5351 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5352 lt_cv_file_magic_cmd='func_win32_libid'
5356 # Base MSYS/MinGW do not provide the 'file' command needed by
5357 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5358 # unless we find 'file', for example because we are cross-compiling.
5359 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5360 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5361 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5362 lt_cv_file_magic_cmd='func_win32_libid'
5364 # Keep this pattern in sync with the one in func_win32_libid.
5365 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5366 lt_cv_file_magic_cmd='$OBJDUMP -f'
5371 # use the weaker test based on 'objdump'. See mingw*.
5372 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5373 lt_cv_file_magic_cmd='$OBJDUMP -f'
5376 darwin* | rhapsody*)
5377 lt_cv_deplibs_check_method=pass_all
5380 freebsd* | dragonfly*)
5381 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5384 # Not sure whether the presence of OpenBSD here was a mistake.
5385 # Let's accept both of them until this is cleared up.
5386 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5387 lt_cv_file_magic_cmd=/usr/bin/file
5388 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5392 lt_cv_deplibs_check_method=pass_all
5397 lt_cv_deplibs_check_method=pass_all
5401 lt_cv_deplibs_check_method=pass_all
5404 hpux10.20* | hpux11*)
5405 lt_cv_file_magic_cmd=/usr/bin/file
5408 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5409 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5412 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]'
5413 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5416 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5417 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5423 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5427 irix5* | irix6* | nonstopux*)
5429 *-32|*"-32 ") libmagic=32-bit;;
5430 *-n32|*"-n32 ") libmagic=N32;;
5431 *-64|*"-64 ") libmagic=64-bit;;
5432 *) libmagic=never-match;;
5434 lt_cv_deplibs_check_method=pass_all
5437 # This must be glibc/ELF.
5438 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5439 lt_cv_deplibs_check_method=pass_all
5442 netbsd* | netbsdelf*-gnu)
5443 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5451 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5452 lt_cv_file_magic_cmd=/usr/bin/file
5453 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5457 lt_cv_deplibs_check_method=pass_all
5461 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5462 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5468 osf3* | osf4* | osf5*)
5469 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5477 lt_cv_deplibs_check_method=pass_all
5480 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5481 lt_cv_deplibs_check_method=pass_all
5485 case $host_vendor in
5487 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]'
5488 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5491 lt_cv_deplibs_check_method=pass_all
5494 lt_cv_file_magic_cmd='/bin/file'
5495 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5498 lt_cv_file_magic_cmd='/bin/file'
5499 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5500 lt_cv_file_magic_test_file=/lib/libc.so
5503 lt_cv_deplibs_check_method=pass_all
5506 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5518 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5522 if test "$build" = "$host"; then
5525 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5528 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5534 file_magic_cmd=$lt_cv_file_magic_cmd
5535 deplibs_check_method=$lt_cv_deplibs_check_method
5536 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_DLLTOOL+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$DLLTOOL"; then
5568 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 DLLTOOL=$ac_cv_prog_DLLTOOL
5588 if test -n "$DLLTOOL"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5590 $as_echo "$DLLTOOL" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 if test -z "$ac_cv_prog_DLLTOOL"; then
5599 ac_ct_DLLTOOL=$DLLTOOL
5600 # Extract the first word of "dlltool", so it can be a program name with args.
5601 set dummy dlltool; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$ac_ct_DLLTOOL"; then
5608 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5628 if test -n "$ac_ct_DLLTOOL"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5630 $as_echo "$ac_ct_DLLTOOL" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5636 if test "x$ac_ct_DLLTOOL" = x; then
5639 case $cross_compiling:$ac_tool_warned in
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5645 DLLTOOL=$ac_ct_DLLTOOL
5648 DLLTOOL="$ac_cv_prog_DLLTOOL"
5651 test -z "$DLLTOOL" && DLLTOOL=dlltool
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5663 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5664 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5665 $as_echo_n "(cached) " >&6
5667 lt_cv_sharedlib_from_linklib_cmd='unknown'
5670 cygwin* | mingw* | pw32* | cegcc*)
5671 # two different shell functions defined in ltmain.sh
5672 # decide which to use based on capabilities of $DLLTOOL
5673 case `$DLLTOOL --help 2>&1` in
5674 *--identify-strict*)
5675 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5678 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5683 # fallback: assume linklib IS sharedlib
5684 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5690 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5691 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5692 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5700 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5704 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_AR+:} false; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$AR"; then
5711 ac_cv_prog_AR="$AR" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 if test -n "$AR"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5733 $as_echo "$AR" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5740 test -n "$AR" && break
5743 if test -z "$AR"; then
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$ac_ct_AR"; then
5755 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_ac_ct_AR="$ac_prog"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5775 if test -n "$ac_ct_AR"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5777 $as_echo "$ac_ct_AR" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5784 test -n "$ac_ct_AR" && break
5787 if test "x$ac_ct_AR" = x; then
5790 case $cross_compiling:$ac_tool_warned in
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5814 $as_echo_n "checking for archiver @FILE support... " >&6; }
5815 if ${lt_cv_ar_at_file+:} false; then :
5816 $as_echo_n "(cached) " >&6
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5830 if ac_fn_c_try_compile "$LINENO"; then :
5831 echo conftest.$ac_objext > conftest.lst
5832 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5833 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5834 (eval $lt_ar_try) 2>&5
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }
5838 if test "$ac_status" -eq 0; then
5839 # Ensure the archiver fails upon bogus file names.
5840 rm -f conftest.$ac_objext libconftest.a
5841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5842 (eval $lt_ar_try) 2>&5
5844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845 test $ac_status = 0; }
5846 if test "$ac_status" -ne 0; then
5850 rm -f conftest.* libconftest.a
5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5857 $as_echo "$lt_cv_ar_at_file" >&6; }
5859 if test "x$lt_cv_ar_at_file" = xno; then
5862 archiver_list_spec=$lt_cv_ar_at_file
5871 if test -n "$ac_tool_prefix"; then
5872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5873 set dummy ${ac_tool_prefix}strip; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_STRIP+:} false; then :
5877 $as_echo_n "(cached) " >&6
5879 if test -n "$STRIP"; then
5880 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 STRIP=$ac_cv_prog_STRIP
5900 if test -n "$STRIP"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5902 $as_echo "$STRIP" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5910 if test -z "$ac_cv_prog_STRIP"; then
5912 # Extract the first word of "strip", so it can be a program name with args.
5913 set dummy strip; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5917 $as_echo_n "(cached) " >&6
5919 if test -n "$ac_ct_STRIP"; then
5920 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 ac_cv_prog_ac_ct_STRIP="strip"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5940 if test -n "$ac_ct_STRIP"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5942 $as_echo "$ac_ct_STRIP" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5948 if test "x$ac_ct_STRIP" = x; then
5951 case $cross_compiling:$ac_tool_warned in
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 ac_tool_warned=yes ;;
5960 STRIP="$ac_cv_prog_STRIP"
5963 test -z "$STRIP" && STRIP=:
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5972 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_RANLIB+:} false; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$RANLIB"; then
5979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 RANLIB=$ac_cv_prog_RANLIB
5999 if test -n "$RANLIB"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6001 $as_echo "$RANLIB" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6009 if test -z "$ac_cv_prog_RANLIB"; then
6010 ac_ct_RANLIB=$RANLIB
6011 # Extract the first word of "ranlib", so it can be a program name with args.
6012 set dummy ranlib; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$ac_ct_RANLIB"; then
6019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_ac_ct_RANLIB="ranlib"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6039 if test -n "$ac_ct_RANLIB"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6041 $as_echo "$ac_ct_RANLIB" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6047 if test "x$ac_ct_RANLIB" = x; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6056 RANLIB=$ac_ct_RANLIB
6059 RANLIB="$ac_cv_prog_RANLIB"
6062 test -z "$RANLIB" && RANLIB=:
6069 # Determine commands to create old-style static archives.
6070 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6071 old_postinstall_cmds='chmod 644 $oldlib'
6072 old_postuninstall_cmds=
6074 if test -n "$RANLIB"; then
6077 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6080 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6083 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6088 lock_old_archive_extraction=yes ;;
6090 lock_old_archive_extraction=no ;;
6131 # If no C compiler was specified, use CC.
6134 # If no C compiler flags were specified, use CFLAGS.
6135 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6137 # Allow CC to be a program name with arguments.
6141 # Check for command to grab the raw symbol name followed by C symbol from nm.
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6143 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6144 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6145 $as_echo_n "(cached) " >&6
6148 # These are sane defaults that work on at least a few old systems.
6149 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6151 # Character class describing NM global symbol codes.
6152 symcode='[BCDEGRST]'
6154 # Regexp to match symbols that can be accessed directly from C.
6155 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6157 # Define system-specific variables.
6162 cygwin* | mingw* | pw32* | cegcc*)
6163 symcode='[ABCDGISTW]'
6166 if test "$host_cpu" = ia64; then
6167 symcode='[ABCDEGRST]'
6171 symcode='[BCDEGRST]'
6174 symcode='[BCDEGQRST]'
6185 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6193 # If we're using GNU nm, then use its standard symbol codes.
6194 case `$NM -V 2>&1` in
6195 *GNU* | *'with BFD'*)
6196 symcode='[ABCDGIRSTW]' ;;
6199 # Transform an extracted symbol line into a proper C declaration.
6200 # Some systems (esp. on ia64) link data and code symbols differently,
6201 # so use this general approach.
6202 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6204 # Transform an extracted symbol line into symbol name and symbol address
6205 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6206 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'"
6208 # Handle CRLF in mingw tool chain
6212 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6216 # Try without a prefix underscore, then with it.
6217 for ac_symprfx in "" "_"; do
6219 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6220 symxfrm="\\1 $ac_symprfx\\2 \\2"
6222 # Write the raw and C identifiers.
6223 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6224 # Fake it for dumpbin and say T for any non-static function
6225 # and D for any global variable.
6226 # Also find C++ and __fastcall symbols from MSVC++,
6227 # which start with @ or ?.
6228 lt_cv_sys_global_symbol_pipe="$AWK '"\
6229 " {last_section=section; section=\$ 3};"\
6230 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6231 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6232 " \$ 0!~/External *\|/{next};"\
6233 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6234 " {if(hide[section]) next};"\
6235 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6236 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6237 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6238 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6239 " ' prfx=^$ac_symprfx"
6241 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6243 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6245 # Check to see that the pipe works correctly.
6249 cat > conftest.$ac_ext <<_LT_EOF
6254 void nm_test_func(void);
6255 void nm_test_func(void){}
6259 int main(){nm_test_var='a';nm_test_func();return(0);}
6262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6263 (eval $ac_compile) 2>&5
6265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6266 test $ac_status = 0; }; then
6267 # Now try to grab the symbols.
6269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6270 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273 test $ac_status = 0; } && test -s "$nlist"; then
6274 # Try sorting and uniquifying the output.
6275 if sort "$nlist" | uniq > "$nlist"T; then
6276 mv -f "$nlist"T "$nlist"
6281 # Make sure that we snagged all the symbols we need.
6282 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6283 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6284 cat <<_LT_EOF > conftest.$ac_ext
6285 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6286 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6287 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6288 relocations are performed -- see ld's documentation on pseudo-relocs. */
6289 # define LT_DLSYM_CONST
6290 #elif defined(__osf__)
6291 /* This system does not cope well with relocations in const data. */
6292 # define LT_DLSYM_CONST
6294 # define LT_DLSYM_CONST const
6302 # Now generate the symbol file.
6303 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6305 cat <<_LT_EOF >> conftest.$ac_ext
6307 /* The mapping between symbol names and symbols. */
6308 LT_DLSYM_CONST struct {
6312 lt__PROGRAM__LTX_preloaded_symbols[] =
6314 { "@PROGRAM@", (void *) 0 },
6316 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6317 cat <<\_LT_EOF >> conftest.$ac_ext
6321 /* This works around a problem in FreeBSD linker */
6322 #ifdef FREEBSD_WORKAROUND
6323 static const void *lt_preloaded_setup() {
6324 return lt__PROGRAM__LTX_preloaded_symbols;
6332 # Now try linking the two files.
6333 mv conftest.$ac_objext conftstm.$ac_objext
6334 lt_globsym_save_LIBS=$LIBS
6335 lt_globsym_save_CFLAGS=$CFLAGS
6336 LIBS="conftstm.$ac_objext"
6337 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6339 (eval $ac_link) 2>&5
6341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6342 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6345 LIBS=$lt_globsym_save_LIBS
6346 CFLAGS=$lt_globsym_save_CFLAGS
6348 echo "cannot find nm_test_func in $nlist" >&5
6351 echo "cannot find nm_test_var in $nlist" >&5
6354 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6357 echo "$progname: failed program was:" >&5
6358 cat conftest.$ac_ext >&5
6360 rm -rf conftest* conftst*
6362 # Do not use the global_symbol_pipe unless it works.
6363 if test "$pipe_works" = yes; then
6366 lt_cv_sys_global_symbol_pipe=
6372 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6373 lt_cv_sys_global_symbol_to_cdecl=
6375 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6377 $as_echo "failed" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6380 $as_echo "ok" >&6; }
6383 # Response file support.
6384 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6385 nm_file_list_spec='@'
6386 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6387 nm_file_list_spec='@'
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6417 $as_echo_n "checking for sysroot... " >&6; }
6419 # Check whether --with-sysroot was given.
6420 if test "${with_sysroot+set}" = set; then :
6421 withval=$with_sysroot;
6428 case ${with_sysroot} in #(
6430 if test "$GCC" = yes; then
6431 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6435 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6441 $as_echo "${with_sysroot}" >&6; }
6442 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6447 $as_echo "${lt_sysroot:-no}" >&6; }
6453 # Check whether --enable-libtool-lock was given.
6454 if test "${enable_libtool_lock+set}" = set; then :
6455 enableval=$enable_libtool_lock;
6458 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6460 # Some flags need to be propagated to the compiler or linker for good
6464 # Find out which ABI we are using.
6465 echo 'int i;' > conftest.$ac_ext
6466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467 (eval $ac_compile) 2>&5
6469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470 test $ac_status = 0; }; then
6471 case `/usr/bin/file conftest.$ac_objext` in
6483 # Find out which ABI we are using.
6484 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486 (eval $ac_compile) 2>&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489 test $ac_status = 0; }; then
6490 if test "$lt_cv_prog_gnu_ld" = yes; then
6491 case `/usr/bin/file conftest.$ac_objext` in
6493 LD="${LD-ld} -melf32bsmip"
6496 LD="${LD-ld} -melf32bmipn32"
6499 LD="${LD-ld} -melf64bmip"
6503 case `/usr/bin/file conftest.$ac_objext` in
6519 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6520 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6521 # Find out which ABI we are using.
6522 echo 'int i;' > conftest.$ac_ext
6523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6524 (eval $ac_compile) 2>&5
6526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527 test $ac_status = 0; }; then
6528 case `/usr/bin/file conftest.o` in
6531 x86_64-*kfreebsd*-gnu)
6532 LD="${LD-ld} -m elf_i386_fbsd"
6535 LD="${LD-ld} -m elf_i386"
6537 ppc64-*linux*|powerpc64-*linux*)
6538 LD="${LD-ld} -m elf32ppclinux"
6541 LD="${LD-ld} -m elf_s390"
6544 LD="${LD-ld} -m elf32_sparc"
6550 x86_64-*kfreebsd*-gnu)
6551 LD="${LD-ld} -m elf_x86_64_fbsd"
6554 LD="${LD-ld} -m elf_x86_64"
6556 ppc*-*linux*|powerpc*-*linux*)
6557 LD="${LD-ld} -m elf64ppc"
6559 s390*-*linux*|s390*-*tpf*)
6560 LD="${LD-ld} -m elf64_s390"
6563 LD="${LD-ld} -m elf64_sparc"
6573 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6574 SAVE_CFLAGS="$CFLAGS"
6575 CFLAGS="$CFLAGS -belf"
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6577 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6578 if ${lt_cv_cc_needs_belf+:} false; then :
6579 $as_echo_n "(cached) " >&6
6582 ac_cpp='$CPP $CPPFLAGS'
6583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6598 if ac_fn_c_try_link "$LINENO"; then :
6599 lt_cv_cc_needs_belf=yes
6601 lt_cv_cc_needs_belf=no
6603 rm -f core conftest.err conftest.$ac_objext \
6604 conftest$ac_exeext conftest.$ac_ext
6606 ac_cpp='$CPP $CPPFLAGS'
6607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6613 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6614 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6615 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6616 CFLAGS="$SAVE_CFLAGS"
6620 # Find out which ABI we are using.
6621 echo 'int i;' > conftest.$ac_ext
6622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6623 (eval $ac_compile) 2>&5
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626 test $ac_status = 0; }; then
6627 case `/usr/bin/file conftest.o` in
6629 case $lt_cv_prog_gnu_ld in
6633 LD="${LD-ld} -m elf_x86_64"
6636 LD="${LD-ld} -m elf64_sparc"
6639 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6640 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6645 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6657 need_locks="$enable_libtool_lock"
6659 if test -n "$ac_tool_prefix"; then
6660 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6661 set dummy ${ac_tool_prefix}mt; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6665 $as_echo_n "(cached) " >&6
6667 if test -n "$MANIFEST_TOOL"; then
6668 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6688 if test -n "$MANIFEST_TOOL"; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6690 $as_echo "$MANIFEST_TOOL" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6698 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6699 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6700 # Extract the first word of "mt", so it can be a program name with args.
6701 set dummy mt; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6705 $as_echo_n "(cached) " >&6
6707 if test -n "$ac_ct_MANIFEST_TOOL"; then
6708 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 test -z "$as_dir" && as_dir=.
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6728 if test -n "$ac_ct_MANIFEST_TOOL"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6730 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6736 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6739 case $cross_compiling:$ac_tool_warned in
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743 ac_tool_warned=yes ;;
6745 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6748 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6751 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6753 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6754 if ${lt_cv_path_mainfest_tool+:} false; then :
6755 $as_echo_n "(cached) " >&6
6757 lt_cv_path_mainfest_tool=no
6758 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6759 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6760 cat conftest.err >&5
6761 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6762 lt_cv_path_mainfest_tool=yes
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6767 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6768 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6778 rhapsody* | darwin*)
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6785 $as_echo_n "(cached) " >&6
6787 if test -n "$DSYMUTIL"; then
6788 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6808 if test -n "$DSYMUTIL"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6810 $as_echo "$DSYMUTIL" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6818 if test -z "$ac_cv_prog_DSYMUTIL"; then
6819 ac_ct_DSYMUTIL=$DSYMUTIL
6820 # Extract the first word of "dsymutil", so it can be a program name with args.
6821 set dummy dsymutil; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6825 $as_echo_n "(cached) " >&6
6827 if test -n "$ac_ct_DSYMUTIL"; then
6828 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6848 if test -n "$ac_ct_DSYMUTIL"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6850 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6856 if test "x$ac_ct_DSYMUTIL" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6865 DSYMUTIL=$ac_ct_DSYMUTIL
6868 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6871 if test -n "$ac_tool_prefix"; then
6872 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6873 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_NMEDIT+:} false; then :
6877 $as_echo_n "(cached) " >&6
6879 if test -n "$NMEDIT"; then
6880 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 NMEDIT=$ac_cv_prog_NMEDIT
6900 if test -n "$NMEDIT"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6902 $as_echo "$NMEDIT" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6910 if test -z "$ac_cv_prog_NMEDIT"; then
6911 ac_ct_NMEDIT=$NMEDIT
6912 # Extract the first word of "nmedit", so it can be a program name with args.
6913 set dummy nmedit; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 $as_echo_n "checking for $ac_word... " >&6; }
6916 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6917 $as_echo_n "(cached) " >&6
6919 if test -n "$ac_ct_NMEDIT"; then
6920 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6940 if test -n "$ac_ct_NMEDIT"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6942 $as_echo "$ac_ct_NMEDIT" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 $as_echo "no" >&6; }
6948 if test "x$ac_ct_NMEDIT" = x; then
6951 case $cross_compiling:$ac_tool_warned in
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6955 ac_tool_warned=yes ;;
6957 NMEDIT=$ac_ct_NMEDIT
6960 NMEDIT="$ac_cv_prog_NMEDIT"
6963 if test -n "$ac_tool_prefix"; then
6964 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6965 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 $as_echo_n "checking for $ac_word... " >&6; }
6968 if ${ac_cv_prog_LIPO+:} false; then :
6969 $as_echo_n "(cached) " >&6
6971 if test -n "$LIPO"; then
6972 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 LIPO=$ac_cv_prog_LIPO
6992 if test -n "$LIPO"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6994 $as_echo "$LIPO" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
7002 if test -z "$ac_cv_prog_LIPO"; then
7004 # Extract the first word of "lipo", so it can be a program name with args.
7005 set dummy lipo; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7009 $as_echo_n "(cached) " >&6
7011 if test -n "$ac_ct_LIPO"; then
7012 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_ac_ct_LIPO="lipo"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7032 if test -n "$ac_ct_LIPO"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7034 $as_echo "$ac_ct_LIPO" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037 $as_echo "no" >&6; }
7040 if test "x$ac_ct_LIPO" = x; then
7043 case $cross_compiling:$ac_tool_warned in
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7047 ac_tool_warned=yes ;;
7052 LIPO="$ac_cv_prog_LIPO"
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}otool; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if ${ac_cv_prog_OTOOL+:} false; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$OTOOL"; then
7064 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 OTOOL=$ac_cv_prog_OTOOL
7084 if test -n "$OTOOL"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7086 $as_echo "$OTOOL" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7094 if test -z "$ac_cv_prog_OTOOL"; then
7096 # Extract the first word of "otool", so it can be a program name with args.
7097 set dummy otool; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$ac_ct_OTOOL"; then
7104 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_OTOOL="otool"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7124 if test -n "$ac_ct_OTOOL"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7126 $as_echo "$ac_ct_OTOOL" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 if test "x$ac_ct_OTOOL" = x; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned=yes ;;
7144 OTOOL="$ac_cv_prog_OTOOL"
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_OTOOL64+:} false; then :
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$OTOOL64"; then
7156 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 OTOOL64=$ac_cv_prog_OTOOL64
7176 if test -n "$OTOOL64"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7178 $as_echo "$OTOOL64" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$ac_cv_prog_OTOOL64"; then
7187 ac_ct_OTOOL64=$OTOOL64
7188 # Extract the first word of "otool64", so it can be a program name with args.
7189 set dummy otool64; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$ac_ct_OTOOL64"; then
7196 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_OTOOL64="otool64"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7216 if test -n "$ac_ct_OTOOL64"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7218 $as_echo "$ac_ct_OTOOL64" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7224 if test "x$ac_ct_OTOOL64" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7233 OTOOL64=$ac_ct_OTOOL64
7236 OTOOL64="$ac_cv_prog_OTOOL64"
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7266 $as_echo_n "checking for -single_module linker flag... " >&6; }
7267 if ${lt_cv_apple_cc_single_mod+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 lt_cv_apple_cc_single_mod=no
7271 if test -z "${LT_MULTI_MODULE}"; then
7272 # By default we will add the -single_module flag. You can override
7273 # by either setting the environment variable LT_MULTI_MODULE
7274 # non-empty at configure time, or by adding -multi_module to the
7276 rm -rf libconftest.dylib*
7277 echo "int foo(void){return 1;}" > conftest.c
7278 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7279 -dynamiclib -Wl,-single_module conftest.c" >&5
7280 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7281 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7283 # If there is a non-empty error log, and "single_module"
7284 # appears in it, assume the flag caused a linker warning
7285 if test -s conftest.err && $GREP single_module conftest.err; then
7286 cat conftest.err >&5
7287 # Otherwise, if the output was created with a 0 exit code from
7288 # the compiler, it worked.
7289 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7290 lt_cv_apple_cc_single_mod=yes
7292 cat conftest.err >&5
7294 rm -rf libconftest.dylib*
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7299 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7302 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7303 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7304 $as_echo_n "(cached) " >&6
7306 lt_cv_ld_exported_symbols_list=no
7307 save_LDFLAGS=$LDFLAGS
7308 echo "_main" > conftest.sym
7309 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311 /* end confdefs.h. */
7321 if ac_fn_c_try_link "$LINENO"; then :
7322 lt_cv_ld_exported_symbols_list=yes
7324 lt_cv_ld_exported_symbols_list=no
7326 rm -f core conftest.err conftest.$ac_objext \
7327 conftest$ac_exeext conftest.$ac_ext
7328 LDFLAGS="$save_LDFLAGS"
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7332 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7335 $as_echo_n "checking for -force_load linker flag... " >&6; }
7336 if ${lt_cv_ld_force_load+:} false; then :
7337 $as_echo_n "(cached) " >&6
7339 lt_cv_ld_force_load=no
7340 cat > conftest.c << _LT_EOF
7341 int forced_loaded() { return 2;}
7343 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7344 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7345 echo "$AR cru libconftest.a conftest.o" >&5
7346 $AR cru libconftest.a conftest.o 2>&5
7347 echo "$RANLIB libconftest.a" >&5
7348 $RANLIB libconftest.a 2>&5
7349 cat > conftest.c << _LT_EOF
7350 int main() { return 0;}
7352 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7353 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7355 if test -s conftest.err && $GREP force_load conftest.err; then
7356 cat conftest.err >&5
7357 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7358 lt_cv_ld_force_load=yes
7360 cat conftest.err >&5
7362 rm -f conftest.err libconftest.a conftest conftest.c
7363 rm -rf conftest.dSYM
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7367 $as_echo "$lt_cv_ld_force_load" >&6; }
7369 rhapsody* | darwin1.[012])
7370 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7372 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7373 darwin*) # darwin 5.x on
7374 # if running on 10.5 or later, the deployment target defaults
7375 # to the OS version, if on x86, and 10.4, the deployment
7376 # target defaults to 10.4. Don't you love it?
7377 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7378 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7379 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7381 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7383 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7387 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7388 _lt_dar_single_mod='$single_module'
7390 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7391 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7393 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7395 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7396 _lt_dsymutil='~$DSYMUTIL $lib || :'
7404 ac_cpp='$CPP $CPPFLAGS'
7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7409 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7410 # On Suns, sometimes $CPP names a directory.
7411 if test -n "$CPP" && test -d "$CPP"; then
7414 if test -z "$CPP"; then
7415 if ${ac_cv_prog_CPP+:} false; then :
7416 $as_echo_n "(cached) " >&6
7418 # Double quotes because CPP needs to be expanded
7419 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7422 for ac_c_preproc_warn_flag in '' yes
7424 # Use a header file that comes with gcc, so configuring glibc
7425 # with a fresh cross-compiler works.
7426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7427 # <limits.h> exists even on freestanding compilers.
7428 # On the NeXT, cc -E runs the code through the compiler's parser,
7429 # not just through cpp. "Syntax error" is here to catch this case.
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7433 # include <limits.h>
7435 # include <assert.h>
7439 if ac_fn_c_try_cpp "$LINENO"; then :
7442 # Broken: fails on valid input.
7445 rm -f conftest.err conftest.i conftest.$ac_ext
7447 # OK, works on sane cases. Now check whether nonexistent headers
7448 # can be detected and how.
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7451 #include <ac_nonexistent.h>
7453 if ac_fn_c_try_cpp "$LINENO"; then :
7454 # Broken: success on invalid input.
7457 # Passes both tests.
7461 rm -f conftest.err conftest.i conftest.$ac_ext
7464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7465 rm -f conftest.i conftest.err conftest.$ac_ext
7466 if $ac_preproc_ok; then :
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7479 $as_echo "$CPP" >&6; }
7481 for ac_c_preproc_warn_flag in '' yes
7483 # Use a header file that comes with gcc, so configuring glibc
7484 # with a fresh cross-compiler works.
7485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7486 # <limits.h> exists even on freestanding compilers.
7487 # On the NeXT, cc -E runs the code through the compiler's parser,
7488 # not just through cpp. "Syntax error" is here to catch this case.
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7492 # include <limits.h>
7494 # include <assert.h>
7498 if ac_fn_c_try_cpp "$LINENO"; then :
7501 # Broken: fails on valid input.
7504 rm -f conftest.err conftest.i conftest.$ac_ext
7506 # OK, works on sane cases. Now check whether nonexistent headers
7507 # can be detected and how.
7508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 #include <ac_nonexistent.h>
7512 if ac_fn_c_try_cpp "$LINENO"; then :
7513 # Broken: success on invalid input.
7516 # Passes both tests.
7520 rm -f conftest.err conftest.i conftest.$ac_ext
7523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7524 rm -f conftest.i conftest.err conftest.$ac_ext
7525 if $ac_preproc_ok; then :
7528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7530 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7531 See \`config.log' for more details" "$LINENO" 5; }
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7542 $as_echo_n "checking for ANSI C header files... " >&6; }
7543 if ${ac_cv_header_stdc+:} false; then :
7544 $as_echo_n "(cached) " >&6
7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7561 if ac_fn_c_try_compile "$LINENO"; then :
7562 ac_cv_header_stdc=yes
7564 ac_cv_header_stdc=no
7566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7568 if test $ac_cv_header_stdc = yes; then
7569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7576 $EGREP "memchr" >/dev/null 2>&1; then :
7579 ac_cv_header_stdc=no
7585 if test $ac_cv_header_stdc = yes; then
7586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588 /* end confdefs.h. */
7592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7593 $EGREP "free" >/dev/null 2>&1; then :
7596 ac_cv_header_stdc=no
7602 if test $ac_cv_header_stdc = yes; then
7603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7604 if test "$cross_compiling" = yes; then :
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7611 #if ((' ' & 0x0FF) == 0x020)
7612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7615 # define ISLOWER(c) \
7616 (('a' <= (c) && (c) <= 'i') \
7617 || ('j' <= (c) && (c) <= 'r') \
7618 || ('s' <= (c) && (c) <= 'z'))
7619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7627 for (i = 0; i < 256; i++)
7628 if (XOR (islower (i), ISLOWER (i))
7629 || toupper (i) != TOUPPER (i))
7634 if ac_fn_c_try_run "$LINENO"; then :
7637 ac_cv_header_stdc=no
7639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7640 conftest.$ac_objext conftest.beam conftest.$ac_ext
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7646 $as_echo "$ac_cv_header_stdc" >&6; }
7647 if test $ac_cv_header_stdc = yes; then
7649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7655 inttypes.h stdint.h unistd.h
7657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7661 cat >>confdefs.h <<_ACEOF
7662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 for ac_header in dlfcn.h
7672 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7674 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_DLFCN_H 1
7688 # Check whether --enable-static was given.
7689 if test "${enable_static+set}" = set; then :
7690 enableval=$enable_static; p=${PACKAGE-default}
7692 yes) enable_static=yes ;;
7693 no) enable_static=no ;;
7696 # Look at the argument we got. We use all the common list separators.
7697 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698 for pkg in $enableval; do
7700 if test "X$pkg" = "X$p"; then
7726 # Check whether --enable-shared was given.
7727 if test "${enable_shared+set}" = set; then :
7728 enableval=$enable_shared; p=${PACKAGE-default}
7730 yes) enable_shared=yes ;;
7731 no) enable_shared=no ;;
7734 # Look at the argument we got. We use all the common list separators.
7735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7736 for pkg in $enableval; do
7738 if test "X$pkg" = "X$p"; then
7759 # Check whether --with-pic was given.
7760 if test "${with_pic+set}" = set; then :
7761 withval=$with_pic; lt_p=${PACKAGE-default}
7763 yes|no) pic_mode=$withval ;;
7766 # Look at the argument we got. We use all the common list separators.
7767 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7768 for lt_pkg in $withval; do
7770 if test "X$lt_pkg" = "X$lt_p"; then
7782 test -z "$pic_mode" && pic_mode=default
7790 # Check whether --enable-fast-install was given.
7791 if test "${enable_fast_install+set}" = set; then :
7792 enableval=$enable_fast_install; p=${PACKAGE-default}
7794 yes) enable_fast_install=yes ;;
7795 no) enable_fast_install=no ;;
7797 enable_fast_install=no
7798 # Look at the argument we got. We use all the common list separators.
7799 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7800 for pkg in $enableval; do
7802 if test "X$pkg" = "X$p"; then
7803 enable_fast_install=yes
7810 enable_fast_install=yes
7823 # This can be used to rebuild libtool when needed
7824 LIBTOOL_DEPS="$ltmain"
7826 # Always use our own libtool.
7827 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7858 test -z "$LN_S" && LN_S="ln -s"
7873 if test -n "${ZSH_VERSION+set}" ; then
7874 setopt NO_GLOB_SUBST
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7878 $as_echo_n "checking for objdir... " >&6; }
7879 if ${lt_cv_objdir+:} false; then :
7880 $as_echo_n "(cached) " >&6
7882 rm -f .libs 2>/dev/null
7883 mkdir .libs 2>/dev/null
7884 if test -d .libs; then
7887 # MS-DOS does not allow filenames that begin with a dot.
7890 rmdir .libs 2>/dev/null
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7893 $as_echo "$lt_cv_objdir" >&6; }
7894 objdir=$lt_cv_objdir
7900 cat >>confdefs.h <<_ACEOF
7901 #define LT_OBJDIR "$lt_cv_objdir/"
7909 # AIX sometimes has problems with the GCC collect2 program. For some
7910 # reason, if we set the COLLECT_NAMES environment variable, the problems
7911 # vanish in a puff of smoke.
7912 if test "X${COLLECT_NAMES+set}" != Xset; then
7914 export COLLECT_NAMES
7921 can_build_shared=yes
7923 # All known linkers require a `.a' archive for static linking (except MSVC,
7924 # which needs '.lib').
7927 with_gnu_ld="$lt_cv_prog_gnu_ld"
7930 old_CFLAGS="$CFLAGS"
7932 # Set sane defaults for various variables
7933 test -z "$CC" && CC=cc
7934 test -z "$LTCC" && LTCC=$CC
7935 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7936 test -z "$LD" && LD=ld
7937 test -z "$ac_objext" && ac_objext=o
7939 for cc_temp in $compiler""; do
7941 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7942 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7947 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7950 # Only perform the check for file, if the check method requires it
7951 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7952 case $deplibs_check_method in
7954 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7956 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7957 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7958 $as_echo_n "(cached) " >&6
7962 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7965 lt_save_MAGIC_CMD="$MAGIC_CMD"
7966 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7967 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7968 for ac_dir in $ac_dummy; do
7970 test -z "$ac_dir" && ac_dir=.
7971 if test -f $ac_dir/${ac_tool_prefix}file; then
7972 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7973 if test -n "$file_magic_test_file"; then
7974 case $deplibs_check_method in
7976 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7979 $EGREP "$file_magic_regex" > /dev/null; then
7984 *** Warning: the command libtool uses to detect shared libraries,
7985 *** $file_magic_cmd, produces output that libtool cannot recognize.
7986 *** The result is that libtool may fail to recognize shared libraries
7987 *** as such. This will affect the creation of libtool libraries that
7988 *** depend on shared libraries, but programs linked with such libtool
7989 *** libraries will work regardless of this problem. Nevertheless, you
7990 *** may want to report the problem to your system manager and/or to
7991 *** bug-libtool@gnu.org
8001 MAGIC_CMD="$lt_save_MAGIC_CMD"
8006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8007 if test -n "$MAGIC_CMD"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8009 $as_echo "$MAGIC_CMD" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8019 if test -z "$lt_cv_path_MAGIC_CMD"; then
8020 if test -n "$ac_tool_prefix"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8022 $as_echo_n "checking for file... " >&6; }
8023 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8024 $as_echo_n "(cached) " >&6
8028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8031 lt_save_MAGIC_CMD="$MAGIC_CMD"
8032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8033 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8034 for ac_dir in $ac_dummy; do
8036 test -z "$ac_dir" && ac_dir=.
8037 if test -f $ac_dir/file; then
8038 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8039 if test -n "$file_magic_test_file"; then
8040 case $deplibs_check_method in
8042 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8045 $EGREP "$file_magic_regex" > /dev/null; then
8050 *** Warning: the command libtool uses to detect shared libraries,
8051 *** $file_magic_cmd, produces output that libtool cannot recognize.
8052 *** The result is that libtool may fail to recognize shared libraries
8053 *** as such. This will affect the creation of libtool libraries that
8054 *** depend on shared libraries, but programs linked with such libtool
8055 *** libraries will work regardless of this problem. Nevertheless, you
8056 *** may want to report the problem to your system manager and/or to
8057 *** bug-libtool@gnu.org
8067 MAGIC_CMD="$lt_save_MAGIC_CMD"
8072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8073 if test -n "$MAGIC_CMD"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8075 $as_echo "$MAGIC_CMD" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8091 # Use C for the default configuration in the libtool script
8095 ac_cpp='$CPP $CPPFLAGS'
8096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8101 # Source file extension for C test sources.
8104 # Object file extension for compiled C test sources.
8108 # Code to be used in simple compile tests
8109 lt_simple_compile_test_code="int some_variable = 0;"
8111 # Code to be used in simple link tests
8112 lt_simple_link_test_code='int main(){return(0);}'
8120 # If no C compiler was specified, use CC.
8123 # If no C compiler flags were specified, use CFLAGS.
8124 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8126 # Allow CC to be a program name with arguments.
8129 # Save the default compiler, since it gets overwritten when the other
8130 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8131 compiler_DEFAULT=$CC
8133 # save warnings/boilerplate of simple test code
8134 ac_outfile=conftest.$ac_objext
8135 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8136 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8137 _lt_compiler_boilerplate=`cat conftest.err`
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8142 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8143 _lt_linker_boilerplate=`cat conftest.err`
8148 ## There is no encapsulation within the following macros, do not change
8149 ## the running order or otherwise move them around unless you know exactly
8150 ## what you are doing...
8151 if test -n "$compiler"; then
8153 lt_prog_compiler_no_builtin_flag=
8155 if test "$GCC" = yes; then
8156 case $cc_basename in
8158 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8160 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8164 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8165 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8166 $as_echo_n "(cached) " >&6
8168 lt_cv_prog_compiler_rtti_exceptions=no
8169 ac_outfile=conftest.$ac_objext
8170 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8171 lt_compiler_flag="-fno-rtti -fno-exceptions"
8172 # Insert the option either (1) after the last *FLAGS variable, or
8173 # (2) before a word containing "conftest.", or (3) at the end.
8174 # Note that $ac_compile itself does not contain backslashes and begins
8175 # with a dollar sign (not a hyphen), so the echo should work correctly.
8176 # The option is referenced via a variable to avoid confusing sed.
8177 lt_compile=`echo "$ac_compile" | $SED \
8178 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8180 -e 's:$: $lt_compiler_flag:'`
8181 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8182 (eval "$lt_compile" 2>conftest.err)
8184 cat conftest.err >&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 if (exit $ac_status) && test -s "$ac_outfile"; then
8187 # The compiler can only warn and ignore the option if not recognized
8188 # So say no if there are warnings other than the usual output.
8189 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8190 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8191 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8192 lt_cv_prog_compiler_rtti_exceptions=yes
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8199 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8201 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8202 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8214 lt_prog_compiler_wl=
8215 lt_prog_compiler_pic=
8216 lt_prog_compiler_static=
8219 if test "$GCC" = yes; then
8220 lt_prog_compiler_wl='-Wl,'
8221 lt_prog_compiler_static='-static'
8225 # All AIX code is PIC.
8226 if test "$host_cpu" = ia64; then
8227 # AIX 5 now supports IA64 processor
8228 lt_prog_compiler_static='-Bstatic'
8235 # see comment about AmigaOS4 .so support
8236 lt_prog_compiler_pic='-fPIC'
8239 # FIXME: we need at least 68020 code to build shared libraries, but
8240 # adding the `-m68020' flag to GCC prevents building anything better,
8242 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8247 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8248 # PIC is the default for these OSes.
8251 mingw* | cygwin* | pw32* | os2* | cegcc*)
8252 # This hack is so that the source file can tell whether it is being
8253 # built for inclusion in a dll (and should export symbols for example).
8254 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8255 # (--disable-auto-import) libraries
8256 lt_prog_compiler_pic='-DDLL_EXPORT'
8259 darwin* | rhapsody*)
8260 # PIC is the default on this platform
8261 # Common symbols not allowed in MH_DYLIB files
8262 lt_prog_compiler_pic='-fno-common'
8266 # PIC is the default for Haiku.
8267 # The "-static" flag exists, but is broken.
8268 lt_prog_compiler_static=
8272 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8273 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8274 # sets the default TLS model and affects inlining.
8280 lt_prog_compiler_pic='-fPIC'
8286 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8287 # Instead, we relocate shared libraries at runtime.
8291 # Just because we use GCC doesn't mean we suddenly get shared libraries
8292 # on systems that don't support them.
8293 lt_prog_compiler_can_build_shared=no
8298 # QNX uses GNU C++, but need to define -shared option too, otherwise
8300 lt_prog_compiler_pic='-fPIC -shared'
8304 if test -d /usr/nec; then
8305 lt_prog_compiler_pic=-Kconform_pic
8310 lt_prog_compiler_pic='-fPIC'
8314 case $cc_basename in
8315 nvcc*) # Cuda Compiler Driver 2.2
8316 lt_prog_compiler_wl='-Xlinker '
8317 if test -n "$lt_prog_compiler_pic"; then
8318 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8323 # PORTME Check for flag to pass linker flags through the system compiler.
8326 lt_prog_compiler_wl='-Wl,'
8327 if test "$host_cpu" = ia64; then
8328 # AIX 5 now supports IA64 processor
8329 lt_prog_compiler_static='-Bstatic'
8331 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8335 mingw* | cygwin* | pw32* | os2* | cegcc*)
8336 # This hack is so that the source file can tell whether it is being
8337 # built for inclusion in a dll (and should export symbols for example).
8338 lt_prog_compiler_pic='-DDLL_EXPORT'
8341 hpux9* | hpux10* | hpux11*)
8342 lt_prog_compiler_wl='-Wl,'
8343 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8350 lt_prog_compiler_pic='+Z'
8353 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8354 lt_prog_compiler_static='${wl}-a ${wl}archive'
8357 irix5* | irix6* | nonstopux*)
8358 lt_prog_compiler_wl='-Wl,'
8359 # PIC (with -KPIC) is the default.
8360 lt_prog_compiler_static='-non_shared'
8363 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8364 case $cc_basename in
8365 # old Intel for x86_64 which still supported -KPIC.
8367 lt_prog_compiler_wl='-Wl,'
8368 lt_prog_compiler_pic='-KPIC'
8369 lt_prog_compiler_static='-static'
8371 # icc used to be incompatible with GCC.
8372 # ICC 10 doesn't accept -KPIC any more.
8374 lt_prog_compiler_wl='-Wl,'
8375 lt_prog_compiler_pic='-fPIC'
8376 lt_prog_compiler_static='-static'
8378 # Lahey Fortran 8.1.
8380 lt_prog_compiler_wl='-Wl,'
8381 lt_prog_compiler_pic='--shared'
8382 lt_prog_compiler_static='--static'
8385 # NAG Fortran compiler
8386 lt_prog_compiler_wl='-Wl,-Wl,,'
8387 lt_prog_compiler_pic='-PIC'
8388 lt_prog_compiler_static='-Bstatic'
8390 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8391 # Portland Group compilers (*not* the Pentium gcc compiler,
8392 # which looks to be a dead project)
8393 lt_prog_compiler_wl='-Wl,'
8394 lt_prog_compiler_pic='-fpic'
8395 lt_prog_compiler_static='-Bstatic'
8398 lt_prog_compiler_wl='-Wl,'
8399 # All Alpha code is PIC.
8400 lt_prog_compiler_static='-non_shared'
8402 xl* | bgxl* | bgf* | mpixl*)
8403 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8404 lt_prog_compiler_wl='-Wl,'
8405 lt_prog_compiler_pic='-qpic'
8406 lt_prog_compiler_static='-qstaticlink'
8409 case `$CC -V 2>&1 | sed 5q` in
8410 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8411 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8412 lt_prog_compiler_pic='-KPIC'
8413 lt_prog_compiler_static='-Bstatic'
8414 lt_prog_compiler_wl=''
8416 *Sun\ F* | *Sun*Fortran*)
8417 lt_prog_compiler_pic='-KPIC'
8418 lt_prog_compiler_static='-Bstatic'
8419 lt_prog_compiler_wl='-Qoption ld '
8423 lt_prog_compiler_pic='-KPIC'
8424 lt_prog_compiler_static='-Bstatic'
8425 lt_prog_compiler_wl='-Wl,'
8427 *Intel*\ [CF]*Compiler*)
8428 lt_prog_compiler_wl='-Wl,'
8429 lt_prog_compiler_pic='-fPIC'
8430 lt_prog_compiler_static='-static'
8433 lt_prog_compiler_wl='-Wl,'
8434 lt_prog_compiler_pic='-fpic'
8435 lt_prog_compiler_static='-Bstatic'
8443 lt_prog_compiler_pic='-KPIC'
8444 lt_prog_compiler_static='-Bstatic'
8448 # QNX uses GNU C++, but need to define -shared option too, otherwise
8450 lt_prog_compiler_pic='-fPIC -shared'
8453 osf3* | osf4* | osf5*)
8454 lt_prog_compiler_wl='-Wl,'
8455 # All OSF/1 code is PIC.
8456 lt_prog_compiler_static='-non_shared'
8460 lt_prog_compiler_static='-non_shared'
8464 lt_prog_compiler_pic='-KPIC'
8465 lt_prog_compiler_static='-Bstatic'
8466 case $cc_basename in
8467 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8468 lt_prog_compiler_wl='-Qoption ld ';;
8470 lt_prog_compiler_wl='-Wl,';;
8475 lt_prog_compiler_wl='-Qoption ld '
8476 lt_prog_compiler_pic='-PIC'
8477 lt_prog_compiler_static='-Bstatic'
8480 sysv4 | sysv4.2uw2* | sysv4.3*)
8481 lt_prog_compiler_wl='-Wl,'
8482 lt_prog_compiler_pic='-KPIC'
8483 lt_prog_compiler_static='-Bstatic'
8487 if test -d /usr/nec ;then
8488 lt_prog_compiler_pic='-Kconform_pic'
8489 lt_prog_compiler_static='-Bstatic'
8493 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8494 lt_prog_compiler_wl='-Wl,'
8495 lt_prog_compiler_pic='-KPIC'
8496 lt_prog_compiler_static='-Bstatic'
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_can_build_shared=no
8505 lt_prog_compiler_pic='-pic'
8506 lt_prog_compiler_static='-Bstatic'
8510 lt_prog_compiler_can_build_shared=no
8516 # For platforms which do not support PIC, -DPIC is meaningless:
8518 lt_prog_compiler_pic=
8521 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8526 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8527 if ${lt_cv_prog_compiler_pic+:} false; then :
8528 $as_echo_n "(cached) " >&6
8530 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8533 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8534 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8537 # Check to make sure the PIC flag actually works.
8539 if test -n "$lt_prog_compiler_pic"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8541 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8542 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8543 $as_echo_n "(cached) " >&6
8545 lt_cv_prog_compiler_pic_works=no
8546 ac_outfile=conftest.$ac_objext
8547 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8548 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8549 # Insert the option either (1) after the last *FLAGS variable, or
8550 # (2) before a word containing "conftest.", or (3) at the end.
8551 # Note that $ac_compile itself does not contain backslashes and begins
8552 # with a dollar sign (not a hyphen), so the echo should work correctly.
8553 # The option is referenced via a variable to avoid confusing sed.
8554 lt_compile=`echo "$ac_compile" | $SED \
8555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8557 -e 's:$: $lt_compiler_flag:'`
8558 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8559 (eval "$lt_compile" 2>conftest.err)
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 if (exit $ac_status) && test -s "$ac_outfile"; then
8564 # The compiler can only warn and ignore the option if not recognized
8565 # So say no if there are warnings other than the usual output.
8566 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8567 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8568 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8569 lt_cv_prog_compiler_pic_works=yes
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8576 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8578 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8579 case $lt_prog_compiler_pic in
8581 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8584 lt_prog_compiler_pic=
8585 lt_prog_compiler_can_build_shared=no
8601 # Check to make sure the static flag actually works.
8603 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8605 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8606 if ${lt_cv_prog_compiler_static_works+:} false; then :
8607 $as_echo_n "(cached) " >&6
8609 lt_cv_prog_compiler_static_works=no
8610 save_LDFLAGS="$LDFLAGS"
8611 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8612 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8613 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8614 # The linker can only warn and ignore the option if not recognized
8615 # So say no if there are warnings
8616 if test -s conftest.err; then
8617 # Append any errors to the config.log.
8618 cat conftest.err 1>&5
8619 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8620 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8621 if diff conftest.exp conftest.er2 >/dev/null; then
8622 lt_cv_prog_compiler_static_works=yes
8625 lt_cv_prog_compiler_static_works=yes
8629 LDFLAGS="$save_LDFLAGS"
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8633 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8635 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8638 lt_prog_compiler_static=
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8649 if ${lt_cv_prog_compiler_c_o+:} false; then :
8650 $as_echo_n "(cached) " >&6
8652 lt_cv_prog_compiler_c_o=no
8653 $RM -r conftest 2>/dev/null
8657 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8659 lt_compiler_flag="-o out/conftest2.$ac_objext"
8660 # Insert the option either (1) after the last *FLAGS variable, or
8661 # (2) before a word containing "conftest.", or (3) at the end.
8662 # Note that $ac_compile itself does not contain backslashes and begins
8663 # with a dollar sign (not a hyphen), so the echo should work correctly.
8664 lt_compile=`echo "$ac_compile" | $SED \
8665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8667 -e 's:$: $lt_compiler_flag:'`
8668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8669 (eval "$lt_compile" 2>out/conftest.err)
8671 cat out/conftest.err >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8675 # The compiler can only warn and ignore the option if not recognized
8676 # So say no if there are warnings
8677 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8678 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8679 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8680 lt_cv_prog_compiler_c_o=yes
8685 # SGI C++ compiler will create directory out/ii_files/ for
8686 # template instantiation
8687 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8688 $RM out/* && rmdir out
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8695 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8703 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8704 if ${lt_cv_prog_compiler_c_o+:} false; then :
8705 $as_echo_n "(cached) " >&6
8707 lt_cv_prog_compiler_c_o=no
8708 $RM -r conftest 2>/dev/null
8712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714 lt_compiler_flag="-o out/conftest2.$ac_objext"
8715 # Insert the option either (1) after the last *FLAGS variable, or
8716 # (2) before a word containing "conftest.", or (3) at the end.
8717 # Note that $ac_compile itself does not contain backslashes and begins
8718 # with a dollar sign (not a hyphen), so the echo should work correctly.
8719 lt_compile=`echo "$ac_compile" | $SED \
8720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8722 -e 's:$: $lt_compiler_flag:'`
8723 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8724 (eval "$lt_compile" 2>out/conftest.err)
8726 cat out/conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8730 # The compiler can only warn and ignore the option if not recognized
8731 # So say no if there are warnings
8732 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8733 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8734 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8735 lt_cv_prog_compiler_c_o=yes
8740 # SGI C++ compiler will create directory out/ii_files/ for
8741 # template instantiation
8742 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8743 $RM out/* && rmdir out
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8750 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8755 hard_links="nottested"
8756 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8757 # do not overwrite the value of need_locks provided by the user
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8759 $as_echo_n "checking if we can lock with hard links... " >&6; }
8762 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8764 ln conftest.a conftest.b 2>&5 || hard_links=no
8765 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8767 $as_echo "$hard_links" >&6; }
8768 if test "$hard_links" = no; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8770 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8783 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8786 allow_undefined_flag=
8787 always_export_symbols=no
8789 archive_expsym_cmds=
8790 compiler_needs_object=no
8791 enable_shared_with_static_runtimes=no
8792 export_dynamic_flag_spec=
8793 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8794 hardcode_automatic=no
8796 hardcode_direct_absolute=no
8797 hardcode_libdir_flag_spec=
8798 hardcode_libdir_separator=
8800 hardcode_shlibpath_var=unsupported
8802 link_all_deplibs=unknown
8805 old_archive_from_new_cmds=
8806 old_archive_from_expsyms_cmds=
8807 thread_safe_flag_spec=
8808 whole_archive_flag_spec=
8809 # include_expsyms should be a list of space-separated symbols to be *always*
8810 # included in the symbol list
8812 # exclude_expsyms can be an extended regexp of symbols to exclude
8813 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8814 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8815 # as well as any symbol that contains `d'.
8816 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8817 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8818 # platforms (ab)use it in PIC code, but their linkers get confused if
8819 # the symbol is explicitly referenced. Since portable code cannot
8820 # rely on this symbol name, it's probably fine to never include it in
8821 # preloaded symbol tables.
8822 # Exclude shared library initialization/finalization symbols.
8823 extract_expsyms_cmds=
8826 cygwin* | mingw* | pw32* | cegcc*)
8827 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8828 # When not using gcc, we currently assume that we are using
8829 # Microsoft Visual C++.
8830 if test "$GCC" != yes; then
8835 # we just hope/assume this is gcc and not c89 (= MSVC++)
8841 linux* | k*bsd*-gnu | gnu*)
8848 # On some targets, GNU ld is compatible enough with the native linker
8849 # that we're better off using the native interface for both.
8850 lt_use_gnu_ld_interface=no
8851 if test "$with_gnu_ld" = yes; then
8854 # The AIX port of GNU ld has always aspired to compatibility
8855 # with the native linker. However, as the warning in the GNU ld
8856 # block says, versions before 2.19.5* couldn't really create working
8857 # shared libraries, regardless of the interface used.
8858 case `$LD -v 2>&1` in
8859 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8860 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8861 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8863 lt_use_gnu_ld_interface=yes
8868 lt_use_gnu_ld_interface=yes
8873 if test "$lt_use_gnu_ld_interface" = yes; then
8874 # If archive_cmds runs LD, not CC, wlarc should be empty
8877 # Set some defaults for GNU ld with shared library support. These
8878 # are reset later if shared libraries are not supported. Putting them
8879 # here allows them to be overridden if necessary.
8880 runpath_var=LD_RUN_PATH
8881 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8882 export_dynamic_flag_spec='${wl}--export-dynamic'
8883 # ancient GNU ld didn't support --whole-archive et. al.
8884 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8885 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8887 whole_archive_flag_spec=
8889 supports_anon_versioning=no
8890 case `$LD -v 2>&1` in
8891 *GNU\ gold*) supports_anon_versioning=yes ;;
8892 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8893 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8894 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8895 *\ 2.11.*) ;; # other 2.11 versions
8896 *) supports_anon_versioning=yes ;;
8899 # See if GNU ld supports shared libraries.
8902 # On AIX/PPC, the GNU linker is very broken
8903 if test "$host_cpu" != ia64; then
8907 *** Warning: the GNU linker, at least up to release 2.19, is reported
8908 *** to be unable to reliably create shared libraries on AIX.
8909 *** Therefore, libtool is disabling shared libraries support. If you
8910 *** really care for shared libraries, you may want to install binutils
8911 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8912 *** You will then need to restart the configuration process.
8921 # see comment about AmigaOS4 .so support
8922 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8923 archive_expsym_cmds=''
8926 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)'
8927 hardcode_libdir_flag_spec='-L$libdir'
8928 hardcode_minus_L=yes
8934 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8935 allow_undefined_flag=unsupported
8936 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8937 # support --undefined. This deserves some investigation. FIXME
8938 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8944 cygwin* | mingw* | pw32* | cegcc*)
8945 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8946 # as there is no search path for DLLs.
8947 hardcode_libdir_flag_spec='-L$libdir'
8948 export_dynamic_flag_spec='${wl}--export-all-symbols'
8949 allow_undefined_flag=unsupported
8950 always_export_symbols=no
8951 enable_shared_with_static_runtimes=yes
8952 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'
8953 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8955 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8957 # If the export-symbols file already is a .def file (1st line
8958 # is EXPORTS), use it as is; otherwise, prepend...
8959 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8960 cp $export_symbols $output_objdir/$soname.def;
8962 echo EXPORTS > $output_objdir/$soname.def;
8963 cat $export_symbols >> $output_objdir/$soname.def;
8965 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8972 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8973 link_all_deplibs=yes
8978 hardcode_shlibpath_var=no
8979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8980 export_dynamic_flag_spec='${wl}-E'
8981 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8982 # Instead, shared libraries are loaded at an image base (0x10000000 by
8983 # default) and relocated if they conflict, which is a slow very memory
8984 # consuming and fragmenting process. To avoid this, we pick a random,
8985 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8986 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8987 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8988 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'
8991 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8993 if test "$host_os" = linux-dietlibc; then
8994 case $cc_basename in
8995 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8998 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8999 && test "$tmp_diet" = no
9001 tmp_addflag=' $pic_flag'
9002 tmp_sharedflag='-shared'
9003 case $cc_basename,$host_cpu in
9004 pgcc*) # Portland Group C compiler
9005 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'
9006 tmp_addflag=' $pic_flag'
9008 pgf77* | pgf90* | pgf95* | pgfortran*)
9009 # Portland Group f77 and f90 compilers
9010 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'
9011 tmp_addflag=' $pic_flag -Mnomain' ;;
9012 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9013 tmp_addflag=' -i_dynamic' ;;
9014 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9015 tmp_addflag=' -i_dynamic -nofor_main' ;;
9016 ifc* | ifort*) # Intel Fortran compiler
9017 tmp_addflag=' -nofor_main' ;;
9018 lf95*) # Lahey Fortran 8.1
9019 whole_archive_flag_spec=
9020 tmp_sharedflag='--shared' ;;
9021 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9022 tmp_sharedflag='-qmkshrobj'
9024 nvcc*) # Cuda Compiler Driver 2.2
9025 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'
9026 compiler_needs_object=yes
9029 case `$CC -V 2>&1 | sed 5q` in
9030 *Sun\ C*) # Sun C 5.9
9031 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'
9032 compiler_needs_object=yes
9033 tmp_sharedflag='-G' ;;
9034 *Sun\ F*) # Sun Fortran 8.3
9035 tmp_sharedflag='-G' ;;
9037 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9039 if test "x$supports_anon_versioning" = xyes; then
9040 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9041 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9042 echo "local: *; };" >> $output_objdir/$libname.ver~
9043 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9046 case $cc_basename in
9047 xlf* | bgf* | bgxlf* | mpixlf*)
9048 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9049 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9051 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9052 if test "x$supports_anon_versioning" = xyes; then
9053 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9054 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9055 echo "local: *; };" >> $output_objdir/$libname.ver~
9056 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9065 netbsd* | netbsdelf*-gnu)
9066 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9067 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9070 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9076 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9080 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9081 *** create shared libraries on Solaris systems. Therefore, libtool
9082 *** is disabling shared libraries support. We urge you to upgrade GNU
9083 *** binutils to release 2.9.1 or newer. Another option is to modify
9084 *** your PATH or compiler configuration so that the native linker is
9085 *** used, and then restart.
9088 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9089 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9097 case `$LD -v 2>&1` in
9098 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9102 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9103 *** reliably create shared libraries on SCO systems. Therefore, libtool
9104 *** is disabling shared libraries support. We urge you to upgrade GNU
9105 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9106 *** your PATH or compiler configuration so that the native linker is
9107 *** used, and then restart.
9112 # For security reasons, it is highly recommended that you always
9113 # use absolute paths for naming shared libraries, and exclude the
9114 # DT_RUNPATH tag from executables and libraries. But doing so
9115 # requires that you compile everything twice, which is a pain.
9116 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9117 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9118 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9128 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9131 hardcode_shlibpath_var=no
9135 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9144 if test "$ld_shlibs" = no; then
9146 hardcode_libdir_flag_spec=
9147 export_dynamic_flag_spec=
9148 whole_archive_flag_spec=
9151 # PORTME fill in a description of your system's linker (not GNU ld)
9154 allow_undefined_flag=unsupported
9155 always_export_symbols=yes
9156 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'
9157 # Note: this linker hardcodes the directories in LIBPATH if there
9158 # are no directories specified by -L.
9159 hardcode_minus_L=yes
9160 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9161 # Neither direct hardcoding nor static linking is supported with a
9163 hardcode_direct=unsupported
9168 if test "$host_cpu" = ia64; then
9169 # On IA64, the linker does run time linking by default, so we don't
9170 # have to do anything special.
9171 aix_use_runtimelinking=no
9172 exp_sym_flag='-Bexport'
9175 # If we're using GNU nm, then we don't want the "-C" option.
9176 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9177 # Also, AIX nm treats weak defined symbols like other global
9178 # defined symbols, whereas GNU nm marks them as "W".
9179 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9180 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'
9182 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'
9184 aix_use_runtimelinking=no
9186 # Test if we are trying to use run time linking or normal
9187 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9188 # need to do runtime linking.
9189 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9190 for ld_flag in $LDFLAGS; do
9191 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9192 aix_use_runtimelinking=yes
9199 exp_sym_flag='-bexport'
9200 no_entry_flag='-bnoentry'
9203 # When large executables or shared objects are built, AIX ld can
9204 # have problems creating the table of contents. If linking a library
9205 # or program results in "error TOC overflow" add -mminimal-toc to
9206 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9207 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9211 hardcode_direct_absolute=yes
9212 hardcode_libdir_separator=':'
9213 link_all_deplibs=yes
9214 file_list_spec='${wl}-f,'
9216 if test "$GCC" = yes; then
9217 case $host_os in aix4.[012]|aix4.[012].*)
9218 # We only want to do this on AIX 4.2 and lower, the check
9219 # below for broken collect2 doesn't work under 4.3+
9220 collect2name=`${CC} -print-prog-name=collect2`
9221 if test -f "$collect2name" &&
9222 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9224 # We have reworked collect2
9227 # We have old collect2
9228 hardcode_direct=unsupported
9229 # It fails to find uninstalled libraries when the uninstalled
9230 # path is not listed in the libpath. Setting hardcode_minus_L
9231 # to unsupported forces relinking
9232 hardcode_minus_L=yes
9233 hardcode_libdir_flag_spec='-L$libdir'
9234 hardcode_libdir_separator=
9238 shared_flag='-shared'
9239 if test "$aix_use_runtimelinking" = yes; then
9240 shared_flag="$shared_flag "'${wl}-G'
9245 if test "$host_cpu" = ia64; then
9246 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9247 # chokes on -Wl,-G. The following line is correct:
9250 if test "$aix_use_runtimelinking" = yes; then
9251 shared_flag='${wl}-G'
9253 shared_flag='${wl}-bM:SRE'
9258 export_dynamic_flag_spec='${wl}-bexpall'
9259 # It seems that -bexpall does not export symbols beginning with
9260 # underscore (_), so it is better to generate a list of symbols to export.
9261 always_export_symbols=yes
9262 if test "$aix_use_runtimelinking" = yes; then
9263 # Warning - without using the other runtime loading flags (-brtl),
9264 # -berok will link without error, but may produce a broken library.
9265 allow_undefined_flag='-berok'
9266 # Determine the default libpath from the value encoded in an
9268 if test "${lt_cv_aix_libpath+set}" = set; then
9269 aix_libpath=$lt_cv_aix_libpath
9271 if ${lt_cv_aix_libpath_+:} false; then :
9272 $as_echo_n "(cached) " >&6
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9285 if ac_fn_c_try_link "$LINENO"; then :
9287 lt_aix_libpath_sed='
9288 /Import File Strings/,/^$/ {
9290 s/^0 *\([^ ]*\) *$/\1/
9294 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9295 # Check for a 64-bit object if we didn't find anything.
9296 if test -z "$lt_cv_aix_libpath_"; then
9297 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 if test -z "$lt_cv_aix_libpath_"; then
9303 lt_cv_aix_libpath_="/usr/lib:/lib"
9308 aix_libpath=$lt_cv_aix_libpath_
9311 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9312 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"
9314 if test "$host_cpu" = ia64; then
9315 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9316 allow_undefined_flag="-z nodefs"
9317 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"
9319 # Determine the default libpath from the value encoded in an
9321 if test "${lt_cv_aix_libpath+set}" = set; then
9322 aix_libpath=$lt_cv_aix_libpath
9324 if ${lt_cv_aix_libpath_+:} false; then :
9325 $as_echo_n "(cached) " >&6
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9338 if ac_fn_c_try_link "$LINENO"; then :
9340 lt_aix_libpath_sed='
9341 /Import File Strings/,/^$/ {
9343 s/^0 *\([^ ]*\) *$/\1/
9347 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9348 # Check for a 64-bit object if we didn't find anything.
9349 if test -z "$lt_cv_aix_libpath_"; then
9350 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 if test -z "$lt_cv_aix_libpath_"; then
9356 lt_cv_aix_libpath_="/usr/lib:/lib"
9361 aix_libpath=$lt_cv_aix_libpath_
9364 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9365 # Warning - without using the other run time loading flags,
9366 # -berok will link without error, but may produce a broken library.
9367 no_undefined_flag=' ${wl}-bernotok'
9368 allow_undefined_flag=' ${wl}-berok'
9369 if test "$with_gnu_ld" = yes; then
9370 # We only use this code for GNU lds that support --whole-archive.
9371 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9373 # Exported symbols can be pulled into shared objects from archives
9374 whole_archive_flag_spec='$convenience'
9376 archive_cmds_need_lc=yes
9377 # This is similar to how AIX traditionally builds its shared libraries.
9378 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'
9386 # see comment about AmigaOS4 .so support
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds=''
9391 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)'
9392 hardcode_libdir_flag_spec='-L$libdir'
9393 hardcode_minus_L=yes
9399 export_dynamic_flag_spec=-rdynamic
9402 cygwin* | mingw* | pw32* | cegcc*)
9403 # When not using gcc, we currently assume that we are using
9404 # Microsoft Visual C++.
9405 # hardcode_libdir_flag_spec is actually meaningless, as there is
9406 # no search path for DLLs.
9407 case $cc_basename in
9410 hardcode_libdir_flag_spec=' '
9411 allow_undefined_flag=unsupported
9412 always_export_symbols=yes
9414 # Tell ltmain to make .lib files, not .a files.
9416 # Tell ltmain to make .dll files, not .so files.
9418 # FIXME: Setting linknames here is a bad hack.
9419 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9420 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9421 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9423 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9425 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9427 # The linker will not automatically build a static lib if we build a DLL.
9428 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9429 enable_shared_with_static_runtimes=yes
9430 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9431 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9433 old_postinstall_cmds='chmod 644 $oldlib'
9434 postlink_cmds='lt_outputfile="@OUTPUT@"~
9435 lt_tool_outputfile="@TOOL_OUTPUT@"~
9436 case $lt_outputfile in
9439 lt_outputfile="$lt_outputfile.exe"
9440 lt_tool_outputfile="$lt_tool_outputfile.exe"
9443 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9444 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9445 $RM "$lt_outputfile.manifest";
9449 # Assume MSVC wrapper
9450 hardcode_libdir_flag_spec=' '
9451 allow_undefined_flag=unsupported
9452 # Tell ltmain to make .lib files, not .a files.
9454 # Tell ltmain to make .dll files, not .so files.
9456 # FIXME: Setting linknames here is a bad hack.
9457 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458 # The linker will automatically build a .lib file if we build a DLL.
9459 old_archive_from_new_cmds='true'
9460 # FIXME: Should let the user specify the lib program.
9461 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462 enable_shared_with_static_runtimes=yes
9467 darwin* | rhapsody*)
9470 archive_cmds_need_lc=no
9472 hardcode_automatic=yes
9473 hardcode_shlibpath_var=unsupported
9474 if test "$lt_cv_ld_force_load" = "yes"; then
9475 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\"`'
9478 whole_archive_flag_spec=''
9480 link_all_deplibs=yes
9481 allow_undefined_flag="$_lt_dar_allow_undefined"
9482 case $cc_basename in
9483 ifort*) _lt_dar_can_shared=yes ;;
9484 *) _lt_dar_can_shared=$GCC ;;
9486 if test "$_lt_dar_can_shared" = "yes"; then
9487 output_verbose_link_cmd=func_echo_all
9488 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9489 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9490 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}"
9491 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}"
9500 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501 hardcode_libdir_flag_spec='-L$libdir'
9502 hardcode_shlibpath_var=no
9505 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9506 # support. Future versions do this automatically, but an explicit c++rt0.o
9507 # does not break anything, and helps significantly (at the cost of a little
9510 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9511 hardcode_libdir_flag_spec='-R$libdir'
9513 hardcode_shlibpath_var=no
9516 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9520 hardcode_minus_L=yes
9521 hardcode_shlibpath_var=no
9524 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9525 freebsd* | dragonfly*)
9526 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9527 hardcode_libdir_flag_spec='-R$libdir'
9529 hardcode_shlibpath_var=no
9533 if test "$GCC" = yes; then
9534 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'
9536 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'
9538 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9539 hardcode_libdir_separator=:
9542 # hardcode_minus_L: Not really in the search PATH,
9543 # but as the default location of the library.
9544 hardcode_minus_L=yes
9545 export_dynamic_flag_spec='${wl}-E'
9549 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9550 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9552 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9554 if test "$with_gnu_ld" = no; then
9555 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9556 hardcode_libdir_separator=:
9558 hardcode_direct_absolute=yes
9559 export_dynamic_flag_spec='${wl}-E'
9560 # hardcode_minus_L: Not really in the search PATH,
9561 # but as the default location of the library.
9562 hardcode_minus_L=yes
9567 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9570 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9573 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9589 # Older versions of the 11.00 compiler do not understand -b yet
9590 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9592 $as_echo_n "checking if $CC understands -b... " >&6; }
9593 if ${lt_cv_prog_compiler__b+:} false; then :
9594 $as_echo_n "(cached) " >&6
9596 lt_cv_prog_compiler__b=no
9597 save_LDFLAGS="$LDFLAGS"
9598 LDFLAGS="$LDFLAGS -b"
9599 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9600 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9601 # The linker can only warn and ignore the option if not recognized
9602 # So say no if there are warnings
9603 if test -s conftest.err; then
9604 # Append any errors to the config.log.
9605 cat conftest.err 1>&5
9606 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9607 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9608 if diff conftest.exp conftest.er2 >/dev/null; then
9609 lt_cv_prog_compiler__b=yes
9612 lt_cv_prog_compiler__b=yes
9616 LDFLAGS="$save_LDFLAGS"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9620 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9622 if test x"$lt_cv_prog_compiler__b" = xyes; then
9623 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9625 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9631 if test "$with_gnu_ld" = no; then
9632 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9633 hardcode_libdir_separator=:
9638 hardcode_shlibpath_var=no
9642 hardcode_direct_absolute=yes
9643 export_dynamic_flag_spec='${wl}-E'
9645 # hardcode_minus_L: Not really in the search PATH,
9646 # but as the default location of the library.
9647 hardcode_minus_L=yes
9653 irix5* | irix6* | nonstopux*)
9654 if test "$GCC" = yes; then
9655 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'
9656 # Try to use the -exported_symbol ld option, if it does not
9657 # work, assume that -exports_file does not work either and
9658 # implicitly export all symbols.
9659 # This should be the same for all languages, so no per-tag cache variable.
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9661 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9662 if ${lt_cv_irix_exported_symbol+:} false; then :
9663 $as_echo_n "(cached) " >&6
9665 save_LDFLAGS="$LDFLAGS"
9666 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9669 int foo (void) { return 0; }
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 lt_cv_irix_exported_symbol=yes
9674 lt_cv_irix_exported_symbol=no
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LDFLAGS="$save_LDFLAGS"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9681 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9682 if test "$lt_cv_irix_exported_symbol" = yes; then
9683 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'
9686 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'
9687 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'
9689 archive_cmds_need_lc='no'
9690 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9691 hardcode_libdir_separator=:
9693 link_all_deplibs=yes
9696 netbsd* | netbsdelf*-gnu)
9697 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9700 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9702 hardcode_libdir_flag_spec='-R$libdir'
9704 hardcode_shlibpath_var=no
9708 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9710 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711 hardcode_libdir_separator=:
9712 hardcode_shlibpath_var=no
9719 if test -f /usr/libexec/ld.so; then
9721 hardcode_shlibpath_var=no
9722 hardcode_direct_absolute=yes
9723 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9724 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9725 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9726 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9727 export_dynamic_flag_spec='${wl}-E'
9730 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-R$libdir'
9735 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9736 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9746 hardcode_libdir_flag_spec='-L$libdir'
9747 hardcode_minus_L=yes
9748 allow_undefined_flag=unsupported
9749 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'
9750 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9754 if test "$GCC" = yes; then
9755 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9756 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'
9758 allow_undefined_flag=' -expect_unresolved \*'
9759 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'
9761 archive_cmds_need_lc='no'
9762 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9763 hardcode_libdir_separator=:
9766 osf4* | osf5*) # as osf3* with the addition of -msym flag
9767 if test "$GCC" = yes; then
9768 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9769 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'
9770 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9772 allow_undefined_flag=' -expect_unresolved \*'
9773 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'
9774 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~
9775 $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'
9777 # Both c and cxx compiler support -rpath directly
9778 hardcode_libdir_flag_spec='-rpath $libdir'
9780 archive_cmds_need_lc='no'
9781 hardcode_libdir_separator=:
9785 no_undefined_flag=' -z defs'
9786 if test "$GCC" = yes; then
9788 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9790 $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'
9792 case `$CC -V 2>&1` in
9795 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9796 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9801 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9802 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9803 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_shlibpath_var=no
9810 solaris2.[0-5] | solaris2.[0-5].*) ;;
9812 # The compiler driver will combine and reorder linker options,
9813 # but understands `-z linker_flag'. GCC discards it without `$wl',
9814 # but is careful enough not to reorder.
9815 # Supported since Solaris 2.6 (maybe 2.5.1?)
9816 if test "$GCC" = yes; then
9817 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9819 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9823 link_all_deplibs=yes
9827 if test "x$host_vendor" = xsequent; then
9828 # Use $CC to link under sequent, because it throws in some extra .o
9829 # files that make .init and .fini sections work.
9830 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9834 hardcode_libdir_flag_spec='-L$libdir'
9836 hardcode_minus_L=yes
9837 hardcode_shlibpath_var=no
9841 case $host_vendor in
9843 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_direct=yes # is this really true???
9847 ## LD is ld it makes a PLAMLIB
9848 ## CC just makes a GrossModule.
9849 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9850 reload_cmds='$CC -r -o $output$reload_objs'
9854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9855 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9858 runpath_var='LD_RUN_PATH'
9859 hardcode_shlibpath_var=no
9863 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_shlibpath_var=no
9865 export_dynamic_flag_spec='-Bexport'
9869 if test -d /usr/nec; then
9870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_shlibpath_var=no
9872 runpath_var=LD_RUN_PATH
9873 hardcode_runpath_var=yes
9878 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9879 no_undefined_flag='${wl}-z,text'
9880 archive_cmds_need_lc=no
9881 hardcode_shlibpath_var=no
9882 runpath_var='LD_RUN_PATH'
9884 if test "$GCC" = yes; then
9885 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9888 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 sysv5* | sco3.2v5* | sco5v6*)
9894 # Note: We can NOT use -z defs as we might desire, because we do not
9895 # link with -lc, and that would cause any symbols used from libc to
9896 # always be unresolved, which means just about no library would
9897 # ever link correctly. If we're not using GNU ld we use -z text
9898 # though, which does catch some bad symbols but isn't as heavy-handed
9900 no_undefined_flag='${wl}-z,text'
9901 allow_undefined_flag='${wl}-z,nodefs'
9902 archive_cmds_need_lc=no
9903 hardcode_shlibpath_var=no
9904 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9905 hardcode_libdir_separator=':'
9906 link_all_deplibs=yes
9907 export_dynamic_flag_spec='${wl}-Bexport'
9908 runpath_var='LD_RUN_PATH'
9910 if test "$GCC" = yes; then
9911 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_libdir_flag_spec='-L$libdir'
9922 hardcode_shlibpath_var=no
9930 if test x$host_vendor = xsni; then
9932 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9933 export_dynamic_flag_spec='${wl}-Blargedynsym'
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9940 $as_echo "$ld_shlibs" >&6; }
9941 test "$ld_shlibs" = no && can_build_shared=no
9943 with_gnu_ld=$with_gnu_ld
9960 # Do we need to explicitly link libc?
9962 case "x$archive_cmds_need_lc" in
9964 # Assume -lc should be added
9965 archive_cmds_need_lc=yes
9967 if test "$enable_shared" = yes && test "$GCC" = yes; then
9968 case $archive_cmds in
9970 # FIXME: we may have to deal with multi-command sequences.
9973 # Test whether the compiler implicitly links with -lc since on some
9974 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9975 # to ld, don't add -lc before -lgcc.
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9977 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9978 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9979 $as_echo_n "(cached) " >&6
9982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9985 (eval $ac_compile) 2>&5
9987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9988 test $ac_status = 0; } 2>conftest.err; then
9991 libobjs=conftest.$ac_objext
9993 wl=$lt_prog_compiler_wl
9994 pic_flag=$lt_prog_compiler_pic
10000 lt_save_allow_undefined_flag=$allow_undefined_flag
10001 allow_undefined_flag=
10002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10003 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10006 test $ac_status = 0; }
10008 lt_cv_archive_cmds_need_lc=no
10010 lt_cv_archive_cmds_need_lc=yes
10012 allow_undefined_flag=$lt_save_allow_undefined_flag
10014 cat conftest.err 1>&5
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10020 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10021 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10182 if test "$GCC" = yes; then
10184 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10185 *) lt_awk_arg="/^libraries:/" ;;
10188 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10189 *) lt_sed_strip_eq="s,=/,/,g" ;;
10191 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10192 case $lt_search_path_spec in
10194 # if the path contains ";" then we assume it to be the separator
10195 # otherwise default to the standard path separator (i.e. ":") - it is
10196 # assumed that no part of a normal pathname contains ";" but that should
10197 # okay in the real world where ";" in dirpaths is itself problematic.
10198 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10201 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10204 # Ok, now we have the path, separated by spaces, we can step through it
10205 # and add multilib dir if necessary.
10206 lt_tmp_lt_search_path_spec=
10207 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10208 for lt_sys_path in $lt_search_path_spec; do
10209 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10210 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10212 test -d "$lt_sys_path" && \
10213 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10216 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10217 BEGIN {RS=" "; FS="/|\n";} {
10220 for (lt_i = NF; lt_i > 0; lt_i--) {
10221 if ($lt_i != "" && $lt_i != ".") {
10222 if ($lt_i == "..") {
10225 if (lt_count == 0) {
10226 lt_foo="/" $lt_i lt_foo;
10233 if (lt_foo != "") { lt_freq[lt_foo]++; }
10234 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10236 # AWK program above erroneously prepends '/' to C:/dos/paths
10239 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10240 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10242 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10244 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10246 library_names_spec=
10247 libname_spec='lib$name'
10251 postuninstall_cmds=
10255 shlibpath_overrides_runpath=unknown
10257 dynamic_linker="$host_os ld.so"
10258 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10259 need_lib_prefix=unknown
10260 hardcode_into_libs=no
10262 # when you set need_version to no, make sure it does not cause -set_version
10263 # flags to be left without arguments
10264 need_version=unknown
10268 version_type=linux # correct to gnu/linux during the next big refactor
10269 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10270 shlibpath_var=LIBPATH
10272 # AIX 3 has no versioning support, so we append a major version to the name.
10273 soname_spec='${libname}${release}${shared_ext}$major'
10277 version_type=linux # correct to gnu/linux during the next big refactor
10280 hardcode_into_libs=yes
10281 if test "$host_cpu" = ia64; then
10282 # AIX 5 supports IA64
10283 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10284 shlibpath_var=LD_LIBRARY_PATH
10286 # With GCC up to 2.95.x, collect2 would create an import file
10287 # for dependence libraries. The import file would start with
10288 # the line `#! .'. This would cause the generated library to
10289 # depend on `.', always an invalid library. This was fixed in
10290 # development snapshots of GCC prior to 3.0.
10292 aix4 | aix4.[01] | aix4.[01].*)
10293 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10295 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10298 can_build_shared=no
10302 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10303 # soname into executable. Probably we can add versioning support to
10304 # collect2, so additional links can be useful in future.
10305 if test "$aix_use_runtimelinking" = yes; then
10306 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10307 # instead of lib<name>.a to let people know that these are not
10308 # typical AIX shared libraries.
10309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10311 # We preserve .a as extension for shared libraries through AIX4.2
10312 # and later when we are not doing run time linking.
10313 library_names_spec='${libname}${release}.a $libname.a'
10314 soname_spec='${libname}${release}${shared_ext}$major'
10316 shlibpath_var=LIBPATH
10323 # Since July 2007 AmigaOS4 officially supports .so libraries.
10324 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10328 library_names_spec='$libname.ixlibrary $libname.a'
10329 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10330 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'
10336 library_names_spec='${libname}${shared_ext}'
10337 dynamic_linker="$host_os ld.so"
10338 shlibpath_var=LIBRARY_PATH
10342 version_type=linux # correct to gnu/linux during the next big refactor
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10347 shlibpath_var=LD_LIBRARY_PATH
10348 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10349 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10350 # the default ld.so.conf also contains /usr/contrib/lib and
10351 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10352 # libtool to hard-code these into programs
10355 cygwin* | mingw* | pw32* | cegcc*)
10356 version_type=windows
10361 case $GCC,$cc_basename in
10364 library_names_spec='$libname.dll.a'
10365 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10366 postinstall_cmds='base_file=`basename \${file}`~
10367 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10368 dldir=$destdir/`dirname \$dlpath`~
10369 test -d \$dldir || mkdir -p \$dldir~
10370 $install_prog $dir/$dlname \$dldir/$dlname~
10371 chmod a+x \$dldir/$dlname~
10372 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10373 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10375 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10376 dlpath=$dir/\$dldll~
10378 shlibpath_overrides_runpath=yes
10382 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10383 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10385 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10388 # MinGW DLLs use traditional 'lib' prefix
10389 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10392 # pw32 DLLs use 'pw' prefix rather than 'lib'
10393 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10396 dynamic_linker='Win32 ld.exe'
10401 libname_spec='$name'
10402 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403 library_names_spec='${libname}.dll.lib'
10407 sys_lib_search_path_spec=
10410 for lt_path in $LIB
10413 # Let DOS variable expansion print the short 8.3 style file name.
10414 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10415 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10418 # Convert to MSYS style.
10419 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10422 # Convert to unix form, then to dos form, then back to unix form
10423 # but this time dos style (no spaces!) so that the unix form looks
10424 # like /cygdrive/c/PROGRA~1:/cygdr...
10425 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10426 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10427 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10430 sys_lib_search_path_spec="$LIB"
10431 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10432 # It is most probably a Windows format PATH.
10433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10435 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10437 # FIXME: find the short name or the path components, as spaces are
10438 # common. (e.g. "Program Files" -> "PROGRA~1")
10442 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10443 postinstall_cmds='base_file=`basename \${file}`~
10444 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10445 dldir=$destdir/`dirname \$dlpath`~
10446 test -d \$dldir || mkdir -p \$dldir~
10447 $install_prog $dir/$dlname \$dldir/$dlname'
10448 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10449 dlpath=$dir/\$dldll~
10451 shlibpath_overrides_runpath=yes
10452 dynamic_linker='Win32 link.exe'
10456 # Assume MSVC wrapper
10457 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10458 dynamic_linker='Win32 ld.exe'
10461 # FIXME: first we should search . and the directory the executable is in
10465 darwin* | rhapsody*)
10466 dynamic_linker="$host_os dyld"
10467 version_type=darwin
10470 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10471 soname_spec='${libname}${release}${major}$shared_ext'
10472 shlibpath_overrides_runpath=yes
10473 shlibpath_var=DYLD_LIBRARY_PATH
10474 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10476 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10477 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10481 version_type=linux # correct to gnu/linux during the next big refactor
10484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10485 soname_spec='${libname}${release}${shared_ext}$major'
10486 shlibpath_var=LD_LIBRARY_PATH
10489 freebsd* | dragonfly*)
10490 # DragonFly does not have aout. When/if they implement a new
10491 # versioning mechanism, adjust this.
10492 if test -x /usr/bin/objformat; then
10493 objformat=`/usr/bin/objformat`
10496 freebsd[23].*) objformat=aout ;;
10497 *) objformat=elf ;;
10500 version_type=freebsd-$objformat
10501 case $version_type in
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10512 shlibpath_var=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath=yes
10517 freebsd3.[01]* | freebsdelf3.[01]*)
10518 shlibpath_overrides_runpath=yes
10519 hardcode_into_libs=yes
10521 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10522 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10523 shlibpath_overrides_runpath=no
10524 hardcode_into_libs=yes
10526 *) # from 4.6 on, and DragonFly
10527 shlibpath_overrides_runpath=yes
10528 hardcode_into_libs=yes
10534 version_type=linux # correct to gnu/linux during the next big refactor
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 shlibpath_var=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath=no
10541 hardcode_into_libs=yes
10545 version_type=linux # correct to gnu/linux during the next big refactor
10548 dynamic_linker="$host_os runtime_loader"
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 shlibpath_var=LIBRARY_PATH
10552 shlibpath_overrides_runpath=yes
10553 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10554 hardcode_into_libs=yes
10557 hpux9* | hpux10* | hpux11*)
10558 # Give a soname corresponding to the major version so that dld.sl refuses to
10559 # link against other versions.
10566 hardcode_into_libs=yes
10567 dynamic_linker="$host_os dld.so"
10568 shlibpath_var=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 if test "X$HPUX_IA64_MODE" = X32; then
10573 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10575 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10577 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10581 hardcode_into_libs=yes
10582 dynamic_linker="$host_os dld.sl"
10583 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10584 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10588 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10592 dynamic_linker="$host_os dld.sl"
10593 shlibpath_var=SHLIB_PATH
10594 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 soname_spec='${libname}${release}${shared_ext}$major'
10599 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10600 postinstall_cmds='chmod 555 $lib'
10601 # or fails outright, so override atomically:
10602 install_override_mode=555
10606 version_type=linux # correct to gnu/linux during the next big refactor
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 shlibpath_overrides_runpath=no
10614 hardcode_into_libs=yes
10617 irix5* | irix6* | nonstopux*)
10619 nonstopux*) version_type=nonstopux ;;
10621 if test "$lt_cv_prog_gnu_ld" = yes; then
10622 version_type=linux # correct to gnu/linux during the next big refactor
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10632 irix5* | nonstopux*)
10633 libsuff= shlibsuff=
10636 case $LD in # libtool.m4 will add one of these switches to LD
10637 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10638 libsuff= shlibsuff= libmagic=32-bit;;
10639 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10640 libsuff=32 shlibsuff=N32 libmagic=N32;;
10641 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10642 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10643 *) libsuff= shlibsuff= libmagic=never-match;;
10647 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10648 shlibpath_overrides_runpath=no
10649 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10650 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10651 hardcode_into_libs=yes
10654 # No shared lib support for Linux oldld, aout, or coff.
10655 linux*oldld* | linux*aout* | linux*coff*)
10659 # This must be glibc/ELF.
10660 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10661 version_type=linux # correct to gnu/linux during the next big refactor
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=no
10670 # Some binutils ld are patched to set DT_RUNPATH
10671 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10672 $as_echo_n "(cached) " >&6
10674 lt_cv_shlibpath_overrides_runpath=no
10675 save_LDFLAGS=$LDFLAGS
10676 save_libdir=$libdir
10677 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10678 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10690 if ac_fn_c_try_link "$LINENO"; then :
10691 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10692 lt_cv_shlibpath_overrides_runpath=yes
10695 rm -f core conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LDFLAGS=$save_LDFLAGS
10698 libdir=$save_libdir
10702 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10704 # This implies no fast_install, which is unacceptable.
10705 # Some rework will be needed to allow for fast_install
10706 # before this can be enabled.
10707 hardcode_into_libs=yes
10709 # Append ld.so.conf contents to the search path
10710 if test -f /etc/ld.so.conf; then
10711 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' ' '`
10712 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10715 # We used to test for /lib/ld.so.1 and disable shared libraries on
10716 # powerpc, because MkLinux only supported shared libraries with the
10717 # GNU dynamic linker. Since this was broken with cross compilers,
10718 # most powerpc-linux boxes support dynamic linking these days and
10719 # people can always --disable-shared, the test was removed, and we
10720 # assume the GNU/Linux dynamic linker is in use.
10721 dynamic_linker='GNU/Linux ld.so'
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=no
10732 hardcode_into_libs=yes
10733 dynamic_linker='NetBSD ld.elf_so'
10740 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743 dynamic_linker='NetBSD (a.out) ld.so'
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 dynamic_linker='NetBSD ld.elf_so'
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=yes
10751 hardcode_into_libs=yes
10755 version_type=linux # correct to gnu/linux during the next big refactor
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10770 dynamic_linker='ldqnx.so'
10775 sys_lib_dlsearch_path_spec="/usr/lib"
10777 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10779 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10780 *) need_version=no ;;
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10787 openbsd2.[89] | openbsd2.[89].*)
10788 shlibpath_overrides_runpath=no
10791 shlibpath_overrides_runpath=yes
10795 shlibpath_overrides_runpath=yes
10800 libname_spec='$name'
10803 library_names_spec='$libname${shared_ext} $libname.a'
10804 dynamic_linker='OS/2 ld.exe'
10805 shlibpath_var=LIBPATH
10808 osf3* | osf4* | osf5*)
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10824 version_type=linux # correct to gnu/linux during the next big refactor
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=yes
10831 hardcode_into_libs=yes
10832 # ldd complains unless libraries are executable
10833 postinstall_cmds='chmod +x $lib'
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=yes
10842 if test "$with_gnu_ld" = yes; then
10849 version_type=linux # correct to gnu/linux during the next big refactor
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 case $host_vendor in
10855 shlibpath_overrides_runpath=no
10857 runpath_var=LD_RUN_PATH
10865 shlibpath_overrides_runpath=no
10866 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10872 if test -d /usr/nec ;then
10873 version_type=linux # correct to gnu/linux during the next big refactor
10874 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875 soname_spec='$libname${shared_ext}.$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10881 version_type=freebsd-elf
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=yes
10888 hardcode_into_libs=yes
10889 if test "$with_gnu_ld" = yes; then
10890 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10892 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10895 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10899 sys_lib_dlsearch_path_spec='/usr/lib'
10903 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10904 version_type=linux # correct to gnu/linux during the next big refactor
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10910 hardcode_into_libs=yes
10914 version_type=linux # correct to gnu/linux during the next big refactor
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 shlibpath_var=LD_LIBRARY_PATH
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035 test -n "$runpath_var" ||
11036 test "X$hardcode_automatic" = "Xyes" ; then
11038 # We can hardcode non-existent directories.
11039 if test "$hardcode_direct" != no &&
11040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041 # have to relink, otherwise we might link with an installed library
11042 # when we should be linking with a yet-to-be-installed one
11043 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044 test "$hardcode_minus_L" != no; then
11045 # Linking always hardcodes the temporary library directory.
11046 hardcode_action=relink
11048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049 hardcode_action=immediate
11052 # We cannot hardcode anything, or else we can only hardcode existing
11054 hardcode_action=unsupported
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11059 if test "$hardcode_action" = relink ||
11060 test "$inherit_rpath" = yes; then
11061 # Fast installation is not supported
11062 enable_fast_install=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064 test "$enable_shared" = no; then
11065 # Fast installation is not necessary
11066 enable_fast_install=needless
11074 if test "x$enable_dlopen" != xyes; then
11075 enable_dlopen=unknown
11076 enable_dlopen_self=unknown
11077 enable_dlopen_self_static=unknown
11084 lt_cv_dlopen="load_add_on"
11086 lt_cv_dlopen_self=yes
11089 mingw* | pw32* | cegcc*)
11090 lt_cv_dlopen="LoadLibrary"
11095 lt_cv_dlopen="dlopen"
11100 # if libdl is installed we need to link against it
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if ${ac_cv_lib_dl_dlopen+:} false; then :
11104 $as_echo_n "(cached) " >&6
11106 ac_check_lib_save_LIBS=$LIBS
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11126 if ac_fn_c_try_link "$LINENO"; then :
11127 ac_cv_lib_dl_dlopen=yes
11129 ac_cv_lib_dl_dlopen=no
11131 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11136 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11137 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11138 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11141 lt_cv_dlopen="dyld"
11143 lt_cv_dlopen_self=yes
11150 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11151 if test "x$ac_cv_func_shl_load" = xyes; then :
11152 lt_cv_dlopen="shl_load"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11155 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11156 if ${ac_cv_lib_dld_shl_load+:} false; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS=$LIBS
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11174 return shl_load ();
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_dld_shl_load=yes
11182 ac_cv_lib_dld_shl_load=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11189 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11190 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11191 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11193 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11194 if test "x$ac_cv_func_dlopen" = xyes; then :
11195 lt_cv_dlopen="dlopen"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11199 if ${ac_cv_lib_dl_dlopen+:} false; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_lib_save_LIBS=$LIBS
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_lib_dl_dlopen=yes
11225 ac_cv_lib_dl_dlopen=no
11227 rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11233 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11237 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11238 if ${ac_cv_lib_svld_dlopen+:} false; then :
11239 $as_echo_n "(cached) " >&6
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lsvld $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_svld_dlopen=yes
11264 ac_cv_lib_svld_dlopen=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11271 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11272 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11273 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11276 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11277 if ${ac_cv_lib_dld_dld_link+:} false; then :
11278 $as_echo_n "(cached) " >&6
11280 ac_check_lib_save_LIBS=$LIBS
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11295 return dld_link ();
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_dld_link=yes
11303 ac_cv_lib_dld_dld_link=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11311 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11312 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11333 if test "x$lt_cv_dlopen" != xno; then
11339 case $lt_cv_dlopen in
11341 save_CPPFLAGS="$CPPFLAGS"
11342 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11344 save_LDFLAGS="$LDFLAGS"
11345 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11348 LIBS="$lt_cv_dlopen_libs $LIBS"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11352 if ${lt_cv_dlopen_self+:} false; then :
11353 $as_echo_n "(cached) " >&6
11355 if test "$cross_compiling" = yes; then :
11356 lt_cv_dlopen_self=cross
11358 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11359 lt_status=$lt_dlunknown
11360 cat > conftest.$ac_ext <<_LT_EOF
11361 #line $LINENO "configure"
11362 #include "confdefs.h"
11371 # define LT_DLGLOBAL RTLD_GLOBAL
11374 # define LT_DLGLOBAL DL_GLOBAL
11376 # define LT_DLGLOBAL 0
11380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11381 find out it does not work in some platform. */
11382 #ifndef LT_DLLAZY_OR_NOW
11384 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11387 # define LT_DLLAZY_OR_NOW DL_LAZY
11390 # define LT_DLLAZY_OR_NOW RTLD_NOW
11393 # define LT_DLLAZY_OR_NOW DL_NOW
11395 # define LT_DLLAZY_OR_NOW 0
11402 /* When -fvisbility=hidden is used, assume the code has been annotated
11403 correspondingly for the symbols needed. */
11404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11405 int fnord () __attribute__((visibility("default")));
11408 int fnord () { return 42; }
11411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11412 int status = $lt_dlunknown;
11416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11419 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11420 else puts (dlerror ());
11422 /* dlclose (self); */
11430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11431 (eval $ac_link) 2>&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11435 (./conftest; exit; ) >&5 2>/dev/null
11437 case x$lt_status in
11438 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11439 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11440 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11443 # compilation failed
11444 lt_cv_dlopen_self=no
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11452 $as_echo "$lt_cv_dlopen_self" >&6; }
11454 if test "x$lt_cv_dlopen_self" = xyes; then
11455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11458 if ${lt_cv_dlopen_self_static+:} false; then :
11459 $as_echo_n "(cached) " >&6
11461 if test "$cross_compiling" = yes; then :
11462 lt_cv_dlopen_self_static=cross
11464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11465 lt_status=$lt_dlunknown
11466 cat > conftest.$ac_ext <<_LT_EOF
11467 #line $LINENO "configure"
11468 #include "confdefs.h"
11477 # define LT_DLGLOBAL RTLD_GLOBAL
11480 # define LT_DLGLOBAL DL_GLOBAL
11482 # define LT_DLGLOBAL 0
11486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11487 find out it does not work in some platform. */
11488 #ifndef LT_DLLAZY_OR_NOW
11490 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11493 # define LT_DLLAZY_OR_NOW DL_LAZY
11496 # define LT_DLLAZY_OR_NOW RTLD_NOW
11499 # define LT_DLLAZY_OR_NOW DL_NOW
11501 # define LT_DLLAZY_OR_NOW 0
11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509 correspondingly for the symbols needed. */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 int fnord () __attribute__((visibility("default")));
11514 int fnord () { return 42; }
11517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518 int status = $lt_dlunknown;
11522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11526 else puts (dlerror ());
11528 /* dlclose (self); */
11536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11537 (eval $ac_link) 2>&5
11539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11540 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11541 (./conftest; exit; ) >&5 2>/dev/null
11543 case x$lt_status in
11544 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11545 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11546 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11549 # compilation failed
11550 lt_cv_dlopen_self_static=no
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11561 CPPFLAGS="$save_CPPFLAGS"
11562 LDFLAGS="$save_LDFLAGS"
11567 case $lt_cv_dlopen_self in
11568 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11569 *) enable_dlopen_self=unknown ;;
11572 case $lt_cv_dlopen_self_static in
11573 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11574 *) enable_dlopen_self_static=unknown ;;
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11598 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11599 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11600 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11602 $as_echo "yes" >&6; }
11604 # FIXME - insert some real tests, host_os isn't really good enough
11607 if test -n "$STRIP" ; then
11608 striplib="$STRIP -x"
11609 old_striplib="$STRIP -S"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11611 $as_echo "yes" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11635 # Report which library types will actually be built
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11639 $as_echo "$can_build_shared" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11642 $as_echo_n "checking whether to build shared libraries... " >&6; }
11643 test "$can_build_shared" = "no" && enable_shared=no
11645 # On AIX, shared libraries and static libraries use the same namespace, and
11646 # are all built from PIC.
11649 test "$enable_shared" = yes && enable_static=no
11650 if test -n "$RANLIB"; then
11651 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11652 postinstall_cmds='$RANLIB $lib'
11657 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658 test "$enable_shared" = yes && enable_static=no
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11663 $as_echo "$enable_shared" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11666 $as_echo_n "checking whether to build static libraries... " >&6; }
11667 # Make sure either enable_shared or enable_static is yes.
11668 test "$enable_shared" = yes || enable_static=yes
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11670 $as_echo "$enable_static" >&6; }
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11698 ac_config_commands="$ac_config_commands libtool"
11703 # Only expand once:
11707 # Checks for libraries.
11715 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11716 if test -n "$ac_tool_prefix"; then
11717 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11718 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11722 $as_echo_n "(cached) " >&6
11724 case $PKG_CONFIG in
11726 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11730 for as_dir in $PATH
11733 test -z "$as_dir" && as_dir=.
11734 for ac_exec_ext in '' $ac_executable_extensions; do
11735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11736 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11747 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11748 if test -n "$PKG_CONFIG"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11750 $as_echo "$PKG_CONFIG" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11758 if test -z "$ac_cv_path_PKG_CONFIG"; then
11759 ac_pt_PKG_CONFIG=$PKG_CONFIG
11760 # Extract the first word of "pkg-config", so it can be a program name with args.
11761 set dummy pkg-config; ac_word=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11765 $as_echo_n "(cached) " >&6
11767 case $ac_pt_PKG_CONFIG in
11769 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11791 if test -n "$ac_pt_PKG_CONFIG"; then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11793 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 $as_echo "no" >&6; }
11799 if test "x$ac_pt_PKG_CONFIG" = x; then
11802 case $cross_compiling:$ac_tool_warned in
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11806 ac_tool_warned=yes ;;
11808 PKG_CONFIG=$ac_pt_PKG_CONFIG
11811 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11815 if test -n "$PKG_CONFIG"; then
11816 _pkg_min_version=0.9.0
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11818 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11819 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11821 $as_echo "yes" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11831 $as_echo_n "checking for GSIGNOND... " >&6; }
11833 if test -n "$GSIGNOND_CFLAGS"; then
11834 pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11835 elif test -n "$PKG_CONFIG"; then
11836 if test -n "$PKG_CONFIG" && \
11837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11842 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11849 test $ac_status = 0; }; then
11850 pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11854 sqlite3" 2>/dev/null`
11855 test "x$?" != "x0" && pkg_failed=yes
11862 if test -n "$GSIGNOND_LIBS"; then
11863 pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11864 elif test -n "$PKG_CONFIG"; then
11865 if test -n "$PKG_CONFIG" && \
11866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11871 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11878 test $ac_status = 0; }; then
11879 pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11883 sqlite3" 2>/dev/null`
11884 test "x$?" != "x0" && pkg_failed=yes
11894 if test $pkg_failed = yes; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11896 $as_echo "no" >&6; }
11898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11899 _pkg_short_errors_supported=yes
11901 _pkg_short_errors_supported=no
11903 if test $_pkg_short_errors_supported = yes; then
11904 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11910 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11916 # Put the nasty error message in config.log where it belongs
11917 echo "$GSIGNOND_PKG_ERRORS" >&5
11919 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11923 sqlite3) were not met:
11925 $GSIGNOND_PKG_ERRORS
11927 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11928 installed software in a non-standard prefix.
11930 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11931 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11932 See the pkg-config man page for more details." "$LINENO" 5
11933 elif test $pkg_failed = untried; then
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11938 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11939 is in your PATH or set the PKG_CONFIG environment variable to the full
11940 path to pkg-config.
11942 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11943 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11944 See the pkg-config man page for more details.
11946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11947 See \`config.log' for more details" "$LINENO" 5; }
11949 GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11950 GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11952 $as_echo "yes" >&6; }
11959 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11963 $as_echo_n "checking for CHECK... " >&6; }
11965 if test -n "$CHECK_CFLAGS"; then
11966 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11967 elif test -n "$PKG_CONFIG"; then
11968 if test -n "$PKG_CONFIG" && \
11969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11970 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11973 test $ac_status = 0; }; then
11974 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11975 test "x$?" != "x0" && pkg_failed=yes
11982 if test -n "$CHECK_LIBS"; then
11983 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11984 elif test -n "$PKG_CONFIG"; then
11985 if test -n "$PKG_CONFIG" && \
11986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11987 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11990 test $ac_status = 0; }; then
11991 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11992 test "x$?" != "x0" && pkg_failed=yes
12002 if test $pkg_failed = yes; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12007 _pkg_short_errors_supported=yes
12009 _pkg_short_errors_supported=no
12011 if test $_pkg_short_errors_supported = yes; then
12012 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12014 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12016 # Put the nasty error message in config.log where it belongs
12017 echo "$CHECK_PKG_ERRORS" >&5
12020 elif test $pkg_failed = untried; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12025 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12026 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12028 $as_echo "yes" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12037 $as_echo_n "checking for LIBSMACK... " >&6; }
12039 if test -n "$LIBSMACK_CFLAGS"; then
12040 pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12041 elif test -n "$PKG_CONFIG"; then
12042 if test -n "$PKG_CONFIG" && \
12043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12044 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12047 test $ac_status = 0; }; then
12048 pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12049 test "x$?" != "x0" && pkg_failed=yes
12056 if test -n "$LIBSMACK_LIBS"; then
12057 pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12058 elif test -n "$PKG_CONFIG"; then
12059 if test -n "$PKG_CONFIG" && \
12060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12061 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12064 test $ac_status = 0; }; then
12065 pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12066 test "x$?" != "x0" && pkg_failed=yes
12076 if test $pkg_failed = yes; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12081 _pkg_short_errors_supported=yes
12083 _pkg_short_errors_supported=no
12085 if test $_pkg_short_errors_supported = yes; then
12086 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12088 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12090 # Put the nasty error message in config.log where it belongs
12091 echo "$LIBSMACK_PKG_ERRORS" >&5
12094 elif test $pkg_failed = untried; then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12099 LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12100 LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12102 $as_echo "yes" >&6; }
12105 if test x$libsmack = xyes; then
12106 HAVE_LIBSMACK_TRUE=
12107 HAVE_LIBSMACK_FALSE='#'
12109 HAVE_LIBSMACK_TRUE='#'
12110 HAVE_LIBSMACK_FALSE=
12113 if test "x$libsmack" = xyes; then
12115 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12122 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12124 if test -n "$LIBECRYPTFS_CFLAGS"; then
12125 pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12126 elif test -n "$PKG_CONFIG"; then
12127 if test -n "$PKG_CONFIG" && \
12128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12129 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12132 test $ac_status = 0; }; then
12133 pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12134 test "x$?" != "x0" && pkg_failed=yes
12141 if test -n "$LIBECRYPTFS_LIBS"; then
12142 pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12143 elif test -n "$PKG_CONFIG"; then
12144 if test -n "$PKG_CONFIG" && \
12145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12146 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12149 test $ac_status = 0; }; then
12150 pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12151 test "x$?" != "x0" && pkg_failed=yes
12161 if test $pkg_failed = yes; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12166 _pkg_short_errors_supported=yes
12168 _pkg_short_errors_supported=no
12170 if test $_pkg_short_errors_supported = yes; then
12171 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12173 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12175 # Put the nasty error message in config.log where it belongs
12176 echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12179 elif test $pkg_failed = untried; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181 $as_echo "no" >&6; }
12184 LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12185 LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12187 $as_echo "yes" >&6; }
12190 if test x$libecryptfs = xyes; then
12191 HAVE_LIBECRYPTFS_TRUE=
12192 HAVE_LIBECRYPTFS_FALSE='#'
12194 HAVE_LIBECRYPTFS_TRUE='#'
12195 HAVE_LIBECRYPTFS_FALSE=
12198 if test "x$libecryptfs" = xes; then
12200 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12204 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12205 set dummy glib-mkenums; ac_word=$2
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12207 $as_echo_n "checking for $ac_word... " >&6; }
12208 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12209 $as_echo_n "(cached) " >&6
12211 case $GLIB_MKENUMS in
12213 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12223 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12234 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12235 if test -n "$GLIB_MKENUMS"; then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12237 $as_echo "$GLIB_MKENUMS" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12240 $as_echo "no" >&6; }
12245 # Check whether --enable-coverage was given.
12246 if test "${enable_coverage+set}" = set; then :
12247 enableval=$enable_coverage;
12250 if test "x$enable_coverage" = "xyes"; then :
12251 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12254 # allow fake installations for "distcheck"
12255 # Check whether --enable-distcheck was given.
12256 if test "${enable_distcheck+set}" = set; then :
12257 enableval=$enable_distcheck; enable_distcheck=yes
12259 enable_distcheck=no
12262 echo -n "running distcheck... "
12263 echo $enable_distcheck
12265 # Check whether --enable-dbus-type was given.
12266 if test "${enable_dbus_type+set}" = set; then :
12267 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12269 enable_dbus_type=p2p
12272 echo "----------------------"
12273 echo " DBUS TYPE : '$enable_dbus_type'"
12274 echo "----------------------"
12275 if test "x$enable_dbus_type" = "xp2p" ; then
12277 $as_echo "#define USE_P2P 1" >>confdefs.h
12279 elif test "x$enable_dbus_type" = "xsession" ; then
12281 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12283 if test "x$enable_distcheck" = "xyes" ; then
12284 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12286 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12292 $as_echo_n "checking for GTestDBus... " >&6; }
12294 if test -n "$GTestDBus_CFLAGS"; then
12295 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12296 elif test -n "$PKG_CONFIG"; then
12297 if test -n "$PKG_CONFIG" && \
12298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12299 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302 test $ac_status = 0; }; then
12303 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12304 test "x$?" != "x0" && pkg_failed=yes
12311 if test -n "$GTestDBus_LIBS"; then
12312 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12313 elif test -n "$PKG_CONFIG"; then
12314 if test -n "$PKG_CONFIG" && \
12315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12316 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12319 test $ac_status = 0; }; then
12320 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12321 test "x$?" != "x0" && pkg_failed=yes
12331 if test $pkg_failed = yes; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12336 _pkg_short_errors_supported=yes
12338 _pkg_short_errors_supported=no
12340 if test $_pkg_short_errors_supported = yes; then
12341 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12343 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12345 # Put the nasty error message in config.log where it belongs
12346 echo "$GTestDBus_PKG_ERRORS" >&5
12349 elif test $pkg_failed = untried; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12354 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12355 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12357 $as_echo "yes" >&6; }
12360 if test "x$gtestdbus" = xyes; then
12362 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12365 elif test "x$enable_dbus_type" = "xsystem" ; then
12367 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12369 if test "x$enable_distcheck" = "xyes" ; then
12370 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12372 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12375 if test "x$enable_dbus_type" != "xp2p" ; then
12376 if test "x$enable_distcheck" = "xyes" ; then
12377 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12379 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12383 # Check whether --enable-keychain was given.
12384 if test "${enable_keychain+set}" = set; then :
12385 enableval=$enable_keychain; enable_keychain=$enableval
12388 if test "x$enable_keychain" != "x" ; then
12390 cat >>confdefs.h <<_ACEOF
12391 #define KEYCHAIN_SYSCTX "$enable_keychain"
12394 KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12397 KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12401 # Check whether --enable-storagedir was given.
12402 if test "${enable_storagedir+set}" = set; then :
12403 enableval=$enable_storagedir; enable_storagedir=$enableval
12405 enable_storagedir="/var/db"
12409 cat >>confdefs.h <<_ACEOF
12410 #define BASE_STORAGE_DIR "$enable_storagedir"
12413 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12416 # Check whether --enable-debug was given.
12417 if test "${enable_debug+set}" = set; then :
12418 enableval=$enable_debug; enable_debug=yes
12423 echo -n "enable debug features... "
12425 if test "x$enable_debug" = "xyes" ; then
12427 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12429 # Check whether --enable-sql-log was given.
12430 if test "${enable_sql_log+set}" = set; then :
12431 enableval=$enable_sql_log; enable_sql_log=yes
12436 echo -n "enable sql log feature... "
12437 echo $enable_sql_log
12438 if test "x$enable_sql_log" = "xyes" ; then
12440 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12445 # Check whether --enable-acltriggers was given.
12446 if test "${enable_acltriggers+set}" = set; then :
12447 enableval=$enable_acltriggers; enable_acl_triggers=yes
12449 enable_acl_triggers=no
12452 if test "x$enable_acl_triggers" = "xyes" ; then
12454 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12458 if test x$gtestdbus = xyes; then
12459 USE_GTESTDBUS_TRUE=
12460 USE_GTESTDBUS_FALSE='#'
12462 USE_GTESTDBUS_TRUE='#'
12463 USE_GTESTDBUS_FALSE=
12466 MESSAGE_BUS_TYPE=$enable_dbus_type
12469 if test x$enable_debug = xyes; then
12471 HAVE_DEBUG_FALSE='#'
12473 HAVE_DEBUG_TRUE='#'
12477 if test x$enable_distcheck != xyes; then
12478 SET_PERMISSIONS_TRUE=
12479 SET_PERMISSIONS_FALSE='#'
12481 SET_PERMISSIONS_TRUE='#'
12482 SET_PERMISSIONS_FALSE=
12493 gtk_doc_requires="gtk-doc >= 1.18"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12495 $as_echo_n "checking for gtk-doc... " >&6; }
12496 if test -n "$PKG_CONFIG" && \
12497 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12498 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501 test $ac_status = 0; }; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12507 $as_echo "$have_gtk_doc" >&6; }
12509 if test "$have_gtk_doc" = "no"; then
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12511 You will not be able to create source packages with 'make dist'
12512 because $gtk_doc_requires is not found." >&5
12513 $as_echo "$as_me: WARNING:
12514 You will not be able to create source packages with 'make dist'
12515 because $gtk_doc_requires is not found." >&2;}
12518 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12519 set dummy gtkdoc-check; ac_word=$2
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12521 $as_echo_n "checking for $ac_word... " >&6; }
12522 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12523 $as_echo_n "(cached) " >&6
12525 if test -n "$GTKDOC_CHECK"; then
12526 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12529 for as_dir in $PATH
12532 test -z "$as_dir" && as_dir=.
12533 for ac_exec_ext in '' $ac_executable_extensions; do
12534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12535 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12545 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12546 if test -n "$GTKDOC_CHECK"; then
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12548 $as_echo "$GTKDOC_CHECK" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12551 $as_echo "no" >&6; }
12555 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12556 set dummy gtkdoc-check; ac_word=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12558 $as_echo_n "checking for $ac_word... " >&6; }
12559 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12560 $as_echo_n "(cached) " >&6
12562 case $GTKDOC_CHECK_PATH in
12564 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12568 for as_dir in $PATH
12571 test -z "$as_dir" && as_dir=.
12572 for ac_exec_ext in '' $ac_executable_extensions; do
12573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12574 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12585 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12586 if test -n "$GTKDOC_CHECK_PATH"; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12588 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12595 for ac_prog in gtkdoc-rebase
12597 # Extract the first word of "$ac_prog", so it can be a program name with args.
12598 set dummy $ac_prog; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12602 $as_echo_n "(cached) " >&6
12604 case $GTKDOC_REBASE in
12606 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12613 test -z "$as_dir" && as_dir=.
12614 for ac_exec_ext in '' $ac_executable_extensions; do
12615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12628 if test -n "$GTKDOC_REBASE"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12630 $as_echo "$GTKDOC_REBASE" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12637 test -n "$GTKDOC_REBASE" && break
12639 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12641 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12642 set dummy gtkdoc-mkpdf; ac_word=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12646 $as_echo_n "(cached) " >&6
12648 case $GTKDOC_MKPDF in
12650 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12657 test -z "$as_dir" && as_dir=.
12658 for ac_exec_ext in '' $ac_executable_extensions; do
12659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12660 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12671 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12672 if test -n "$GTKDOC_MKPDF"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12674 $as_echo "$GTKDOC_MKPDF" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12683 # Check whether --with-html-dir was given.
12684 if test "${with_html_dir+set}" = set; then :
12685 withval=$with_html_dir;
12687 with_html_dir='${datadir}/gtk-doc/html'
12690 HTML_DIR="$with_html_dir"
12693 # Check whether --enable-gtk-doc was given.
12694 if test "${enable_gtk_doc+set}" = set; then :
12695 enableval=$enable_gtk_doc;
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12702 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12704 $as_echo "$enable_gtk_doc" >&6; }
12706 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12708 You must have $gtk_doc_requires installed to build documentation for
12709 $PACKAGE_NAME. Please install gtk-doc or disable building the
12710 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12713 if test "x$PACKAGE_NAME" != "xglib"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12717 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12719 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12720 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12721 elif test -n "$PKG_CONFIG"; then
12722 if test -n "$PKG_CONFIG" && \
12723 { { $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
12724 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12727 test $ac_status = 0; }; then
12728 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12729 test "x$?" != "x0" && pkg_failed=yes
12736 if test -n "$GTKDOC_DEPS_LIBS"; then
12737 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12738 elif test -n "$PKG_CONFIG"; then
12739 if test -n "$PKG_CONFIG" && \
12740 { { $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
12741 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744 test $ac_status = 0; }; then
12745 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12746 test "x$?" != "x0" && pkg_failed=yes
12756 if test $pkg_failed = yes; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758 $as_echo "no" >&6; }
12760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12761 _pkg_short_errors_supported=yes
12763 _pkg_short_errors_supported=no
12765 if test $_pkg_short_errors_supported = yes; then
12766 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`
12768 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12770 # Put the nasty error message in config.log where it belongs
12771 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12774 elif test $pkg_failed = untried; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12779 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12780 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12782 $as_echo "yes" >&6; }
12787 # Check whether --enable-gtk-doc-html was given.
12788 if test "${enable_gtk_doc_html+set}" = set; then :
12789 enableval=$enable_gtk_doc_html;
12791 enable_gtk_doc_html=yes
12794 # Check whether --enable-gtk-doc-pdf was given.
12795 if test "${enable_gtk_doc_pdf+set}" = set; then :
12796 enableval=$enable_gtk_doc_pdf;
12798 enable_gtk_doc_pdf=no
12802 if test -z "$GTKDOC_MKPDF"; then
12803 enable_gtk_doc_pdf=no
12806 if test -z "$AM_DEFAULT_VERBOSITY"; then
12807 AM_DEFAULT_VERBOSITY=1
12811 if test x$have_gtk_doc = xyes; then
12813 HAVE_GTK_DOC_FALSE='#'
12815 HAVE_GTK_DOC_TRUE='#'
12816 HAVE_GTK_DOC_FALSE=
12819 if test x$enable_gtk_doc = xyes; then
12820 ENABLE_GTK_DOC_TRUE=
12821 ENABLE_GTK_DOC_FALSE='#'
12823 ENABLE_GTK_DOC_TRUE='#'
12824 ENABLE_GTK_DOC_FALSE=
12827 if test x$enable_gtk_doc_html = xyes; then
12828 GTK_DOC_BUILD_HTML_TRUE=
12829 GTK_DOC_BUILD_HTML_FALSE='#'
12831 GTK_DOC_BUILD_HTML_TRUE='#'
12832 GTK_DOC_BUILD_HTML_FALSE=
12835 if test x$enable_gtk_doc_pdf = xyes; then
12836 GTK_DOC_BUILD_PDF_TRUE=
12837 GTK_DOC_BUILD_PDF_FALSE='#'
12839 GTK_DOC_BUILD_PDF_TRUE='#'
12840 GTK_DOC_BUILD_PDF_FALSE=
12843 if test -n "$LIBTOOL"; then
12844 GTK_DOC_USE_LIBTOOL_TRUE=
12845 GTK_DOC_USE_LIBTOOL_FALSE='#'
12847 GTK_DOC_USE_LIBTOOL_TRUE='#'
12848 GTK_DOC_USE_LIBTOOL_FALSE=
12851 if test -n "$GTKDOC_REBASE"; then
12852 GTK_DOC_USE_REBASE_TRUE=
12853 GTK_DOC_USE_REBASE_FALSE='#'
12855 GTK_DOC_USE_REBASE_TRUE='#'
12856 GTK_DOC_USE_REBASE_FALSE=
12861 # Checks for header files.
12862 for ac_header in string.h
12864 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_string_h" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_STRING_H 1
12875 # Enable feature sets
12876 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12878 # Checks for typedefs, structures, and compiler characteristics.
12879 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
12880 if test "x$enable_debug" = "xno" ; then
12881 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
12884 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12886 # Checks for library functions.
12888 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc gsignond.conf docs/Makefile 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/gplugind/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"
12890 cat >confcache <<\_ACEOF
12891 # This file is a shell script that caches the results of configure
12892 # tests run on this system so they can be shared between configure
12893 # scripts and configure runs, see configure's option --config-cache.
12894 # It is not useful on other systems. If it contains results you don't
12895 # want to keep, you may remove or edit it.
12897 # config.status only pays attention to the cache file if you give it
12898 # the --recheck option to rerun configure.
12900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12902 # following values.
12906 # The following way of writing the cache mishandles newlines in values,
12907 # but we know of no workaround that is simple, portable, and efficient.
12908 # So, we kill variables containing newlines.
12909 # Ultrix sh set writes to stderr and can't be redirected directly,
12910 # and sets the high bit in the cache file unless we assign to the vars.
12912 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12913 eval ac_val=\$$ac_var
12917 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12921 _ | IFS | as_nl) ;; #(
12922 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12923 *) { eval $ac_var=; unset $ac_var;} ;;
12929 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12930 *${as_nl}ac_space=\ *)
12931 # `set' does not quote correctly, so add quotes: double-quote
12932 # substitution turns \\\\ into \\, and sed turns \\ into \.
12935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12938 # `set' quotes correctly as required by POSIX, so do not add quotes.
12939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12950 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12952 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12953 if test -w "$cache_file"; then
12954 if test "x$cache_file" != "x/dev/null"; then
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12956 $as_echo "$as_me: updating cache $cache_file" >&6;}
12957 if test ! -f "$cache_file" || test -h "$cache_file"; then
12958 cat confcache >"$cache_file"
12960 case $cache_file in #(
12962 mv -f confcache "$cache_file"$$ &&
12963 mv -f "$cache_file"$$ "$cache_file" ;; #(
12965 mv -f confcache "$cache_file" ;;
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12971 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12976 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12977 # Let make expand exec_prefix.
12978 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12980 DEFS=-DHAVE_CONFIG_H
12985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12986 # 1. Remove the extension, and $U if already installed.
12987 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12988 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12989 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12990 # will be set to the directory where LIBOBJS objects are built.
12991 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12992 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12994 LIBOBJS=$ac_libobjs
12996 LTLIBOBJS=$ac_ltlibobjs
12999 if test -n "$EXEEXT"; then
13001 am__EXEEXT_FALSE='#'
13003 am__EXEEXT_TRUE='#'
13007 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13008 as_fn_error $? "conditional \"AMDEP\" was never defined.
13009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13011 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13012 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13015 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13016 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13019 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13020 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13023 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13024 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13027 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13028 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13031 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13032 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13035 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13036 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13039 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13040 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13043 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13044 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13047 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13048 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13051 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13052 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13055 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13056 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13060 : "${CONFIG_STATUS=./config.status}"
13062 ac_clean_files_save=$ac_clean_files
13063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13069 # Generated by $as_me.
13070 # Run this file to recreate the current configuration.
13071 # Compiler output produced by configure, useful for debugging
13072 # configure, is in config.log if it exists.
13075 ac_cs_recheck=false
13078 SHELL=\${CONFIG_SHELL-$SHELL}
13081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13082 ## -------------------- ##
13083 ## M4sh Initialization. ##
13084 ## -------------------- ##
13086 # Be more Bourne compatible
13087 DUALCASE=1; export DUALCASE # for MKS sh
13088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13091 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13092 # is contrary to our usage. Disable this feature.
13093 alias -g '${1+"$@"}'='"$@"'
13094 setopt NO_GLOB_SUBST
13096 case `(set -o) 2>/dev/null` in #(
13108 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13109 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13112 # Prefer a ksh shell builtin over an external printf program on Solaris,
13113 # but without wasting forks for bash or zsh.
13114 if test -z "$BASH_VERSION$ZSH_VERSION" \
13115 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13116 as_echo='print -r --'
13117 as_echo_n='print -rn --'
13118 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13119 as_echo='printf %s\n'
13120 as_echo_n='printf %s'
13122 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13123 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13124 as_echo_n='/usr/ucb/echo -n'
13126 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13127 as_echo_n_body='eval
13131 expr "X$arg" : "X\\(.*\\)$as_nl";
13132 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13134 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13136 export as_echo_n_body
13137 as_echo_n='sh -c $as_echo_n_body as_echo'
13139 export as_echo_body
13140 as_echo='sh -c $as_echo_body as_echo'
13143 # The user is always right.
13144 if test "${PATH_SEPARATOR+set}" != set; then
13146 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13147 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13154 # We need space, tab and new line, in precisely that order. Quoting is
13155 # there to prevent editors from complaining about space-tab.
13156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13157 # splitting by setting IFS to empty value.)
13160 # Find who we are. Look in the path if we contain no directory separator.
13163 *[\\/]* ) as_myself=$0 ;;
13164 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13168 test -z "$as_dir" && as_dir=.
13169 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13175 # We did not find ourselves, most probably we were run as `sh COMMAND'
13176 # in which case we are not to be found in the path.
13177 if test "x$as_myself" = x; then
13180 if test ! -f "$as_myself"; then
13181 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13185 # Unset variables that we do not need and which cause bugs (e.g. in
13186 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13187 # suppresses any "Segmentation fault" message there. '((' could
13188 # trigger a bug in pdksh 5.2.14.
13189 for as_var in BASH_ENV ENV MAIL MAILPATH
13190 do eval test x\${$as_var+set} = xset \
13191 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13208 # ----------------------------------------
13209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13211 # script with STATUS, using 1 if that was 0.
13214 as_status=$1; test $as_status -eq 0 && as_status=1
13216 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13217 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13219 $as_echo "$as_me: error: $2" >&2
13220 as_fn_exit $as_status
13224 # as_fn_set_status STATUS
13225 # -----------------------
13226 # Set $? to STATUS, without forking.
13227 as_fn_set_status ()
13230 } # as_fn_set_status
13232 # as_fn_exit STATUS
13233 # -----------------
13234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13238 as_fn_set_status $1
13244 # Portably unset VAR.
13247 { eval $1=; unset $1;}
13249 as_unset=as_fn_unset
13250 # as_fn_append VAR VALUE
13251 # ----------------------
13252 # Append the text in VALUE to the end of the definition contained in VAR. Take
13253 # advantage of any shell optimizations that allow amortized linear growth over
13254 # repeated appends, instead of the typical quadratic growth present in naive
13256 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13257 eval 'as_fn_append ()
13268 # as_fn_arith ARG...
13269 # ------------------
13270 # Perform arithmetic evaluation on the ARGs, and store the result in the
13271 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13272 # must be portable across $(()) and expr.
13273 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13274 eval 'as_fn_arith ()
13281 as_val=`expr "$@" || test $? -eq 1`
13286 if expr a : '\(a\)' >/dev/null 2>&1 &&
13287 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13293 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13294 as_basename=basename
13299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13305 as_me=`$as_basename -- "$0" ||
13306 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13307 X"$0" : 'X\(//\)$' \| \
13308 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13310 sed '/^.*\/\([^/][^/]*\)\/*$/{
13324 # Avoid depending upon Character Ranges.
13325 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13326 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13327 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13328 as_cr_digits='0123456789'
13329 as_cr_alnum=$as_cr_Letters$as_cr_digits
13331 ECHO_C= ECHO_N= ECHO_T=
13332 case `echo -n x` in #(((((
13334 case `echo 'xy\c'` in
13335 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13337 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13344 rm -f conf$$ conf$$.exe conf$$.file
13345 if test -d conf$$.dir; then
13346 rm -f conf$$.dir/conf$$.file
13349 mkdir conf$$.dir 2>/dev/null
13351 if (echo >conf$$.file) 2>/dev/null; then
13352 if ln -s conf$$.file conf$$ 2>/dev/null; then
13354 # ... but there are two gotchas:
13355 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13356 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13357 # In both cases, we have to default to `cp -p'.
13358 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13360 elif ln conf$$.file conf$$ 2>/dev/null; then
13368 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13369 rmdir conf$$.dir 2>/dev/null
13374 # Create "$as_dir" as a directory, including parents if necessary.
13379 -*) as_dir=./$as_dir;;
13381 test -d "$as_dir" || eval $as_mkdir_p || {
13385 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13386 *) as_qdir=$as_dir;;
13388 as_dirs="'$as_qdir' $as_dirs"
13389 as_dir=`$as_dirname -- "$as_dir" ||
13390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13391 X"$as_dir" : 'X\(//\)[^/]' \| \
13392 X"$as_dir" : 'X\(//\)$' \| \
13393 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13394 $as_echo X"$as_dir" |
13395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13399 /^X\(\/\/\)[^/].*/{
13412 test -d "$as_dir" && break
13414 test -z "$as_dirs" || eval "mkdir $as_dirs"
13415 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13419 if mkdir -p . 2>/dev/null; then
13420 as_mkdir_p='mkdir -p "$as_dir"'
13422 test -d ./-p && rmdir ./-p
13426 if test -x / >/dev/null 2>&1; then
13427 as_test_x='test -x'
13429 if ls -dL / >/dev/null 2>&1; then
13436 if test -d "$1"; then
13442 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13443 ???[sx]*):;;*)false;;esac;fi
13447 as_executable_p=$as_test_x
13449 # Sed expression to map a string onto a valid CPP name.
13450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13452 # Sed expression to map a string onto a valid variable name.
13453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13457 ## ----------------------------------- ##
13458 ## Main body of $CONFIG_STATUS script. ##
13459 ## ----------------------------------- ##
13461 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13464 # Save the log message, to keep $0 and so on meaningful, and to
13465 # report actual input values of CONFIG_FILES etc. instead of their
13466 # values after options handling.
13468 This file was extended by gsignond $as_me 1.0.1, which was
13469 generated by GNU Autoconf 2.68. Invocation command line was
13471 CONFIG_FILES = $CONFIG_FILES
13472 CONFIG_HEADERS = $CONFIG_HEADERS
13473 CONFIG_LINKS = $CONFIG_LINKS
13474 CONFIG_COMMANDS = $CONFIG_COMMANDS
13477 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13482 case $ac_config_files in *"
13483 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13486 case $ac_config_headers in *"
13487 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13492 # Files that config.status was made for.
13493 config_files="$ac_config_files"
13494 config_headers="$ac_config_headers"
13495 config_commands="$ac_config_commands"
13499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13501 \`$as_me' instantiates files and other configuration actions
13502 from templates according to the current configuration. Unless the files
13503 and actions are specified as TAGs, all are instantiated by default.
13505 Usage: $0 [OPTION]... [TAG]...
13507 -h, --help print this help, then exit
13508 -V, --version print version number and configuration settings, then exit
13509 --config print configuration, then exit
13510 -q, --quiet, --silent
13511 do not print progress messages
13512 -d, --debug don't remove temporary files
13513 --recheck update $as_me by reconfiguring in the same conditions
13514 --file=FILE[:TEMPLATE]
13515 instantiate the configuration file FILE
13516 --header=FILE[:TEMPLATE]
13517 instantiate the configuration header FILE
13519 Configuration files:
13522 Configuration headers:
13525 Configuration commands:
13528 Report bugs to the package provider.
13529 gsignond home page: <http://01.org/gsso>."
13532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13533 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13535 gsignond config.status 1.0.1
13536 configured by $0, generated by GNU Autoconf 2.68,
13537 with options \\"\$ac_cs_config\\"
13539 Copyright (C) 2010 Free Software Foundation, Inc.
13540 This config.status script is free software; the Free Software Foundation
13541 gives unlimited permission to copy, distribute and modify it."
13548 test -n "\$AWK" || AWK=awk
13551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13552 # The default lists apply if the user does not specify any file.
13558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13559 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13563 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13575 # Handling of the options.
13576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13578 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13579 $as_echo "$ac_cs_version"; exit ;;
13580 --config | --confi | --conf | --con | --co | --c )
13581 $as_echo "$ac_cs_config"; exit ;;
13582 --debug | --debu | --deb | --de | --d | -d )
13584 --file | --fil | --fi | --f )
13587 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13588 '') as_fn_error $? "missing file argument" ;;
13590 as_fn_append CONFIG_FILES " '$ac_optarg'"
13591 ac_need_defaults=false;;
13592 --header | --heade | --head | --hea )
13595 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13597 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13598 ac_need_defaults=false;;
13600 # Conflict between --help and --header
13601 as_fn_error $? "ambiguous option: \`$1'
13602 Try \`$0 --help' for more information.";;
13603 --help | --hel | -h )
13604 $as_echo "$ac_cs_usage"; exit ;;
13605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13606 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13609 # This is an error.
13610 -*) as_fn_error $? "unrecognized option: \`$1'
13611 Try \`$0 --help' for more information." ;;
13613 *) as_fn_append ac_config_targets " $1"
13614 ac_need_defaults=false ;;
13620 ac_configure_extra_args=
13622 if $ac_cs_silent; then
13624 ac_configure_extra_args="$ac_configure_extra_args --silent"
13628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13629 if \$ac_cs_recheck; then
13630 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13632 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13633 CONFIG_SHELL='$SHELL'
13634 export CONFIG_SHELL
13639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13643 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13644 ## Running $as_me. ##
13650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13654 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13657 # The HP-UX ksh and POSIX shell print the target directory to stdout
13658 # if CDPATH is set.
13659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13661 sed_quote_subst='$sed_quote_subst'
13662 double_quote_subst='$double_quote_subst'
13663 delay_variable_subst='$delay_variable_subst'
13664 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13665 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13666 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13667 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13668 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13669 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13670 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13671 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13672 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13673 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13674 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13675 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13676 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13677 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13678 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13679 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13680 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13681 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13682 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13683 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13684 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13685 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13686 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13687 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13688 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13689 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13690 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13691 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13692 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13693 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13694 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13695 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13696 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13697 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13698 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13699 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13700 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13701 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13702 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13703 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13704 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13705 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13706 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13707 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13708 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13709 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13710 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13711 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13712 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13713 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13714 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13715 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13716 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13717 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13718 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13719 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13720 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"`'
13721 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13722 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13723 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13724 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13725 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13726 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13727 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13728 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13729 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13730 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13731 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13732 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13733 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13734 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13735 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13736 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13737 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13738 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13739 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13740 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13741 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13742 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13743 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13744 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13745 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13746 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13747 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13748 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13749 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13750 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13751 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13752 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13753 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13754 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13755 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13756 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13757 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13758 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13759 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13760 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13761 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13762 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13763 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13764 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13765 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13766 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13767 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13768 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13769 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13770 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13771 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13772 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13773 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13774 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13775 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13776 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13777 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13778 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13779 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13780 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13781 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13782 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13783 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13784 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13785 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13786 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13787 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13788 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13789 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13790 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13791 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13792 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13793 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13796 LTCFLAGS='$LTCFLAGS'
13797 compiler='$compiler_DEFAULT'
13799 # A function that is used when there is no print builtin or printf.
13800 func_fallback_echo ()
13802 eval 'cat <<_LTECHO_EOF
13807 # Quote evaled strings.
13822 deplibs_check_method \
13827 sharedlib_from_linklib_cmd \
13830 archiver_list_spec \
13836 lt_cv_sys_global_symbol_pipe \
13837 lt_cv_sys_global_symbol_to_cdecl \
13838 lt_cv_sys_global_symbol_to_c_name_address \
13839 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13840 nm_file_list_spec \
13841 lt_prog_compiler_no_builtin_flag \
13842 lt_prog_compiler_pic \
13843 lt_prog_compiler_wl \
13844 lt_prog_compiler_static \
13845 lt_cv_prog_compiler_c_o \
13854 export_dynamic_flag_spec \
13855 whole_archive_flag_spec \
13856 compiler_needs_object \
13858 allow_undefined_flag \
13859 no_undefined_flag \
13860 hardcode_libdir_flag_spec \
13861 hardcode_libdir_separator \
13865 variables_saved_for_relink \
13867 library_names_spec \
13869 install_override_mode \
13873 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13874 *[\\\\\\\`\\"\\\$]*)
13875 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13878 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13883 # Double-quote double-evaled strings.
13884 for var in reload_cmds \
13885 old_postinstall_cmds \
13886 old_postuninstall_cmds \
13888 extract_expsyms_cmds \
13889 old_archive_from_new_cmds \
13890 old_archive_from_expsyms_cmds \
13892 archive_expsym_cmds \
13894 module_expsym_cmds \
13895 export_symbols_cmds \
13899 postuninstall_cmds \
13901 sys_lib_search_path_spec \
13902 sys_lib_dlsearch_path_spec; do
13903 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13904 *[\\\\\\\`\\"\\\$]*)
13905 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13908 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13913 ac_aux_dir='$ac_aux_dir'
13914 xsi_shell='$xsi_shell'
13915 lt_shell_append='$lt_shell_append'
13917 # See if we are running on zsh, and set the options which allow our
13918 # commands through without removal of \ escapes INIT.
13919 if test -n "\${ZSH_VERSION+set}" ; then
13920 setopt NO_GLOB_SUBST
13926 TIMESTAMP='$TIMESTAMP'
13935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13937 # Handling of arguments.
13938 for ac_config_target in $ac_config_targets
13940 case $ac_config_target in
13941 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13942 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13943 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13944 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13945 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13946 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13947 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
13948 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13949 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13950 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13951 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13952 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13953 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13954 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13955 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13956 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13957 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
13958 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13959 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13960 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13961 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13962 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13963 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13964 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13965 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13966 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13967 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13968 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13969 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13970 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13972 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13977 # If the user did not use the arguments to specify the items to instantiate,
13978 # then the envvar interface is used. Set only those that are not.
13979 # We use the long form for the default assignment because of an extremely
13980 # bizarre bug on SunOS 4.1.3.
13981 if $ac_need_defaults; then
13982 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13983 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13984 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13987 # Have a temporary directory for convenience. Make it in the build tree
13988 # simply because there is no reason against having it here, and in addition,
13989 # creating and moving files from /tmp can sometimes cause problems.
13990 # Hook for its removal unless debugging.
13991 # Note that there is a small window in which the directory will not be cleaned:
13992 # after its creation but before its name has been assigned to `$tmp'.
13996 trap 'exit_status=$?
13997 : "${ac_tmp:=$tmp}"
13998 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14000 trap 'as_fn_exit 1' 1 2 13 15
14002 # Create a (secure) tmp directory for tmp files.
14005 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14009 tmp=./conf$$-$RANDOM
14010 (umask 077 && mkdir "$tmp")
14011 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14014 # Set up the scripts for CONFIG_FILES section.
14015 # No need to generate them if there are no CONFIG_FILES.
14016 # This happens for instance with `./config.status config.h'.
14017 if test -n "$CONFIG_FILES"; then
14020 ac_cr=`echo X | tr X '\015'`
14021 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14022 # But we know of no other shell where ac_cr would be empty at this
14023 # point, so we can use a bashism as a fallback.
14024 if test "x$ac_cr" = x; then
14025 eval ac_cr=\$\'\\r\'
14027 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14028 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14031 ac_cs_awk_cr=$ac_cr
14034 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14039 echo "cat >conf$$subs.awk <<_ACEOF" &&
14040 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14042 } >conf$$subs.sh ||
14043 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14044 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14046 for ac_last_try in false false false false false :; do
14047 . ./conf$$subs.sh ||
14048 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14050 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14051 if test $ac_delim_n = $ac_delim_num; then
14053 elif $ac_last_try; then
14054 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14059 rm -f conf$$subs.sh
14061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14062 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14066 s/^/S["/; s/!.*/"]=/
14076 s/\(.\{148\}\)..*/\1/
14078 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14083 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14090 s/\(.\{148\}\)..*/\1/
14092 s/["\\]/\\&/g; s/^/"/; s/$/"/
14096 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14101 ' <conf$$subs.awk | sed '
14106 ' >>$CONFIG_STATUS || ac_write_fail=1
14107 rm -f conf$$subs.awk
14108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14110 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14111 for (key in S) S_is_set[key] = 1
14117 nfields = split(line, field, "@")
14119 len = length(field[1])
14120 for (i = 2; i < nfields; i++) {
14122 keylen = length(key)
14123 if (S_is_set[key]) {
14125 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14126 len += length(value) + length(field[++i])
14137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14139 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14142 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14143 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14146 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14147 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14148 # trailing colons and then remove the whole line if VPATH becomes empty
14149 # (actually we leave an empty line to preserve line numbers).
14150 if test "x$srcdir" = x.; then
14151 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14170 fi # test -n "$CONFIG_FILES"
14172 # Set up the scripts for CONFIG_HEADERS section.
14173 # No need to generate them if there are no CONFIG_HEADERS.
14174 # This happens for instance with `./config.status Makefile'.
14175 if test -n "$CONFIG_HEADERS"; then
14176 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14180 # Transform confdefs.h into an awk script `defines.awk', embedded as
14181 # here-document in config.status, that substitutes the proper values into
14182 # config.h.in to produce config.h.
14184 # Create a delimiter string that does not exist in confdefs.h, to ease
14185 # handling of long lines.
14187 for ac_last_try in false false :; do
14188 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14189 if test -z "$ac_tt"; then
14191 elif $ac_last_try; then
14192 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14194 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14198 # For the awk script, D is an array of macro values keyed by name,
14199 # likewise P contains macro parameters if any. Preserve backslash
14200 # newline sequences.
14202 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14204 s/.\{148\}/&'"$ac_delim"'/g
14207 s/^[ ]*#[ ]*define[ ][ ]*/ /
14214 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14216 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14220 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14221 D["\1"]=" \3\\\\\\n"\\/p
14223 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14228 s/.\{148\}/&'"$ac_delim"'/g
14233 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14236 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14238 ' <confdefs.h | sed '
14239 s/'"$ac_delim"'/"\\\
14240 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14243 for (key in D) D_is_set[key] = 1
14246 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14248 split(line, arg, " ")
14249 if (arg[1] == "#") {
14253 defundef = substr(arg[1], 2)
14256 split(mac1, mac2, "(") #)
14258 prefix = substr(line, 1, index(line, defundef) - 1)
14259 if (D_is_set[macro]) {
14260 # Preserve the white space surrounding the "#".
14261 print prefix "define", macro P[macro] D[macro]
14264 # Replace #undef with comments. This is necessary, for example,
14265 # in the case of _POSIX_SOURCE, which is predefined and required
14266 # on some systems where configure will not decide to define it.
14267 if (defundef == "undef") {
14268 print "/*", prefix defundef, macro, "*/"
14276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14277 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14278 fi # test -n "$CONFIG_HEADERS"
14281 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14286 :[FHLC]) ac_mode=$ac_tag; continue;;
14288 case $ac_mode$ac_tag in
14290 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14291 :[FH]-) ac_tag=-:-;;
14292 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14309 -) ac_f="$ac_tmp/stdin";;
14310 *) # Look for the file first in the build tree, then in the source tree
14311 # (if the path is not absolute). The absolute path cannot be DOS-style,
14312 # because $ac_f cannot contain `:'.
14316 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14318 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14320 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14321 as_fn_append ac_file_inputs " '$ac_f'"
14324 # Let's still pretend it is `configure' which instantiates (i.e., don't
14325 # use $as_me), people would be surprised to read:
14326 # /* config.h. Generated by config.status. */
14327 configure_input='Generated from '`
14328 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14330 if test x"$ac_file" != x-; then
14331 configure_input="$ac_file. $configure_input"
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14333 $as_echo "$as_me: creating $ac_file" >&6;}
14335 # Neutralize special characters interpreted by sed in replacement strings.
14336 case $configure_input in #(
14337 *\&* | *\|* | *\\* )
14338 ac_sed_conf_input=`$as_echo "$configure_input" |
14339 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14340 *) ac_sed_conf_input=$configure_input;;
14344 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14350 ac_dir=`$as_dirname -- "$ac_file" ||
14351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14352 X"$ac_file" : 'X\(//\)[^/]' \| \
14353 X"$ac_file" : 'X\(//\)$' \| \
14354 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14355 $as_echo X"$ac_file" |
14356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14360 /^X\(\/\/\)[^/].*/{
14373 as_dir="$ac_dir"; as_fn_mkdir_p
14377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14379 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14380 # A ".." for each directory in $ac_dir_suffix.
14381 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14382 case $ac_top_builddir_sub in
14383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14387 ac_abs_top_builddir=$ac_pwd
14388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14389 # for backward compatibility:
14390 ac_top_builddir=$ac_top_build_prefix
14393 .) # We are building in place.
14395 ac_top_srcdir=$ac_top_builddir_sub
14396 ac_abs_top_srcdir=$ac_pwd ;;
14397 [\\/]* | ?:[\\/]* ) # Absolute name.
14398 ac_srcdir=$srcdir$ac_dir_suffix;
14399 ac_top_srcdir=$srcdir
14400 ac_abs_top_srcdir=$srcdir ;;
14401 *) # Relative name.
14402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14403 ac_top_srcdir=$ac_top_build_prefix$srcdir
14404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14417 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14419 ac_MKDIR_P=$MKDIR_P
14421 [\\/$]* | ?:[\\/]* ) ;;
14422 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14427 # If the template does not know about datarootdir, expand it.
14428 # FIXME: This hack should be removed a few years after 2.60.
14429 ac_datarootdir_hack=; ac_datarootdir_seen=
14440 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14441 *datarootdir*) ac_datarootdir_seen=yes;;
14442 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14444 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14447 ac_datarootdir_hack='
14448 s&@datadir@&$datadir&g
14449 s&@docdir@&$docdir&g
14450 s&@infodir@&$infodir&g
14451 s&@localedir@&$localedir&g
14452 s&@mandir@&$mandir&g
14453 s&\\\${datarootdir}&$datarootdir&g' ;;
14457 # Neutralize VPATH when `$srcdir' = `.'.
14458 # Shell code in configure.ac might set extrasub.
14459 # FIXME: do we really want to maintain this feature?
14460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14461 ac_sed_extra="$ac_vpsub
14464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14467 s|@configure_input@|$ac_sed_conf_input|;t t
14468 s&@top_builddir@&$ac_top_builddir_sub&;t t
14469 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14470 s&@srcdir@&$ac_srcdir&;t t
14471 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14472 s&@top_srcdir@&$ac_top_srcdir&;t t
14473 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14474 s&@builddir@&$ac_builddir&;t t
14475 s&@abs_builddir@&$ac_abs_builddir&;t t
14476 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14477 s&@INSTALL@&$ac_INSTALL&;t t
14478 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14479 $ac_datarootdir_hack
14481 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14482 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14485 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14487 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14489 which seems to be undefined. Please make sure it is defined" >&5
14490 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14491 which seems to be undefined. Please make sure it is defined" >&2;}
14493 rm -f "$ac_tmp/stdin"
14495 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14496 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14504 if test x"$ac_file" != x-; then
14506 $as_echo "/* $configure_input */" \
14507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14508 } >"$ac_tmp/config.h" \
14509 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14510 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14512 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14515 mv "$ac_tmp/config.h" "$ac_file" \
14516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14519 $as_echo "/* $configure_input */" \
14520 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14521 || as_fn_error $? "could not create -" "$LINENO" 5
14523 # Compute "$ac_file"'s index in $config_headers.
14526 for _am_header in $config_headers :; do
14527 case $_am_header in
14528 $_am_arg | $_am_arg:* )
14531 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14534 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14535 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14536 X"$_am_arg" : 'X\(//\)[^/]' \| \
14537 X"$_am_arg" : 'X\(//\)$' \| \
14538 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14539 $as_echo X"$_am_arg" |
14540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14544 /^X\(\/\/\)[^/].*/{
14556 s/.*/./; q'`/stamp-h$_am_stamp_count
14559 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14560 $as_echo "$as_me: executing $ac_file commands" >&6;}
14565 case $ac_file$ac_mode in
14566 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14567 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14568 # are listed without --file. Let's play safe and only enable the eval
14569 # if we detect the quoting.
14570 case $CONFIG_FILES in
14571 *\'*) eval set x "$CONFIG_FILES" ;;
14572 *) set x $CONFIG_FILES ;;
14577 # Strip MF so we end up with the name of the file.
14578 mf=`echo "$mf" | sed -e 's/:.*$//'`
14579 # Check whether this is an Automake generated Makefile or not.
14580 # We used to match only the files named `Makefile.in', but
14581 # some people rename them; so instead we look at the file content.
14582 # Grep'ing the first line is not enough: some people post-process
14583 # each Makefile.in and add a new line on top of each file to say so.
14584 # Grep'ing the whole file is not good either: AIX grep has a line
14585 # limit of 2048, but all sed's we know have understand at least 4000.
14586 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14587 dirpart=`$as_dirname -- "$mf" ||
14588 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14589 X"$mf" : 'X\(//\)[^/]' \| \
14590 X"$mf" : 'X\(//\)$' \| \
14591 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14597 /^X\(\/\/\)[^/].*/{
14613 # Extract the definition of DEPDIR, am__include, and am__quote
14614 # from the Makefile without running `make'.
14615 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14616 test -z "$DEPDIR" && continue
14617 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14618 test -z "am__include" && continue
14619 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14620 # When using ansi2knr, U may be empty or an underscore; expand it
14621 U=`sed -n 's/^U = //p' < "$mf"`
14622 # Find all dependency output files, they are included files with
14623 # $(DEPDIR) in their names. We invoke sed twice because it is the
14624 # simplest approach to changing $(DEPDIR) to its actual value in the
14626 for file in `sed -n "
14627 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14628 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14629 # Make sure the directory exists.
14630 test -f "$dirpart/$file" && continue
14631 fdir=`$as_dirname -- "$file" ||
14632 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14633 X"$file" : 'X\(//\)[^/]' \| \
14634 X"$file" : 'X\(//\)$' \| \
14635 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14636 $as_echo X"$file" |
14637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14641 /^X\(\/\/\)[^/].*/{
14654 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14655 # echo "creating $dirpart/$file"
14656 echo '# dummy' > "$dirpart/$file"
14663 # See if we are running on zsh, and set the options which allow our
14664 # commands through without removal of \ escapes.
14665 if test -n "${ZSH_VERSION+set}" ; then
14666 setopt NO_GLOB_SUBST
14669 cfgfile="${ofile}T"
14670 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14673 cat <<_LT_EOF >> "$cfgfile"
14676 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14677 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14678 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14679 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14681 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14682 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14684 # Written by Gordon Matzigkeit, 1996
14686 # This file is part of GNU Libtool.
14688 # GNU Libtool is free software; you can redistribute it and/or
14689 # modify it under the terms of the GNU General Public License as
14690 # published by the Free Software Foundation; either version 2 of
14691 # the License, or (at your option) any later version.
14693 # As a special exception to the GNU General Public License,
14694 # if you distribute this file as part of a program or library that
14695 # is built using GNU Libtool, you may include this file under the
14696 # same distribution terms that you use for the rest of that program.
14698 # GNU Libtool is distributed in the hope that it will be useful,
14699 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14700 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14701 # GNU General Public License for more details.
14703 # You should have received a copy of the GNU General Public License
14704 # along with GNU Libtool; see the file COPYING. If not, a copy
14705 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14706 # obtained by writing to the Free Software Foundation, Inc.,
14707 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14710 # The names of the tagged configurations supported by this script.
14713 # ### BEGIN LIBTOOL CONFIG
14715 # Which release of libtool.m4 was used?
14716 macro_version=$macro_version
14717 macro_revision=$macro_revision
14719 # Whether or not to build static libraries.
14720 build_old_libs=$enable_static
14722 # Whether or not to build shared libraries.
14723 build_libtool_libs=$enable_shared
14725 # What type of objects to build.
14728 # Whether or not to optimize for fast installation.
14729 fast_install=$enable_fast_install
14731 # Shell to use when invoking shell scripts.
14734 # An echo program that protects backslashes.
14737 # The PATH separator for the build system.
14738 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14741 host_alias=$host_alias
14745 # The build system.
14746 build_alias=$build_alias
14750 # A sed program that does not truncate output.
14753 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14754 Xsed="\$SED -e 1s/^X//"
14756 # A grep program that handles long lines.
14762 # A literal string matcher.
14765 # A BSD- or MS-compatible name lister.
14768 # Whether we need soft or hard links.
14771 # What is the maximum length of a command?
14772 max_cmd_len=$max_cmd_len
14774 # Object file suffix (normally "o").
14777 # Executable file suffix (normally "").
14780 # whether the shell understands "unset".
14783 # turn spaces into newlines.
14786 # turn newlines into spaces.
14789 # convert \$build file names to \$host format.
14790 to_host_file_cmd=$lt_cv_to_host_file_cmd
14792 # convert \$build files to toolchain format.
14793 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14795 # An object symbol dumper.
14796 OBJDUMP=$lt_OBJDUMP
14798 # Method to check whether dependent libraries are shared objects.
14799 deplibs_check_method=$lt_deplibs_check_method
14801 # Command to use when deplibs_check_method = "file_magic".
14802 file_magic_cmd=$lt_file_magic_cmd
14804 # How to find potential files when deplibs_check_method = "file_magic".
14805 file_magic_glob=$lt_file_magic_glob
14807 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14808 want_nocaseglob=$lt_want_nocaseglob
14810 # DLL creation program.
14811 DLLTOOL=$lt_DLLTOOL
14813 # Command to associate shared and link libraries.
14814 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14819 # Flags to create an archive.
14820 AR_FLAGS=$lt_AR_FLAGS
14822 # How to feed a file listing to the archiver.
14823 archiver_list_spec=$lt_archiver_list_spec
14825 # A symbol stripping program.
14828 # Commands used to install an old-style archive.
14830 old_postinstall_cmds=$lt_old_postinstall_cmds
14831 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14833 # Whether to use a lock for old archive extraction.
14834 lock_old_archive_extraction=$lock_old_archive_extraction
14839 # LTCC compiler flags.
14840 LTCFLAGS=$lt_CFLAGS
14842 # Take the output of nm and produce a listing of raw symbols and C names.
14843 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14845 # Transform the output of nm in a proper C declaration.
14846 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14848 # Transform the output of nm in a C name address pair.
14849 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14851 # Transform the output of nm in a C name address pair when lib prefix is needed.
14852 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14854 # Specify filename containing input files for \$NM.
14855 nm_file_list_spec=$lt_nm_file_list_spec
14857 # The root where to search for dependent libraries,and in which our libraries should be installed.
14858 lt_sysroot=$lt_sysroot
14860 # The name of the directory that contains temporary libtool files.
14863 # Used to examine libraries when file_magic_cmd begins with "file".
14864 MAGIC_CMD=$MAGIC_CMD
14866 # Must we lock files when doing compilation?
14867 need_locks=$lt_need_locks
14870 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14873 DSYMUTIL=$lt_DSYMUTIL
14875 # Tool to change global to local symbols on Mac OS X.
14878 # Tool to manipulate fat objects and archives on Mac OS X.
14881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14885 OTOOL64=$lt_OTOOL64
14887 # Old archive suffix (normally "a").
14890 # Shared library suffix (normally ".so").
14891 shrext_cmds=$lt_shrext_cmds
14893 # The commands to extract the exported symbol list from a shared archive.
14894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14896 # Variables whose values should be saved in libtool wrapper scripts and
14897 # restored at link time.
14898 variables_saved_for_relink=$lt_variables_saved_for_relink
14900 # Do we need the "lib" prefix for modules?
14901 need_lib_prefix=$need_lib_prefix
14903 # Do we need a version for libraries?
14904 need_version=$need_version
14906 # Library versioning type.
14907 version_type=$version_type
14909 # Shared library runtime path variable.
14910 runpath_var=$runpath_var
14912 # Shared library path variable.
14913 shlibpath_var=$shlibpath_var
14915 # Is shlibpath searched before the hard-coded library search path?
14916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14918 # Format of library name prefix.
14919 libname_spec=$lt_libname_spec
14921 # List of archive names. First name is the real one, the rest are links.
14922 # The last name is the one that the linker finds with -lNAME
14923 library_names_spec=$lt_library_names_spec
14925 # The coded name of the library, if different from the real name.
14926 soname_spec=$lt_soname_spec
14928 # Permission mode override for installation of shared libraries.
14929 install_override_mode=$lt_install_override_mode
14931 # Command to use after installation of a shared archive.
14932 postinstall_cmds=$lt_postinstall_cmds
14934 # Command to use after uninstallation of a shared archive.
14935 postuninstall_cmds=$lt_postuninstall_cmds
14937 # Commands used to finish a libtool library installation in a directory.
14938 finish_cmds=$lt_finish_cmds
14940 # As "finish_cmds", except a single script fragment to be evaled but
14942 finish_eval=$lt_finish_eval
14944 # Whether we should hardcode library paths into libraries.
14945 hardcode_into_libs=$hardcode_into_libs
14947 # Compile-time system search path for libraries.
14948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14950 # Run-time system search path for libraries.
14951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14953 # Whether dlopen is supported.
14954 dlopen_support=$enable_dlopen
14956 # Whether dlopen of programs is supported.
14957 dlopen_self=$enable_dlopen_self
14959 # Whether dlopen of statically linked programs is supported.
14960 dlopen_self_static=$enable_dlopen_self_static
14962 # Commands to strip libraries.
14963 old_striplib=$lt_old_striplib
14964 striplib=$lt_striplib
14967 # The linker used to build libraries.
14970 # How to create reloadable object files.
14971 reload_flag=$lt_reload_flag
14972 reload_cmds=$lt_reload_cmds
14974 # Commands used to build an old-style archive.
14975 old_archive_cmds=$lt_old_archive_cmds
14977 # A language specific compiler.
14980 # Is the compiler the GNU compiler?
14983 # Compiler flag to turn off builtin functions.
14984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14986 # Additional compiler flags for building library objects.
14987 pic_flag=$lt_lt_prog_compiler_pic
14989 # How to pass a linker flag through the compiler.
14990 wl=$lt_lt_prog_compiler_wl
14992 # Compiler flag to prevent dynamic linking.
14993 link_static_flag=$lt_lt_prog_compiler_static
14995 # Does compiler simultaneously support -c and -o options?
14996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14998 # Whether or not to add -lc for building shared libraries.
14999 build_libtool_need_lc=$archive_cmds_need_lc
15001 # Whether or not to disallow shared libs when runtime libs are static.
15002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15004 # Compiler flag to allow reflexive dlopens.
15005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15007 # Compiler flag to generate shared objects directly from archives.
15008 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15010 # Whether the compiler copes with passing no objects directly.
15011 compiler_needs_object=$lt_compiler_needs_object
15013 # Create an old-style archive from a shared archive.
15014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15016 # Create a temporary old-style archive to link instead of a shared archive.
15017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15019 # Commands used to build a shared archive.
15020 archive_cmds=$lt_archive_cmds
15021 archive_expsym_cmds=$lt_archive_expsym_cmds
15023 # Commands used to build a loadable module if different from building
15024 # a shared archive.
15025 module_cmds=$lt_module_cmds
15026 module_expsym_cmds=$lt_module_expsym_cmds
15028 # Whether we are building with GNU ld or not.
15029 with_gnu_ld=$lt_with_gnu_ld
15031 # Flag that allows shared libraries with undefined symbols to be built.
15032 allow_undefined_flag=$lt_allow_undefined_flag
15034 # Flag that enforces no undefined symbols.
15035 no_undefined_flag=$lt_no_undefined_flag
15037 # Flag to hardcode \$libdir into a binary during linking.
15038 # This must work even if \$libdir does not exist
15039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15041 # Whether we need a single "-rpath" flag with a separated argument.
15042 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15044 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15045 # DIR into the resulting binary.
15046 hardcode_direct=$hardcode_direct
15048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15049 # DIR into the resulting binary and the resulting library dependency is
15050 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15051 # library is relocated.
15052 hardcode_direct_absolute=$hardcode_direct_absolute
15054 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15055 # into the resulting binary.
15056 hardcode_minus_L=$hardcode_minus_L
15058 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15059 # into the resulting binary.
15060 hardcode_shlibpath_var=$hardcode_shlibpath_var
15062 # Set to "yes" if building a shared library automatically hardcodes DIR
15063 # into the library and all subsequent libraries and executables linked
15065 hardcode_automatic=$hardcode_automatic
15067 # Set to yes if linker adds runtime paths of dependent libraries
15068 # to runtime path list.
15069 inherit_rpath=$inherit_rpath
15071 # Whether libtool must link a program against all its dependency libraries.
15072 link_all_deplibs=$link_all_deplibs
15074 # Set to "yes" if exported symbols are required.
15075 always_export_symbols=$always_export_symbols
15077 # The commands to list exported symbols.
15078 export_symbols_cmds=$lt_export_symbols_cmds
15080 # Symbols that should not be listed in the preloaded symbols.
15081 exclude_expsyms=$lt_exclude_expsyms
15083 # Symbols that must always be exported.
15084 include_expsyms=$lt_include_expsyms
15086 # Commands necessary for linking programs (against libraries) with templates.
15087 prelink_cmds=$lt_prelink_cmds
15089 # Commands necessary for finishing linking programs.
15090 postlink_cmds=$lt_postlink_cmds
15092 # Specify filename containing input files.
15093 file_list_spec=$lt_file_list_spec
15095 # How to hardcode a shared library path into an executable.
15096 hardcode_action=$hardcode_action
15098 # ### END LIBTOOL CONFIG
15104 cat <<\_LT_EOF >> "$cfgfile"
15105 # AIX sometimes has problems with the GCC collect2 program. For some
15106 # reason, if we set the COLLECT_NAMES environment variable, the problems
15107 # vanish in a puff of smoke.
15108 if test "X${COLLECT_NAMES+set}" != Xset; then
15110 export COLLECT_NAMES
15117 ltmain="$ac_aux_dir/ltmain.sh"
15120 # We use sed instead of cat because bash on DJGPP gets confused if
15121 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15122 # text mode, it properly converts lines to CR/LF. This bash problem
15123 # is reportedly fixed, but why not run on old versions too?
15124 sed '$q' "$ltmain" >> "$cfgfile" \
15125 || (rm -f "$cfgfile"; exit 1)
15127 if test x"$xsi_shell" = xyes; then
15128 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15132 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15133 \ * ) func_dirname_result="${3}" ;;\
15135 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15136 && mv -f "$cfgfile.tmp" "$cfgfile" \
15137 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15138 test 0 -eq $? || _lt_function_replace_fail=:
15141 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15144 \ func_basename_result="${1##*/}"\
15145 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15146 && mv -f "$cfgfile.tmp" "$cfgfile" \
15147 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15148 test 0 -eq $? || _lt_function_replace_fail=:
15151 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15152 func_dirname_and_basename ()\
15155 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15156 \ * ) func_dirname_result="${3}" ;;\
15158 \ func_basename_result="${1##*/}"\
15159 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15160 && mv -f "$cfgfile.tmp" "$cfgfile" \
15161 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15162 test 0 -eq $? || _lt_function_replace_fail=:
15165 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15168 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15169 \ # positional parameters, so assign one to ordinary parameter first.\
15170 \ func_stripname_result=${3}\
15171 \ func_stripname_result=${func_stripname_result#"${1}"}\
15172 \ func_stripname_result=${func_stripname_result%"${2}"}\
15173 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15174 && mv -f "$cfgfile.tmp" "$cfgfile" \
15175 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15176 test 0 -eq $? || _lt_function_replace_fail=:
15179 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15180 func_split_long_opt ()\
15182 \ func_split_long_opt_name=${1%%=*}\
15183 \ func_split_long_opt_arg=${1#*=}\
15184 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15185 && mv -f "$cfgfile.tmp" "$cfgfile" \
15186 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15187 test 0 -eq $? || _lt_function_replace_fail=:
15190 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15191 func_split_short_opt ()\
15193 \ func_split_short_opt_arg=${1#??}\
15194 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15195 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15196 && mv -f "$cfgfile.tmp" "$cfgfile" \
15197 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15198 test 0 -eq $? || _lt_function_replace_fail=:
15201 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15205 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15206 \ *) func_lo2o_result=${1} ;;\
15208 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15209 && mv -f "$cfgfile.tmp" "$cfgfile" \
15210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15211 test 0 -eq $? || _lt_function_replace_fail=:
15214 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15217 func_xform_result=${1%.*}.lo\
15218 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15219 && mv -f "$cfgfile.tmp" "$cfgfile" \
15220 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15221 test 0 -eq $? || _lt_function_replace_fail=:
15224 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15227 func_arith_result=$(( $* ))\
15228 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15229 && mv -f "$cfgfile.tmp" "$cfgfile" \
15230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15231 test 0 -eq $? || _lt_function_replace_fail=:
15234 sed -e '/^func_len ()$/,/^} # func_len /c\
15237 func_len_result=${#1}\
15238 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15239 && mv -f "$cfgfile.tmp" "$cfgfile" \
15240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15241 test 0 -eq $? || _lt_function_replace_fail=:
15245 if test x"$lt_shell_append" = xyes; then
15246 sed -e '/^func_append ()$/,/^} # func_append /c\
15249 eval "${1}+=\\${2}"\
15250 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15251 && mv -f "$cfgfile.tmp" "$cfgfile" \
15252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15253 test 0 -eq $? || _lt_function_replace_fail=:
15256 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15257 func_append_quoted ()\
15259 \ func_quote_for_eval "${2}"\
15260 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15261 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15262 && mv -f "$cfgfile.tmp" "$cfgfile" \
15263 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15264 test 0 -eq $? || _lt_function_replace_fail=:
15267 # Save a `func_append' function call where possible by direct use of '+='
15268 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15269 && mv -f "$cfgfile.tmp" "$cfgfile" \
15270 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15271 test 0 -eq $? || _lt_function_replace_fail=:
15273 # Save a `func_append' function call even when '+=' is not available
15274 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15275 && mv -f "$cfgfile.tmp" "$cfgfile" \
15276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15277 test 0 -eq $? || _lt_function_replace_fail=:
15280 if test x"$_lt_function_replace_fail" = x":"; then
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15282 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15286 mv -f "$cfgfile" "$ofile" ||
15287 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15298 ac_clean_files=$ac_clean_files_save
15300 test $ac_write_fail = 0 ||
15301 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15304 # configure is writing to config.log, and then calls config.status.
15305 # config.status does its own redirection, appending to config.log.
15306 # Unfortunately, on DOS this fails, as config.log is still kept open
15307 # by configure, so config.status won't be able to write to it; its
15308 # output is simply discarded. So we exec the FD to /dev/null,
15309 # effectively closing config.log, so it can be properly (re)opened and
15310 # appended to by config.status. When coming back to configure, we
15311 # need to make the FD available again.
15312 if test "$no_create" != yes; then
15314 ac_config_status_args=
15315 test "$silent" = yes &&
15316 ac_config_status_args="$ac_config_status_args --quiet"
15318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15321 # would make configure fail if this is the last instruction.
15322 $ac_cs_success || as_fn_exit 1
15324 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15326 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15330 if test x$enable_dbus_type != xp2p; then
15331 ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15333 cat >confcache <<\_ACEOF
15334 # This file is a shell script that caches the results of configure
15335 # tests run on this system so they can be shared between configure
15336 # scripts and configure runs, see configure's option --config-cache.
15337 # It is not useful on other systems. If it contains results you don't
15338 # want to keep, you may remove or edit it.
15340 # config.status only pays attention to the cache file if you give it
15341 # the --recheck option to rerun configure.
15343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15345 # following values.
15349 # The following way of writing the cache mishandles newlines in values,
15350 # but we know of no workaround that is simple, portable, and efficient.
15351 # So, we kill variables containing newlines.
15352 # Ultrix sh set writes to stderr and can't be redirected directly,
15353 # and sets the high bit in the cache file unless we assign to the vars.
15355 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15356 eval ac_val=\$$ac_var
15360 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15361 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15364 _ | IFS | as_nl) ;; #(
15365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15366 *) { eval $ac_var=; unset $ac_var;} ;;
15372 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15373 *${as_nl}ac_space=\ *)
15374 # `set' does not quote correctly, so add quotes: double-quote
15375 # substitution turns \\\\ into \\, and sed turns \\ into \.
15378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15381 # `set' quotes correctly as required by POSIX, so do not add quotes.
15382 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15393 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15395 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15396 if test -w "$cache_file"; then
15397 if test "x$cache_file" != "x/dev/null"; then
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15399 $as_echo "$as_me: updating cache $cache_file" >&6;}
15400 if test ! -f "$cache_file" || test -h "$cache_file"; then
15401 cat confcache >"$cache_file"
15403 case $cache_file in #(
15405 mv -f confcache "$cache_file"$$ &&
15406 mv -f "$cache_file"$$ "$cache_file" ;; #(
15408 mv -f confcache "$cache_file" ;;
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15414 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15419 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15420 # Let make expand exec_prefix.
15421 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15423 DEFS=-DHAVE_CONFIG_H
15428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15429 # 1. Remove the extension, and $U if already installed.
15430 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15431 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15432 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15433 # will be set to the directory where LIBOBJS objects are built.
15434 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15435 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15437 LIBOBJS=$ac_libobjs
15439 LTLIBOBJS=$ac_ltlibobjs
15442 if test -n "$EXEEXT"; then
15444 am__EXEEXT_FALSE='#'
15446 am__EXEEXT_TRUE='#'
15450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15451 as_fn_error $? "conditional \"AMDEP\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15454 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15455 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15458 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15459 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15462 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15463 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15466 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15467 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15470 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15471 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15474 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15475 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15478 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15479 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15482 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15483 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15486 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15487 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15490 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15491 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15494 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15495 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15498 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15499 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15502 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15503 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15507 : "${CONFIG_STATUS=./config.status}"
15509 ac_clean_files_save=$ac_clean_files
15510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15512 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15514 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15516 # Generated by $as_me.
15517 # Run this file to recreate the current configuration.
15518 # Compiler output produced by configure, useful for debugging
15519 # configure, is in config.log if it exists.
15522 ac_cs_recheck=false
15525 SHELL=\${CONFIG_SHELL-$SHELL}
15528 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15529 ## -------------------- ##
15530 ## M4sh Initialization. ##
15531 ## -------------------- ##
15533 # Be more Bourne compatible
15534 DUALCASE=1; export DUALCASE # for MKS sh
15535 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15538 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15539 # is contrary to our usage. Disable this feature.
15540 alias -g '${1+"$@"}'='"$@"'
15541 setopt NO_GLOB_SUBST
15543 case `(set -o) 2>/dev/null` in #(
15555 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15556 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15559 # Prefer a ksh shell builtin over an external printf program on Solaris,
15560 # but without wasting forks for bash or zsh.
15561 if test -z "$BASH_VERSION$ZSH_VERSION" \
15562 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15563 as_echo='print -r --'
15564 as_echo_n='print -rn --'
15565 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15566 as_echo='printf %s\n'
15567 as_echo_n='printf %s'
15569 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15570 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15571 as_echo_n='/usr/ucb/echo -n'
15573 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15574 as_echo_n_body='eval
15578 expr "X$arg" : "X\\(.*\\)$as_nl";
15579 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15581 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15583 export as_echo_n_body
15584 as_echo_n='sh -c $as_echo_n_body as_echo'
15586 export as_echo_body
15587 as_echo='sh -c $as_echo_body as_echo'
15590 # The user is always right.
15591 if test "${PATH_SEPARATOR+set}" != set; then
15593 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15594 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15601 # We need space, tab and new line, in precisely that order. Quoting is
15602 # there to prevent editors from complaining about space-tab.
15603 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15604 # splitting by setting IFS to empty value.)
15607 # Find who we are. Look in the path if we contain no directory separator.
15610 *[\\/]* ) as_myself=$0 ;;
15611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15612 for as_dir in $PATH
15615 test -z "$as_dir" && as_dir=.
15616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15622 # We did not find ourselves, most probably we were run as `sh COMMAND'
15623 # in which case we are not to be found in the path.
15624 if test "x$as_myself" = x; then
15627 if test ! -f "$as_myself"; then
15628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15632 # Unset variables that we do not need and which cause bugs (e.g. in
15633 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15634 # suppresses any "Segmentation fault" message there. '((' could
15635 # trigger a bug in pdksh 5.2.14.
15636 for as_var in BASH_ENV ENV MAIL MAILPATH
15637 do eval test x\${$as_var+set} = xset \
15638 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15651 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15654 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15655 # ----------------------------------------
15656 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15657 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15658 # script with STATUS, using 1 if that was 0.
15661 as_status=$1; test $as_status -eq 0 && as_status=1
15663 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15664 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15666 $as_echo "$as_me: error: $2" >&2
15667 as_fn_exit $as_status
15671 # as_fn_set_status STATUS
15672 # -----------------------
15673 # Set $? to STATUS, without forking.
15674 as_fn_set_status ()
15677 } # as_fn_set_status
15679 # as_fn_exit STATUS
15680 # -----------------
15681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15685 as_fn_set_status $1
15691 # Portably unset VAR.
15694 { eval $1=; unset $1;}
15696 as_unset=as_fn_unset
15697 # as_fn_append VAR VALUE
15698 # ----------------------
15699 # Append the text in VALUE to the end of the definition contained in VAR. Take
15700 # advantage of any shell optimizations that allow amortized linear growth over
15701 # repeated appends, instead of the typical quadratic growth present in naive
15703 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15704 eval 'as_fn_append ()
15715 # as_fn_arith ARG...
15716 # ------------------
15717 # Perform arithmetic evaluation on the ARGs, and store the result in the
15718 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15719 # must be portable across $(()) and expr.
15720 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15721 eval 'as_fn_arith ()
15728 as_val=`expr "$@" || test $? -eq 1`
15733 if expr a : '\(a\)' >/dev/null 2>&1 &&
15734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15741 as_basename=basename
15746 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15752 as_me=`$as_basename -- "$0" ||
15753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15754 X"$0" : 'X\(//\)$' \| \
15755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15757 sed '/^.*\/\([^/][^/]*\)\/*$/{
15771 # Avoid depending upon Character Ranges.
15772 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15773 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15774 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15775 as_cr_digits='0123456789'
15776 as_cr_alnum=$as_cr_Letters$as_cr_digits
15778 ECHO_C= ECHO_N= ECHO_T=
15779 case `echo -n x` in #(((((
15781 case `echo 'xy\c'` in
15782 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15784 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15791 rm -f conf$$ conf$$.exe conf$$.file
15792 if test -d conf$$.dir; then
15793 rm -f conf$$.dir/conf$$.file
15796 mkdir conf$$.dir 2>/dev/null
15798 if (echo >conf$$.file) 2>/dev/null; then
15799 if ln -s conf$$.file conf$$ 2>/dev/null; then
15801 # ... but there are two gotchas:
15802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15804 # In both cases, we have to default to `cp -p'.
15805 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15807 elif ln conf$$.file conf$$ 2>/dev/null; then
15815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15816 rmdir conf$$.dir 2>/dev/null
15821 # Create "$as_dir" as a directory, including parents if necessary.
15826 -*) as_dir=./$as_dir;;
15828 test -d "$as_dir" || eval $as_mkdir_p || {
15832 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15833 *) as_qdir=$as_dir;;
15835 as_dirs="'$as_qdir' $as_dirs"
15836 as_dir=`$as_dirname -- "$as_dir" ||
15837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15838 X"$as_dir" : 'X\(//\)[^/]' \| \
15839 X"$as_dir" : 'X\(//\)$' \| \
15840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15841 $as_echo X"$as_dir" |
15842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15846 /^X\(\/\/\)[^/].*/{
15859 test -d "$as_dir" && break
15861 test -z "$as_dirs" || eval "mkdir $as_dirs"
15862 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15866 if mkdir -p . 2>/dev/null; then
15867 as_mkdir_p='mkdir -p "$as_dir"'
15869 test -d ./-p && rmdir ./-p
15873 if test -x / >/dev/null 2>&1; then
15874 as_test_x='test -x'
15876 if ls -dL / >/dev/null 2>&1; then
15883 if test -d "$1"; then
15889 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15890 ???[sx]*):;;*)false;;esac;fi
15894 as_executable_p=$as_test_x
15896 # Sed expression to map a string onto a valid CPP name.
15897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15899 # Sed expression to map a string onto a valid variable name.
15900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15904 ## ----------------------------------- ##
15905 ## Main body of $CONFIG_STATUS script. ##
15906 ## ----------------------------------- ##
15908 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15911 # Save the log message, to keep $0 and so on meaningful, and to
15912 # report actual input values of CONFIG_FILES etc. instead of their
15913 # values after options handling.
15915 This file was extended by gsignond $as_me 1.0.1, which was
15916 generated by GNU Autoconf 2.68. Invocation command line was
15918 CONFIG_FILES = $CONFIG_FILES
15919 CONFIG_HEADERS = $CONFIG_HEADERS
15920 CONFIG_LINKS = $CONFIG_LINKS
15921 CONFIG_COMMANDS = $CONFIG_COMMANDS
15924 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15929 case $ac_config_files in *"
15930 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15933 case $ac_config_headers in *"
15934 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15939 # Files that config.status was made for.
15940 config_files="$ac_config_files"
15941 config_headers="$ac_config_headers"
15942 config_commands="$ac_config_commands"
15946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15948 \`$as_me' instantiates files and other configuration actions
15949 from templates according to the current configuration. Unless the files
15950 and actions are specified as TAGs, all are instantiated by default.
15952 Usage: $0 [OPTION]... [TAG]...
15954 -h, --help print this help, then exit
15955 -V, --version print version number and configuration settings, then exit
15956 --config print configuration, then exit
15957 -q, --quiet, --silent
15958 do not print progress messages
15959 -d, --debug don't remove temporary files
15960 --recheck update $as_me by reconfiguring in the same conditions
15961 --file=FILE[:TEMPLATE]
15962 instantiate the configuration file FILE
15963 --header=FILE[:TEMPLATE]
15964 instantiate the configuration header FILE
15966 Configuration files:
15969 Configuration headers:
15972 Configuration commands:
15975 Report bugs to the package provider.
15976 gsignond home page: <http://01.org/gsso>."
15979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15980 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15982 gsignond config.status 1.0.1
15983 configured by $0, generated by GNU Autoconf 2.68,
15984 with options \\"\$ac_cs_config\\"
15986 Copyright (C) 2010 Free Software Foundation, Inc.
15987 This config.status script is free software; the Free Software Foundation
15988 gives unlimited permission to copy, distribute and modify it."
15995 test -n "\$AWK" || AWK=awk
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15999 # The default lists apply if the user does not specify any file.
16005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16010 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16022 # Handling of the options.
16023 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16025 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16026 $as_echo "$ac_cs_version"; exit ;;
16027 --config | --confi | --conf | --con | --co | --c )
16028 $as_echo "$ac_cs_config"; exit ;;
16029 --debug | --debu | --deb | --de | --d | -d )
16031 --file | --fil | --fi | --f )
16034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16035 '') as_fn_error $? "missing file argument" ;;
16037 as_fn_append CONFIG_FILES " '$ac_optarg'"
16038 ac_need_defaults=false;;
16039 --header | --heade | --head | --hea )
16042 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16044 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16045 ac_need_defaults=false;;
16047 # Conflict between --help and --header
16048 as_fn_error $? "ambiguous option: \`$1'
16049 Try \`$0 --help' for more information.";;
16050 --help | --hel | -h )
16051 $as_echo "$ac_cs_usage"; exit ;;
16052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16053 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16056 # This is an error.
16057 -*) as_fn_error $? "unrecognized option: \`$1'
16058 Try \`$0 --help' for more information." ;;
16060 *) as_fn_append ac_config_targets " $1"
16061 ac_need_defaults=false ;;
16067 ac_configure_extra_args=
16069 if $ac_cs_silent; then
16071 ac_configure_extra_args="$ac_configure_extra_args --silent"
16075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16076 if \$ac_cs_recheck; then
16077 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16079 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16080 CONFIG_SHELL='$SHELL'
16081 export CONFIG_SHELL
16086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16091 ## Running $as_me. ##
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16101 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16104 # The HP-UX ksh and POSIX shell print the target directory to stdout
16105 # if CDPATH is set.
16106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16108 sed_quote_subst='$sed_quote_subst'
16109 double_quote_subst='$double_quote_subst'
16110 delay_variable_subst='$delay_variable_subst'
16111 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16112 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16114 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16115 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16116 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16117 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16118 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16119 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16120 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16121 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16122 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16123 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16124 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16125 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16126 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16127 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16128 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16129 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16130 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16131 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16132 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16133 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16134 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16135 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16136 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16137 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16138 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16139 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16140 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16141 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16142 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16143 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16144 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16145 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16146 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16147 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16148 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16149 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16150 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16151 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16152 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16153 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16154 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16155 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16156 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16157 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16158 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16159 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16160 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16161 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16162 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16163 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16164 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16165 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16166 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16167 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"`'
16168 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16169 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16170 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16171 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16172 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16173 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16174 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16175 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16176 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16177 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16178 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16179 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16180 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16181 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16182 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16183 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16184 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16185 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16186 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16187 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16188 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16189 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16190 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16191 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16192 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16193 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16194 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16195 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16196 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16197 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16198 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16199 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16200 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16201 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16202 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16203 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16204 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16205 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16206 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16207 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16208 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16209 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16210 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16211 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16212 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16213 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16214 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16215 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16216 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16217 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16218 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16219 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16220 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16221 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16222 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16223 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16224 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16225 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16226 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16227 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16228 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16229 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16230 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16231 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16232 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16233 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16234 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16235 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16236 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16237 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16238 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16239 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16240 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16243 LTCFLAGS='$LTCFLAGS'
16244 compiler='$compiler_DEFAULT'
16246 # A function that is used when there is no print builtin or printf.
16247 func_fallback_echo ()
16249 eval 'cat <<_LTECHO_EOF
16254 # Quote evaled strings.
16269 deplibs_check_method \
16274 sharedlib_from_linklib_cmd \
16277 archiver_list_spec \
16283 lt_cv_sys_global_symbol_pipe \
16284 lt_cv_sys_global_symbol_to_cdecl \
16285 lt_cv_sys_global_symbol_to_c_name_address \
16286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16287 nm_file_list_spec \
16288 lt_prog_compiler_no_builtin_flag \
16289 lt_prog_compiler_pic \
16290 lt_prog_compiler_wl \
16291 lt_prog_compiler_static \
16292 lt_cv_prog_compiler_c_o \
16301 export_dynamic_flag_spec \
16302 whole_archive_flag_spec \
16303 compiler_needs_object \
16305 allow_undefined_flag \
16306 no_undefined_flag \
16307 hardcode_libdir_flag_spec \
16308 hardcode_libdir_separator \
16312 variables_saved_for_relink \
16314 library_names_spec \
16316 install_override_mode \
16320 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16321 *[\\\\\\\`\\"\\\$]*)
16322 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16325 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16330 # Double-quote double-evaled strings.
16331 for var in reload_cmds \
16332 old_postinstall_cmds \
16333 old_postuninstall_cmds \
16335 extract_expsyms_cmds \
16336 old_archive_from_new_cmds \
16337 old_archive_from_expsyms_cmds \
16339 archive_expsym_cmds \
16341 module_expsym_cmds \
16342 export_symbols_cmds \
16346 postuninstall_cmds \
16348 sys_lib_search_path_spec \
16349 sys_lib_dlsearch_path_spec; do
16350 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16351 *[\\\\\\\`\\"\\\$]*)
16352 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16355 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16360 ac_aux_dir='$ac_aux_dir'
16361 xsi_shell='$xsi_shell'
16362 lt_shell_append='$lt_shell_append'
16364 # See if we are running on zsh, and set the options which allow our
16365 # commands through without removal of \ escapes INIT.
16366 if test -n "\${ZSH_VERSION+set}" ; then
16367 setopt NO_GLOB_SUBST
16373 TIMESTAMP='$TIMESTAMP'
16377 ac_aux_dir='$ac_aux_dir'
16383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16385 # Handling of arguments.
16386 for ac_config_target in $ac_config_targets
16388 case $ac_config_target in
16389 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16390 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16391 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16392 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16393 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16394 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16395 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16396 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16397 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16398 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16399 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16400 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16401 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16402 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16403 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16404 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16405 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16406 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16407 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16408 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16409 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16410 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16411 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16412 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16413 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16414 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16415 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16416 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16417 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16418 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16419 "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16421 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16426 # If the user did not use the arguments to specify the items to instantiate,
16427 # then the envvar interface is used. Set only those that are not.
16428 # We use the long form for the default assignment because of an extremely
16429 # bizarre bug on SunOS 4.1.3.
16430 if $ac_need_defaults; then
16431 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16432 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16433 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16436 # Have a temporary directory for convenience. Make it in the build tree
16437 # simply because there is no reason against having it here, and in addition,
16438 # creating and moving files from /tmp can sometimes cause problems.
16439 # Hook for its removal unless debugging.
16440 # Note that there is a small window in which the directory will not be cleaned:
16441 # after its creation but before its name has been assigned to `$tmp'.
16445 trap 'exit_status=$?
16446 : "${ac_tmp:=$tmp}"
16447 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16449 trap 'as_fn_exit 1' 1 2 13 15
16451 # Create a (secure) tmp directory for tmp files.
16454 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16458 tmp=./conf$$-$RANDOM
16459 (umask 077 && mkdir "$tmp")
16460 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16463 # Set up the scripts for CONFIG_FILES section.
16464 # No need to generate them if there are no CONFIG_FILES.
16465 # This happens for instance with `./config.status config.h'.
16466 if test -n "$CONFIG_FILES"; then
16469 ac_cr=`echo X | tr X '\015'`
16470 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16471 # But we know of no other shell where ac_cr would be empty at this
16472 # point, so we can use a bashism as a fallback.
16473 if test "x$ac_cr" = x; then
16474 eval ac_cr=\$\'\\r\'
16476 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16477 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16480 ac_cs_awk_cr=$ac_cr
16483 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16488 echo "cat >conf$$subs.awk <<_ACEOF" &&
16489 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16491 } >conf$$subs.sh ||
16492 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16493 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16495 for ac_last_try in false false false false false :; do
16496 . ./conf$$subs.sh ||
16497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16499 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16500 if test $ac_delim_n = $ac_delim_num; then
16502 elif $ac_last_try; then
16503 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16505 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16508 rm -f conf$$subs.sh
16510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16511 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16515 s/^/S["/; s/!.*/"]=/
16525 s/\(.\{148\}\)..*/\1/
16527 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16539 s/\(.\{148\}\)..*/\1/
16541 s/["\\]/\\&/g; s/^/"/; s/$/"/
16545 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16550 ' <conf$$subs.awk | sed '
16555 ' >>$CONFIG_STATUS || ac_write_fail=1
16556 rm -f conf$$subs.awk
16557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16559 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16560 for (key in S) S_is_set[key] = 1
16566 nfields = split(line, field, "@")
16568 len = length(field[1])
16569 for (i = 2; i < nfields; i++) {
16571 keylen = length(key)
16572 if (S_is_set[key]) {
16574 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16575 len += length(value) + length(field[++i])
16586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16587 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16588 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16591 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16592 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16595 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16596 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16597 # trailing colons and then remove the whole line if VPATH becomes empty
16598 # (actually we leave an empty line to preserve line numbers).
16599 if test "x$srcdir" = x.; then
16600 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619 fi # test -n "$CONFIG_FILES"
16621 # Set up the scripts for CONFIG_HEADERS section.
16622 # No need to generate them if there are no CONFIG_HEADERS.
16623 # This happens for instance with `./config.status Makefile'.
16624 if test -n "$CONFIG_HEADERS"; then
16625 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16629 # Transform confdefs.h into an awk script `defines.awk', embedded as
16630 # here-document in config.status, that substitutes the proper values into
16631 # config.h.in to produce config.h.
16633 # Create a delimiter string that does not exist in confdefs.h, to ease
16634 # handling of long lines.
16636 for ac_last_try in false false :; do
16637 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16638 if test -z "$ac_tt"; then
16640 elif $ac_last_try; then
16641 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16643 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16647 # For the awk script, D is an array of macro values keyed by name,
16648 # likewise P contains macro parameters if any. Preserve backslash
16649 # newline sequences.
16651 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16653 s/.\{148\}/&'"$ac_delim"'/g
16656 s/^[ ]*#[ ]*define[ ][ ]*/ /
16663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16665 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16669 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16670 D["\1"]=" \3\\\\\\n"\\/p
16672 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16677 s/.\{148\}/&'"$ac_delim"'/g
16682 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16685 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16687 ' <confdefs.h | sed '
16688 s/'"$ac_delim"'/"\\\
16689 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16692 for (key in D) D_is_set[key] = 1
16695 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16697 split(line, arg, " ")
16698 if (arg[1] == "#") {
16702 defundef = substr(arg[1], 2)
16705 split(mac1, mac2, "(") #)
16707 prefix = substr(line, 1, index(line, defundef) - 1)
16708 if (D_is_set[macro]) {
16709 # Preserve the white space surrounding the "#".
16710 print prefix "define", macro P[macro] D[macro]
16713 # Replace #undef with comments. This is necessary, for example,
16714 # in the case of _POSIX_SOURCE, which is predefined and required
16715 # on some systems where configure will not decide to define it.
16716 if (defundef == "undef") {
16717 print "/*", prefix defundef, macro, "*/"
16725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16726 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16727 fi # test -n "$CONFIG_HEADERS"
16730 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16735 :[FHLC]) ac_mode=$ac_tag; continue;;
16737 case $ac_mode$ac_tag in
16739 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16740 :[FH]-) ac_tag=-:-;;
16741 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16758 -) ac_f="$ac_tmp/stdin";;
16759 *) # Look for the file first in the build tree, then in the source tree
16760 # (if the path is not absolute). The absolute path cannot be DOS-style,
16761 # because $ac_f cannot contain `:'.
16765 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16767 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16769 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16770 as_fn_append ac_file_inputs " '$ac_f'"
16773 # Let's still pretend it is `configure' which instantiates (i.e., don't
16774 # use $as_me), people would be surprised to read:
16775 # /* config.h. Generated by config.status. */
16776 configure_input='Generated from '`
16777 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16779 if test x"$ac_file" != x-; then
16780 configure_input="$ac_file. $configure_input"
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16782 $as_echo "$as_me: creating $ac_file" >&6;}
16784 # Neutralize special characters interpreted by sed in replacement strings.
16785 case $configure_input in #(
16786 *\&* | *\|* | *\\* )
16787 ac_sed_conf_input=`$as_echo "$configure_input" |
16788 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16789 *) ac_sed_conf_input=$configure_input;;
16793 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16799 ac_dir=`$as_dirname -- "$ac_file" ||
16800 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16801 X"$ac_file" : 'X\(//\)[^/]' \| \
16802 X"$ac_file" : 'X\(//\)$' \| \
16803 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16804 $as_echo X"$ac_file" |
16805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16809 /^X\(\/\/\)[^/].*/{
16822 as_dir="$ac_dir"; as_fn_mkdir_p
16826 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16828 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16829 # A ".." for each directory in $ac_dir_suffix.
16830 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16831 case $ac_top_builddir_sub in
16832 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16833 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16836 ac_abs_top_builddir=$ac_pwd
16837 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16838 # for backward compatibility:
16839 ac_top_builddir=$ac_top_build_prefix
16842 .) # We are building in place.
16844 ac_top_srcdir=$ac_top_builddir_sub
16845 ac_abs_top_srcdir=$ac_pwd ;;
16846 [\\/]* | ?:[\\/]* ) # Absolute name.
16847 ac_srcdir=$srcdir$ac_dir_suffix;
16848 ac_top_srcdir=$srcdir
16849 ac_abs_top_srcdir=$srcdir ;;
16850 *) # Relative name.
16851 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16852 ac_top_srcdir=$ac_top_build_prefix$srcdir
16853 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16855 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16865 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16866 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16868 ac_MKDIR_P=$MKDIR_P
16870 [\\/$]* | ?:[\\/]* ) ;;
16871 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16876 # If the template does not know about datarootdir, expand it.
16877 # FIXME: This hack should be removed a few years after 2.60.
16878 ac_datarootdir_hack=; ac_datarootdir_seen=
16889 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16890 *datarootdir*) ac_datarootdir_seen=yes;;
16891 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16893 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16896 ac_datarootdir_hack='
16897 s&@datadir@&$datadir&g
16898 s&@docdir@&$docdir&g
16899 s&@infodir@&$infodir&g
16900 s&@localedir@&$localedir&g
16901 s&@mandir@&$mandir&g
16902 s&\\\${datarootdir}&$datarootdir&g' ;;
16906 # Neutralize VPATH when `$srcdir' = `.'.
16907 # Shell code in configure.ac might set extrasub.
16908 # FIXME: do we really want to maintain this feature?
16909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16910 ac_sed_extra="$ac_vpsub
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16916 s|@configure_input@|$ac_sed_conf_input|;t t
16917 s&@top_builddir@&$ac_top_builddir_sub&;t t
16918 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16919 s&@srcdir@&$ac_srcdir&;t t
16920 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16921 s&@top_srcdir@&$ac_top_srcdir&;t t
16922 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16923 s&@builddir@&$ac_builddir&;t t
16924 s&@abs_builddir@&$ac_abs_builddir&;t t
16925 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16926 s&@INSTALL@&$ac_INSTALL&;t t
16927 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16928 $ac_datarootdir_hack
16930 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16931 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16934 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16935 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16936 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16938 which seems to be undefined. Please make sure it is defined" >&5
16939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16940 which seems to be undefined. Please make sure it is defined" >&2;}
16942 rm -f "$ac_tmp/stdin"
16944 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16945 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16953 if test x"$ac_file" != x-; then
16955 $as_echo "/* $configure_input */" \
16956 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16957 } >"$ac_tmp/config.h" \
16958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16959 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16961 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16964 mv "$ac_tmp/config.h" "$ac_file" \
16965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16968 $as_echo "/* $configure_input */" \
16969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16970 || as_fn_error $? "could not create -" "$LINENO" 5
16972 # Compute "$ac_file"'s index in $config_headers.
16975 for _am_header in $config_headers :; do
16976 case $_am_header in
16977 $_am_arg | $_am_arg:* )
16980 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16983 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16984 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16985 X"$_am_arg" : 'X\(//\)[^/]' \| \
16986 X"$_am_arg" : 'X\(//\)$' \| \
16987 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16988 $as_echo X"$_am_arg" |
16989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16993 /^X\(\/\/\)[^/].*/{
17005 s/.*/./; q'`/stamp-h$_am_stamp_count
17008 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17009 $as_echo "$as_me: executing $ac_file commands" >&6;}
17014 case $ac_file$ac_mode in
17015 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17016 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17017 # are listed without --file. Let's play safe and only enable the eval
17018 # if we detect the quoting.
17019 case $CONFIG_FILES in
17020 *\'*) eval set x "$CONFIG_FILES" ;;
17021 *) set x $CONFIG_FILES ;;
17026 # Strip MF so we end up with the name of the file.
17027 mf=`echo "$mf" | sed -e 's/:.*$//'`
17028 # Check whether this is an Automake generated Makefile or not.
17029 # We used to match only the files named `Makefile.in', but
17030 # some people rename them; so instead we look at the file content.
17031 # Grep'ing the first line is not enough: some people post-process
17032 # each Makefile.in and add a new line on top of each file to say so.
17033 # Grep'ing the whole file is not good either: AIX grep has a line
17034 # limit of 2048, but all sed's we know have understand at least 4000.
17035 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17036 dirpart=`$as_dirname -- "$mf" ||
17037 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17038 X"$mf" : 'X\(//\)[^/]' \| \
17039 X"$mf" : 'X\(//\)$' \| \
17040 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17046 /^X\(\/\/\)[^/].*/{
17062 # Extract the definition of DEPDIR, am__include, and am__quote
17063 # from the Makefile without running `make'.
17064 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17065 test -z "$DEPDIR" && continue
17066 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17067 test -z "am__include" && continue
17068 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17069 # When using ansi2knr, U may be empty or an underscore; expand it
17070 U=`sed -n 's/^U = //p' < "$mf"`
17071 # Find all dependency output files, they are included files with
17072 # $(DEPDIR) in their names. We invoke sed twice because it is the
17073 # simplest approach to changing $(DEPDIR) to its actual value in the
17075 for file in `sed -n "
17076 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17077 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17078 # Make sure the directory exists.
17079 test -f "$dirpart/$file" && continue
17080 fdir=`$as_dirname -- "$file" ||
17081 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17082 X"$file" : 'X\(//\)[^/]' \| \
17083 X"$file" : 'X\(//\)$' \| \
17084 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17085 $as_echo X"$file" |
17086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17090 /^X\(\/\/\)[^/].*/{
17103 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17104 # echo "creating $dirpart/$file"
17105 echo '# dummy' > "$dirpart/$file"
17112 # See if we are running on zsh, and set the options which allow our
17113 # commands through without removal of \ escapes.
17114 if test -n "${ZSH_VERSION+set}" ; then
17115 setopt NO_GLOB_SUBST
17118 cfgfile="${ofile}T"
17119 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17122 cat <<_LT_EOF >> "$cfgfile"
17125 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17126 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17128 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17130 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17131 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17133 # Written by Gordon Matzigkeit, 1996
17135 # This file is part of GNU Libtool.
17137 # GNU Libtool is free software; you can redistribute it and/or
17138 # modify it under the terms of the GNU General Public License as
17139 # published by the Free Software Foundation; either version 2 of
17140 # the License, or (at your option) any later version.
17142 # As a special exception to the GNU General Public License,
17143 # if you distribute this file as part of a program or library that
17144 # is built using GNU Libtool, you may include this file under the
17145 # same distribution terms that you use for the rest of that program.
17147 # GNU Libtool is distributed in the hope that it will be useful,
17148 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17149 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17150 # GNU General Public License for more details.
17152 # You should have received a copy of the GNU General Public License
17153 # along with GNU Libtool; see the file COPYING. If not, a copy
17154 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17155 # obtained by writing to the Free Software Foundation, Inc.,
17156 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17159 # The names of the tagged configurations supported by this script.
17162 # ### BEGIN LIBTOOL CONFIG
17164 # Which release of libtool.m4 was used?
17165 macro_version=$macro_version
17166 macro_revision=$macro_revision
17168 # Whether or not to build static libraries.
17169 build_old_libs=$enable_static
17171 # Whether or not to build shared libraries.
17172 build_libtool_libs=$enable_shared
17174 # What type of objects to build.
17177 # Whether or not to optimize for fast installation.
17178 fast_install=$enable_fast_install
17180 # Shell to use when invoking shell scripts.
17183 # An echo program that protects backslashes.
17186 # The PATH separator for the build system.
17187 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17190 host_alias=$host_alias
17194 # The build system.
17195 build_alias=$build_alias
17199 # A sed program that does not truncate output.
17202 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17203 Xsed="\$SED -e 1s/^X//"
17205 # A grep program that handles long lines.
17211 # A literal string matcher.
17214 # A BSD- or MS-compatible name lister.
17217 # Whether we need soft or hard links.
17220 # What is the maximum length of a command?
17221 max_cmd_len=$max_cmd_len
17223 # Object file suffix (normally "o").
17226 # Executable file suffix (normally "").
17229 # whether the shell understands "unset".
17232 # turn spaces into newlines.
17235 # turn newlines into spaces.
17238 # convert \$build file names to \$host format.
17239 to_host_file_cmd=$lt_cv_to_host_file_cmd
17241 # convert \$build files to toolchain format.
17242 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17244 # An object symbol dumper.
17245 OBJDUMP=$lt_OBJDUMP
17247 # Method to check whether dependent libraries are shared objects.
17248 deplibs_check_method=$lt_deplibs_check_method
17250 # Command to use when deplibs_check_method = "file_magic".
17251 file_magic_cmd=$lt_file_magic_cmd
17253 # How to find potential files when deplibs_check_method = "file_magic".
17254 file_magic_glob=$lt_file_magic_glob
17256 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17257 want_nocaseglob=$lt_want_nocaseglob
17259 # DLL creation program.
17260 DLLTOOL=$lt_DLLTOOL
17262 # Command to associate shared and link libraries.
17263 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17268 # Flags to create an archive.
17269 AR_FLAGS=$lt_AR_FLAGS
17271 # How to feed a file listing to the archiver.
17272 archiver_list_spec=$lt_archiver_list_spec
17274 # A symbol stripping program.
17277 # Commands used to install an old-style archive.
17279 old_postinstall_cmds=$lt_old_postinstall_cmds
17280 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17282 # Whether to use a lock for old archive extraction.
17283 lock_old_archive_extraction=$lock_old_archive_extraction
17288 # LTCC compiler flags.
17289 LTCFLAGS=$lt_CFLAGS
17291 # Take the output of nm and produce a listing of raw symbols and C names.
17292 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17294 # Transform the output of nm in a proper C declaration.
17295 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17297 # Transform the output of nm in a C name address pair.
17298 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17300 # Transform the output of nm in a C name address pair when lib prefix is needed.
17301 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17303 # Specify filename containing input files for \$NM.
17304 nm_file_list_spec=$lt_nm_file_list_spec
17306 # The root where to search for dependent libraries,and in which our libraries should be installed.
17307 lt_sysroot=$lt_sysroot
17309 # The name of the directory that contains temporary libtool files.
17312 # Used to examine libraries when file_magic_cmd begins with "file".
17313 MAGIC_CMD=$MAGIC_CMD
17315 # Must we lock files when doing compilation?
17316 need_locks=$lt_need_locks
17319 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17321 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17322 DSYMUTIL=$lt_DSYMUTIL
17324 # Tool to change global to local symbols on Mac OS X.
17327 # Tool to manipulate fat objects and archives on Mac OS X.
17330 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17333 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17334 OTOOL64=$lt_OTOOL64
17336 # Old archive suffix (normally "a").
17339 # Shared library suffix (normally ".so").
17340 shrext_cmds=$lt_shrext_cmds
17342 # The commands to extract the exported symbol list from a shared archive.
17343 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17345 # Variables whose values should be saved in libtool wrapper scripts and
17346 # restored at link time.
17347 variables_saved_for_relink=$lt_variables_saved_for_relink
17349 # Do we need the "lib" prefix for modules?
17350 need_lib_prefix=$need_lib_prefix
17352 # Do we need a version for libraries?
17353 need_version=$need_version
17355 # Library versioning type.
17356 version_type=$version_type
17358 # Shared library runtime path variable.
17359 runpath_var=$runpath_var
17361 # Shared library path variable.
17362 shlibpath_var=$shlibpath_var
17364 # Is shlibpath searched before the hard-coded library search path?
17365 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17367 # Format of library name prefix.
17368 libname_spec=$lt_libname_spec
17370 # List of archive names. First name is the real one, the rest are links.
17371 # The last name is the one that the linker finds with -lNAME
17372 library_names_spec=$lt_library_names_spec
17374 # The coded name of the library, if different from the real name.
17375 soname_spec=$lt_soname_spec
17377 # Permission mode override for installation of shared libraries.
17378 install_override_mode=$lt_install_override_mode
17380 # Command to use after installation of a shared archive.
17381 postinstall_cmds=$lt_postinstall_cmds
17383 # Command to use after uninstallation of a shared archive.
17384 postuninstall_cmds=$lt_postuninstall_cmds
17386 # Commands used to finish a libtool library installation in a directory.
17387 finish_cmds=$lt_finish_cmds
17389 # As "finish_cmds", except a single script fragment to be evaled but
17391 finish_eval=$lt_finish_eval
17393 # Whether we should hardcode library paths into libraries.
17394 hardcode_into_libs=$hardcode_into_libs
17396 # Compile-time system search path for libraries.
17397 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17399 # Run-time system search path for libraries.
17400 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17402 # Whether dlopen is supported.
17403 dlopen_support=$enable_dlopen
17405 # Whether dlopen of programs is supported.
17406 dlopen_self=$enable_dlopen_self
17408 # Whether dlopen of statically linked programs is supported.
17409 dlopen_self_static=$enable_dlopen_self_static
17411 # Commands to strip libraries.
17412 old_striplib=$lt_old_striplib
17413 striplib=$lt_striplib
17416 # The linker used to build libraries.
17419 # How to create reloadable object files.
17420 reload_flag=$lt_reload_flag
17421 reload_cmds=$lt_reload_cmds
17423 # Commands used to build an old-style archive.
17424 old_archive_cmds=$lt_old_archive_cmds
17426 # A language specific compiler.
17429 # Is the compiler the GNU compiler?
17432 # Compiler flag to turn off builtin functions.
17433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17435 # Additional compiler flags for building library objects.
17436 pic_flag=$lt_lt_prog_compiler_pic
17438 # How to pass a linker flag through the compiler.
17439 wl=$lt_lt_prog_compiler_wl
17441 # Compiler flag to prevent dynamic linking.
17442 link_static_flag=$lt_lt_prog_compiler_static
17444 # Does compiler simultaneously support -c and -o options?
17445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17447 # Whether or not to add -lc for building shared libraries.
17448 build_libtool_need_lc=$archive_cmds_need_lc
17450 # Whether or not to disallow shared libs when runtime libs are static.
17451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17453 # Compiler flag to allow reflexive dlopens.
17454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17456 # Compiler flag to generate shared objects directly from archives.
17457 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17459 # Whether the compiler copes with passing no objects directly.
17460 compiler_needs_object=$lt_compiler_needs_object
17462 # Create an old-style archive from a shared archive.
17463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17465 # Create a temporary old-style archive to link instead of a shared archive.
17466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17468 # Commands used to build a shared archive.
17469 archive_cmds=$lt_archive_cmds
17470 archive_expsym_cmds=$lt_archive_expsym_cmds
17472 # Commands used to build a loadable module if different from building
17473 # a shared archive.
17474 module_cmds=$lt_module_cmds
17475 module_expsym_cmds=$lt_module_expsym_cmds
17477 # Whether we are building with GNU ld or not.
17478 with_gnu_ld=$lt_with_gnu_ld
17480 # Flag that allows shared libraries with undefined symbols to be built.
17481 allow_undefined_flag=$lt_allow_undefined_flag
17483 # Flag that enforces no undefined symbols.
17484 no_undefined_flag=$lt_no_undefined_flag
17486 # Flag to hardcode \$libdir into a binary during linking.
17487 # This must work even if \$libdir does not exist
17488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17490 # Whether we need a single "-rpath" flag with a separated argument.
17491 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17493 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17494 # DIR into the resulting binary.
17495 hardcode_direct=$hardcode_direct
17497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17498 # DIR into the resulting binary and the resulting library dependency is
17499 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17500 # library is relocated.
17501 hardcode_direct_absolute=$hardcode_direct_absolute
17503 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17504 # into the resulting binary.
17505 hardcode_minus_L=$hardcode_minus_L
17507 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17508 # into the resulting binary.
17509 hardcode_shlibpath_var=$hardcode_shlibpath_var
17511 # Set to "yes" if building a shared library automatically hardcodes DIR
17512 # into the library and all subsequent libraries and executables linked
17514 hardcode_automatic=$hardcode_automatic
17516 # Set to yes if linker adds runtime paths of dependent libraries
17517 # to runtime path list.
17518 inherit_rpath=$inherit_rpath
17520 # Whether libtool must link a program against all its dependency libraries.
17521 link_all_deplibs=$link_all_deplibs
17523 # Set to "yes" if exported symbols are required.
17524 always_export_symbols=$always_export_symbols
17526 # The commands to list exported symbols.
17527 export_symbols_cmds=$lt_export_symbols_cmds
17529 # Symbols that should not be listed in the preloaded symbols.
17530 exclude_expsyms=$lt_exclude_expsyms
17532 # Symbols that must always be exported.
17533 include_expsyms=$lt_include_expsyms
17535 # Commands necessary for linking programs (against libraries) with templates.
17536 prelink_cmds=$lt_prelink_cmds
17538 # Commands necessary for finishing linking programs.
17539 postlink_cmds=$lt_postlink_cmds
17541 # Specify filename containing input files.
17542 file_list_spec=$lt_file_list_spec
17544 # How to hardcode a shared library path into an executable.
17545 hardcode_action=$hardcode_action
17547 # ### END LIBTOOL CONFIG
17553 cat <<\_LT_EOF >> "$cfgfile"
17554 # AIX sometimes has problems with the GCC collect2 program. For some
17555 # reason, if we set the COLLECT_NAMES environment variable, the problems
17556 # vanish in a puff of smoke.
17557 if test "X${COLLECT_NAMES+set}" != Xset; then
17559 export COLLECT_NAMES
17566 ltmain="$ac_aux_dir/ltmain.sh"
17569 # We use sed instead of cat because bash on DJGPP gets confused if
17570 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17571 # text mode, it properly converts lines to CR/LF. This bash problem
17572 # is reportedly fixed, but why not run on old versions too?
17573 sed '$q' "$ltmain" >> "$cfgfile" \
17574 || (rm -f "$cfgfile"; exit 1)
17576 if test x"$xsi_shell" = xyes; then
17577 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17581 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17582 \ * ) func_dirname_result="${3}" ;;\
17584 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17585 && mv -f "$cfgfile.tmp" "$cfgfile" \
17586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17590 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17593 \ func_basename_result="${1##*/}"\
17594 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17595 && mv -f "$cfgfile.tmp" "$cfgfile" \
17596 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17600 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17601 func_dirname_and_basename ()\
17604 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17605 \ * ) func_dirname_result="${3}" ;;\
17607 \ func_basename_result="${1##*/}"\
17608 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17609 && mv -f "$cfgfile.tmp" "$cfgfile" \
17610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17611 test 0 -eq $? || _lt_function_replace_fail=:
17614 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17617 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17618 \ # positional parameters, so assign one to ordinary parameter first.\
17619 \ func_stripname_result=${3}\
17620 \ func_stripname_result=${func_stripname_result#"${1}"}\
17621 \ func_stripname_result=${func_stripname_result%"${2}"}\
17622 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17623 && mv -f "$cfgfile.tmp" "$cfgfile" \
17624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17625 test 0 -eq $? || _lt_function_replace_fail=:
17628 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17629 func_split_long_opt ()\
17631 \ func_split_long_opt_name=${1%%=*}\
17632 \ func_split_long_opt_arg=${1#*=}\
17633 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17634 && mv -f "$cfgfile.tmp" "$cfgfile" \
17635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636 test 0 -eq $? || _lt_function_replace_fail=:
17639 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17640 func_split_short_opt ()\
17642 \ func_split_short_opt_arg=${1#??}\
17643 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17644 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17645 && mv -f "$cfgfile.tmp" "$cfgfile" \
17646 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17647 test 0 -eq $? || _lt_function_replace_fail=:
17650 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17654 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17655 \ *) func_lo2o_result=${1} ;;\
17657 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17658 && mv -f "$cfgfile.tmp" "$cfgfile" \
17659 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17660 test 0 -eq $? || _lt_function_replace_fail=:
17663 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17666 func_xform_result=${1%.*}.lo\
17667 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17668 && mv -f "$cfgfile.tmp" "$cfgfile" \
17669 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17670 test 0 -eq $? || _lt_function_replace_fail=:
17673 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17676 func_arith_result=$(( $* ))\
17677 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17678 && mv -f "$cfgfile.tmp" "$cfgfile" \
17679 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17680 test 0 -eq $? || _lt_function_replace_fail=:
17683 sed -e '/^func_len ()$/,/^} # func_len /c\
17686 func_len_result=${#1}\
17687 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17688 && mv -f "$cfgfile.tmp" "$cfgfile" \
17689 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17690 test 0 -eq $? || _lt_function_replace_fail=:
17694 if test x"$lt_shell_append" = xyes; then
17695 sed -e '/^func_append ()$/,/^} # func_append /c\
17698 eval "${1}+=\\${2}"\
17699 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17700 && mv -f "$cfgfile.tmp" "$cfgfile" \
17701 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17702 test 0 -eq $? || _lt_function_replace_fail=:
17705 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17706 func_append_quoted ()\
17708 \ func_quote_for_eval "${2}"\
17709 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17710 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17711 && mv -f "$cfgfile.tmp" "$cfgfile" \
17712 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17713 test 0 -eq $? || _lt_function_replace_fail=:
17716 # Save a `func_append' function call where possible by direct use of '+='
17717 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17718 && mv -f "$cfgfile.tmp" "$cfgfile" \
17719 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17720 test 0 -eq $? || _lt_function_replace_fail=:
17722 # Save a `func_append' function call even when '+=' is not available
17723 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17724 && mv -f "$cfgfile.tmp" "$cfgfile" \
17725 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17726 test 0 -eq $? || _lt_function_replace_fail=:
17729 if test x"$_lt_function_replace_fail" = x":"; then
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17731 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17735 mv -f "$cfgfile" "$ofile" ||
17736 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17747 ac_clean_files=$ac_clean_files_save
17749 test $ac_write_fail = 0 ||
17750 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17753 # configure is writing to config.log, and then calls config.status.
17754 # config.status does its own redirection, appending to config.log.
17755 # Unfortunately, on DOS this fails, as config.log is still kept open
17756 # by configure, so config.status won't be able to write to it; its
17757 # output is simply discarded. So we exec the FD to /dev/null,
17758 # effectively closing config.log, so it can be properly (re)opened and
17759 # appended to by config.status. When coming back to configure, we
17760 # need to make the FD available again.
17761 if test "$no_create" != yes; then
17763 ac_config_status_args=
17764 test "$silent" = yes &&
17765 ac_config_status_args="$ac_config_status_args --quiet"
17767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17770 # would make configure fail if this is the last instruction.
17771 $ac_cs_success || as_fn_exit 1
17773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}