2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 1.0.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='gsignond'
589 PACKAGE_TARNAME='gsignond'
590 PACKAGE_VERSION='1.0.1'
591 PACKAGE_STRING='gsignond 1.0.1'
593 PACKAGE_URL='http://01.org/gsso'
595 ac_unique_file="src/daemon/main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
636 GTK_DOC_USE_REBASE_FALSE
637 GTK_DOC_USE_REBASE_TRUE
638 GTK_DOC_USE_LIBTOOL_FALSE
639 GTK_DOC_USE_LIBTOOL_TRUE
640 GTK_DOC_BUILD_PDF_FALSE
641 GTK_DOC_BUILD_PDF_TRUE
642 GTK_DOC_BUILD_HTML_FALSE
643 GTK_DOC_BUILD_HTML_TRUE
657 SET_PERMISSIONS_FALSE
669 HAVE_LIBECRYPTFS_FALSE
670 HAVE_LIBECRYPTFS_TRUE
744 INSTALL_STRIP_PROGRAM
786 program_transform_name
799 enable_option_checking
801 enable_dependency_tracking
822 ac_precious_vars='build_alias
848 # Initialize some variables set by options.
850 ac_init_version=false
851 ac_unrecognized_opts=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
862 program_transform_name=s,x,x,
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\$ac_option
908 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir | --bindir | --bindi | --bind | --bin | --bi)
921 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
924 -build | --build | --buil | --bui | --bu)
925 ac_prev=build_alias ;;
926 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927 build_alias=$ac_optarg ;;
929 -cache-file | --cache-file | --cache-fil | --cache-fi \
930 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931 ac_prev=cache_file ;;
932 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934 cache_file=$ac_optarg ;;
937 cache_file=config.cache ;;
939 -datadir | --datadir | --datadi | --datad)
941 -datadir=* | --datadir=* | --datadi=* | --datad=*)
942 datadir=$ac_optarg ;;
944 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945 | --dataroo | --dataro | --datar)
946 ac_prev=datarootdir ;;
947 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949 datarootdir=$ac_optarg ;;
951 -disable-* | --disable-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 as_fn_error $? "invalid feature name: $ac_useropt"
956 ac_useropt_orig=$ac_useropt
957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep=', ';;
965 eval enable_$ac_useropt=no ;;
967 -docdir | --docdir | --docdi | --doc | --do)
969 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
972 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
974 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
977 -enable-* | --enable-*)
978 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981 as_fn_error $? "invalid feature name: $ac_useropt"
982 ac_useropt_orig=$ac_useropt
983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep=', ';;
991 eval enable_$ac_useropt=\$ac_optarg ;;
993 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995 | --exec | --exe | --ex)
996 ac_prev=exec_prefix ;;
997 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999 | --exec=* | --exe=* | --ex=*)
1000 exec_prefix=$ac_optarg ;;
1002 -gas | --gas | --ga | --g)
1003 # Obsolete; use --with-gas.
1006 -help | --help | --hel | --he | -h)
1007 ac_init_help=long ;;
1008 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009 ac_init_help=recursive ;;
1010 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011 ac_init_help=short ;;
1013 -host | --host | --hos | --ho)
1014 ac_prev=host_alias ;;
1015 -host=* | --host=* | --hos=* | --ho=*)
1016 host_alias=$ac_optarg ;;
1018 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1020 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1022 htmldir=$ac_optarg ;;
1024 -includedir | --includedir | --includedi | --included | --include \
1025 | --includ | --inclu | --incl | --inc)
1026 ac_prev=includedir ;;
1027 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028 | --includ=* | --inclu=* | --incl=* | --inc=*)
1029 includedir=$ac_optarg ;;
1031 -infodir | --infodir | --infodi | --infod | --info | --inf)
1033 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034 infodir=$ac_optarg ;;
1036 -libdir | --libdir | --libdi | --libd)
1038 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039 libdir=$ac_optarg ;;
1041 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042 | --libexe | --libex | --libe)
1043 ac_prev=libexecdir ;;
1044 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045 | --libexe=* | --libex=* | --libe=*)
1046 libexecdir=$ac_optarg ;;
1048 -localedir | --localedir | --localedi | --localed | --locale)
1049 ac_prev=localedir ;;
1050 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051 localedir=$ac_optarg ;;
1053 -localstatedir | --localstatedir | --localstatedi | --localstated \
1054 | --localstate | --localstat | --localsta | --localst | --locals)
1055 ac_prev=localstatedir ;;
1056 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058 localstatedir=$ac_optarg ;;
1060 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1062 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063 mandir=$ac_optarg ;;
1065 -nfp | --nfp | --nf)
1066 # Obsolete; use --without-fp.
1069 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070 | --no-cr | --no-c | -n)
1073 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079 | --oldin | --oldi | --old | --ol | --o)
1080 ac_prev=oldincludedir ;;
1081 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084 oldincludedir=$ac_optarg ;;
1086 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1088 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089 prefix=$ac_optarg ;;
1091 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092 | --program-pre | --program-pr | --program-p)
1093 ac_prev=program_prefix ;;
1094 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096 program_prefix=$ac_optarg ;;
1098 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099 | --program-suf | --program-su | --program-s)
1100 ac_prev=program_suffix ;;
1101 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103 program_suffix=$ac_optarg ;;
1105 -program-transform-name | --program-transform-name \
1106 | --program-transform-nam | --program-transform-na \
1107 | --program-transform-n | --program-transform- \
1108 | --program-transform | --program-transfor \
1109 | --program-transfo | --program-transf \
1110 | --program-trans | --program-tran \
1111 | --progr-tra | --program-tr | --program-t)
1112 ac_prev=program_transform_name ;;
1113 -program-transform-name=* | --program-transform-name=* \
1114 | --program-transform-nam=* | --program-transform-na=* \
1115 | --program-transform-n=* | --program-transform-=* \
1116 | --program-transform=* | --program-transfor=* \
1117 | --program-transfo=* | --program-transf=* \
1118 | --program-trans=* | --program-tran=* \
1119 | --progr-tra=* | --program-tr=* | --program-t=*)
1120 program_transform_name=$ac_optarg ;;
1122 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1124 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125 pdfdir=$ac_optarg ;;
1127 -psdir | --psdir | --psdi | --psd | --ps)
1129 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133 | -silent | --silent | --silen | --sile | --sil)
1136 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1138 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1140 sbindir=$ac_optarg ;;
1142 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144 | --sharedst | --shareds | --shared | --share | --shar \
1146 ac_prev=sharedstatedir ;;
1147 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1151 sharedstatedir=$ac_optarg ;;
1153 -site | --site | --sit)
1155 -site=* | --site=* | --sit=*)
1158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161 srcdir=$ac_optarg ;;
1163 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164 | --syscon | --sysco | --sysc | --sys | --sy)
1165 ac_prev=sysconfdir ;;
1166 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168 sysconfdir=$ac_optarg ;;
1170 -target | --target | --targe | --targ | --tar | --ta | --t)
1171 ac_prev=target_alias ;;
1172 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173 target_alias=$ac_optarg ;;
1175 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178 -version | --version | --versio | --versi | --vers | -V)
1179 ac_init_version=: ;;
1182 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=\$ac_optarg ;;
1197 -without-* | --without-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 as_fn_error $? "invalid package name: $ac_useropt"
1202 ac_useropt_orig=$ac_useropt
1203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209 ac_unrecognized_sep=', ';;
1211 eval with_$ac_useropt=no ;;
1214 # Obsolete; use --with-x.
1217 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218 | --x-incl | --x-inc | --x-in | --x-i)
1219 ac_prev=x_includes ;;
1220 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222 x_includes=$ac_optarg ;;
1224 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226 ac_prev=x_libraries ;;
1227 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229 x_libraries=$ac_optarg ;;
1231 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1236 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237 # Reject names that are not valid shell variable names.
1238 case $ac_envvar in #(
1239 '' | [0-9]* | *[!_$as_cr_alnum]* )
1240 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1242 eval $ac_envvar=\$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1256 if test -n "$ac_prev"; then
1257 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258 as_fn_error $? "missing argument to $ac_option"
1261 if test -n "$ac_unrecognized_opts"; then
1262 case $enable_option_checking in
1264 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 # Check all directory arguments for consistency.
1270 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271 datadir sysconfdir sharedstatedir localstatedir includedir \
1272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273 libdir localedir mandir
1275 eval ac_val=\$$ac_var
1276 # Remove trailing slashes.
1279 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280 eval $ac_var=\$ac_val;;
1282 # Be sure to have absolute directory names.
1284 [\\/$]* | ?:[\\/]* ) continue;;
1285 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1287 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299 if test "x$build_alias" = x; then
1300 cross_compiling=maybe
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309 test "$silent" = yes && exec 6>/dev/null
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error $? "pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var in $ac_precious_vars; do
1373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_${ac_var}_value=\$${ac_var}
1375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures gsignond 1.0.1 to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/gsignond]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --program-prefix=PREFIX prepend PREFIX to installed program names
1445 --program-suffix=SUFFIX append SUFFIX to installed program names
1446 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1449 --build=BUILD configure for building on BUILD [guessed]
1450 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1454 if test -n "$ac_init_help"; then
1455 case $ac_init_help in
1456 short | recursive ) echo "Configuration of gsignond 1.0.1:";;
1461 --disable-option-checking ignore unrecognized --enable/--with options
1462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-dependency-tracking
1467 do not reject slow dependency extractors
1468 --disable-dependency-tracking
1469 speeds up one-time build
1470 --enable-static[=PKGS] build static libraries [default=no]
1471 --enable-shared[=PKGS] build shared libraries [default=yes]
1472 --enable-fast-install[=PKGS]
1473 optimize for fast installation [default=yes]
1474 --disable-libtool-lock avoid locking (might break parallel builds)
1475 --enable-coverage compile with coverage info
1476 --enable-distcheck build for distcheck target
1477 --enable-dbus-type=dbus-type specify daemon dbus type:
1478 p2p(default): uses peer to peer dbus
1479 session: uses session message bus
1480 system: uses system message bus
1481 --enable-keychain=sysctx
1482 enable keychain access with
1483 system context "sysctx"
1484 --enable-storagedir=path
1485 enable storage at location "path"
1486 instead of default "/var/db"
1487 --enable-debug enable debug features
1488 --enable-sql-log enable sql log feature
1489 --enable-acltriggers enable ACL before delete triggers
1490 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1491 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1492 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1495 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1496 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1497 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1499 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1500 --with-sysroot=DIR Search for dependent libraries within DIR
1501 (or the compiler's sysroot if not specified).
1502 --with-html-dir=PATH path to installed docs
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1513 PKG_CONFIG path to pkg-config utility
1515 directories to add to pkg-config's search path
1517 path overriding pkg-config's built-in search path
1519 C compiler flags for GSIGNOND, overriding pkg-config
1521 linker flags for GSIGNOND, overriding pkg-config
1523 C compiler flags for CHECK, overriding pkg-config
1524 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1526 C compiler flags for LIBSMACK, overriding pkg-config
1528 linker flags for LIBSMACK, overriding pkg-config
1530 C compiler flags for LIBECRYPTFS, overriding pkg-config
1532 linker flags for LIBECRYPTFS, overriding pkg-config
1534 C compiler flags for GTestDBus, overriding pkg-config
1536 linker flags for GTestDBus, overriding pkg-config
1538 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1540 linker flags for GTKDOC_DEPS, overriding pkg-config
1542 Use these variables to override the choices made by `configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1545 Report bugs to the package provider.
1546 gsignond home page: <http://01.org/gsso>.
1551 if test "$ac_init_help" = "recursive"; then
1552 # If there are subdirs, report their specific --help.
1553 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554 test -d "$ac_dir" ||
1555 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1576 .) # We are building in place.
1578 ac_top_srcdir=$ac_top_builddir_sub
1579 ac_abs_top_srcdir=$ac_pwd ;;
1580 [\\/]* | ?:[\\/]* ) # Absolute name.
1581 ac_srcdir=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir=$srcdir
1583 ac_abs_top_srcdir=$srcdir ;;
1585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status=$?; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status=$?; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1609 gsignond configure 1.0.1
1610 generated by GNU Autoconf 2.69
1612 Copyright (C) 2012 Free Software Foundation, Inc.
1613 This configure script is free software; the Free Software Foundation
1614 gives unlimited permission to copy, distribute and modify it.
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 rm -f conftest.$ac_objext
1630 if { { ac_try="$ac_compile"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_compile") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && {
1646 test -z "$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1648 } && test -s conftest.$ac_objext; then :
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1659 } # ac_fn_c_try_compile
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext conftest$ac_exeext
1668 if { { ac_try="$ac_link"
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest$ac_exeext && {
1687 test "$cross_compiling" = yes ||
1688 test -x conftest$ac_exeext
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1697 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699 # interfere with the next link command; also delete a directory that is
1700 # left behind by Apple's compiler. We do this before executing the actions.
1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1705 } # ac_fn_c_try_link
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717 $as_echo_n "(cached) " >&6
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1724 if ac_fn_c_try_compile "$LINENO"; then :
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 } # ac_fn_c_check_header_compile
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { { ac_try="$ac_cpp conftest.$ac_ext"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } > conftest.i && {
1760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_link"
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793 { { case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_try") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; }; }; then :
1805 $as_echo "$as_me: program exited with status $ac_status" >&5
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=$ac_status
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826 $as_echo_n "(cached) " >&6
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1832 #define $2 innocuous_$2
1834 /* System header to define __stub macros and hopefully few prototypes,
1835 which can conflict with char $2 (); below.
1836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837 <limits.h> exists even on freestanding compilers. */
1840 # include <limits.h>
1842 # include <assert.h>
1847 /* Override any GCC internal prototype to avoid an error.
1848 Use char because int might match the return type of a GCC
1849 builtin and then its argument prototype would still apply. */
1854 /* The GNU C library defines this for functions which it implements
1855 to always fail with ENOSYS. Some functions are actually named
1856 something starting with __ and the normal name is an alias. */
1857 #if defined __stub_$2 || defined __stub___$2
1869 if ac_fn_c_try_link "$LINENO"; then :
1874 rm -f core conftest.err conftest.$ac_objext \
1875 conftest$ac_exeext conftest.$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_func
1884 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887 # the include files in INCLUDES and setting the cache variable VAR
1889 ac_fn_c_check_header_mongrel ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if eval \${$3+:} false; then :
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1902 # Is the header compilable?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904 $as_echo_n "checking $2 usability... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911 ac_header_compiler=yes
1913 ac_header_compiler=no
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917 $as_echo "$ac_header_compiler" >&6; }
1919 # Is the header present?
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921 $as_echo_n "checking $2 presence... " >&6; }
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1926 if ac_fn_c_try_cpp "$LINENO"; then :
1927 ac_header_preproc=yes
1929 ac_header_preproc=no
1931 rm -f conftest.err conftest.i conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933 $as_echo "$ac_header_preproc" >&6; }
1935 # So? What about this header?
1936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1947 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1951 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959 $as_echo_n "(cached) " >&6
1961 eval "$3=\$ac_header_compiler"
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_header_mongrel
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1974 It was created by gsignond $as_me 1.0.1, which was
1975 generated by GNU Autoconf 2.69. Invocation command line was
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2035 ac_must_keep_next=false
2041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2046 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2049 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2051 as_fn_append ac_configure_args1 " '$ac_arg'"
2052 if test $ac_must_keep_next = true; then
2053 ac_must_keep_next=false # Got value, back to normal.
2056 *=* | --config-cache | -C | -disable-* | --disable-* \
2057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059 | -with-* | --with-* | -without-* | --without-* | --x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 -* ) ac_must_keep_next=true ;;
2067 as_fn_append ac_configure_args " '$ac_arg'"
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log. We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2085 $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2089 # The following way of writing the cache mishandles newlines in values,
2091 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092 eval ac_val=\$$ac_var
2096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2100 _ | IFS | as_nl) ;; #(
2101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102 *) { eval $ac_var=; unset $ac_var;} ;;
2107 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108 *${as_nl}ac_space=\ *)
2110 "s/'\''/'\''\\\\'\'''\''/g;
2111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2121 $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2136 $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2140 for ac_var in $ac_subst_files
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2151 if test -s confdefs.h; then
2152 $as_echo "## ----------- ##
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167 for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2175 $as_echo "/* confdefs.h */" > confdefs.h
2177 # Predefined preprocessor variables.
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 # We do not want a PATH search for config.site.
2210 case $CONFIG_SITE in #((
2211 -*) ac_site_file1=./$CONFIG_SITE;;
2212 */*) ac_site_file1=$CONFIG_SITE;;
2213 *) ac_site_file1=./$CONFIG_SITE;;
2215 elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site
2219 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2224 test "x$ac_site_file" = xNONE && continue
2225 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5
2230 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2237 if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special files
2239 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2240 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2244 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245 *) . "./$cache_file";;
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2254 # Check that the precious variables saved in the cache have kept the same
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259 eval ac_new_set=\$ac_env_${ac_var}_set
2260 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261 eval ac_new_val=\$ac_env_${ac_var}_value
2262 case $ac_old_set,$ac_new_set in
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2273 if test "x$ac_old_val" != "x$ac_new_val"; then
2274 # differences in whitespace do not lead to failure.
2275 ac_old_val_w=`echo x $ac_old_val`
2276 ac_new_val_w=`echo x $ac_new_val`
2277 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280 ac_cache_corrupted=:
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284 eval $ac_var=\$ac_old_val
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2287 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2292 # Pass precious variables to config.status.
2293 if test "$ac_new_set" = set; then
2295 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296 *) ac_arg=$ac_var=$ac_new_val ;;
2298 case " $ac_configure_args " in
2299 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2300 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2304 if $ac_cache_corrupted; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 ac_config_headers="$ac_config_headers config.h"
2326 for ac_dir in build-aux "$srcdir"/build-aux; do
2327 if test -f "$ac_dir/install-sh"; then
2329 ac_install_sh="$ac_aux_dir/install-sh -c"
2331 elif test -f "$ac_dir/install.sh"; then
2333 ac_install_sh="$ac_aux_dir/install.sh -c"
2335 elif test -f "$ac_dir/shtool"; then
2337 ac_install_sh="$ac_aux_dir/shtool install -c"
2341 if test -z "$ac_aux_dir"; then
2342 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2345 # These three variables are undocumented and unsupported,
2346 # and are intended to be withdrawn in a future Autoconf release.
2347 # They can cause serious problems if a builder's source tree is in a directory
2348 # whose full name contains unusual characters.
2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2351 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2356 am__api_version='1.14'
2358 # Find a good install program. We prefer a C program (faster),
2359 # so one script is as good as another. But avoid the broken or
2360 # incompatible versions:
2361 # SysV /etc/install, /usr/sbin/install
2362 # SunOS /usr/etc/install
2363 # IRIX /sbin/install
2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369 # OS/2's system install, which has a completely different semantic
2370 # ./install, which can be erroneously created by make from ./install.sh.
2371 # Reject install programs that cannot install multiple files.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2374 if test -z "$INSTALL"; then
2375 if ${ac_cv_path_install+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 # Account for people who put trailing slashes in PATH elements.
2384 case $as_dir/ in #((
2385 ./ | .// | /[cC]/* | \
2386 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2390 # OSF1 and SCO ODT 3.0 have their own names for install.
2391 # Don't use installbsd from OSF since it installs stuff as root
2393 for ac_prog in ginstall scoinst install; do
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2396 if test $ac_prog = install &&
2397 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # AIX install. It has an incompatible calling convention.
2400 elif test $ac_prog = install &&
2401 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402 # program-specific install script used by HP pwplus--don't use.
2405 rm -rf conftest.one conftest.two conftest.dir
2406 echo one > conftest.one
2407 echo two > conftest.two
2409 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410 test -s conftest.one && test -s conftest.two &&
2411 test -s conftest.dir/conftest.one &&
2412 test -s conftest.dir/conftest.two
2414 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2427 rm -rf conftest.one conftest.two conftest.dir
2430 if test "${ac_cv_path_install+set}" = set; then
2431 INSTALL=$ac_cv_path_install
2433 # As a last resort, use the slow shell script. Don't cache a
2434 # value for INSTALL within a source directory, because that will
2435 # break other packages using the cache if that directory is
2436 # removed, or if the value is a relative name.
2437 INSTALL=$ac_install_sh
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441 $as_echo "$INSTALL" >&6; }
2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444 # It thinks the first close brace ends the variable substitution.
2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452 $as_echo_n "checking whether build environment is sane... " >&6; }
2453 # Reject unsafe characters in $srcdir or the absolute working directory
2454 # name. Accept space and tab only in the latter.
2458 *[\\\"\#\$\&\'\`$am_lf]*)
2459 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2462 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2463 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2466 # Do 'set' in a subshell so we don't clobber the current shell's
2467 # arguments. Must try -L first in case configure is actually a
2468 # symlink; some systems play weird games with the mod time of symlinks
2469 # (eg FreeBSD returns the mod time of the symlink's containing
2473 for am_try in 1 2; do
2474 echo "timestamp, slept: $am_has_slept" > conftest.file
2475 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476 if test "$*" = "X"; then
2478 set X `ls -t "$srcdir/configure" conftest.file`
2480 if test "$*" != "X $srcdir/configure conftest.file" \
2481 && test "$*" != "X conftest.file $srcdir/configure"; then
2483 # If neither matched, then we have a broken ls. This can happen
2484 # if, for instance, CONFIG_SHELL is bash and it inherits a
2485 # broken ls alias from the environment. This has actually
2486 # happened. Such a system could not be considered "sane".
2487 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2488 alias in your environment" "$LINENO" 5
2490 if test "$2" = conftest.file || test $am_try -eq 2; then
2497 test "$2" = conftest.file
2503 as_fn_error $? "newly created file is older than distributed files!
2504 Check your system clock" "$LINENO" 5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507 $as_echo "yes" >&6; }
2508 # If we didn't sleep, we still need to ensure time stamps of config.status and
2509 # generated files are strictly newer.
2511 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2518 test "$program_prefix" != NONE &&
2519 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2520 # Use a double $ so make ignores it.
2521 test "$program_suffix" != NONE &&
2522 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2523 # Double any \ or $.
2524 # By default was `s,x,x', remove it if useless.
2525 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2526 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2528 # expand $ac_aux_dir to an absolute path
2529 am_aux_dir=`cd $ac_aux_dir && pwd`
2531 if test x"${MISSING+set}" != xset; then
2534 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2536 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2539 # Use eval to expand $SHELL
2540 if eval "$MISSING --is-lightweight"; then
2541 am_missing_run="$MISSING "
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2545 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2548 if test x"${install_sh}" != xset; then
2551 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2553 install_sh="\${SHELL} $am_aux_dir/install-sh"
2557 # Installed binaries are usually stripped using 'strip' when the user
2558 # run "make install-strip". However 'strip' might not be the right
2559 # tool to use in cross-compilation environments, therefore Automake
2560 # will honor the 'STRIP' environment variable to overrule this program.
2561 if test "$cross_compiling" != no; then
2562 if test -n "$ac_tool_prefix"; then
2563 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}strip; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_STRIP+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$STRIP"; then
2571 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 STRIP=$ac_cv_prog_STRIP
2591 if test -n "$STRIP"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2593 $as_echo "$STRIP" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2601 if test -z "$ac_cv_prog_STRIP"; then
2603 # Extract the first word of "strip", so it can be a program name with args.
2604 set dummy strip; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$ac_ct_STRIP"; then
2611 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 ac_cv_prog_ac_ct_STRIP="strip"
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2631 if test -n "$ac_ct_STRIP"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2633 $as_echo "$ac_ct_STRIP" >&6; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2639 if test "x$ac_ct_STRIP" = x; then
2642 case $cross_compiling:$ac_tool_warned in
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2651 STRIP="$ac_cv_prog_STRIP"
2655 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2658 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2659 if test -z "$MKDIR_P"; then
2660 if ${ac_cv_path_mkdir+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2667 test -z "$as_dir" && as_dir=.
2668 for ac_prog in mkdir gmkdir; do
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2671 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2672 'mkdir (GNU coreutils) '* | \
2673 'mkdir (coreutils) '* | \
2674 'mkdir (fileutils) '4.1*)
2675 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2685 test -d ./--version && rmdir ./--version
2686 if test "${ac_cv_path_mkdir+set}" = set; then
2687 MKDIR_P="$ac_cv_path_mkdir -p"
2689 # As a last resort, use the slow shell script. Don't cache a
2690 # value for MKDIR_P within a source directory, because that will
2691 # break other packages using the cache if that directory is
2692 # removed, or if the value is a relative name.
2693 MKDIR_P="$ac_install_sh -d"
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2697 $as_echo "$MKDIR_P" >&6; }
2699 for ac_prog in gawk mawk nawk awk
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_AWK+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$AWK"; then
2709 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 ac_cv_prog_AWK="$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$AWK"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$AWK" && break
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 cat >conftest.make <<\_ACEOF
2751 @echo '@@@%%%=$(MAKE)=@@@%%%'
2753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2756 eval ac_cv_prog_make_${ac_make}_set=yes;;
2758 eval ac_cv_prog_make_${ac_make}_set=no;;
2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769 SET_MAKE="MAKE=${MAKE-make}"
2772 rm -rf .tst 2>/dev/null
2773 mkdir .tst 2>/dev/null
2774 if test -d .tst; then
2779 rmdir .tst 2>/dev/null
2781 # Check whether --enable-silent-rules was given.
2782 if test "${enable_silent_rules+set}" = set; then :
2783 enableval=$enable_silent_rules;
2786 case $enable_silent_rules in # (((
2787 yes) AM_DEFAULT_VERBOSITY=0;;
2788 no) AM_DEFAULT_VERBOSITY=1;;
2789 *) AM_DEFAULT_VERBOSITY=1;;
2791 am_make=${MAKE-make}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2793 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2794 if ${am_cv_make_support_nested_variables+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 if $as_echo 'TRUE=$(BAR$(V))
2803 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2804 am_cv_make_support_nested_variables=yes
2806 am_cv_make_support_nested_variables=no
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2810 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2811 if test $am_cv_make_support_nested_variables = yes; then
2813 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2815 AM_V=$AM_DEFAULT_VERBOSITY
2816 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822 # is not polluted with repeated "-I."
2823 am__isrc=' -I$(srcdir)'
2824 # test to see if srcdir already configured
2825 if test -f $srcdir/config.status; then
2826 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2830 # test whether we have cygpath
2831 if test -z "$CYGPATH_W"; then
2832 if (cygpath --version) >/dev/null 2>/dev/null; then
2833 CYGPATH_W='cygpath -w'
2840 # Define the identity of the package.
2845 cat >>confdefs.h <<_ACEOF
2846 #define PACKAGE "$PACKAGE"
2850 cat >>confdefs.h <<_ACEOF
2851 #define VERSION "$VERSION"
2854 # Some tools Automake needs.
2856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2870 # For better backward compatibility. To be removed once Automake 1.9.x
2871 # dies out for good. For more background, see:
2872 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2873 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2874 mkdir_p='$(MKDIR_P)'
2876 # We need awk for the "check" target. The system "awk" is bad on
2878 # Always define AMTAR for backward compatibility. Yes, it's still used
2879 # in the wild :-( We should find a proper way to deprecate it ...
2883 # We'll loop over all known methods to create a tar archive until one works.
2884 _am_tools='gnutar pax cpio none'
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2889 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2891 # Go ahead even if we have the value already cached. We do so because we
2892 # need to set the values for the 'am__tar' and 'am__untar' variables.
2893 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2895 for _am_tool in $_am_tools; do
2898 for _am_tar in tar gnutar gtar; do
2899 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2900 ($_am_tar --version) >&5 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } && break
2905 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2906 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2907 am__untar="$_am_tar -xf -"
2910 # Must skip GNU tar: if it does not support --format= it doesn't create
2911 # ustar tarball either.
2912 (tar --version) >/dev/null 2>&1 && continue
2913 am__tar='tar chf - "$$tardir"'
2914 am__tar_='tar chf - "$tardir"'
2915 am__untar='tar xf -'
2918 am__tar='pax -L -x pax -w "$$tardir"'
2919 am__tar_='pax -L -x pax -w "$tardir"'
2923 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2924 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2925 am__untar='cpio -i -H pax -d'
2934 # If the value was cached, stop now. We just wanted to have am__tar
2935 # and am__untar set.
2936 test -n "${am_cv_prog_tar_pax}" && break
2938 # tar/untar a dummy directory, and stop if the command works.
2941 echo GrepMe > conftest.dir/file
2942 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2943 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }
2948 if test -s conftest.tar; then
2949 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2950 ($am__untar <conftest.tar) >&5 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }
2954 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2955 (cat conftest.dir/file) >&5 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2964 if ${am_cv_prog_tar_pax+:} false; then :
2965 $as_echo_n "(cached) " >&6
2967 am_cv_prog_tar_pax=$_am_tool
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2971 $as_echo "$am_cv_prog_tar_pax" >&6; }
2978 # POSIX will say in a future version that running "rm -f" with no argument
2979 # is OK; and we want to be able to make that assumption in our Makefile
2980 # recipes. So use an aggressive probe to check that the usage we want is
2981 # actually supported "in the wild" to an acceptable degree.
2982 # See automake bug#10828.
2983 # To make any issue more visible, cause the running configure to be aborted
2984 # by default if the 'rm' program in use doesn't match our expectations; the
2985 # user can still override this though.
2986 if rm -f && rm -fr && rm -rf; then : OK; else
2990 Your 'rm' program seems unable to run without file operands specified
2991 on the command line, even when the '-f' option is present. This is contrary
2992 to the behaviour of most rm programs out there, and not conforming with
2993 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2995 Please tell bug-automake@gnu.org about your system, including the value
2996 of your $PATH and any error possibly output before this message. This
2997 can help us improve future automake versions.
3000 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3001 echo 'Configuration will proceed anyway, since you have set the' >&2
3002 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3006 Aborting the configuration process, to ensure you take notice of the issue.
3008 You can download and install GNU coreutils to get an 'rm' implementation
3009 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3011 If you want to complete the configuration process using your problematic
3012 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3013 to "yes", and re-run configure.
3016 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3021 # Checks for programs.
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir=.
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$ac_cv_prog_CC"; then
3068 # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$ac_ct_CC"; then
3076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085 ac_cv_prog_ac_ct_CC="gcc"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3104 if test "x$ac_ct_CC" = x; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned=yes ;;
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}cc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC="$CC" # Let the user override the test.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC="${ac_tool_prefix}cc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180 ac_prog_rejected=yes
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test $ac_prog_rejected = yes; then
3192 # We found a bogon in the path, so make sure we never use it.
3193 set dummy $ac_cv_prog_CC
3195 if test $# != 0; then
3196 # We chose a different compiler from the bogus one.
3197 # However, it has the same basename, so the bogon will be chosen
3198 # first if we set CC to just the basename; use the full file name.
3200 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 for ac_prog in cl.exe
3220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC="$CC" # Let the user override the test.
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir=.
3235 for ac_exec_ext in '' $ac_executable_extensions; do
3236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$CC" && break
3260 if test -z "$CC"; then
3262 for ac_prog in cl.exe
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy $ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_ac_ct_CC="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$ac_ct_CC" && break
3304 if test "x$ac_ct_CC" = x; then
3307 case $cross_compiling:$ac_tool_warned in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned=yes ;;
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $? "no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3329 for ac_option in --version -v -V -qversion; do
3330 { { ac_try="$ac_compiler $ac_option >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3339 if test -s conftest.err; then
3341 ... rest of stderr output deleted ...
3342 10q' conftest.err >conftest.er1
3343 cat conftest.er1 >&5
3345 rm -f conftest.er1 conftest.err
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3374 for ac_file in $ac_files
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3383 if { { ac_try="$ac_link_default"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link_default") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3399 for ac_file in $ac_files ''
3401 test -f "$ac_file" || continue
3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3406 # We found the default executable, but exeext='' is most
3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 # We set ac_cv_exeext here because the later test for it is not
3415 # safe: cross compilers may not add the suffix if given an `-o'
3416 # argument, so we may need to know it at that point already.
3417 # Even if this section looks crufty: it has the advantage of
3424 test "$ac_cv_exeext" = no && ac_cv_exeext=
3429 if test -z "$ac_file"; then :
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error 77 "C compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3468 for ac_file in conftest.exe conftest conftest.*; do
3469 test -f "$ac_file" || continue
3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3483 rm -f conftest conftest$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3487 rm -f conftest.$ac_ext
3488 EXEEXT=$ac_cv_exeext
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3496 FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3503 ac_clean_files="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run. If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509 { { ac_try="$ac_link"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_link") 2>&5
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }
3520 if { ac_try='./conftest$ac_cv_exeext'
3521 { { case "(($ac_try" in
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_try") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; }; then
3533 if test "$cross_compiling" = maybe; then
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $? "cannot run C compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548 ac_clean_files=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try="$ac_compile"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_compile") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 for ac_file in conftest.o conftest.obj conftest.*; do
3578 test -f "$ac_file" || continue;
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files: cannot compile
3592 See \`config.log' for more details" "$LINENO" 5; }
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602 if ${ac_cv_c_compiler_gnu+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3619 if ac_fn_c_try_compile "$LINENO"; then :
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3635 ac_test_CFLAGS=${CFLAGS+set}
3636 ac_save_CFLAGS=$CFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3639 if ${ac_cv_prog_cc_g+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 ac_save_c_werror_flag=$ac_c_werror_flag
3643 ac_c_werror_flag=yes
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3672 if ac_fn_c_try_compile "$LINENO"; then :
3675 ac_c_werror_flag=$ac_save_c_werror_flag
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_c_werror_flag=$ac_save_c_werror_flag
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
3700 if test "$ac_test_CFLAGS" = set; then
3701 CFLAGS=$ac_save_CFLAGS
3702 elif test $ac_cv_prog_cc_g = yes; then
3703 if test "$GCC" = yes; then
3709 if test "$GCC" = yes; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717 if ${ac_cv_prog_cc_c89+:} false; then :
3718 $as_echo_n "(cached) " >&6
3720 ac_cv_prog_cc_c89=no
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3728 struct buf { int x; };
3729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3730 static char *e (p, i)
3736 static char *f (char * (*g) (char **, int), char **p, ...)
3741 s = g (p, va_arg (v,int));
3746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3747 function prototypes and stuff, but not '\xHH' hex character constants.
3748 These don't provoke an error unfortunately, instead are silently treated
3749 as 'x'. The following induces an error, until -std is added to get
3750 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3751 array size at least. It's necessary to write '\x00'==0 to get something
3752 that's true only with -std. */
3753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3756 inside strings and character constants. */
3758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3760 int test (int i, double x);
3761 struct s1 {int (*f) (int a);};
3762 struct s2 {int (*f) (double a);};
3763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3775 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777 CC="$ac_save_CC $ac_arg"
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779 ac_cv_prog_cc_c89=$ac_arg
3781 rm -f core conftest.err conftest.$ac_objext
3782 test "x$ac_cv_prog_cc_c89" != "xno" && break
3784 rm -f conftest.$ac_ext
3789 case "x$ac_cv_prog_cc_c89" in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792 $as_echo "none needed" >&6; } ;;
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3795 $as_echo "unsupported" >&6; } ;;
3797 CC="$CC $ac_cv_prog_cc_c89"
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3799 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3801 if test "x$ac_cv_prog_cc_c89" != xno; then :
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812 ac_cpp='$CPP $CPPFLAGS'
3813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3817 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3818 if ${am_cv_prog_cc_c_o+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 # Make sure it works both with $CC and with simple cc.
3833 # Following AC_PROG_CC_C_O, we do the test twice because some
3834 # compilers refuse to overwrite an existing .o file with -o,
3835 # though they will create one.
3836 am_cv_prog_cc_c_o=yes
3838 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3839 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } \
3843 && test -f conftest2.$ac_objext; then
3846 am_cv_prog_cc_c_o=no
3850 rm -f core conftest*
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3854 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3855 if test "$am_cv_prog_cc_c_o" != yes; then
3856 # Losing compiler, so override with the script.
3857 # FIXME: It is wrong to rewrite CC.
3858 # But if we don't then we get into trouble of one sort or another.
3859 # A longer-term fix would be to have automake use am__CC in this case,
3860 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3861 CC="$am_aux_dir/compile $CC"
3864 ac_cpp='$CPP $CPPFLAGS'
3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 DEPDIR="${am__leading_dot}deps"
3871 ac_config_commands="$ac_config_commands depfiles"
3874 am_make=${MAKE-make}
3875 cat > confinc << 'END'
3877 @echo this is the am__doit target
3880 # If we don't find an include directive, just comment out the code.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3882 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3886 # First try GNU make style include.
3887 echo "include confinc" > confmf
3888 # Ignore all kinds of additional output from 'make'.
3889 case `$am_make -s -f confmf 2> /dev/null` in #(
3890 *the\ am__doit\ target*)
3896 # Now try BSD make style include.
3897 if test "$am__include" = "#"; then
3898 echo '.include "confinc"' > confmf
3899 case `$am_make -s -f confmf 2> /dev/null` in #(
3900 *the\ am__doit\ target*)
3901 am__include=.include
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3910 $as_echo "$_am_result" >&6; }
3911 rm -f confinc confmf
3913 # Check whether --enable-dependency-tracking was given.
3914 if test "${enable_dependency_tracking+set}" = set; then :
3915 enableval=$enable_dependency_tracking;
3918 if test "x$enable_dependency_tracking" != xno; then
3919 am_depcomp="$ac_aux_dir/depcomp"
3923 if test "x$enable_dependency_tracking" != xno; then
3933 depcc="$CC" am_compiler_list=
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3936 $as_echo_n "checking dependency style of $depcc... " >&6; }
3937 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3941 # We make a subdir and do the tests there. Otherwise we can end up
3942 # making bogus files that we don't know about and never remove. For
3943 # instance it was reported that on HP-UX the gcc test will end up
3944 # making a dummy file named 'D' -- because '-MD' means "put the output
3948 # Copy depcomp to subdir because otherwise we won't find it if we're
3949 # using a relative directory.
3950 cp "$am_depcomp" conftest.dir
3952 # We will build objects and dependencies in a subdirectory because
3953 # it helps to detect inapplicable dependency modes. For instance
3954 # both Tru64's cc and ICC support -MD to output dependencies as a
3955 # side effect of compilation, but ICC will put the dependencies in
3956 # the current directory while Tru64 will put them in the object
3960 am_cv_CC_dependencies_compiler_type=none
3961 if test "$am_compiler_list" = ""; then
3962 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3965 case " $depcc " in #(
3966 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3969 for depmode in $am_compiler_list; do
3970 # Setup a source with many dependencies, because some compilers
3971 # like to wrap large dependency lists on column 80 (with \), and
3972 # we should not choose a depcomp mode which is confused by this.
3974 # We need to recreate these files for each test, as the compiler may
3975 # overwrite some of them when testing with obscure command lines.
3976 # This happens at least with the AIX C compiler.
3978 for i in 1 2 3 4 5 6; do
3979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3980 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3981 # Solaris 10 /bin/sh.
3982 echo '/* dummy */' > sub/conftst$i.h
3984 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3986 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3987 # mode. It turns out that the SunPro C++ compiler does not properly
3988 # handle '-M -o', and we need to detect this. Also, some Intel
3989 # versions had trouble with output in subdirs.
3990 am__obj=sub/conftest.${OBJEXT-o}
3991 am__minus_obj="-o $am__obj"
3994 # This depmode causes a compiler race in universal mode.
3995 test "$am__universal" = false || continue
3998 # After this tag, mechanisms are not by side-effect, so they'll
3999 # only be used when explicitly requested.
4000 if test "x$enable_dependency_tracking" = xyes; then
4006 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4007 # This compiler won't grok '-c -o', but also, the minuso test has
4008 # not run yet. These depmodes are late enough in the game, and
4009 # so weak that their functioning should not be impacted.
4010 am__obj=conftest.${OBJEXT-o}
4015 if depmode=$depmode \
4016 source=sub/conftest.c object=$am__obj \
4017 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4018 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4019 >/dev/null 2>conftest.err &&
4020 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4021 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4022 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4023 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4024 # icc doesn't choke on unknown options, it will just issue warnings
4025 # or remarks (even with -Werror). So we grep stderr for any message
4026 # that says an option was ignored or not supported.
4027 # When given -MP, icc 7.0 and 7.1 complain thusly:
4028 # icc: Command line warning: ignoring option '-M'; no argument required
4029 # The diagnosis changed in icc 8.0:
4030 # icc: Command line remark: option '-MP' not supported
4031 if (grep 'ignoring option' conftest.err ||
4032 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4033 am_cv_CC_dependencies_compiler_type=$depmode
4042 am_cv_CC_dependencies_compiler_type=none
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4047 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4048 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4051 test "x$enable_dependency_tracking" != xno \
4052 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4054 am__fastdepCC_FALSE='#'
4056 am__fastdepCC_TRUE='#'
4057 am__fastdepCC_FALSE=
4062 if test -n "$ac_tool_prefix"; then
4063 for ac_prog in ar lib "link -lib"
4065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_prog_AR+:} false; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$AR"; then
4073 ac_cv_prog_AR="$AR" # Let the user override the test.
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir=.
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 if test -n "$AR"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4095 $as_echo "$AR" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$AR" && break
4105 if test -z "$AR"; then
4107 for ac_prog in ar lib "link -lib"
4109 # Extract the first word of "$ac_prog", so it can be a program name with args.
4110 set dummy $ac_prog; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$ac_ct_AR"; then
4117 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_AR="$ac_prog"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4137 if test -n "$ac_ct_AR"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4139 $as_echo "$ac_ct_AR" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4146 test -n "$ac_ct_AR" && break
4149 if test "x$ac_ct_AR" = x; then
4152 case $cross_compiling:$ac_tool_warned in
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4156 ac_tool_warned=yes ;;
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4165 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4166 if ${am_cv_ar_interface+:} false; then :
4167 $as_echo_n "(cached) " >&6
4170 ac_cpp='$CPP $CPPFLAGS'
4171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4175 am_cv_ar_interface=ar
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4178 int some_variable = 0;
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4182 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4183 (eval $am_ar_try) 2>&5
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }
4187 if test "$ac_status" -eq 0; then
4188 am_cv_ar_interface=ar
4190 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4191 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4192 (eval $am_ar_try) 2>&5
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }
4196 if test "$ac_status" -eq 0; then
4197 am_cv_ar_interface=lib
4199 am_cv_ar_interface=unknown
4202 rm -f conftest.lib libconftest.a
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 ac_cpp='$CPP $CPPFLAGS'
4208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4214 $as_echo "$am_cv_ar_interface" >&6; }
4216 case $am_cv_ar_interface in
4220 # Microsoft lib, so override with the ar-lib wrapper script.
4221 # FIXME: It is wrong to rewrite AR.
4222 # But if we don't then we get into trouble of one sort or another.
4223 # A longer-term fix would be to have automake use am__AR in this case,
4224 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4226 AR="$am_aux_dir/ar-lib $AR"
4229 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4234 $as_echo_n "checking for GNU make... " >&6; }
4235 if ${_cv_gnu_make_command+:} false; then :
4236 $as_echo_n "(cached) " >&6
4238 _cv_gnu_make_command='' ;
4239 for a in "$MAKE" make gmake gnumake ; do
4240 if test -z "$a" ; then continue ; fi ;
4241 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4242 _cv_gnu_make_command=$a ;
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4249 $as_echo "$_cv_gnu_make_command" >&6; } ;
4250 if test "x$_cv_gnu_make_command" != "x" ; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4255 $as_echo "\"Not found\"" >&6; };
4259 if test "x$ifGNUmake" = "x#" ; then
4260 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4268 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4273 macro_version='2.4.2'
4274 macro_revision='1.3337'
4288 ltmain="$ac_aux_dir/ltmain.sh"
4290 # Make sure we can run config.sub.
4291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4292 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4295 $as_echo_n "checking build system type... " >&6; }
4296 if ${ac_cv_build+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 ac_build_alias=$build_alias
4300 test "x$ac_build_alias" = x &&
4301 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4302 test "x$ac_build_alias" = x &&
4303 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4309 $as_echo "$ac_cv_build" >&6; }
4310 case $ac_cv_build in
4312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4315 ac_save_IFS=$IFS; IFS='-'
4321 # Remember, the first character of IFS is used to create $*,
4322 # except with old shells:
4325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4329 $as_echo_n "checking host system type... " >&6; }
4330 if ${ac_cv_host+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 if test "x$host_alias" = x; then
4334 ac_cv_host=$ac_cv_build
4336 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4342 $as_echo "$ac_cv_host" >&6; }
4345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4348 ac_save_IFS=$IFS; IFS='-'
4354 # Remember, the first character of IFS is used to create $*,
4355 # except with old shells:
4358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4361 # Backslashify metacharacters that are still active within
4362 # double-quoted strings.
4363 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4365 # Same as above, but do not quote variable references.
4366 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4368 # Sed substitution to delay expansion of an escaped shell variable in a
4369 # double_quote_subst'ed string.
4370 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4372 # Sed substitution to delay expansion of an escaped single quote.
4373 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4375 # Sed substitution to avoid accidental globbing in evaled expressions
4376 no_glob_subst='s/\*/\\\*/g'
4378 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4380 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4383 $as_echo_n "checking how to print strings... " >&6; }
4384 # Test print first, because it will be a builtin if present.
4385 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4386 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4388 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4391 # Use this function as a fallback that always works.
4392 func_fallback_echo ()
4394 eval 'cat <<_LTECHO_EOF
4398 ECHO='func_fallback_echo'
4401 # func_echo_all arg...
4402 # Invoke $ECHO with all args, space-separated.
4409 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4410 $as_echo "printf" >&6; } ;;
4411 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4412 $as_echo "print -r" >&6; } ;;
4413 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4414 $as_echo "cat" >&6; } ;;
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4431 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4432 if ${ac_cv_path_SED+:} false; then :
4433 $as_echo_n "(cached) " >&6
4435 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4436 for ac_i in 1 2 3 4 5 6 7; do
4437 ac_script="$ac_script$as_nl$ac_script"
4439 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4440 { ac_script=; unset ac_script;}
4441 if test -z "$SED"; then
4442 ac_path_SED_found=false
4443 # Loop through the user's path and test for each of PROGNAME-LIST
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_prog in sed gsed; do
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4452 as_fn_executable_p "$ac_path_SED" || continue
4453 # Check for GNU ac_path_SED and select it if it is found.
4454 # Check for GNU $ac_path_SED
4455 case `"$ac_path_SED" --version 2>&1` in
4457 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4460 $as_echo_n 0123456789 >"conftest.in"
4463 cat "conftest.in" "conftest.in" >"conftest.tmp"
4464 mv "conftest.tmp" "conftest.in"
4465 cp "conftest.in" "conftest.nl"
4466 $as_echo '' >> "conftest.nl"
4467 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4469 as_fn_arith $ac_count + 1 && ac_count=$as_val
4470 if test $ac_count -gt ${ac_path_SED_max-0}; then
4471 # Best one so far, save it but keep looking for a better one
4472 ac_cv_path_SED="$ac_path_SED"
4473 ac_path_SED_max=$ac_count
4475 # 10*(2^10) chars as input seems more than enough
4476 test $ac_count -gt 10 && break
4478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4481 $ac_path_SED_found && break 3
4486 if test -z "$ac_cv_path_SED"; then
4487 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4495 $as_echo "$ac_cv_path_SED" >&6; }
4496 SED="$ac_cv_path_SED"
4499 test -z "$SED" && SED=sed
4500 Xsed="$SED -e 1s/^X//"
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4513 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4514 if ${ac_cv_path_GREP+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 if test -z "$GREP"; then
4518 ac_path_GREP_found=false
4519 # Loop through the user's path and test for each of PROGNAME-LIST
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4524 test -z "$as_dir" && as_dir=.
4525 for ac_prog in grep ggrep; do
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4528 as_fn_executable_p "$ac_path_GREP" || continue
4529 # Check for GNU ac_path_GREP and select it if it is found.
4530 # Check for GNU $ac_path_GREP
4531 case `"$ac_path_GREP" --version 2>&1` in
4533 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4536 $as_echo_n 0123456789 >"conftest.in"
4539 cat "conftest.in" "conftest.in" >"conftest.tmp"
4540 mv "conftest.tmp" "conftest.in"
4541 cp "conftest.in" "conftest.nl"
4542 $as_echo 'GREP' >> "conftest.nl"
4543 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4544 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4545 as_fn_arith $ac_count + 1 && ac_count=$as_val
4546 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4547 # Best one so far, save it but keep looking for a better one
4548 ac_cv_path_GREP="$ac_path_GREP"
4549 ac_path_GREP_max=$ac_count
4551 # 10*(2^10) chars as input seems more than enough
4552 test $ac_count -gt 10 && break
4554 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4557 $ac_path_GREP_found && break 3
4562 if test -z "$ac_cv_path_GREP"; then
4563 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566 ac_cv_path_GREP=$GREP
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4571 $as_echo "$ac_cv_path_GREP" >&6; }
4572 GREP="$ac_cv_path_GREP"
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4576 $as_echo_n "checking for egrep... " >&6; }
4577 if ${ac_cv_path_EGREP+:} false; then :
4578 $as_echo_n "(cached) " >&6
4580 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4581 then ac_cv_path_EGREP="$GREP -E"
4583 if test -z "$EGREP"; then
4584 ac_path_EGREP_found=false
4585 # Loop through the user's path and test for each of PROGNAME-LIST
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4590 test -z "$as_dir" && as_dir=.
4591 for ac_prog in egrep; do
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4594 as_fn_executable_p "$ac_path_EGREP" || continue
4595 # Check for GNU ac_path_EGREP and select it if it is found.
4596 # Check for GNU $ac_path_EGREP
4597 case `"$ac_path_EGREP" --version 2>&1` in
4599 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4602 $as_echo_n 0123456789 >"conftest.in"
4605 cat "conftest.in" "conftest.in" >"conftest.tmp"
4606 mv "conftest.tmp" "conftest.in"
4607 cp "conftest.in" "conftest.nl"
4608 $as_echo 'EGREP' >> "conftest.nl"
4609 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611 as_fn_arith $ac_count + 1 && ac_count=$as_val
4612 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4613 # Best one so far, save it but keep looking for a better one
4614 ac_cv_path_EGREP="$ac_path_EGREP"
4615 ac_path_EGREP_max=$ac_count
4617 # 10*(2^10) chars as input seems more than enough
4618 test $ac_count -gt 10 && break
4620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4623 $ac_path_EGREP_found && break 3
4628 if test -z "$ac_cv_path_EGREP"; then
4629 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4632 ac_cv_path_EGREP=$EGREP
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4638 $as_echo "$ac_cv_path_EGREP" >&6; }
4639 EGREP="$ac_cv_path_EGREP"
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4643 $as_echo_n "checking for fgrep... " >&6; }
4644 if ${ac_cv_path_FGREP+:} false; then :
4645 $as_echo_n "(cached) " >&6
4647 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4648 then ac_cv_path_FGREP="$GREP -F"
4650 if test -z "$FGREP"; then
4651 ac_path_FGREP_found=false
4652 # Loop through the user's path and test for each of PROGNAME-LIST
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4657 test -z "$as_dir" && as_dir=.
4658 for ac_prog in fgrep; do
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4661 as_fn_executable_p "$ac_path_FGREP" || continue
4662 # Check for GNU ac_path_FGREP and select it if it is found.
4663 # Check for GNU $ac_path_FGREP
4664 case `"$ac_path_FGREP" --version 2>&1` in
4666 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4669 $as_echo_n 0123456789 >"conftest.in"
4672 cat "conftest.in" "conftest.in" >"conftest.tmp"
4673 mv "conftest.tmp" "conftest.in"
4674 cp "conftest.in" "conftest.nl"
4675 $as_echo 'FGREP' >> "conftest.nl"
4676 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4677 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4678 as_fn_arith $ac_count + 1 && ac_count=$as_val
4679 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4680 # Best one so far, save it but keep looking for a better one
4681 ac_cv_path_FGREP="$ac_path_FGREP"
4682 ac_path_FGREP_max=$ac_count
4684 # 10*(2^10) chars as input seems more than enough
4685 test $ac_count -gt 10 && break
4687 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4690 $ac_path_FGREP_found && break 3
4695 if test -z "$ac_cv_path_FGREP"; then
4696 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4699 ac_cv_path_FGREP=$FGREP
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4705 $as_echo "$ac_cv_path_FGREP" >&6; }
4706 FGREP="$ac_cv_path_FGREP"
4709 test -z "$GREP" && GREP=grep
4729 # Check whether --with-gnu-ld was given.
4730 if test "${with_gnu_ld+set}" = set; then :
4731 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4737 if test "$GCC" = yes; then
4738 # Check if gcc -print-prog-name=ld gives a path.
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4740 $as_echo_n "checking for ld used by $CC... " >&6; }
4743 # gcc leaves a trailing carriage return which upsets mingw
4744 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4746 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4749 # Accept absolute paths.
4751 re_direlt='/[^/][^/]*/\.\./'
4752 # Canonicalize the pathname of ld
4753 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4754 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4755 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4757 test -z "$LD" && LD="$ac_prog"
4760 # If it fails, then pretend we aren't using GCC.
4764 # If it is relative, then search for the first ld in PATH.
4768 elif test "$with_gnu_ld" = yes; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4770 $as_echo_n "checking for GNU ld... " >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4773 $as_echo_n "checking for non-GNU ld... " >&6; }
4775 if ${lt_cv_path_LD+:} false; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -z "$LD"; then
4779 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4780 for ac_dir in $PATH; do
4782 test -z "$ac_dir" && ac_dir=.
4783 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4784 lt_cv_path_LD="$ac_dir/$ac_prog"
4785 # Check to see if the program is GNU ld. I'd rather use --version,
4786 # but apparently some variants of GNU ld only accept -v.
4787 # Break only if it was the GNU/non-GNU ld that we prefer.
4788 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4789 *GNU* | *'with BFD'*)
4790 test "$with_gnu_ld" != no && break
4793 test "$with_gnu_ld" != yes && break
4800 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4805 if test -n "$LD"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4807 $as_echo "$LD" >&6; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4812 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4814 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4815 if ${lt_cv_prog_gnu_ld+:} false; then :
4816 $as_echo_n "(cached) " >&6
4818 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4819 case `$LD -v 2>&1 </dev/null` in
4820 *GNU* | *'with BFD'*)
4821 lt_cv_prog_gnu_ld=yes
4824 lt_cv_prog_gnu_ld=no
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4829 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4830 with_gnu_ld=$lt_cv_prog_gnu_ld
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4841 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4842 if ${lt_cv_path_NM+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$NM"; then
4846 # Let the user override the test.
4849 lt_nm_to_check="${ac_tool_prefix}nm"
4850 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4851 lt_nm_to_check="$lt_nm_to_check nm"
4853 for lt_tmp_nm in $lt_nm_to_check; do
4854 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4855 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4857 test -z "$ac_dir" && ac_dir=.
4858 tmp_nm="$ac_dir/$lt_tmp_nm"
4859 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4860 # Check to see if the nm accepts a BSD-compat flag.
4861 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4862 # nm: unknown option "B" ignored
4863 # Tru64's nm complains that /dev/null is an invalid object file
4864 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4865 */dev/null* | *'Invalid file or object type'*)
4866 lt_cv_path_NM="$tmp_nm -B"
4870 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4872 lt_cv_path_NM="$tmp_nm -p"
4876 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4877 continue # so that we can try to find one that supports BSD flags
4886 : ${lt_cv_path_NM=no}
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4890 $as_echo "$lt_cv_path_NM" >&6; }
4891 if test "$lt_cv_path_NM" != "no"; then
4894 # Didn't find any BSD compatible name lister, look for dumpbin.
4895 if test -n "$DUMPBIN"; then :
4896 # Let the user override the test.
4898 if test -n "$ac_tool_prefix"; then
4899 for ac_prog in dumpbin "link -dump"
4901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if ${ac_cv_prog_DUMPBIN+:} false; then :
4906 $as_echo_n "(cached) " >&6
4908 if test -n "$DUMPBIN"; then
4909 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 DUMPBIN=$ac_cv_prog_DUMPBIN
4929 if test -n "$DUMPBIN"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4931 $as_echo "$DUMPBIN" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4938 test -n "$DUMPBIN" && break
4941 if test -z "$DUMPBIN"; then
4942 ac_ct_DUMPBIN=$DUMPBIN
4943 for ac_prog in dumpbin "link -dump"
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy $ac_prog; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$ac_ct_DUMPBIN"; then
4953 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4973 if test -n "$ac_ct_DUMPBIN"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4975 $as_echo "$ac_ct_DUMPBIN" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 test -n "$ac_ct_DUMPBIN" && break
4985 if test "x$ac_ct_DUMPBIN" = x; then
4988 case $cross_compiling:$ac_tool_warned in
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned=yes ;;
4994 DUMPBIN=$ac_ct_DUMPBIN
4998 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5000 DUMPBIN="$DUMPBIN -symbols"
5008 if test "$DUMPBIN" != ":"; then
5012 test -z "$NM" && NM=nm
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5020 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5021 if ${lt_cv_nm_interface+:} false; then :
5022 $as_echo_n "(cached) " >&6
5024 lt_cv_nm_interface="BSD nm"
5025 echo "int some_variable = 0;" > conftest.$ac_ext
5026 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5027 (eval "$ac_compile" 2>conftest.err)
5028 cat conftest.err >&5
5029 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5030 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5031 cat conftest.err >&5
5032 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5033 cat conftest.out >&5
5034 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5035 lt_cv_nm_interface="MS dumpbin"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5040 $as_echo "$lt_cv_nm_interface" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5043 $as_echo_n "checking whether ln -s works... " >&6; }
5045 if test "$LN_S" = "ln -s"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5047 $as_echo "yes" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5050 $as_echo "no, using $LN_S" >&6; }
5053 # find the maximum length of command line arguments
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5055 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5056 if ${lt_cv_sys_max_cmd_len+:} false; then :
5057 $as_echo_n "(cached) " >&6
5064 # On DJGPP, this test can blow up pretty badly due to problems in libc
5065 # (any single argument exceeding 2000 bytes causes a buffer overrun
5066 # during glob expansion). Even if it were fixed, the result of this
5067 # check would be larger than it should be.
5068 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5072 # Under GNU Hurd, this test is not required because there is
5073 # no limit to the length of command line arguments.
5074 # Libtool will interpret -1 as no limit whatsoever
5075 lt_cv_sys_max_cmd_len=-1;
5078 cygwin* | mingw* | cegcc*)
5079 # On Win9x/ME, this test blows up -- it succeeds, but takes
5080 # about 5 minutes as the teststring grows exponentially.
5081 # Worse, since 9x/ME are not pre-emptively multitasking,
5082 # you end up with a "frozen" computer, even though with patience
5083 # the test eventually succeeds (with a max line length of 256k).
5084 # Instead, let's just punt: use the minimum linelength reported by
5085 # all of the supported platforms: 8192 (on NT/2K/XP).
5086 lt_cv_sys_max_cmd_len=8192;
5090 # On MiNT this can take a long time and run out of memory.
5091 lt_cv_sys_max_cmd_len=8192;
5095 # On AmigaOS with pdksh, this test takes hours, literally.
5096 # So we just punt and use a minimum line length of 8192.
5097 lt_cv_sys_max_cmd_len=8192;
5100 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5101 # This has been around since 386BSD, at least. Likely further.
5102 if test -x /sbin/sysctl; then
5103 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5104 elif test -x /usr/sbin/sysctl; then
5105 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5107 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5109 # And add a safety zone
5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5115 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5116 lt_cv_sys_max_cmd_len=196608
5120 # The test takes a long time on OS/2.
5121 lt_cv_sys_max_cmd_len=8192
5125 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5126 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5127 # nice to cause kernel panics so lets avoid the loop below.
5128 # First set a reasonable default.
5129 lt_cv_sys_max_cmd_len=16384
5131 if test -x /sbin/sysconfig; then
5132 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5133 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5138 lt_cv_sys_max_cmd_len=102400
5140 sysv5* | sco5v6* | sysv4.2uw2*)
5141 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5142 if test -n "$kargmax"; then
5143 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5145 lt_cv_sys_max_cmd_len=32768
5149 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5150 if test -n "$lt_cv_sys_max_cmd_len" && \
5151 test undefined != "$lt_cv_sys_max_cmd_len"; then
5152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5155 # Make teststring a little bigger before we do anything with it.
5156 # a 1K string should be a reasonable start.
5157 for i in 1 2 3 4 5 6 7 8 ; do
5158 teststring=$teststring$teststring
5160 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5161 # If test is not a shell built-in, we'll probably end up computing a
5162 # maximum length that is only half of the actual maximum length, but
5164 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5165 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5166 test $i != 17 # 1/2 MB should be enough
5169 teststring=$teststring$teststring
5171 # Only check the string length outside the loop.
5172 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5174 # Add a significant safety factor because C++ compilers can tack on
5175 # massive amounts of additional arguments before passing them to the
5176 # linker. It appears as though 1/2 is a usable value.
5177 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5184 if test -n $lt_cv_sys_max_cmd_len ; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5186 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5189 $as_echo "none" >&6; }
5191 max_cmd_len=$lt_cv_sys_max_cmd_len
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5203 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5204 # Try some XSI features
5207 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5209 && eval 'test $(( 1 + 1 )) -eq 2 \
5210 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5213 $as_echo "$xsi_shell" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5217 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5219 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5221 && lt_shell_append=yes
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5223 $as_echo "$lt_shell_append" >&6; }
5226 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5236 # test EBCDIC or ASCII
5237 case `echo X|tr X '\101'` in
5238 A) # ASCII based system
5239 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5240 lt_SP2NL='tr \040 \012'
5241 lt_NL2SP='tr \015\012 \040\040'
5243 *) # EBCDIC based system
5244 lt_SP2NL='tr \100 \n'
5245 lt_NL2SP='tr \r\n \100\100'
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5258 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5259 if ${lt_cv_to_host_file_cmd+:} false; then :
5260 $as_echo_n "(cached) " >&6
5265 *-*-mingw* ) # actually msys
5266 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5269 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5271 * ) # otherwise, assume *nix
5272 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5278 *-*-mingw* ) # actually msys
5279 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5282 lt_cv_to_host_file_cmd=func_convert_file_noop
5284 * ) # otherwise, assume *nix
5285 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5289 * ) # unhandled hosts (and "normal" native builds)
5290 lt_cv_to_host_file_cmd=func_convert_file_noop
5296 to_host_file_cmd=$lt_cv_to_host_file_cmd
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5298 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5305 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5306 if ${lt_cv_to_tool_file_cmd+:} false; then :
5307 $as_echo_n "(cached) " >&6
5309 #assume ordinary cross tools, or native build.
5310 lt_cv_to_tool_file_cmd=func_convert_file_noop
5314 *-*-mingw* ) # actually msys
5315 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5323 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5325 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5332 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5333 if ${lt_cv_ld_reload_flag+:} false; then :
5334 $as_echo_n "(cached) " >&6
5336 lt_cv_ld_reload_flag='-r'
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5339 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5340 reload_flag=$lt_cv_ld_reload_flag
5341 case $reload_flag in
5343 *) reload_flag=" $reload_flag" ;;
5345 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5347 cygwin* | mingw* | pw32* | cegcc*)
5348 if test "$GCC" != yes; then
5353 if test "$GCC" = yes; then
5354 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5356 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5369 if test -n "$ac_tool_prefix"; then
5370 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5371 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_OBJDUMP+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 if test -n "$OBJDUMP"; then
5378 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 test -z "$as_dir" && as_dir=.
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 OBJDUMP=$ac_cv_prog_OBJDUMP
5398 if test -n "$OBJDUMP"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5400 $as_echo "$OBJDUMP" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5408 if test -z "$ac_cv_prog_OBJDUMP"; then
5409 ac_ct_OBJDUMP=$OBJDUMP
5410 # Extract the first word of "objdump", so it can be a program name with args.
5411 set dummy objdump; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$ac_ct_OBJDUMP"; then
5418 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5438 if test -n "$ac_ct_OBJDUMP"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5440 $as_echo "$ac_ct_OBJDUMP" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5446 if test "x$ac_ct_OBJDUMP" = x; then
5449 case $cross_compiling:$ac_tool_warned in
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned=yes ;;
5455 OBJDUMP=$ac_ct_OBJDUMP
5458 OBJDUMP="$ac_cv_prog_OBJDUMP"
5461 test -z "$OBJDUMP" && OBJDUMP=objdump
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5472 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5473 if ${lt_cv_deplibs_check_method+:} false; then :
5474 $as_echo_n "(cached) " >&6
5476 lt_cv_file_magic_cmd='$MAGIC_CMD'
5477 lt_cv_file_magic_test_file=
5478 lt_cv_deplibs_check_method='unknown'
5479 # Need to set the preceding variable on all platforms that support
5480 # interlibrary dependencies.
5481 # 'none' -- dependencies not supported.
5482 # `unknown' -- same as none, but documents that we really don't know.
5483 # 'pass_all' -- all dependencies passed with no checks.
5484 # 'test_compile' -- check by making test program.
5485 # 'file_magic [[regex]]' -- check by looking for files in library path
5486 # which responds to the $file_magic_cmd with a given extended regex.
5487 # If you have `file' or equivalent on your system and you're not sure
5488 # whether `pass_all' will *always* work, you probably want this one.
5492 lt_cv_deplibs_check_method=pass_all
5496 lt_cv_deplibs_check_method=pass_all
5500 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5501 lt_cv_file_magic_cmd='/usr/bin/file -L'
5502 lt_cv_file_magic_test_file=/shlib/libc.so
5506 # func_win32_libid is a shell function defined in ltmain.sh
5507 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5508 lt_cv_file_magic_cmd='func_win32_libid'
5512 # Base MSYS/MinGW do not provide the 'file' command needed by
5513 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5514 # unless we find 'file', for example because we are cross-compiling.
5515 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5516 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5517 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5518 lt_cv_file_magic_cmd='func_win32_libid'
5520 # Keep this pattern in sync with the one in func_win32_libid.
5521 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5522 lt_cv_file_magic_cmd='$OBJDUMP -f'
5527 # use the weaker test based on 'objdump'. See mingw*.
5528 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5529 lt_cv_file_magic_cmd='$OBJDUMP -f'
5532 darwin* | rhapsody*)
5533 lt_cv_deplibs_check_method=pass_all
5536 freebsd* | dragonfly*)
5537 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540 # Not sure whether the presence of OpenBSD here was a mistake.
5541 # Let's accept both of them until this is cleared up.
5542 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5543 lt_cv_file_magic_cmd=/usr/bin/file
5544 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5548 lt_cv_deplibs_check_method=pass_all
5553 lt_cv_deplibs_check_method=pass_all
5556 hpux10.20* | hpux11*)
5557 lt_cv_file_magic_cmd=/usr/bin/file
5560 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5561 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5564 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]'
5565 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5568 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5569 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5575 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5576 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5579 irix5* | irix6* | nonstopux*)
5581 *-32|*"-32 ") libmagic=32-bit;;
5582 *-n32|*"-n32 ") libmagic=N32;;
5583 *-64|*"-64 ") libmagic=64-bit;;
5584 *) libmagic=never-match;;
5586 lt_cv_deplibs_check_method=pass_all
5589 # This must be glibc/ELF.
5590 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5591 lt_cv_deplibs_check_method=pass_all
5594 netbsd* | netbsdelf*-gnu)
5595 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5596 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5598 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5603 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5604 lt_cv_file_magic_cmd=/usr/bin/file
5605 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5609 lt_cv_deplibs_check_method=pass_all
5613 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5614 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5616 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5620 osf3* | osf4* | osf5*)
5621 lt_cv_deplibs_check_method=pass_all
5625 lt_cv_deplibs_check_method=pass_all
5629 lt_cv_deplibs_check_method=pass_all
5632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5633 lt_cv_deplibs_check_method=pass_all
5637 case $host_vendor in
5639 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]'
5640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5643 lt_cv_deplibs_check_method=pass_all
5646 lt_cv_file_magic_cmd='/bin/file'
5647 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5650 lt_cv_file_magic_cmd='/bin/file'
5651 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5652 lt_cv_file_magic_test_file=/lib/libc.so
5655 lt_cv_deplibs_check_method=pass_all
5658 lt_cv_deplibs_check_method=pass_all
5664 lt_cv_deplibs_check_method=pass_all
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5670 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5674 if test "$build" = "$host"; then
5677 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5680 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5686 file_magic_cmd=$lt_cv_file_magic_cmd
5687 deplibs_check_method=$lt_cv_deplibs_check_method
5688 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_DLLTOOL+:} false; then :
5717 $as_echo_n "(cached) " >&6
5719 if test -n "$DLLTOOL"; then
5720 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 DLLTOOL=$ac_cv_prog_DLLTOOL
5740 if test -n "$DLLTOOL"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5742 $as_echo "$DLLTOOL" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 if test -z "$ac_cv_prog_DLLTOOL"; then
5751 ac_ct_DLLTOOL=$DLLTOOL
5752 # Extract the first word of "dlltool", so it can be a program name with args.
5753 set dummy dlltool; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$ac_ct_DLLTOOL"; then
5760 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5780 if test -n "$ac_ct_DLLTOOL"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5782 $as_echo "$ac_ct_DLLTOOL" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5788 if test "x$ac_ct_DLLTOOL" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5797 DLLTOOL=$ac_ct_DLLTOOL
5800 DLLTOOL="$ac_cv_prog_DLLTOOL"
5803 test -z "$DLLTOOL" && DLLTOOL=dlltool
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5815 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5816 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5817 $as_echo_n "(cached) " >&6
5819 lt_cv_sharedlib_from_linklib_cmd='unknown'
5822 cygwin* | mingw* | pw32* | cegcc*)
5823 # two different shell functions defined in ltmain.sh
5824 # decide which to use based on capabilities of $DLLTOOL
5825 case `$DLLTOOL --help 2>&1` in
5826 *--identify-strict*)
5827 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5830 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5835 # fallback: assume linklib IS sharedlib
5836 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5842 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5843 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5844 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5852 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$AR"; then
5863 ac_cv_prog_AR="$AR" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 if test -n "$AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885 $as_echo "$AR" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$AR" && break
5895 if test -z "$AR"; then
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5904 $as_echo_n "(cached) " >&6
5906 if test -n "$ac_ct_AR"; then
5907 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_AR="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5927 if test -n "$ac_ct_AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5929 $as_echo "$ac_ct_AR" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$ac_ct_AR" && break
5939 if test "x$ac_ct_AR" = x; then
5942 case $cross_compiling:$ac_tool_warned in
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5966 $as_echo_n "checking for archiver @FILE support... " >&6; }
5967 if ${lt_cv_ar_at_file+:} false; then :
5968 $as_echo_n "(cached) " >&6
5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5982 if ac_fn_c_try_compile "$LINENO"; then :
5983 echo conftest.$ac_objext > conftest.lst
5984 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5985 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5986 (eval $lt_ar_try) 2>&5
5988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989 test $ac_status = 0; }
5990 if test "$ac_status" -eq 0; then
5991 # Ensure the archiver fails upon bogus file names.
5992 rm -f conftest.$ac_objext libconftest.a
5993 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5994 (eval $lt_ar_try) 2>&5
5996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5997 test $ac_status = 0; }
5998 if test "$ac_status" -ne 0; then
6002 rm -f conftest.* libconftest.a
6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6009 $as_echo "$lt_cv_ar_at_file" >&6; }
6011 if test "x$lt_cv_ar_at_file" = xno; then
6014 archiver_list_spec=$lt_cv_ar_at_file
6023 if test -n "$ac_tool_prefix"; then
6024 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6025 set dummy ${ac_tool_prefix}strip; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 $as_echo_n "checking for $ac_word... " >&6; }
6028 if ${ac_cv_prog_STRIP+:} false; then :
6029 $as_echo_n "(cached) " >&6
6031 if test -n "$STRIP"; then
6032 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 STRIP=$ac_cv_prog_STRIP
6052 if test -n "$STRIP"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6054 $as_echo "$STRIP" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6062 if test -z "$ac_cv_prog_STRIP"; then
6064 # Extract the first word of "strip", so it can be a program name with args.
6065 set dummy strip; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$ac_ct_STRIP"; then
6072 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_ac_ct_STRIP="strip"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6092 if test -n "$ac_ct_STRIP"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6094 $as_echo "$ac_ct_STRIP" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6100 if test "x$ac_ct_STRIP" = x; then
6103 case $cross_compiling:$ac_tool_warned in
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6107 ac_tool_warned=yes ;;
6112 STRIP="$ac_cv_prog_STRIP"
6115 test -z "$STRIP" && STRIP=:
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_RANLIB+:} false; then :
6128 $as_echo_n "(cached) " >&6
6130 if test -n "$RANLIB"; then
6131 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 RANLIB=$ac_cv_prog_RANLIB
6151 if test -n "$RANLIB"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6153 $as_echo "$RANLIB" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 if test -z "$ac_cv_prog_RANLIB"; then
6162 ac_ct_RANLIB=$RANLIB
6163 # Extract the first word of "ranlib", so it can be a program name with args.
6164 set dummy ranlib; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6168 $as_echo_n "(cached) " >&6
6170 if test -n "$ac_ct_RANLIB"; then
6171 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ac_ct_RANLIB="ranlib"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6191 if test -n "$ac_ct_RANLIB"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6193 $as_echo "$ac_ct_RANLIB" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6199 if test "x$ac_ct_RANLIB" = x; then
6202 case $cross_compiling:$ac_tool_warned in
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6208 RANLIB=$ac_ct_RANLIB
6211 RANLIB="$ac_cv_prog_RANLIB"
6214 test -z "$RANLIB" && RANLIB=:
6221 # Determine commands to create old-style static archives.
6222 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6223 old_postinstall_cmds='chmod 644 $oldlib'
6224 old_postuninstall_cmds=
6226 if test -n "$RANLIB"; then
6229 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6232 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6235 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6240 lock_old_archive_extraction=yes ;;
6242 lock_old_archive_extraction=no ;;
6283 # If no C compiler was specified, use CC.
6286 # If no C compiler flags were specified, use CFLAGS.
6287 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6289 # Allow CC to be a program name with arguments.
6293 # Check for command to grab the raw symbol name followed by C symbol from nm.
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6295 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6296 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6297 $as_echo_n "(cached) " >&6
6300 # These are sane defaults that work on at least a few old systems.
6301 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6303 # Character class describing NM global symbol codes.
6304 symcode='[BCDEGRST]'
6306 # Regexp to match symbols that can be accessed directly from C.
6307 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6309 # Define system-specific variables.
6314 cygwin* | mingw* | pw32* | cegcc*)
6315 symcode='[ABCDGISTW]'
6318 if test "$host_cpu" = ia64; then
6319 symcode='[ABCDEGRST]'
6323 symcode='[BCDEGRST]'
6326 symcode='[BCDEGQRST]'
6337 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6345 # If we're using GNU nm, then use its standard symbol codes.
6346 case `$NM -V 2>&1` in
6347 *GNU* | *'with BFD'*)
6348 symcode='[ABCDGIRSTW]' ;;
6351 # Transform an extracted symbol line into a proper C declaration.
6352 # Some systems (esp. on ia64) link data and code symbols differently,
6353 # so use this general approach.
6354 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6356 # Transform an extracted symbol line into symbol name and symbol address
6357 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6358 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'"
6360 # Handle CRLF in mingw tool chain
6364 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6368 # Try without a prefix underscore, then with it.
6369 for ac_symprfx in "" "_"; do
6371 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6372 symxfrm="\\1 $ac_symprfx\\2 \\2"
6374 # Write the raw and C identifiers.
6375 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6376 # Fake it for dumpbin and say T for any non-static function
6377 # and D for any global variable.
6378 # Also find C++ and __fastcall symbols from MSVC++,
6379 # which start with @ or ?.
6380 lt_cv_sys_global_symbol_pipe="$AWK '"\
6381 " {last_section=section; section=\$ 3};"\
6382 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6383 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6384 " \$ 0!~/External *\|/{next};"\
6385 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6386 " {if(hide[section]) next};"\
6387 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6388 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6389 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6390 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6391 " ' prfx=^$ac_symprfx"
6393 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6395 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6397 # Check to see that the pipe works correctly.
6401 cat > conftest.$ac_ext <<_LT_EOF
6406 void nm_test_func(void);
6407 void nm_test_func(void){}
6411 int main(){nm_test_var='a';nm_test_func();return(0);}
6414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6415 (eval $ac_compile) 2>&5
6417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418 test $ac_status = 0; }; then
6419 # Now try to grab the symbols.
6421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6422 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425 test $ac_status = 0; } && test -s "$nlist"; then
6426 # Try sorting and uniquifying the output.
6427 if sort "$nlist" | uniq > "$nlist"T; then
6428 mv -f "$nlist"T "$nlist"
6433 # Make sure that we snagged all the symbols we need.
6434 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6435 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6436 cat <<_LT_EOF > conftest.$ac_ext
6437 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6438 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6439 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6440 relocations are performed -- see ld's documentation on pseudo-relocs. */
6441 # define LT_DLSYM_CONST
6442 #elif defined(__osf__)
6443 /* This system does not cope well with relocations in const data. */
6444 # define LT_DLSYM_CONST
6446 # define LT_DLSYM_CONST const
6454 # Now generate the symbol file.
6455 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6457 cat <<_LT_EOF >> conftest.$ac_ext
6459 /* The mapping between symbol names and symbols. */
6460 LT_DLSYM_CONST struct {
6464 lt__PROGRAM__LTX_preloaded_symbols[] =
6466 { "@PROGRAM@", (void *) 0 },
6468 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6469 cat <<\_LT_EOF >> conftest.$ac_ext
6473 /* This works around a problem in FreeBSD linker */
6474 #ifdef FREEBSD_WORKAROUND
6475 static const void *lt_preloaded_setup() {
6476 return lt__PROGRAM__LTX_preloaded_symbols;
6484 # Now try linking the two files.
6485 mv conftest.$ac_objext conftstm.$ac_objext
6486 lt_globsym_save_LIBS=$LIBS
6487 lt_globsym_save_CFLAGS=$CFLAGS
6488 LIBS="conftstm.$ac_objext"
6489 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6491 (eval $ac_link) 2>&5
6493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6497 LIBS=$lt_globsym_save_LIBS
6498 CFLAGS=$lt_globsym_save_CFLAGS
6500 echo "cannot find nm_test_func in $nlist" >&5
6503 echo "cannot find nm_test_var in $nlist" >&5
6506 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6509 echo "$progname: failed program was:" >&5
6510 cat conftest.$ac_ext >&5
6512 rm -rf conftest* conftst*
6514 # Do not use the global_symbol_pipe unless it works.
6515 if test "$pipe_works" = yes; then
6518 lt_cv_sys_global_symbol_pipe=
6524 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6525 lt_cv_sys_global_symbol_to_cdecl=
6527 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6529 $as_echo "failed" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6532 $as_echo "ok" >&6; }
6535 # Response file support.
6536 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6537 nm_file_list_spec='@'
6538 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6539 nm_file_list_spec='@'
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6569 $as_echo_n "checking for sysroot... " >&6; }
6571 # Check whether --with-sysroot was given.
6572 if test "${with_sysroot+set}" = set; then :
6573 withval=$with_sysroot;
6580 case ${with_sysroot} in #(
6582 if test "$GCC" = yes; then
6583 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6587 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6593 $as_echo "${with_sysroot}" >&6; }
6594 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6599 $as_echo "${lt_sysroot:-no}" >&6; }
6605 # Check whether --enable-libtool-lock was given.
6606 if test "${enable_libtool_lock+set}" = set; then :
6607 enableval=$enable_libtool_lock;
6610 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6612 # Some flags need to be propagated to the compiler or linker for good
6616 # Find out which ABI we are using.
6617 echo 'int i;' > conftest.$ac_ext
6618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619 (eval $ac_compile) 2>&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622 test $ac_status = 0; }; then
6623 case `/usr/bin/file conftest.$ac_objext` in
6635 # Find out which ABI we are using.
6636 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6638 (eval $ac_compile) 2>&5
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; }; then
6642 if test "$lt_cv_prog_gnu_ld" = yes; then
6643 case `/usr/bin/file conftest.$ac_objext` in
6645 LD="${LD-ld} -melf32bsmip"
6648 LD="${LD-ld} -melf32bmipn32"
6651 LD="${LD-ld} -melf64bmip"
6655 case `/usr/bin/file conftest.$ac_objext` in
6671 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6672 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6673 # Find out which ABI we are using.
6674 echo 'int i;' > conftest.$ac_ext
6675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6676 (eval $ac_compile) 2>&5
6678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6679 test $ac_status = 0; }; then
6680 case `/usr/bin/file conftest.o` in
6683 x86_64-*kfreebsd*-gnu)
6684 LD="${LD-ld} -m elf_i386_fbsd"
6687 case `/usr/bin/file conftest.o` in
6689 LD="${LD-ld} -m elf32_x86_64"
6692 LD="${LD-ld} -m elf_i386"
6697 LD="${LD-ld} -m elf32lppclinux"
6700 LD="${LD-ld} -m elf32ppclinux"
6703 LD="${LD-ld} -m elf_s390"
6706 LD="${LD-ld} -m elf32_sparc"
6712 x86_64-*kfreebsd*-gnu)
6713 LD="${LD-ld} -m elf_x86_64_fbsd"
6716 LD="${LD-ld} -m elf_x86_64"
6719 LD="${LD-ld} -m elf64lppc"
6722 LD="${LD-ld} -m elf64ppc"
6724 s390*-*linux*|s390*-*tpf*)
6725 LD="${LD-ld} -m elf64_s390"
6728 LD="${LD-ld} -m elf64_sparc"
6738 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6739 SAVE_CFLAGS="$CFLAGS"
6740 CFLAGS="$CFLAGS -belf"
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6742 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6743 if ${lt_cv_cc_needs_belf+:} false; then :
6744 $as_echo_n "(cached) " >&6
6747 ac_cpp='$CPP $CPPFLAGS'
6748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6763 if ac_fn_c_try_link "$LINENO"; then :
6764 lt_cv_cc_needs_belf=yes
6766 lt_cv_cc_needs_belf=no
6768 rm -f core conftest.err conftest.$ac_objext \
6769 conftest$ac_exeext conftest.$ac_ext
6771 ac_cpp='$CPP $CPPFLAGS'
6772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6778 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6779 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6780 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6781 CFLAGS="$SAVE_CFLAGS"
6785 # Find out which ABI we are using.
6786 echo 'int i;' > conftest.$ac_ext
6787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6788 (eval $ac_compile) 2>&5
6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791 test $ac_status = 0; }; then
6792 case `/usr/bin/file conftest.o` in
6794 case $lt_cv_prog_gnu_ld in
6798 LD="${LD-ld} -m elf_x86_64"
6801 LD="${LD-ld} -m elf64_sparc"
6804 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6805 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6810 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6822 need_locks="$enable_libtool_lock"
6824 if test -n "$ac_tool_prefix"; then
6825 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6826 set dummy ${ac_tool_prefix}mt; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6830 $as_echo_n "(cached) " >&6
6832 if test -n "$MANIFEST_TOOL"; then
6833 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6853 if test -n "$MANIFEST_TOOL"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6855 $as_echo "$MANIFEST_TOOL" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6863 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6864 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6865 # Extract the first word of "mt", so it can be a program name with args.
6866 set dummy mt; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 if test -n "$ac_ct_MANIFEST_TOOL"; then
6873 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6893 if test -n "$ac_ct_MANIFEST_TOOL"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6895 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6901 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6904 case $cross_compiling:$ac_tool_warned in
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned=yes ;;
6910 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6913 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6916 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6918 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6919 if ${lt_cv_path_mainfest_tool+:} false; then :
6920 $as_echo_n "(cached) " >&6
6922 lt_cv_path_mainfest_tool=no
6923 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6924 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6925 cat conftest.err >&5
6926 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6927 lt_cv_path_mainfest_tool=yes
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6932 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6933 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6943 rhapsody* | darwin*)
6944 if test -n "$ac_tool_prefix"; then
6945 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6946 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$DSYMUTIL"; then
6953 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6973 if test -n "$DSYMUTIL"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6975 $as_echo "$DSYMUTIL" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6983 if test -z "$ac_cv_prog_DSYMUTIL"; then
6984 ac_ct_DSYMUTIL=$DSYMUTIL
6985 # Extract the first word of "dsymutil", so it can be a program name with args.
6986 set dummy dsymutil; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$ac_ct_DSYMUTIL"; then
6993 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir=.
7000 for ac_exec_ext in '' $ac_executable_extensions; do
7001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7002 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7013 if test -n "$ac_ct_DSYMUTIL"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7015 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7021 if test "x$ac_ct_DSYMUTIL" = x; then
7024 case $cross_compiling:$ac_tool_warned in
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7028 ac_tool_warned=yes ;;
7030 DSYMUTIL=$ac_ct_DSYMUTIL
7033 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7036 if test -n "$ac_tool_prefix"; then
7037 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7038 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_NMEDIT+:} false; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$NMEDIT"; then
7045 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 NMEDIT=$ac_cv_prog_NMEDIT
7065 if test -n "$NMEDIT"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7067 $as_echo "$NMEDIT" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7075 if test -z "$ac_cv_prog_NMEDIT"; then
7076 ac_ct_NMEDIT=$NMEDIT
7077 # Extract the first word of "nmedit", so it can be a program name with args.
7078 set dummy nmedit; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$ac_ct_NMEDIT"; then
7085 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7105 if test -n "$ac_ct_NMEDIT"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7107 $as_echo "$ac_ct_NMEDIT" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7113 if test "x$ac_ct_NMEDIT" = x; then
7116 case $cross_compiling:$ac_tool_warned in
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7122 NMEDIT=$ac_ct_NMEDIT
7125 NMEDIT="$ac_cv_prog_NMEDIT"
7128 if test -n "$ac_tool_prefix"; then
7129 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7130 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_prog_LIPO+:} false; then :
7134 $as_echo_n "(cached) " >&6
7136 if test -n "$LIPO"; then
7137 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 LIPO=$ac_cv_prog_LIPO
7157 if test -n "$LIPO"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7159 $as_echo "$LIPO" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7167 if test -z "$ac_cv_prog_LIPO"; then
7169 # Extract the first word of "lipo", so it can be a program name with args.
7170 set dummy lipo; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$ac_ct_LIPO"; then
7177 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir=.
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_ac_ct_LIPO="lipo"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7197 if test -n "$ac_ct_LIPO"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7199 $as_echo "$ac_ct_LIPO" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7205 if test "x$ac_ct_LIPO" = x; then
7208 case $cross_compiling:$ac_tool_warned in
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned=yes ;;
7217 LIPO="$ac_cv_prog_LIPO"
7220 if test -n "$ac_tool_prefix"; then
7221 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7222 set dummy ${ac_tool_prefix}otool; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_OTOOL+:} false; then :
7226 $as_echo_n "(cached) " >&6
7228 if test -n "$OTOOL"; then
7229 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 OTOOL=$ac_cv_prog_OTOOL
7249 if test -n "$OTOOL"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7251 $as_echo "$OTOOL" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7259 if test -z "$ac_cv_prog_OTOOL"; then
7261 # Extract the first word of "otool", so it can be a program name with args.
7262 set dummy otool; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7266 $as_echo_n "(cached) " >&6
7268 if test -n "$ac_ct_OTOOL"; then
7269 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 test -z "$as_dir" && as_dir=.
7276 for ac_exec_ext in '' $ac_executable_extensions; do
7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278 ac_cv_prog_ac_ct_OTOOL="otool"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7289 if test -n "$ac_ct_OTOOL"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7291 $as_echo "$ac_ct_OTOOL" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7297 if test "x$ac_ct_OTOOL" = x; then
7300 case $cross_compiling:$ac_tool_warned in
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304 ac_tool_warned=yes ;;
7309 OTOOL="$ac_cv_prog_OTOOL"
7312 if test -n "$ac_tool_prefix"; then
7313 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7314 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_prog_OTOOL64+:} false; then :
7318 $as_echo_n "(cached) " >&6
7320 if test -n "$OTOOL64"; then
7321 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 OTOOL64=$ac_cv_prog_OTOOL64
7341 if test -n "$OTOOL64"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7343 $as_echo "$OTOOL64" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7351 if test -z "$ac_cv_prog_OTOOL64"; then
7352 ac_ct_OTOOL64=$OTOOL64
7353 # Extract the first word of "otool64", so it can be a program name with args.
7354 set dummy otool64; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$ac_ct_OTOOL64"; then
7361 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_ac_ct_OTOOL64="otool64"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7381 if test -n "$ac_ct_OTOOL64"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7383 $as_echo "$ac_ct_OTOOL64" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7389 if test "x$ac_ct_OTOOL64" = x; then
7392 case $cross_compiling:$ac_tool_warned in
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned=yes ;;
7398 OTOOL64=$ac_ct_OTOOL64
7401 OTOOL64="$ac_cv_prog_OTOOL64"
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7431 $as_echo_n "checking for -single_module linker flag... " >&6; }
7432 if ${lt_cv_apple_cc_single_mod+:} false; then :
7433 $as_echo_n "(cached) " >&6
7435 lt_cv_apple_cc_single_mod=no
7436 if test -z "${LT_MULTI_MODULE}"; then
7437 # By default we will add the -single_module flag. You can override
7438 # by either setting the environment variable LT_MULTI_MODULE
7439 # non-empty at configure time, or by adding -multi_module to the
7441 rm -rf libconftest.dylib*
7442 echo "int foo(void){return 1;}" > conftest.c
7443 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7444 -dynamiclib -Wl,-single_module conftest.c" >&5
7445 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7446 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7448 # If there is a non-empty error log, and "single_module"
7449 # appears in it, assume the flag caused a linker warning
7450 if test -s conftest.err && $GREP single_module conftest.err; then
7451 cat conftest.err >&5
7452 # Otherwise, if the output was created with a 0 exit code from
7453 # the compiler, it worked.
7454 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7455 lt_cv_apple_cc_single_mod=yes
7457 cat conftest.err >&5
7459 rm -rf libconftest.dylib*
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7464 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7469 $as_echo_n "(cached) " >&6
7471 lt_cv_ld_exported_symbols_list=no
7472 save_LDFLAGS=$LDFLAGS
7473 echo "_main" > conftest.sym
7474 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7486 if ac_fn_c_try_link "$LINENO"; then :
7487 lt_cv_ld_exported_symbols_list=yes
7489 lt_cv_ld_exported_symbols_list=no
7491 rm -f core conftest.err conftest.$ac_objext \
7492 conftest$ac_exeext conftest.$ac_ext
7493 LDFLAGS="$save_LDFLAGS"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7500 $as_echo_n "checking for -force_load linker flag... " >&6; }
7501 if ${lt_cv_ld_force_load+:} false; then :
7502 $as_echo_n "(cached) " >&6
7504 lt_cv_ld_force_load=no
7505 cat > conftest.c << _LT_EOF
7506 int forced_loaded() { return 2;}
7508 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7509 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7510 echo "$AR cru libconftest.a conftest.o" >&5
7511 $AR cru libconftest.a conftest.o 2>&5
7512 echo "$RANLIB libconftest.a" >&5
7513 $RANLIB libconftest.a 2>&5
7514 cat > conftest.c << _LT_EOF
7515 int main() { return 0;}
7517 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7518 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7520 if test -s conftest.err && $GREP force_load conftest.err; then
7521 cat conftest.err >&5
7522 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7523 lt_cv_ld_force_load=yes
7525 cat conftest.err >&5
7527 rm -f conftest.err libconftest.a conftest conftest.c
7528 rm -rf conftest.dSYM
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7532 $as_echo "$lt_cv_ld_force_load" >&6; }
7534 rhapsody* | darwin1.[012])
7535 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7537 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7538 darwin*) # darwin 5.x on
7539 # if running on 10.5 or later, the deployment target defaults
7540 # to the OS version, if on x86, and 10.4, the deployment
7541 # target defaults to 10.4. Don't you love it?
7542 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7543 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7544 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7546 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7548 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7552 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7553 _lt_dar_single_mod='$single_module'
7555 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7556 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7558 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7560 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7561 _lt_dsymutil='~$DSYMUTIL $lib || :'
7569 ac_cpp='$CPP $CPPFLAGS'
7570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7574 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7575 # On Suns, sometimes $CPP names a directory.
7576 if test -n "$CPP" && test -d "$CPP"; then
7579 if test -z "$CPP"; then
7580 if ${ac_cv_prog_CPP+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 # Double quotes because CPP needs to be expanded
7584 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7587 for ac_c_preproc_warn_flag in '' yes
7589 # Use a header file that comes with gcc, so configuring glibc
7590 # with a fresh cross-compiler works.
7591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7592 # <limits.h> exists even on freestanding compilers.
7593 # On the NeXT, cc -E runs the code through the compiler's parser,
7594 # not just through cpp. "Syntax error" is here to catch this case.
7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7598 # include <limits.h>
7600 # include <assert.h>
7604 if ac_fn_c_try_cpp "$LINENO"; then :
7607 # Broken: fails on valid input.
7610 rm -f conftest.err conftest.i conftest.$ac_ext
7612 # OK, works on sane cases. Now check whether nonexistent headers
7613 # can be detected and how.
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 #include <ac_nonexistent.h>
7618 if ac_fn_c_try_cpp "$LINENO"; then :
7619 # Broken: success on invalid input.
7622 # Passes both tests.
7626 rm -f conftest.err conftest.i conftest.$ac_ext
7629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7630 rm -f conftest.i conftest.err conftest.$ac_ext
7631 if $ac_preproc_ok; then :
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7644 $as_echo "$CPP" >&6; }
7646 for ac_c_preproc_warn_flag in '' yes
7648 # Use a header file that comes with gcc, so configuring glibc
7649 # with a fresh cross-compiler works.
7650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7651 # <limits.h> exists even on freestanding compilers.
7652 # On the NeXT, cc -E runs the code through the compiler's parser,
7653 # not just through cpp. "Syntax error" is here to catch this case.
7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7657 # include <limits.h>
7659 # include <assert.h>
7663 if ac_fn_c_try_cpp "$LINENO"; then :
7666 # Broken: fails on valid input.
7669 rm -f conftest.err conftest.i conftest.$ac_ext
7671 # OK, works on sane cases. Now check whether nonexistent headers
7672 # can be detected and how.
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <ac_nonexistent.h>
7677 if ac_fn_c_try_cpp "$LINENO"; then :
7678 # Broken: success on invalid input.
7681 # Passes both tests.
7685 rm -f conftest.err conftest.i conftest.$ac_ext
7688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7689 rm -f conftest.i conftest.err conftest.$ac_ext
7690 if $ac_preproc_ok; then :
7693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7695 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7696 See \`config.log' for more details" "$LINENO" 5; }
7700 ac_cpp='$CPP $CPPFLAGS'
7701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7707 $as_echo_n "checking for ANSI C header files... " >&6; }
7708 if ${ac_cv_header_stdc+:} false; then :
7709 $as_echo_n "(cached) " >&6
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7726 if ac_fn_c_try_compile "$LINENO"; then :
7727 ac_cv_header_stdc=yes
7729 ac_cv_header_stdc=no
7731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7733 if test $ac_cv_header_stdc = yes; then
7734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7741 $EGREP "memchr" >/dev/null 2>&1; then :
7744 ac_cv_header_stdc=no
7750 if test $ac_cv_header_stdc = yes; then
7751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7758 $EGREP "free" >/dev/null 2>&1; then :
7761 ac_cv_header_stdc=no
7767 if test $ac_cv_header_stdc = yes; then
7768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7769 if test "$cross_compiling" = yes; then :
7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7776 #if ((' ' & 0x0FF) == 0x020)
7777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7780 # define ISLOWER(c) \
7781 (('a' <= (c) && (c) <= 'i') \
7782 || ('j' <= (c) && (c) <= 'r') \
7783 || ('s' <= (c) && (c) <= 'z'))
7784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7792 for (i = 0; i < 256; i++)
7793 if (XOR (islower (i), ISLOWER (i))
7794 || toupper (i) != TOUPPER (i))
7799 if ac_fn_c_try_run "$LINENO"; then :
7802 ac_cv_header_stdc=no
7804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7805 conftest.$ac_objext conftest.beam conftest.$ac_ext
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7811 $as_echo "$ac_cv_header_stdc" >&6; }
7812 if test $ac_cv_header_stdc = yes; then
7814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7818 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7819 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7820 inttypes.h stdint.h unistd.h
7822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7825 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7835 for ac_header in dlfcn.h
7837 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7839 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_DLFCN_H 1
7853 # Check whether --enable-static was given.
7854 if test "${enable_static+set}" = set; then :
7855 enableval=$enable_static; p=${PACKAGE-default}
7857 yes) enable_static=yes ;;
7858 no) enable_static=no ;;
7861 # Look at the argument we got. We use all the common list separators.
7862 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7863 for pkg in $enableval; do
7865 if test "X$pkg" = "X$p"; then
7891 # Check whether --enable-shared was given.
7892 if test "${enable_shared+set}" = set; then :
7893 enableval=$enable_shared; p=${PACKAGE-default}
7895 yes) enable_shared=yes ;;
7896 no) enable_shared=no ;;
7899 # Look at the argument we got. We use all the common list separators.
7900 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7901 for pkg in $enableval; do
7903 if test "X$pkg" = "X$p"; then
7924 # Check whether --with-pic was given.
7925 if test "${with_pic+set}" = set; then :
7926 withval=$with_pic; lt_p=${PACKAGE-default}
7928 yes|no) pic_mode=$withval ;;
7931 # Look at the argument we got. We use all the common list separators.
7932 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7933 for lt_pkg in $withval; do
7935 if test "X$lt_pkg" = "X$lt_p"; then
7947 test -z "$pic_mode" && pic_mode=default
7955 # Check whether --enable-fast-install was given.
7956 if test "${enable_fast_install+set}" = set; then :
7957 enableval=$enable_fast_install; p=${PACKAGE-default}
7959 yes) enable_fast_install=yes ;;
7960 no) enable_fast_install=no ;;
7962 enable_fast_install=no
7963 # Look at the argument we got. We use all the common list separators.
7964 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7965 for pkg in $enableval; do
7967 if test "X$pkg" = "X$p"; then
7968 enable_fast_install=yes
7975 enable_fast_install=yes
7988 # This can be used to rebuild libtool when needed
7989 LIBTOOL_DEPS="$ltmain"
7991 # Always use our own libtool.
7992 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8023 test -z "$LN_S" && LN_S="ln -s"
8038 if test -n "${ZSH_VERSION+set}" ; then
8039 setopt NO_GLOB_SUBST
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8043 $as_echo_n "checking for objdir... " >&6; }
8044 if ${lt_cv_objdir+:} false; then :
8045 $as_echo_n "(cached) " >&6
8047 rm -f .libs 2>/dev/null
8048 mkdir .libs 2>/dev/null
8049 if test -d .libs; then
8052 # MS-DOS does not allow filenames that begin with a dot.
8055 rmdir .libs 2>/dev/null
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8058 $as_echo "$lt_cv_objdir" >&6; }
8059 objdir=$lt_cv_objdir
8065 cat >>confdefs.h <<_ACEOF
8066 #define LT_OBJDIR "$lt_cv_objdir/"
8074 # AIX sometimes has problems with the GCC collect2 program. For some
8075 # reason, if we set the COLLECT_NAMES environment variable, the problems
8076 # vanish in a puff of smoke.
8077 if test "X${COLLECT_NAMES+set}" != Xset; then
8079 export COLLECT_NAMES
8086 can_build_shared=yes
8088 # All known linkers require a `.a' archive for static linking (except MSVC,
8089 # which needs '.lib').
8092 with_gnu_ld="$lt_cv_prog_gnu_ld"
8095 old_CFLAGS="$CFLAGS"
8097 # Set sane defaults for various variables
8098 test -z "$CC" && CC=cc
8099 test -z "$LTCC" && LTCC=$CC
8100 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8101 test -z "$LD" && LD=ld
8102 test -z "$ac_objext" && ac_objext=o
8104 for cc_temp in $compiler""; do
8106 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8107 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8112 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8115 # Only perform the check for file, if the check method requires it
8116 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8117 case $deplibs_check_method in
8119 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8121 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8122 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8123 $as_echo_n "(cached) " >&6
8127 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8130 lt_save_MAGIC_CMD="$MAGIC_CMD"
8131 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8132 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8133 for ac_dir in $ac_dummy; do
8135 test -z "$ac_dir" && ac_dir=.
8136 if test -f $ac_dir/${ac_tool_prefix}file; then
8137 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8138 if test -n "$file_magic_test_file"; then
8139 case $deplibs_check_method in
8141 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8142 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8143 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8144 $EGREP "$file_magic_regex" > /dev/null; then
8149 *** Warning: the command libtool uses to detect shared libraries,
8150 *** $file_magic_cmd, produces output that libtool cannot recognize.
8151 *** The result is that libtool may fail to recognize shared libraries
8152 *** as such. This will affect the creation of libtool libraries that
8153 *** depend on shared libraries, but programs linked with such libtool
8154 *** libraries will work regardless of this problem. Nevertheless, you
8155 *** may want to report the problem to your system manager and/or to
8156 *** bug-libtool@gnu.org
8166 MAGIC_CMD="$lt_save_MAGIC_CMD"
8171 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8172 if test -n "$MAGIC_CMD"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8174 $as_echo "$MAGIC_CMD" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8184 if test -z "$lt_cv_path_MAGIC_CMD"; then
8185 if test -n "$ac_tool_prefix"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8187 $as_echo_n "checking for file... " >&6; }
8188 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8189 $as_echo_n "(cached) " >&6
8193 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8196 lt_save_MAGIC_CMD="$MAGIC_CMD"
8197 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8198 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8199 for ac_dir in $ac_dummy; do
8201 test -z "$ac_dir" && ac_dir=.
8202 if test -f $ac_dir/file; then
8203 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8204 if test -n "$file_magic_test_file"; then
8205 case $deplibs_check_method in
8207 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8209 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8210 $EGREP "$file_magic_regex" > /dev/null; then
8215 *** Warning: the command libtool uses to detect shared libraries,
8216 *** $file_magic_cmd, produces output that libtool cannot recognize.
8217 *** The result is that libtool may fail to recognize shared libraries
8218 *** as such. This will affect the creation of libtool libraries that
8219 *** depend on shared libraries, but programs linked with such libtool
8220 *** libraries will work regardless of this problem. Nevertheless, you
8221 *** may want to report the problem to your system manager and/or to
8222 *** bug-libtool@gnu.org
8232 MAGIC_CMD="$lt_save_MAGIC_CMD"
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if test -n "$MAGIC_CMD"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8240 $as_echo "$MAGIC_CMD" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8256 # Use C for the default configuration in the libtool script
8260 ac_cpp='$CPP $CPPFLAGS'
8261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8266 # Source file extension for C test sources.
8269 # Object file extension for compiled C test sources.
8273 # Code to be used in simple compile tests
8274 lt_simple_compile_test_code="int some_variable = 0;"
8276 # Code to be used in simple link tests
8277 lt_simple_link_test_code='int main(){return(0);}'
8285 # If no C compiler was specified, use CC.
8288 # If no C compiler flags were specified, use CFLAGS.
8289 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8291 # Allow CC to be a program name with arguments.
8294 # Save the default compiler, since it gets overwritten when the other
8295 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8296 compiler_DEFAULT=$CC
8298 # save warnings/boilerplate of simple test code
8299 ac_outfile=conftest.$ac_objext
8300 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8301 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8302 _lt_compiler_boilerplate=`cat conftest.err`
8305 ac_outfile=conftest.$ac_objext
8306 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8307 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8308 _lt_linker_boilerplate=`cat conftest.err`
8313 ## There is no encapsulation within the following macros, do not change
8314 ## the running order or otherwise move them around unless you know exactly
8315 ## what you are doing...
8316 if test -n "$compiler"; then
8318 lt_prog_compiler_no_builtin_flag=
8320 if test "$GCC" = yes; then
8321 case $cc_basename in
8323 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8325 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8329 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8330 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8331 $as_echo_n "(cached) " >&6
8333 lt_cv_prog_compiler_rtti_exceptions=no
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8336 lt_compiler_flag="-fno-rtti -fno-exceptions"
8337 # Insert the option either (1) after the last *FLAGS variable, or
8338 # (2) before a word containing "conftest.", or (3) at the end.
8339 # Note that $ac_compile itself does not contain backslashes and begins
8340 # with a dollar sign (not a hyphen), so the echo should work correctly.
8341 # The option is referenced via a variable to avoid confusing sed.
8342 lt_compile=`echo "$ac_compile" | $SED \
8343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345 -e 's:$: $lt_compiler_flag:'`
8346 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8347 (eval "$lt_compile" 2>conftest.err)
8349 cat conftest.err >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 if (exit $ac_status) && test -s "$ac_outfile"; then
8352 # The compiler can only warn and ignore the option if not recognized
8353 # So say no if there are warnings other than the usual output.
8354 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8357 lt_cv_prog_compiler_rtti_exceptions=yes
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8364 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8379 lt_prog_compiler_wl=
8380 lt_prog_compiler_pic=
8381 lt_prog_compiler_static=
8384 if test "$GCC" = yes; then
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_static='-static'
8390 # All AIX code is PIC.
8391 if test "$host_cpu" = ia64; then
8392 # AIX 5 now supports IA64 processor
8393 lt_prog_compiler_static='-Bstatic'
8400 # see comment about AmigaOS4 .so support
8401 lt_prog_compiler_pic='-fPIC'
8404 # FIXME: we need at least 68020 code to build shared libraries, but
8405 # adding the `-m68020' flag to GCC prevents building anything better,
8407 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8412 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8413 # PIC is the default for these OSes.
8416 mingw* | cygwin* | pw32* | os2* | cegcc*)
8417 # This hack is so that the source file can tell whether it is being
8418 # built for inclusion in a dll (and should export symbols for example).
8419 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8420 # (--disable-auto-import) libraries
8421 lt_prog_compiler_pic='-DDLL_EXPORT'
8424 darwin* | rhapsody*)
8425 # PIC is the default on this platform
8426 # Common symbols not allowed in MH_DYLIB files
8427 lt_prog_compiler_pic='-fno-common'
8431 # PIC is the default for Haiku.
8432 # The "-static" flag exists, but is broken.
8433 lt_prog_compiler_static=
8437 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8438 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8439 # sets the default TLS model and affects inlining.
8445 lt_prog_compiler_pic='-fPIC'
8451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8452 # Instead, we relocate shared libraries at runtime.
8456 # Just because we use GCC doesn't mean we suddenly get shared libraries
8457 # on systems that don't support them.
8458 lt_prog_compiler_can_build_shared=no
8463 # QNX uses GNU C++, but need to define -shared option too, otherwise
8465 lt_prog_compiler_pic='-fPIC -shared'
8469 if test -d /usr/nec; then
8470 lt_prog_compiler_pic=-Kconform_pic
8475 lt_prog_compiler_pic='-fPIC'
8479 case $cc_basename in
8480 nvcc*) # Cuda Compiler Driver 2.2
8481 lt_prog_compiler_wl='-Xlinker '
8482 if test -n "$lt_prog_compiler_pic"; then
8483 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8488 # PORTME Check for flag to pass linker flags through the system compiler.
8491 lt_prog_compiler_wl='-Wl,'
8492 if test "$host_cpu" = ia64; then
8493 # AIX 5 now supports IA64 processor
8494 lt_prog_compiler_static='-Bstatic'
8496 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8500 mingw* | cygwin* | pw32* | os2* | cegcc*)
8501 # This hack is so that the source file can tell whether it is being
8502 # built for inclusion in a dll (and should export symbols for example).
8503 lt_prog_compiler_pic='-DDLL_EXPORT'
8506 hpux9* | hpux10* | hpux11*)
8507 lt_prog_compiler_wl='-Wl,'
8508 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8515 lt_prog_compiler_pic='+Z'
8518 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8519 lt_prog_compiler_static='${wl}-a ${wl}archive'
8522 irix5* | irix6* | nonstopux*)
8523 lt_prog_compiler_wl='-Wl,'
8524 # PIC (with -KPIC) is the default.
8525 lt_prog_compiler_static='-non_shared'
8528 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8529 case $cc_basename in
8530 # old Intel for x86_64 which still supported -KPIC.
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='-KPIC'
8534 lt_prog_compiler_static='-static'
8536 # icc used to be incompatible with GCC.
8537 # ICC 10 doesn't accept -KPIC any more.
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-fPIC'
8541 lt_prog_compiler_static='-static'
8543 # Lahey Fortran 8.1.
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='--shared'
8547 lt_prog_compiler_static='--static'
8550 # NAG Fortran compiler
8551 lt_prog_compiler_wl='-Wl,-Wl,,'
8552 lt_prog_compiler_pic='-PIC'
8553 lt_prog_compiler_static='-Bstatic'
8555 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8556 # Portland Group compilers (*not* the Pentium gcc compiler,
8557 # which looks to be a dead project)
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='-fpic'
8560 lt_prog_compiler_static='-Bstatic'
8563 lt_prog_compiler_wl='-Wl,'
8564 # All Alpha code is PIC.
8565 lt_prog_compiler_static='-non_shared'
8567 xl* | bgxl* | bgf* | mpixl*)
8568 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8569 lt_prog_compiler_wl='-Wl,'
8570 lt_prog_compiler_pic='-qpic'
8571 lt_prog_compiler_static='-qstaticlink'
8574 case `$CC -V 2>&1 | sed 5q` in
8575 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8576 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8577 lt_prog_compiler_pic='-KPIC'
8578 lt_prog_compiler_static='-Bstatic'
8579 lt_prog_compiler_wl=''
8581 *Sun\ F* | *Sun*Fortran*)
8582 lt_prog_compiler_pic='-KPIC'
8583 lt_prog_compiler_static='-Bstatic'
8584 lt_prog_compiler_wl='-Qoption ld '
8588 lt_prog_compiler_pic='-KPIC'
8589 lt_prog_compiler_static='-Bstatic'
8590 lt_prog_compiler_wl='-Wl,'
8592 *Intel*\ [CF]*Compiler*)
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-fPIC'
8595 lt_prog_compiler_static='-static'
8598 lt_prog_compiler_wl='-Wl,'
8599 lt_prog_compiler_pic='-fpic'
8600 lt_prog_compiler_static='-Bstatic'
8608 lt_prog_compiler_pic='-KPIC'
8609 lt_prog_compiler_static='-Bstatic'
8613 # QNX uses GNU C++, but need to define -shared option too, otherwise
8615 lt_prog_compiler_pic='-fPIC -shared'
8618 osf3* | osf4* | osf5*)
8619 lt_prog_compiler_wl='-Wl,'
8620 # All OSF/1 code is PIC.
8621 lt_prog_compiler_static='-non_shared'
8625 lt_prog_compiler_static='-non_shared'
8629 lt_prog_compiler_pic='-KPIC'
8630 lt_prog_compiler_static='-Bstatic'
8631 case $cc_basename in
8632 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8633 lt_prog_compiler_wl='-Qoption ld ';;
8635 lt_prog_compiler_wl='-Wl,';;
8640 lt_prog_compiler_wl='-Qoption ld '
8641 lt_prog_compiler_pic='-PIC'
8642 lt_prog_compiler_static='-Bstatic'
8645 sysv4 | sysv4.2uw2* | sysv4.3*)
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-KPIC'
8648 lt_prog_compiler_static='-Bstatic'
8652 if test -d /usr/nec ;then
8653 lt_prog_compiler_pic='-Kconform_pic'
8654 lt_prog_compiler_static='-Bstatic'
8658 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-KPIC'
8661 lt_prog_compiler_static='-Bstatic'
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_can_build_shared=no
8670 lt_prog_compiler_pic='-pic'
8671 lt_prog_compiler_static='-Bstatic'
8675 lt_prog_compiler_can_build_shared=no
8681 # For platforms which do not support PIC, -DPIC is meaningless:
8683 lt_prog_compiler_pic=
8686 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8691 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8692 if ${lt_cv_prog_compiler_pic+:} false; then :
8693 $as_echo_n "(cached) " >&6
8695 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8698 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8699 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8702 # Check to make sure the PIC flag actually works.
8704 if test -n "$lt_prog_compiler_pic"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8706 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8707 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8708 $as_echo_n "(cached) " >&6
8710 lt_cv_prog_compiler_pic_works=no
8711 ac_outfile=conftest.$ac_objext
8712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8713 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8714 # Insert the option either (1) after the last *FLAGS variable, or
8715 # (2) before a word containing "conftest.", or (3) at the end.
8716 # Note that $ac_compile itself does not contain backslashes and begins
8717 # with a dollar sign (not a hyphen), so the echo should work correctly.
8718 # The option is referenced via a variable to avoid confusing sed.
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>conftest.err)
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 if (exit $ac_status) && test -s "$ac_outfile"; then
8729 # The compiler can only warn and ignore the option if not recognized
8730 # So say no if there are warnings other than the usual output.
8731 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8732 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8733 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8734 lt_cv_prog_compiler_pic_works=yes
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8741 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8743 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8744 case $lt_prog_compiler_pic in
8746 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8749 lt_prog_compiler_pic=
8750 lt_prog_compiler_can_build_shared=no
8766 # Check to make sure the static flag actually works.
8768 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8771 if ${lt_cv_prog_compiler_static_works+:} false; then :
8772 $as_echo_n "(cached) " >&6
8774 lt_cv_prog_compiler_static_works=no
8775 save_LDFLAGS="$LDFLAGS"
8776 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8777 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8778 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8779 # The linker can only warn and ignore the option if not recognized
8780 # So say no if there are warnings
8781 if test -s conftest.err; then
8782 # Append any errors to the config.log.
8783 cat conftest.err 1>&5
8784 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8786 if diff conftest.exp conftest.er2 >/dev/null; then
8787 lt_cv_prog_compiler_static_works=yes
8790 lt_cv_prog_compiler_static_works=yes
8794 LDFLAGS="$save_LDFLAGS"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8798 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8800 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8803 lt_prog_compiler_static=
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8814 if ${lt_cv_prog_compiler_c_o+:} false; then :
8815 $as_echo_n "(cached) " >&6
8817 lt_cv_prog_compiler_c_o=no
8818 $RM -r conftest 2>/dev/null
8822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8824 lt_compiler_flag="-o out/conftest2.$ac_objext"
8825 # Insert the option either (1) after the last *FLAGS variable, or
8826 # (2) before a word containing "conftest.", or (3) at the end.
8827 # Note that $ac_compile itself does not contain backslashes and begins
8828 # with a dollar sign (not a hyphen), so the echo should work correctly.
8829 lt_compile=`echo "$ac_compile" | $SED \
8830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832 -e 's:$: $lt_compiler_flag:'`
8833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834 (eval "$lt_compile" 2>out/conftest.err)
8836 cat out/conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8840 # The compiler can only warn and ignore the option if not recognized
8841 # So say no if there are warnings
8842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8845 lt_cv_prog_compiler_c_o=yes
8850 # SGI C++ compiler will create directory out/ii_files/ for
8851 # template instantiation
8852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8853 $RM out/* && rmdir out
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8869 if ${lt_cv_prog_compiler_c_o+:} false; then :
8870 $as_echo_n "(cached) " >&6
8872 lt_cv_prog_compiler_c_o=no
8873 $RM -r conftest 2>/dev/null
8877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8879 lt_compiler_flag="-o out/conftest2.$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out/conftest.err)
8891 cat out/conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_c_o=yes
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908 $RM out/* && rmdir out
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8920 hard_links="nottested"
8921 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8922 # do not overwrite the value of need_locks provided by the user
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8924 $as_echo_n "checking if we can lock with hard links... " >&6; }
8927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8929 ln conftest.a conftest.b 2>&5 || hard_links=no
8930 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8932 $as_echo "$hard_links" >&6; }
8933 if test "$hard_links" = no; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8935 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8948 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8951 allow_undefined_flag=
8952 always_export_symbols=no
8954 archive_expsym_cmds=
8955 compiler_needs_object=no
8956 enable_shared_with_static_runtimes=no
8957 export_dynamic_flag_spec=
8958 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8959 hardcode_automatic=no
8961 hardcode_direct_absolute=no
8962 hardcode_libdir_flag_spec=
8963 hardcode_libdir_separator=
8965 hardcode_shlibpath_var=unsupported
8967 link_all_deplibs=unknown
8970 old_archive_from_new_cmds=
8971 old_archive_from_expsyms_cmds=
8972 thread_safe_flag_spec=
8973 whole_archive_flag_spec=
8974 # include_expsyms should be a list of space-separated symbols to be *always*
8975 # included in the symbol list
8977 # exclude_expsyms can be an extended regexp of symbols to exclude
8978 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8979 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8980 # as well as any symbol that contains `d'.
8981 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8982 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8983 # platforms (ab)use it in PIC code, but their linkers get confused if
8984 # the symbol is explicitly referenced. Since portable code cannot
8985 # rely on this symbol name, it's probably fine to never include it in
8986 # preloaded symbol tables.
8987 # Exclude shared library initialization/finalization symbols.
8988 extract_expsyms_cmds=
8991 cygwin* | mingw* | pw32* | cegcc*)
8992 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8993 # When not using gcc, we currently assume that we are using
8994 # Microsoft Visual C++.
8995 if test "$GCC" != yes; then
9000 # we just hope/assume this is gcc and not c89 (= MSVC++)
9006 linux* | k*bsd*-gnu | gnu*)
9013 # On some targets, GNU ld is compatible enough with the native linker
9014 # that we're better off using the native interface for both.
9015 lt_use_gnu_ld_interface=no
9016 if test "$with_gnu_ld" = yes; then
9019 # The AIX port of GNU ld has always aspired to compatibility
9020 # with the native linker. However, as the warning in the GNU ld
9021 # block says, versions before 2.19.5* couldn't really create working
9022 # shared libraries, regardless of the interface used.
9023 case `$LD -v 2>&1` in
9024 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9025 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9026 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9028 lt_use_gnu_ld_interface=yes
9033 lt_use_gnu_ld_interface=yes
9038 if test "$lt_use_gnu_ld_interface" = yes; then
9039 # If archive_cmds runs LD, not CC, wlarc should be empty
9042 # Set some defaults for GNU ld with shared library support. These
9043 # are reset later if shared libraries are not supported. Putting them
9044 # here allows them to be overridden if necessary.
9045 runpath_var=LD_RUN_PATH
9046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9047 export_dynamic_flag_spec='${wl}--export-dynamic'
9048 # ancient GNU ld didn't support --whole-archive et. al.
9049 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9050 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9052 whole_archive_flag_spec=
9054 supports_anon_versioning=no
9055 case `$LD -v 2>&1` in
9056 *GNU\ gold*) supports_anon_versioning=yes ;;
9057 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9058 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9059 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9060 *\ 2.11.*) ;; # other 2.11 versions
9061 *) supports_anon_versioning=yes ;;
9064 # See if GNU ld supports shared libraries.
9067 # On AIX/PPC, the GNU linker is very broken
9068 if test "$host_cpu" != ia64; then
9072 *** Warning: the GNU linker, at least up to release 2.19, is reported
9073 *** to be unable to reliably create shared libraries on AIX.
9074 *** Therefore, libtool is disabling shared libraries support. If you
9075 *** really care for shared libraries, you may want to install binutils
9076 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9077 *** You will then need to restart the configuration process.
9086 # see comment about AmigaOS4 .so support
9087 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088 archive_expsym_cmds=''
9091 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)'
9092 hardcode_libdir_flag_spec='-L$libdir'
9093 hardcode_minus_L=yes
9099 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9100 allow_undefined_flag=unsupported
9101 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9102 # support --undefined. This deserves some investigation. FIXME
9103 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109 cygwin* | mingw* | pw32* | cegcc*)
9110 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9111 # as there is no search path for DLLs.
9112 hardcode_libdir_flag_spec='-L$libdir'
9113 export_dynamic_flag_spec='${wl}--export-all-symbols'
9114 allow_undefined_flag=unsupported
9115 always_export_symbols=no
9116 enable_shared_with_static_runtimes=yes
9117 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'
9118 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9120 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9122 # If the export-symbols file already is a .def file (1st line
9123 # is EXPORTS), use it as is; otherwise, prepend...
9124 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9125 cp $export_symbols $output_objdir/$soname.def;
9127 echo EXPORTS > $output_objdir/$soname.def;
9128 cat $export_symbols >> $output_objdir/$soname.def;
9130 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138 link_all_deplibs=yes
9143 hardcode_shlibpath_var=no
9144 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9145 export_dynamic_flag_spec='${wl}-E'
9146 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9147 # Instead, shared libraries are loaded at an image base (0x10000000 by
9148 # default) and relocated if they conflict, which is a slow very memory
9149 # consuming and fragmenting process. To avoid this, we pick a random,
9150 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9151 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9152 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9153 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'
9156 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9158 if test "$host_os" = linux-dietlibc; then
9159 case $cc_basename in
9160 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9163 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9164 && test "$tmp_diet" = no
9166 tmp_addflag=' $pic_flag'
9167 tmp_sharedflag='-shared'
9168 case $cc_basename,$host_cpu in
9169 pgcc*) # Portland Group C compiler
9170 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'
9171 tmp_addflag=' $pic_flag'
9173 pgf77* | pgf90* | pgf95* | pgfortran*)
9174 # Portland Group f77 and f90 compilers
9175 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'
9176 tmp_addflag=' $pic_flag -Mnomain' ;;
9177 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9178 tmp_addflag=' -i_dynamic' ;;
9179 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9180 tmp_addflag=' -i_dynamic -nofor_main' ;;
9181 ifc* | ifort*) # Intel Fortran compiler
9182 tmp_addflag=' -nofor_main' ;;
9183 lf95*) # Lahey Fortran 8.1
9184 whole_archive_flag_spec=
9185 tmp_sharedflag='--shared' ;;
9186 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9187 tmp_sharedflag='-qmkshrobj'
9189 nvcc*) # Cuda Compiler Driver 2.2
9190 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'
9191 compiler_needs_object=yes
9194 case `$CC -V 2>&1 | sed 5q` in
9195 *Sun\ C*) # Sun C 5.9
9196 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'
9197 compiler_needs_object=yes
9198 tmp_sharedflag='-G' ;;
9199 *Sun\ F*) # Sun Fortran 8.3
9200 tmp_sharedflag='-G' ;;
9202 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204 if test "x$supports_anon_versioning" = xyes; then
9205 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9206 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9207 echo "local: *; };" >> $output_objdir/$libname.ver~
9208 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9211 case $cc_basename in
9212 xlf* | bgf* | bgxlf* | mpixlf*)
9213 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9214 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9217 if test "x$supports_anon_versioning" = xyes; then
9218 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220 echo "local: *; };" >> $output_objdir/$libname.ver~
9221 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9230 netbsd* | netbsdelf*-gnu)
9231 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9232 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9235 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9241 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9245 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9246 *** create shared libraries on Solaris systems. Therefore, libtool
9247 *** is disabling shared libraries support. We urge you to upgrade GNU
9248 *** binutils to release 2.9.1 or newer. Another option is to modify
9249 *** your PATH or compiler configuration so that the native linker is
9250 *** used, and then restart.
9253 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9254 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9262 case `$LD -v 2>&1` in
9263 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9267 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9268 *** reliably create shared libraries on SCO systems. Therefore, libtool
9269 *** is disabling shared libraries support. We urge you to upgrade GNU
9270 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9271 *** your PATH or compiler configuration so that the native linker is
9272 *** used, and then restart.
9277 # For security reasons, it is highly recommended that you always
9278 # use absolute paths for naming shared libraries, and exclude the
9279 # DT_RUNPATH tag from executables and libraries. But doing so
9280 # requires that you compile everything twice, which is a pain.
9281 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9282 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9284 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9293 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_shlibpath_var=no
9300 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9309 if test "$ld_shlibs" = no; then
9311 hardcode_libdir_flag_spec=
9312 export_dynamic_flag_spec=
9313 whole_archive_flag_spec=
9316 # PORTME fill in a description of your system's linker (not GNU ld)
9319 allow_undefined_flag=unsupported
9320 always_export_symbols=yes
9321 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'
9322 # Note: this linker hardcodes the directories in LIBPATH if there
9323 # are no directories specified by -L.
9324 hardcode_minus_L=yes
9325 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9326 # Neither direct hardcoding nor static linking is supported with a
9328 hardcode_direct=unsupported
9333 if test "$host_cpu" = ia64; then
9334 # On IA64, the linker does run time linking by default, so we don't
9335 # have to do anything special.
9336 aix_use_runtimelinking=no
9337 exp_sym_flag='-Bexport'
9340 # If we're using GNU nm, then we don't want the "-C" option.
9341 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9342 # Also, AIX nm treats weak defined symbols like other global
9343 # defined symbols, whereas GNU nm marks them as "W".
9344 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9345 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'
9347 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'
9349 aix_use_runtimelinking=no
9351 # Test if we are trying to use run time linking or normal
9352 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9353 # need to do runtime linking.
9354 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9355 for ld_flag in $LDFLAGS; do
9356 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9357 aix_use_runtimelinking=yes
9364 exp_sym_flag='-bexport'
9365 no_entry_flag='-bnoentry'
9368 # When large executables or shared objects are built, AIX ld can
9369 # have problems creating the table of contents. If linking a library
9370 # or program results in "error TOC overflow" add -mminimal-toc to
9371 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9372 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9376 hardcode_direct_absolute=yes
9377 hardcode_libdir_separator=':'
9378 link_all_deplibs=yes
9379 file_list_spec='${wl}-f,'
9381 if test "$GCC" = yes; then
9382 case $host_os in aix4.[012]|aix4.[012].*)
9383 # We only want to do this on AIX 4.2 and lower, the check
9384 # below for broken collect2 doesn't work under 4.3+
9385 collect2name=`${CC} -print-prog-name=collect2`
9386 if test -f "$collect2name" &&
9387 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9389 # We have reworked collect2
9392 # We have old collect2
9393 hardcode_direct=unsupported
9394 # It fails to find uninstalled libraries when the uninstalled
9395 # path is not listed in the libpath. Setting hardcode_minus_L
9396 # to unsupported forces relinking
9397 hardcode_minus_L=yes
9398 hardcode_libdir_flag_spec='-L$libdir'
9399 hardcode_libdir_separator=
9403 shared_flag='-shared'
9404 if test "$aix_use_runtimelinking" = yes; then
9405 shared_flag="$shared_flag "'${wl}-G'
9410 if test "$host_cpu" = ia64; then
9411 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9412 # chokes on -Wl,-G. The following line is correct:
9415 if test "$aix_use_runtimelinking" = yes; then
9416 shared_flag='${wl}-G'
9418 shared_flag='${wl}-bM:SRE'
9423 export_dynamic_flag_spec='${wl}-bexpall'
9424 # It seems that -bexpall does not export symbols beginning with
9425 # underscore (_), so it is better to generate a list of symbols to export.
9426 always_export_symbols=yes
9427 if test "$aix_use_runtimelinking" = yes; then
9428 # Warning - without using the other runtime loading flags (-brtl),
9429 # -berok will link without error, but may produce a broken library.
9430 allow_undefined_flag='-berok'
9431 # Determine the default libpath from the value encoded in an
9433 if test "${lt_cv_aix_libpath+set}" = set; then
9434 aix_libpath=$lt_cv_aix_libpath
9436 if ${lt_cv_aix_libpath_+:} false; then :
9437 $as_echo_n "(cached) " >&6
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9450 if ac_fn_c_try_link "$LINENO"; then :
9452 lt_aix_libpath_sed='
9453 /Import File Strings/,/^$/ {
9455 s/^0 *\([^ ]*\) *$/\1/
9459 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9460 # Check for a 64-bit object if we didn't find anything.
9461 if test -z "$lt_cv_aix_libpath_"; then
9462 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 if test -z "$lt_cv_aix_libpath_"; then
9468 lt_cv_aix_libpath_="/usr/lib:/lib"
9473 aix_libpath=$lt_cv_aix_libpath_
9476 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9477 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"
9479 if test "$host_cpu" = ia64; then
9480 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9481 allow_undefined_flag="-z nodefs"
9482 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"
9484 # Determine the default libpath from the value encoded in an
9486 if test "${lt_cv_aix_libpath+set}" = set; then
9487 aix_libpath=$lt_cv_aix_libpath
9489 if ${lt_cv_aix_libpath_+:} false; then :
9490 $as_echo_n "(cached) " >&6
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9503 if ac_fn_c_try_link "$LINENO"; then :
9505 lt_aix_libpath_sed='
9506 /Import File Strings/,/^$/ {
9508 s/^0 *\([^ ]*\) *$/\1/
9512 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9513 # Check for a 64-bit object if we didn't find anything.
9514 if test -z "$lt_cv_aix_libpath_"; then
9515 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9518 rm -f core conftest.err conftest.$ac_objext \
9519 conftest$ac_exeext conftest.$ac_ext
9520 if test -z "$lt_cv_aix_libpath_"; then
9521 lt_cv_aix_libpath_="/usr/lib:/lib"
9526 aix_libpath=$lt_cv_aix_libpath_
9529 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9530 # Warning - without using the other run time loading flags,
9531 # -berok will link without error, but may produce a broken library.
9532 no_undefined_flag=' ${wl}-bernotok'
9533 allow_undefined_flag=' ${wl}-berok'
9534 if test "$with_gnu_ld" = yes; then
9535 # We only use this code for GNU lds that support --whole-archive.
9536 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9538 # Exported symbols can be pulled into shared objects from archives
9539 whole_archive_flag_spec='$convenience'
9541 archive_cmds_need_lc=yes
9542 # This is similar to how AIX traditionally builds its shared libraries.
9543 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'
9551 # see comment about AmigaOS4 .so support
9552 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds=''
9556 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)'
9557 hardcode_libdir_flag_spec='-L$libdir'
9558 hardcode_minus_L=yes
9564 export_dynamic_flag_spec=-rdynamic
9567 cygwin* | mingw* | pw32* | cegcc*)
9568 # When not using gcc, we currently assume that we are using
9569 # Microsoft Visual C++.
9570 # hardcode_libdir_flag_spec is actually meaningless, as there is
9571 # no search path for DLLs.
9572 case $cc_basename in
9575 hardcode_libdir_flag_spec=' '
9576 allow_undefined_flag=unsupported
9577 always_export_symbols=yes
9579 # Tell ltmain to make .lib files, not .a files.
9581 # Tell ltmain to make .dll files, not .so files.
9583 # FIXME: Setting linknames here is a bad hack.
9584 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9585 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9586 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9588 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9590 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9592 # The linker will not automatically build a static lib if we build a DLL.
9593 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9594 enable_shared_with_static_runtimes=yes
9595 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9596 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9598 old_postinstall_cmds='chmod 644 $oldlib'
9599 postlink_cmds='lt_outputfile="@OUTPUT@"~
9600 lt_tool_outputfile="@TOOL_OUTPUT@"~
9601 case $lt_outputfile in
9604 lt_outputfile="$lt_outputfile.exe"
9605 lt_tool_outputfile="$lt_tool_outputfile.exe"
9608 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9609 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9610 $RM "$lt_outputfile.manifest";
9614 # Assume MSVC wrapper
9615 hardcode_libdir_flag_spec=' '
9616 allow_undefined_flag=unsupported
9617 # Tell ltmain to make .lib files, not .a files.
9619 # Tell ltmain to make .dll files, not .so files.
9621 # FIXME: Setting linknames here is a bad hack.
9622 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9623 # The linker will automatically build a .lib file if we build a DLL.
9624 old_archive_from_new_cmds='true'
9625 # FIXME: Should let the user specify the lib program.
9626 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9627 enable_shared_with_static_runtimes=yes
9632 darwin* | rhapsody*)
9635 archive_cmds_need_lc=no
9637 hardcode_automatic=yes
9638 hardcode_shlibpath_var=unsupported
9639 if test "$lt_cv_ld_force_load" = "yes"; then
9640 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\"`'
9643 whole_archive_flag_spec=''
9645 link_all_deplibs=yes
9646 allow_undefined_flag="$_lt_dar_allow_undefined"
9647 case $cc_basename in
9648 ifort*) _lt_dar_can_shared=yes ;;
9649 *) _lt_dar_can_shared=$GCC ;;
9651 if test "$_lt_dar_can_shared" = "yes"; then
9652 output_verbose_link_cmd=func_echo_all
9653 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9654 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9655 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}"
9656 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}"
9665 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_libdir_flag_spec='-L$libdir'
9667 hardcode_shlibpath_var=no
9670 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9671 # support. Future versions do this automatically, but an explicit c++rt0.o
9672 # does not break anything, and helps significantly (at the cost of a little
9675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9676 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_shlibpath_var=no
9681 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9683 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_minus_L=yes
9686 hardcode_shlibpath_var=no
9689 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9690 freebsd* | dragonfly*)
9691 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9692 hardcode_libdir_flag_spec='-R$libdir'
9694 hardcode_shlibpath_var=no
9698 if test "$GCC" = yes; then
9699 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'
9701 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'
9703 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704 hardcode_libdir_separator=:
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L=yes
9710 export_dynamic_flag_spec='${wl}-E'
9714 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9715 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9719 if test "$with_gnu_ld" = no; then
9720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721 hardcode_libdir_separator=:
9723 hardcode_direct_absolute=yes
9724 export_dynamic_flag_spec='${wl}-E'
9725 # hardcode_minus_L: Not really in the search PATH,
9726 # but as the default location of the library.
9727 hardcode_minus_L=yes
9732 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9741 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9754 # Older versions of the 11.00 compiler do not understand -b yet
9755 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9757 $as_echo_n "checking if $CC understands -b... " >&6; }
9758 if ${lt_cv_prog_compiler__b+:} false; then :
9759 $as_echo_n "(cached) " >&6
9761 lt_cv_prog_compiler__b=no
9762 save_LDFLAGS="$LDFLAGS"
9763 LDFLAGS="$LDFLAGS -b"
9764 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9765 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9766 # The linker can only warn and ignore the option if not recognized
9767 # So say no if there are warnings
9768 if test -s conftest.err; then
9769 # Append any errors to the config.log.
9770 cat conftest.err 1>&5
9771 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9773 if diff conftest.exp conftest.er2 >/dev/null; then
9774 lt_cv_prog_compiler__b=yes
9777 lt_cv_prog_compiler__b=yes
9781 LDFLAGS="$save_LDFLAGS"
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9785 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9787 if test x"$lt_cv_prog_compiler__b" = xyes; then
9788 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796 if test "$with_gnu_ld" = no; then
9797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798 hardcode_libdir_separator=:
9803 hardcode_shlibpath_var=no
9807 hardcode_direct_absolute=yes
9808 export_dynamic_flag_spec='${wl}-E'
9810 # hardcode_minus_L: Not really in the search PATH,
9811 # but as the default location of the library.
9812 hardcode_minus_L=yes
9818 irix5* | irix6* | nonstopux*)
9819 if test "$GCC" = yes; then
9820 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'
9821 # Try to use the -exported_symbol ld option, if it does not
9822 # work, assume that -exports_file does not work either and
9823 # implicitly export all symbols.
9824 # This should be the same for all languages, so no per-tag cache variable.
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9826 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9827 if ${lt_cv_irix_exported_symbol+:} false; then :
9828 $as_echo_n "(cached) " >&6
9830 save_LDFLAGS="$LDFLAGS"
9831 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 int foo (void) { return 0; }
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 lt_cv_irix_exported_symbol=yes
9839 lt_cv_irix_exported_symbol=no
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 LDFLAGS="$save_LDFLAGS"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9846 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9847 if test "$lt_cv_irix_exported_symbol" = yes; then
9848 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'
9851 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'
9852 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'
9854 archive_cmds_need_lc='no'
9855 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9856 hardcode_libdir_separator=:
9858 link_all_deplibs=yes
9861 netbsd* | netbsdelf*-gnu)
9862 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9863 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9865 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9867 hardcode_libdir_flag_spec='-R$libdir'
9869 hardcode_shlibpath_var=no
9873 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9876 hardcode_libdir_separator=:
9877 hardcode_shlibpath_var=no
9884 if test -f /usr/libexec/ld.so; then
9886 hardcode_shlibpath_var=no
9887 hardcode_direct_absolute=yes
9888 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9889 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9891 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9892 export_dynamic_flag_spec='${wl}-E'
9895 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9896 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_libdir_flag_spec='-R$libdir'
9900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9911 hardcode_libdir_flag_spec='-L$libdir'
9912 hardcode_minus_L=yes
9913 allow_undefined_flag=unsupported
9914 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'
9915 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9919 if test "$GCC" = yes; then
9920 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9921 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'
9923 allow_undefined_flag=' -expect_unresolved \*'
9924 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'
9926 archive_cmds_need_lc='no'
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9931 osf4* | osf5*) # as osf3* with the addition of -msym flag
9932 if test "$GCC" = yes; then
9933 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9934 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'
9935 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 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'
9939 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~
9940 $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'
9942 # Both c and cxx compiler support -rpath directly
9943 hardcode_libdir_flag_spec='-rpath $libdir'
9945 archive_cmds_need_lc='no'
9946 hardcode_libdir_separator=:
9950 no_undefined_flag=' -z defs'
9951 if test "$GCC" = yes; then
9953 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9954 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9955 $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'
9957 case `$CC -V 2>&1` in
9960 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9962 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9966 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9968 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9972 hardcode_libdir_flag_spec='-R$libdir'
9973 hardcode_shlibpath_var=no
9975 solaris2.[0-5] | solaris2.[0-5].*) ;;
9977 # The compiler driver will combine and reorder linker options,
9978 # but understands `-z linker_flag'. GCC discards it without `$wl',
9979 # but is careful enough not to reorder.
9980 # Supported since Solaris 2.6 (maybe 2.5.1?)
9981 if test "$GCC" = yes; then
9982 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9984 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9988 link_all_deplibs=yes
9992 if test "x$host_vendor" = xsequent; then
9993 # Use $CC to link under sequent, because it throws in some extra .o
9994 # files that make .init and .fini sections work.
9995 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9997 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9999 hardcode_libdir_flag_spec='-L$libdir'
10000 hardcode_direct=yes
10001 hardcode_minus_L=yes
10002 hardcode_shlibpath_var=no
10006 case $host_vendor in
10008 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10009 hardcode_direct=yes # is this really true???
10012 ## LD is ld it makes a PLAMLIB
10013 ## CC just makes a GrossModule.
10014 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10015 reload_cmds='$CC -r -o $output$reload_objs'
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10023 runpath_var='LD_RUN_PATH'
10024 hardcode_shlibpath_var=no
10028 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_shlibpath_var=no
10030 export_dynamic_flag_spec='-Bexport'
10034 if test -d /usr/nec; then
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_shlibpath_var=no
10037 runpath_var=LD_RUN_PATH
10038 hardcode_runpath_var=yes
10043 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10044 no_undefined_flag='${wl}-z,text'
10045 archive_cmds_need_lc=no
10046 hardcode_shlibpath_var=no
10047 runpath_var='LD_RUN_PATH'
10049 if test "$GCC" = yes; then
10050 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10051 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10058 sysv5* | sco3.2v5* | sco5v6*)
10059 # Note: We can NOT use -z defs as we might desire, because we do not
10060 # link with -lc, and that would cause any symbols used from libc to
10061 # always be unresolved, which means just about no library would
10062 # ever link correctly. If we're not using GNU ld we use -z text
10063 # though, which does catch some bad symbols but isn't as heavy-handed
10065 no_undefined_flag='${wl}-z,text'
10066 allow_undefined_flag='${wl}-z,nodefs'
10067 archive_cmds_need_lc=no
10068 hardcode_shlibpath_var=no
10069 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10070 hardcode_libdir_separator=':'
10071 link_all_deplibs=yes
10072 export_dynamic_flag_spec='${wl}-Bexport'
10073 runpath_var='LD_RUN_PATH'
10075 if test "$GCC" = yes; then
10076 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_libdir_flag_spec='-L$libdir'
10087 hardcode_shlibpath_var=no
10095 if test x$host_vendor = xsni; then
10097 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10098 export_dynamic_flag_spec='${wl}-Blargedynsym'
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10105 $as_echo "$ld_shlibs" >&6; }
10106 test "$ld_shlibs" = no && can_build_shared=no
10108 with_gnu_ld=$with_gnu_ld
10125 # Do we need to explicitly link libc?
10127 case "x$archive_cmds_need_lc" in
10129 # Assume -lc should be added
10130 archive_cmds_need_lc=yes
10132 if test "$enable_shared" = yes && test "$GCC" = yes; then
10133 case $archive_cmds in
10135 # FIXME: we may have to deal with multi-command sequences.
10138 # Test whether the compiler implicitly links with -lc since on some
10139 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10140 # to ld, don't add -lc before -lgcc.
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10142 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10143 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10144 $as_echo_n "(cached) " >&6
10147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10150 (eval $ac_compile) 2>&5
10152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10153 test $ac_status = 0; } 2>conftest.err; then
10156 libobjs=conftest.$ac_objext
10158 wl=$lt_prog_compiler_wl
10159 pic_flag=$lt_prog_compiler_pic
10165 lt_save_allow_undefined_flag=$allow_undefined_flag
10166 allow_undefined_flag=
10167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10168 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171 test $ac_status = 0; }
10173 lt_cv_archive_cmds_need_lc=no
10175 lt_cv_archive_cmds_need_lc=yes
10177 allow_undefined_flag=$lt_save_allow_undefined_flag
10179 cat conftest.err 1>&5
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10185 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10186 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10345 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10347 if test "$GCC" = yes; then
10349 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10350 *) lt_awk_arg="/^libraries:/" ;;
10353 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10354 *) lt_sed_strip_eq="s,=/,/,g" ;;
10356 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10357 case $lt_search_path_spec in
10359 # if the path contains ";" then we assume it to be the separator
10360 # otherwise default to the standard path separator (i.e. ":") - it is
10361 # assumed that no part of a normal pathname contains ";" but that should
10362 # okay in the real world where ";" in dirpaths is itself problematic.
10363 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10366 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10369 # Ok, now we have the path, separated by spaces, we can step through it
10370 # and add multilib dir if necessary.
10371 lt_tmp_lt_search_path_spec=
10372 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10373 for lt_sys_path in $lt_search_path_spec; do
10374 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10375 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10377 test -d "$lt_sys_path" && \
10378 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10381 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10382 BEGIN {RS=" "; FS="/|\n";} {
10385 for (lt_i = NF; lt_i > 0; lt_i--) {
10386 if ($lt_i != "" && $lt_i != ".") {
10387 if ($lt_i == "..") {
10390 if (lt_count == 0) {
10391 lt_foo="/" $lt_i lt_foo;
10398 if (lt_foo != "") { lt_freq[lt_foo]++; }
10399 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10401 # AWK program above erroneously prepends '/' to C:/dos/paths
10404 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10405 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10407 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10409 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10411 library_names_spec=
10412 libname_spec='lib$name'
10416 postuninstall_cmds=
10420 shlibpath_overrides_runpath=unknown
10422 dynamic_linker="$host_os ld.so"
10423 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10424 need_lib_prefix=unknown
10425 hardcode_into_libs=no
10427 # when you set need_version to no, make sure it does not cause -set_version
10428 # flags to be left without arguments
10429 need_version=unknown
10433 version_type=linux # correct to gnu/linux during the next big refactor
10434 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10435 shlibpath_var=LIBPATH
10437 # AIX 3 has no versioning support, so we append a major version to the name.
10438 soname_spec='${libname}${release}${shared_ext}$major'
10442 version_type=linux # correct to gnu/linux during the next big refactor
10445 hardcode_into_libs=yes
10446 if test "$host_cpu" = ia64; then
10447 # AIX 5 supports IA64
10448 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10449 shlibpath_var=LD_LIBRARY_PATH
10451 # With GCC up to 2.95.x, collect2 would create an import file
10452 # for dependence libraries. The import file would start with
10453 # the line `#! .'. This would cause the generated library to
10454 # depend on `.', always an invalid library. This was fixed in
10455 # development snapshots of GCC prior to 3.0.
10457 aix4 | aix4.[01] | aix4.[01].*)
10458 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10460 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10463 can_build_shared=no
10467 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10468 # soname into executable. Probably we can add versioning support to
10469 # collect2, so additional links can be useful in future.
10470 if test "$aix_use_runtimelinking" = yes; then
10471 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10472 # instead of lib<name>.a to let people know that these are not
10473 # typical AIX shared libraries.
10474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 # We preserve .a as extension for shared libraries through AIX4.2
10477 # and later when we are not doing run time linking.
10478 library_names_spec='${libname}${release}.a $libname.a'
10479 soname_spec='${libname}${release}${shared_ext}$major'
10481 shlibpath_var=LIBPATH
10488 # Since July 2007 AmigaOS4 officially supports .so libraries.
10489 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 library_names_spec='$libname.ixlibrary $libname.a'
10494 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10495 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'
10501 library_names_spec='${libname}${shared_ext}'
10502 dynamic_linker="$host_os ld.so"
10503 shlibpath_var=LIBRARY_PATH
10507 version_type=linux # correct to gnu/linux during the next big refactor
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec='${libname}${release}${shared_ext}$major'
10511 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10512 shlibpath_var=LD_LIBRARY_PATH
10513 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10514 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10515 # the default ld.so.conf also contains /usr/contrib/lib and
10516 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10517 # libtool to hard-code these into programs
10520 cygwin* | mingw* | pw32* | cegcc*)
10521 version_type=windows
10526 case $GCC,$cc_basename in
10529 library_names_spec='$libname.dll.a'
10530 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10531 postinstall_cmds='base_file=`basename \${file}`~
10532 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10533 dldir=$destdir/`dirname \$dlpath`~
10534 test -d \$dldir || mkdir -p \$dldir~
10535 $install_prog $dir/$dlname \$dldir/$dlname~
10536 chmod a+x \$dldir/$dlname~
10537 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10538 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10540 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10541 dlpath=$dir/\$dldll~
10543 shlibpath_overrides_runpath=yes
10547 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10548 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10550 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10553 # MinGW DLLs use traditional 'lib' prefix
10554 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10557 # pw32 DLLs use 'pw' prefix rather than 'lib'
10558 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561 dynamic_linker='Win32 ld.exe'
10566 libname_spec='$name'
10567 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 library_names_spec='${libname}.dll.lib'
10572 sys_lib_search_path_spec=
10575 for lt_path in $LIB
10578 # Let DOS variable expansion print the short 8.3 style file name.
10579 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10580 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10583 # Convert to MSYS style.
10584 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10587 # Convert to unix form, then to dos form, then back to unix form
10588 # but this time dos style (no spaces!) so that the unix form looks
10589 # like /cygdrive/c/PROGRA~1:/cygdr...
10590 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10591 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10592 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10595 sys_lib_search_path_spec="$LIB"
10596 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10597 # It is most probably a Windows format PATH.
10598 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10600 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10602 # FIXME: find the short name or the path components, as spaces are
10603 # common. (e.g. "Program Files" -> "PROGRA~1")
10607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10608 postinstall_cmds='base_file=`basename \${file}`~
10609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10610 dldir=$destdir/`dirname \$dlpath`~
10611 test -d \$dldir || mkdir -p \$dldir~
10612 $install_prog $dir/$dlname \$dldir/$dlname'
10613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10614 dlpath=$dir/\$dldll~
10616 shlibpath_overrides_runpath=yes
10617 dynamic_linker='Win32 link.exe'
10621 # Assume MSVC wrapper
10622 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10623 dynamic_linker='Win32 ld.exe'
10626 # FIXME: first we should search . and the directory the executable is in
10630 darwin* | rhapsody*)
10631 dynamic_linker="$host_os dyld"
10632 version_type=darwin
10635 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10636 soname_spec='${libname}${release}${major}$shared_ext'
10637 shlibpath_overrides_runpath=yes
10638 shlibpath_var=DYLD_LIBRARY_PATH
10639 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10641 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10642 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10646 version_type=linux # correct to gnu/linux during the next big refactor
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 shlibpath_var=LD_LIBRARY_PATH
10654 freebsd* | dragonfly*)
10655 # DragonFly does not have aout. When/if they implement a new
10656 # versioning mechanism, adjust this.
10657 if test -x /usr/bin/objformat; then
10658 objformat=`/usr/bin/objformat`
10661 freebsd[23].*) objformat=aout ;;
10662 *) objformat=elf ;;
10665 version_type=freebsd-$objformat
10666 case $version_type in
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10677 shlibpath_var=LD_LIBRARY_PATH
10680 shlibpath_overrides_runpath=yes
10682 freebsd3.[01]* | freebsdelf3.[01]*)
10683 shlibpath_overrides_runpath=yes
10684 hardcode_into_libs=yes
10686 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10687 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10688 shlibpath_overrides_runpath=no
10689 hardcode_into_libs=yes
10691 *) # from 4.6 on, and DragonFly
10692 shlibpath_overrides_runpath=yes
10693 hardcode_into_libs=yes
10699 version_type=linux # correct to gnu/linux during the next big refactor
10702 dynamic_linker="$host_os runtime_loader"
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 shlibpath_var=LIBRARY_PATH
10706 shlibpath_overrides_runpath=yes
10707 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10708 hardcode_into_libs=yes
10711 hpux9* | hpux10* | hpux11*)
10712 # Give a soname corresponding to the major version so that dld.sl refuses to
10713 # link against other versions.
10720 hardcode_into_libs=yes
10721 dynamic_linker="$host_os dld.so"
10722 shlibpath_var=LD_LIBRARY_PATH
10723 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 if test "X$HPUX_IA64_MODE" = X32; then
10727 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10729 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10731 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10735 hardcode_into_libs=yes
10736 dynamic_linker="$host_os dld.sl"
10737 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10738 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10746 dynamic_linker="$host_os dld.sl"
10747 shlibpath_var=SHLIB_PATH
10748 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10750 soname_spec='${libname}${release}${shared_ext}$major'
10753 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10754 postinstall_cmds='chmod 555 $lib'
10755 # or fails outright, so override atomically:
10756 install_override_mode=555
10760 version_type=linux # correct to gnu/linux during the next big refactor
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10764 soname_spec='${libname}${release}${shared_ext}$major'
10765 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10771 irix5* | irix6* | nonstopux*)
10773 nonstopux*) version_type=nonstopux ;;
10775 if test "$lt_cv_prog_gnu_ld" = yes; then
10776 version_type=linux # correct to gnu/linux during the next big refactor
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10786 irix5* | nonstopux*)
10787 libsuff= shlibsuff=
10790 case $LD in # libtool.m4 will add one of these switches to LD
10791 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10792 libsuff= shlibsuff= libmagic=32-bit;;
10793 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10794 libsuff=32 shlibsuff=N32 libmagic=N32;;
10795 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10796 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10797 *) libsuff= shlibsuff= libmagic=never-match;;
10801 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10802 shlibpath_overrides_runpath=no
10803 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10804 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10805 hardcode_into_libs=yes
10808 # No shared lib support for Linux oldld, aout, or coff.
10809 linux*oldld* | linux*aout* | linux*coff*)
10813 # This must be glibc/ELF.
10814 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10815 version_type=linux # correct to gnu/linux during the next big refactor
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10821 shlibpath_var=LD_LIBRARY_PATH
10822 shlibpath_overrides_runpath=no
10824 # Some binutils ld are patched to set DT_RUNPATH
10825 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10826 $as_echo_n "(cached) " >&6
10828 lt_cv_shlibpath_overrides_runpath=no
10829 save_LDFLAGS=$LDFLAGS
10830 save_libdir=$libdir
10831 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10832 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10846 lt_cv_shlibpath_overrides_runpath=yes
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LDFLAGS=$save_LDFLAGS
10852 libdir=$save_libdir
10856 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10858 # This implies no fast_install, which is unacceptable.
10859 # Some rework will be needed to allow for fast_install
10860 # before this can be enabled.
10861 hardcode_into_libs=yes
10863 # Append ld.so.conf contents to the search path
10864 if test -f /etc/ld.so.conf; then
10865 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' ' '`
10866 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10869 # We used to test for /lib/ld.so.1 and disable shared libraries on
10870 # powerpc, because MkLinux only supported shared libraries with the
10871 # GNU dynamic linker. Since this was broken with cross compilers,
10872 # most powerpc-linux boxes support dynamic linking these days and
10873 # people can always --disable-shared, the test was removed, and we
10874 # assume the GNU/Linux dynamic linker is in use.
10875 dynamic_linker='GNU/Linux ld.so'
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10883 soname_spec='${libname}${release}${shared_ext}$major'
10884 shlibpath_var=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath=no
10886 hardcode_into_libs=yes
10887 dynamic_linker='NetBSD ld.elf_so'
10894 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10897 dynamic_linker='NetBSD (a.out) ld.so'
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10900 soname_spec='${libname}${release}${shared_ext}$major'
10901 dynamic_linker='NetBSD ld.elf_so'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=yes
10905 hardcode_into_libs=yes
10909 version_type=linux # correct to gnu/linux during the next big refactor
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=yes
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=no
10923 hardcode_into_libs=yes
10924 dynamic_linker='ldqnx.so'
10929 sys_lib_dlsearch_path_spec="/usr/lib"
10931 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10933 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10934 *) need_version=no ;;
10936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10941 openbsd2.[89] | openbsd2.[89].*)
10942 shlibpath_overrides_runpath=no
10945 shlibpath_overrides_runpath=yes
10949 shlibpath_overrides_runpath=yes
10954 libname_spec='$name'
10957 library_names_spec='$libname${shared_ext} $libname.a'
10958 dynamic_linker='OS/2 ld.exe'
10959 shlibpath_var=LIBPATH
10962 osf3* | osf4* | osf5*)
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10970 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10978 version_type=linux # correct to gnu/linux during the next big refactor
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10986 # ldd complains unless libraries are executable
10987 postinstall_cmds='chmod +x $lib'
10992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10993 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10994 shlibpath_var=LD_LIBRARY_PATH
10995 shlibpath_overrides_runpath=yes
10996 if test "$with_gnu_ld" = yes; then
11003 version_type=linux # correct to gnu/linux during the next big refactor
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005 soname_spec='${libname}${release}${shared_ext}$major'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 case $host_vendor in
11009 shlibpath_overrides_runpath=no
11011 runpath_var=LD_RUN_PATH
11019 shlibpath_overrides_runpath=no
11020 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11026 if test -d /usr/nec ;then
11027 version_type=linux # correct to gnu/linux during the next big refactor
11028 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11029 soname_spec='$libname${shared_ext}.$major'
11030 shlibpath_var=LD_LIBRARY_PATH
11034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11035 version_type=freebsd-elf
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11039 soname_spec='${libname}${release}${shared_ext}$major'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=yes
11042 hardcode_into_libs=yes
11043 if test "$with_gnu_ld" = yes; then
11044 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11046 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11049 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11053 sys_lib_dlsearch_path_spec='/usr/lib'
11057 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11058 version_type=linux # correct to gnu/linux during the next big refactor
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 shlibpath_var=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath=no
11064 hardcode_into_libs=yes
11068 version_type=linux # correct to gnu/linux during the next big refactor
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070 soname_spec='${libname}${release}${shared_ext}$major'
11071 shlibpath_var=LD_LIBRARY_PATH
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11079 $as_echo "$dynamic_linker" >&6; }
11080 test "$dynamic_linker" = no && can_build_shared=no
11082 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11083 if test "$GCC" = yes; then
11084 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11087 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11088 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11090 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11091 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11186 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11188 if test -n "$hardcode_libdir_flag_spec" ||
11189 test -n "$runpath_var" ||
11190 test "X$hardcode_automatic" = "Xyes" ; then
11192 # We can hardcode non-existent directories.
11193 if test "$hardcode_direct" != no &&
11194 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11195 # have to relink, otherwise we might link with an installed library
11196 # when we should be linking with a yet-to-be-installed one
11197 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11198 test "$hardcode_minus_L" != no; then
11199 # Linking always hardcodes the temporary library directory.
11200 hardcode_action=relink
11202 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11203 hardcode_action=immediate
11206 # We cannot hardcode anything, or else we can only hardcode existing
11208 hardcode_action=unsupported
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11211 $as_echo "$hardcode_action" >&6; }
11213 if test "$hardcode_action" = relink ||
11214 test "$inherit_rpath" = yes; then
11215 # Fast installation is not supported
11216 enable_fast_install=no
11217 elif test "$shlibpath_overrides_runpath" = yes ||
11218 test "$enable_shared" = no; then
11219 # Fast installation is not necessary
11220 enable_fast_install=needless
11228 if test "x$enable_dlopen" != xyes; then
11229 enable_dlopen=unknown
11230 enable_dlopen_self=unknown
11231 enable_dlopen_self_static=unknown
11238 lt_cv_dlopen="load_add_on"
11240 lt_cv_dlopen_self=yes
11243 mingw* | pw32* | cegcc*)
11244 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen="dlopen"
11254 # if libdl is installed we need to link against it
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11256 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11257 if ${ac_cv_lib_dl_dlopen+:} false; then :
11258 $as_echo_n "(cached) " >&6
11260 ac_check_lib_save_LIBS=$LIBS
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_dl_dlopen=yes
11283 ac_cv_lib_dl_dlopen=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11290 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11291 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11292 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 lt_cv_dlopen="dyld"
11297 lt_cv_dlopen_self=yes
11304 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11305 if test "x$ac_cv_func_shl_load" = xyes; then :
11306 lt_cv_dlopen="shl_load"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11309 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11310 if ${ac_cv_lib_dld_shl_load+:} false; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_lib_save_LIBS=$LIBS
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11328 return shl_load ();
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_dld_shl_load=yes
11336 ac_cv_lib_dld_shl_load=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11343 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11344 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11345 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11347 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11348 if test "x$ac_cv_func_dlopen" = xyes; then :
11349 lt_cv_dlopen="dlopen"
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11352 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11353 if ${ac_cv_lib_dl_dlopen+:} false; then :
11354 $as_echo_n "(cached) " >&6
11356 ac_check_lib_save_LIBS=$LIBS
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11376 if ac_fn_c_try_link "$LINENO"; then :
11377 ac_cv_lib_dl_dlopen=yes
11379 ac_cv_lib_dl_dlopen=no
11381 rm -f core conftest.err conftest.$ac_objext \
11382 conftest$ac_exeext conftest.$ac_ext
11383 LIBS=$ac_check_lib_save_LIBS
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11386 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11387 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11388 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11391 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11392 if ${ac_cv_lib_svld_dlopen+:} false; then :
11393 $as_echo_n "(cached) " >&6
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lsvld $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_svld_dlopen=yes
11418 ac_cv_lib_svld_dlopen=no
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11425 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11426 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11427 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11430 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11431 if ${ac_cv_lib_dld_dld_link+:} false; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_lib_save_LIBS=$LIBS
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11449 return dld_link ();
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dld_dld_link=yes
11457 ac_cv_lib_dld_dld_link=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11464 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11465 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11466 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11487 if test "x$lt_cv_dlopen" != xno; then
11493 case $lt_cv_dlopen in
11495 save_CPPFLAGS="$CPPFLAGS"
11496 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498 save_LDFLAGS="$LDFLAGS"
11499 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 LIBS="$lt_cv_dlopen_libs $LIBS"
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11505 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11506 if ${lt_cv_dlopen_self+:} false; then :
11507 $as_echo_n "(cached) " >&6
11509 if test "$cross_compiling" = yes; then :
11510 lt_cv_dlopen_self=cross
11512 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513 lt_status=$lt_dlunknown
11514 cat > conftest.$ac_ext <<_LT_EOF
11515 #line $LINENO "configure"
11516 #include "confdefs.h"
11525 # define LT_DLGLOBAL RTLD_GLOBAL
11528 # define LT_DLGLOBAL DL_GLOBAL
11530 # define LT_DLGLOBAL 0
11534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11535 find out it does not work in some platform. */
11536 #ifndef LT_DLLAZY_OR_NOW
11538 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11541 # define LT_DLLAZY_OR_NOW DL_LAZY
11544 # define LT_DLLAZY_OR_NOW RTLD_NOW
11547 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # define LT_DLLAZY_OR_NOW 0
11556 /* When -fvisbility=hidden is used, assume the code has been annotated
11557 correspondingly for the symbols needed. */
11558 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11559 int fnord () __attribute__((visibility("default")));
11562 int fnord () { return 42; }
11565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11566 int status = $lt_dlunknown;
11570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11573 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11574 else puts (dlerror ());
11576 /* dlclose (self); */
11584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11585 (eval $ac_link) 2>&5
11587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11588 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11589 (./conftest; exit; ) >&5 2>/dev/null
11591 case x$lt_status in
11592 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11593 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11597 # compilation failed
11598 lt_cv_dlopen_self=no
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11606 $as_echo "$lt_cv_dlopen_self" >&6; }
11608 if test "x$lt_cv_dlopen_self" = xyes; then
11609 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11611 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11612 if ${lt_cv_dlopen_self_static+:} false; then :
11613 $as_echo_n "(cached) " >&6
11615 if test "$cross_compiling" = yes; then :
11616 lt_cv_dlopen_self_static=cross
11618 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11619 lt_status=$lt_dlunknown
11620 cat > conftest.$ac_ext <<_LT_EOF
11621 #line $LINENO "configure"
11622 #include "confdefs.h"
11631 # define LT_DLGLOBAL RTLD_GLOBAL
11634 # define LT_DLGLOBAL DL_GLOBAL
11636 # define LT_DLGLOBAL 0
11640 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11641 find out it does not work in some platform. */
11642 #ifndef LT_DLLAZY_OR_NOW
11644 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11647 # define LT_DLLAZY_OR_NOW DL_LAZY
11650 # define LT_DLLAZY_OR_NOW RTLD_NOW
11653 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # define LT_DLLAZY_OR_NOW 0
11662 /* When -fvisbility=hidden is used, assume the code has been annotated
11663 correspondingly for the symbols needed. */
11664 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11665 int fnord () __attribute__((visibility("default")));
11668 int fnord () { return 42; }
11671 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11672 int status = $lt_dlunknown;
11676 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11679 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11680 else puts (dlerror ());
11682 /* dlclose (self); */
11690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11691 (eval $ac_link) 2>&5
11693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11694 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11695 (./conftest; exit; ) >&5 2>/dev/null
11697 case x$lt_status in
11698 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11699 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11703 # compilation failed
11704 lt_cv_dlopen_self_static=no
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11712 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11715 CPPFLAGS="$save_CPPFLAGS"
11716 LDFLAGS="$save_LDFLAGS"
11721 case $lt_cv_dlopen_self in
11722 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11723 *) enable_dlopen_self=unknown ;;
11726 case $lt_cv_dlopen_self_static in
11727 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11728 *) enable_dlopen_self_static=unknown ;;
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11751 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11752 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11753 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11754 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11756 $as_echo "yes" >&6; }
11758 # FIXME - insert some real tests, host_os isn't really good enough
11761 if test -n "$STRIP" ; then
11762 striplib="$STRIP -x"
11763 old_striplib="$STRIP -S"
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 $as_echo "no" >&6; }
11789 # Report which library types will actually be built
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11791 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11793 $as_echo "$can_build_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11796 $as_echo_n "checking whether to build shared libraries... " >&6; }
11797 test "$can_build_shared" = "no" && enable_shared=no
11799 # On AIX, shared libraries and static libraries use the same namespace, and
11800 # are all built from PIC.
11803 test "$enable_shared" = yes && enable_static=no
11804 if test -n "$RANLIB"; then
11805 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11806 postinstall_cmds='$RANLIB $lib'
11811 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11812 test "$enable_shared" = yes && enable_static=no
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11817 $as_echo "$enable_shared" >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11820 $as_echo_n "checking whether to build static libraries... " >&6; }
11821 # Make sure either enable_shared or enable_static is yes.
11822 test "$enable_shared" = yes || enable_static=yes
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11824 $as_echo "$enable_static" >&6; }
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11852 ac_config_commands="$ac_config_commands libtool"
11857 # Only expand once:
11861 # Checks for libraries.
11869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11870 if test -n "$ac_tool_prefix"; then
11871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11874 $as_echo_n "checking for $ac_word... " >&6; }
11875 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11876 $as_echo_n "(cached) " >&6
11878 case $PKG_CONFIG in
11880 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11884 for as_dir in $PATH
11887 test -z "$as_dir" && as_dir=.
11888 for ac_exec_ext in '' $ac_executable_extensions; do
11889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11902 if test -n "$PKG_CONFIG"; then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11904 $as_echo "$PKG_CONFIG" >&6; }
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11907 $as_echo "no" >&6; }
11912 if test -z "$ac_cv_path_PKG_CONFIG"; then
11913 ac_pt_PKG_CONFIG=$PKG_CONFIG
11914 # Extract the first word of "pkg-config", so it can be a program name with args.
11915 set dummy pkg-config; ac_word=$2
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11917 $as_echo_n "checking for $ac_word... " >&6; }
11918 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11919 $as_echo_n "(cached) " >&6
11921 case $ac_pt_PKG_CONFIG in
11923 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 for as_dir in $PATH
11930 test -z "$as_dir" && as_dir=.
11931 for ac_exec_ext in '' $ac_executable_extensions; do
11932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11945 if test -n "$ac_pt_PKG_CONFIG"; then
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11947 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11953 if test "x$ac_pt_PKG_CONFIG" = x; then
11956 case $cross_compiling:$ac_tool_warned in
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11960 ac_tool_warned=yes ;;
11962 PKG_CONFIG=$ac_pt_PKG_CONFIG
11965 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11969 if test -n "$PKG_CONFIG"; then
11970 _pkg_min_version=0.9.0
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11972 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11973 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975 $as_echo "yes" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11985 $as_echo_n "checking for GSIGNOND... " >&6; }
11987 if test -n "$GSIGNOND_CFLAGS"; then
11988 pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11989 elif test -n "$PKG_CONFIG"; then
11990 if test -n "$PKG_CONFIG" && \
11991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11996 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12003 test $ac_status = 0; }; then
12004 pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12008 sqlite3" 2>/dev/null`
12009 test "x$?" != "x0" && pkg_failed=yes
12016 if test -n "$GSIGNOND_LIBS"; then
12017 pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
12018 elif test -n "$PKG_CONFIG"; then
12019 if test -n "$PKG_CONFIG" && \
12020 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12025 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12032 test $ac_status = 0; }; then
12033 pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12037 sqlite3" 2>/dev/null`
12038 test "x$?" != "x0" && pkg_failed=yes
12048 if test $pkg_failed = yes; then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12050 $as_echo "no" >&6; }
12052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12053 _pkg_short_errors_supported=yes
12055 _pkg_short_errors_supported=no
12057 if test $_pkg_short_errors_supported = yes; then
12058 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12064 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12070 # Put the nasty error message in config.log where it belongs
12071 echo "$GSIGNOND_PKG_ERRORS" >&5
12073 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12077 sqlite3) were not met:
12079 $GSIGNOND_PKG_ERRORS
12081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12082 installed software in a non-standard prefix.
12084 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12085 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12086 See the pkg-config man page for more details." "$LINENO" 5
12087 elif test $pkg_failed = untried; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089 $as_echo "no" >&6; }
12090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12092 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12093 is in your PATH or set the PKG_CONFIG environment variable to the full
12094 path to pkg-config.
12096 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12097 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12098 See the pkg-config man page for more details.
12100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12101 See \`config.log' for more details" "$LINENO" 5; }
12103 GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
12104 GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12106 $as_echo "yes" >&6; }
12113 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12117 $as_echo_n "checking for CHECK... " >&6; }
12119 if test -n "$CHECK_CFLAGS"; then
12120 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12121 elif test -n "$PKG_CONFIG"; then
12122 if test -n "$PKG_CONFIG" && \
12123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12124 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127 test $ac_status = 0; }; then
12128 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12129 test "x$?" != "x0" && pkg_failed=yes
12136 if test -n "$CHECK_LIBS"; then
12137 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12138 elif test -n "$PKG_CONFIG"; then
12139 if test -n "$PKG_CONFIG" && \
12140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12141 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12144 test $ac_status = 0; }; then
12145 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12146 test "x$?" != "x0" && pkg_failed=yes
12156 if test $pkg_failed = yes; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12161 _pkg_short_errors_supported=yes
12163 _pkg_short_errors_supported=no
12165 if test $_pkg_short_errors_supported = yes; then
12166 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12168 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12170 # Put the nasty error message in config.log where it belongs
12171 echo "$CHECK_PKG_ERRORS" >&5
12174 elif test $pkg_failed = untried; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12176 $as_echo "no" >&6; }
12179 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12180 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12182 $as_echo "yes" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12191 $as_echo_n "checking for LIBSMACK... " >&6; }
12193 if test -n "$LIBSMACK_CFLAGS"; then
12194 pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12195 elif test -n "$PKG_CONFIG"; then
12196 if test -n "$PKG_CONFIG" && \
12197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12198 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201 test $ac_status = 0; }; then
12202 pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12203 test "x$?" != "x0" && pkg_failed=yes
12210 if test -n "$LIBSMACK_LIBS"; then
12211 pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12212 elif test -n "$PKG_CONFIG"; then
12213 if test -n "$PKG_CONFIG" && \
12214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12215 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12218 test $ac_status = 0; }; then
12219 pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12220 test "x$?" != "x0" && pkg_failed=yes
12230 if test $pkg_failed = yes; then
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12235 _pkg_short_errors_supported=yes
12237 _pkg_short_errors_supported=no
12239 if test $_pkg_short_errors_supported = yes; then
12240 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12242 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12244 # Put the nasty error message in config.log where it belongs
12245 echo "$LIBSMACK_PKG_ERRORS" >&5
12248 elif test $pkg_failed = untried; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250 $as_echo "no" >&6; }
12253 LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12254 LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12256 $as_echo "yes" >&6; }
12259 if test x$libsmack = xyes; then
12260 HAVE_LIBSMACK_TRUE=
12261 HAVE_LIBSMACK_FALSE='#'
12263 HAVE_LIBSMACK_TRUE='#'
12264 HAVE_LIBSMACK_FALSE=
12267 if test "x$libsmack" = xyes; then
12269 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12276 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12278 if test -n "$LIBECRYPTFS_CFLAGS"; then
12279 pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12280 elif test -n "$PKG_CONFIG"; then
12281 if test -n "$PKG_CONFIG" && \
12282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12283 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12286 test $ac_status = 0; }; then
12287 pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12288 test "x$?" != "x0" && pkg_failed=yes
12295 if test -n "$LIBECRYPTFS_LIBS"; then
12296 pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12297 elif test -n "$PKG_CONFIG"; then
12298 if test -n "$PKG_CONFIG" && \
12299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12300 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12303 test $ac_status = 0; }; then
12304 pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12305 test "x$?" != "x0" && pkg_failed=yes
12315 if test $pkg_failed = yes; then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12320 _pkg_short_errors_supported=yes
12322 _pkg_short_errors_supported=no
12324 if test $_pkg_short_errors_supported = yes; then
12325 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12327 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12329 # Put the nasty error message in config.log where it belongs
12330 echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12333 elif test $pkg_failed = untried; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12338 LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12339 LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341 $as_echo "yes" >&6; }
12344 if test x$libecryptfs = xyes; then
12345 HAVE_LIBECRYPTFS_TRUE=
12346 HAVE_LIBECRYPTFS_FALSE='#'
12348 HAVE_LIBECRYPTFS_TRUE='#'
12349 HAVE_LIBECRYPTFS_FALSE=
12352 if test "x$libecryptfs" = xes; then
12354 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12358 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12359 set dummy glib-mkenums; ac_word=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12363 $as_echo_n "(cached) " >&6
12365 case $GLIB_MKENUMS in
12367 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371 for as_dir in $PATH
12374 test -z "$as_dir" && as_dir=.
12375 for ac_exec_ext in '' $ac_executable_extensions; do
12376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12377 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12389 if test -n "$GLIB_MKENUMS"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12391 $as_echo "$GLIB_MKENUMS" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12399 # Check whether --enable-coverage was given.
12400 if test "${enable_coverage+set}" = set; then :
12401 enableval=$enable_coverage;
12404 if test "x$enable_coverage" = "xyes"; then :
12405 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12408 # allow fake installations for "distcheck"
12409 # Check whether --enable-distcheck was given.
12410 if test "${enable_distcheck+set}" = set; then :
12411 enableval=$enable_distcheck; enable_distcheck=yes
12413 enable_distcheck=no
12416 echo -n "running distcheck... "
12417 echo $enable_distcheck
12419 # Check whether --enable-dbus-type was given.
12420 if test "${enable_dbus_type+set}" = set; then :
12421 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12423 enable_dbus_type=p2p
12426 echo "----------------------"
12427 echo " DBUS TYPE : '$enable_dbus_type'"
12428 echo "----------------------"
12429 if test "x$enable_dbus_type" = "xp2p" ; then
12431 $as_echo "#define USE_P2P 1" >>confdefs.h
12433 elif test "x$enable_dbus_type" = "xsession" ; then
12435 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12437 if test "x$enable_distcheck" = "xyes" ; then
12438 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12440 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12446 $as_echo_n "checking for GTestDBus... " >&6; }
12448 if test -n "$GTestDBus_CFLAGS"; then
12449 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12450 elif test -n "$PKG_CONFIG"; then
12451 if test -n "$PKG_CONFIG" && \
12452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12453 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12456 test $ac_status = 0; }; then
12457 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12458 test "x$?" != "x0" && pkg_failed=yes
12465 if test -n "$GTestDBus_LIBS"; then
12466 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12467 elif test -n "$PKG_CONFIG"; then
12468 if test -n "$PKG_CONFIG" && \
12469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12470 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12473 test $ac_status = 0; }; then
12474 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12475 test "x$?" != "x0" && pkg_failed=yes
12485 if test $pkg_failed = yes; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487 $as_echo "no" >&6; }
12489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12490 _pkg_short_errors_supported=yes
12492 _pkg_short_errors_supported=no
12494 if test $_pkg_short_errors_supported = yes; then
12495 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12497 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12499 # Put the nasty error message in config.log where it belongs
12500 echo "$GTestDBus_PKG_ERRORS" >&5
12503 elif test $pkg_failed = untried; then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12508 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12509 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511 $as_echo "yes" >&6; }
12514 if test "x$gtestdbus" = xyes; then
12516 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12519 elif test "x$enable_dbus_type" = "xsystem" ; then
12521 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12523 if test "x$enable_distcheck" = "xyes" ; then
12524 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12526 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12529 if test "x$enable_dbus_type" != "xp2p" ; then
12530 if test "x$enable_distcheck" = "xyes" ; then
12531 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12533 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12537 # Check whether --enable-keychain was given.
12538 if test "${enable_keychain+set}" = set; then :
12539 enableval=$enable_keychain; enable_keychain=$enableval
12542 if test "x$enable_keychain" != "x" ; then
12544 cat >>confdefs.h <<_ACEOF
12545 #define KEYCHAIN_SYSCTX "$enable_keychain"
12548 KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12551 KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12555 # Check whether --enable-storagedir was given.
12556 if test "${enable_storagedir+set}" = set; then :
12557 enableval=$enable_storagedir; enable_storagedir=$enableval
12559 enable_storagedir="/var/db"
12563 cat >>confdefs.h <<_ACEOF
12564 #define BASE_STORAGE_DIR "$enable_storagedir"
12567 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12570 # Check whether --enable-debug was given.
12571 if test "${enable_debug+set}" = set; then :
12572 enableval=$enable_debug; enable_debug=yes
12577 echo -n "enable debug features... "
12579 if test "x$enable_debug" = "xyes" ; then
12581 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12583 # Check whether --enable-sql-log was given.
12584 if test "${enable_sql_log+set}" = set; then :
12585 enableval=$enable_sql_log; enable_sql_log=yes
12590 echo -n "enable sql log feature... "
12591 echo $enable_sql_log
12592 if test "x$enable_sql_log" = "xyes" ; then
12594 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12599 # Check whether --enable-acltriggers was given.
12600 if test "${enable_acltriggers+set}" = set; then :
12601 enableval=$enable_acltriggers; enable_acl_triggers=yes
12603 enable_acl_triggers=no
12606 if test "x$enable_acl_triggers" = "xyes" ; then
12608 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12612 if test x$gtestdbus = xyes; then
12613 USE_GTESTDBUS_TRUE=
12614 USE_GTESTDBUS_FALSE='#'
12616 USE_GTESTDBUS_TRUE='#'
12617 USE_GTESTDBUS_FALSE=
12620 MESSAGE_BUS_TYPE=$enable_dbus_type
12623 if test x$enable_debug = xyes; then
12625 HAVE_DEBUG_FALSE='#'
12627 HAVE_DEBUG_TRUE='#'
12631 if test x$enable_distcheck != xyes; then
12632 SET_PERMISSIONS_TRUE=
12633 SET_PERMISSIONS_FALSE='#'
12635 SET_PERMISSIONS_TRUE='#'
12636 SET_PERMISSIONS_FALSE=
12647 gtk_doc_requires="gtk-doc >= 1.18"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12649 $as_echo_n "checking for gtk-doc... " >&6; }
12650 if test -n "$PKG_CONFIG" && \
12651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12652 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; }; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12661 $as_echo "$have_gtk_doc" >&6; }
12663 if test "$have_gtk_doc" = "no"; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12665 You will not be able to create source packages with 'make dist'
12666 because $gtk_doc_requires is not found." >&5
12667 $as_echo "$as_me: WARNING:
12668 You will not be able to create source packages with 'make dist'
12669 because $gtk_doc_requires is not found." >&2;}
12672 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12673 set dummy gtkdoc-check; ac_word=$2
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12675 $as_echo_n "checking for $ac_word... " >&6; }
12676 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12677 $as_echo_n "(cached) " >&6
12679 if test -n "$GTKDOC_CHECK"; then
12680 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12699 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12700 if test -n "$GTKDOC_CHECK"; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12702 $as_echo "$GTKDOC_CHECK" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705 $as_echo "no" >&6; }
12709 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12710 set dummy gtkdoc-check; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12712 $as_echo_n "checking for $ac_word... " >&6; }
12713 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12714 $as_echo_n "(cached) " >&6
12716 case $GTKDOC_CHECK_PATH in
12718 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12722 for as_dir in $PATH
12725 test -z "$as_dir" && as_dir=.
12726 for ac_exec_ext in '' $ac_executable_extensions; do
12727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12728 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12739 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12740 if test -n "$GTKDOC_CHECK_PATH"; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12742 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12745 $as_echo "no" >&6; }
12749 for ac_prog in gtkdoc-rebase
12751 # Extract the first word of "$ac_prog", so it can be a program name with args.
12752 set dummy $ac_prog; ac_word=$2
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754 $as_echo_n "checking for $ac_word... " >&6; }
12755 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12756 $as_echo_n "(cached) " >&6
12758 case $GTKDOC_REBASE in
12760 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $PATH
12767 test -z "$as_dir" && as_dir=.
12768 for ac_exec_ext in '' $ac_executable_extensions; do
12769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12770 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12781 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12782 if test -n "$GTKDOC_REBASE"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12784 $as_echo "$GTKDOC_REBASE" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12791 test -n "$GTKDOC_REBASE" && break
12793 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12795 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12796 set dummy gtkdoc-mkpdf; ac_word=$2
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12800 $as_echo_n "(cached) " >&6
12802 case $GTKDOC_MKPDF in
12804 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12826 if test -n "$GTKDOC_MKPDF"; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12828 $as_echo "$GTKDOC_MKPDF" >&6; }
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12831 $as_echo "no" >&6; }
12837 # Check whether --with-html-dir was given.
12838 if test "${with_html_dir+set}" = set; then :
12839 withval=$with_html_dir;
12841 with_html_dir='${datadir}/gtk-doc/html'
12844 HTML_DIR="$with_html_dir"
12847 # Check whether --enable-gtk-doc was given.
12848 if test "${enable_gtk_doc+set}" = set; then :
12849 enableval=$enable_gtk_doc;
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12856 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12858 $as_echo "$enable_gtk_doc" >&6; }
12860 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12862 You must have $gtk_doc_requires installed to build documentation for
12863 $PACKAGE_NAME. Please install gtk-doc or disable building the
12864 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12867 if test "x$PACKAGE_NAME" != "xglib"; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12871 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12873 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12874 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12875 elif test -n "$PKG_CONFIG"; then
12876 if test -n "$PKG_CONFIG" && \
12877 { { $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
12878 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12881 test $ac_status = 0; }; then
12882 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12883 test "x$?" != "x0" && pkg_failed=yes
12890 if test -n "$GTKDOC_DEPS_LIBS"; then
12891 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12892 elif test -n "$PKG_CONFIG"; then
12893 if test -n "$PKG_CONFIG" && \
12894 { { $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
12895 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12898 test $ac_status = 0; }; then
12899 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12900 test "x$?" != "x0" && pkg_failed=yes
12910 if test $pkg_failed = yes; then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12915 _pkg_short_errors_supported=yes
12917 _pkg_short_errors_supported=no
12919 if test $_pkg_short_errors_supported = yes; then
12920 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`
12922 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12924 # Put the nasty error message in config.log where it belongs
12925 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12928 elif test $pkg_failed = untried; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12930 $as_echo "no" >&6; }
12933 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12934 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12936 $as_echo "yes" >&6; }
12941 # Check whether --enable-gtk-doc-html was given.
12942 if test "${enable_gtk_doc_html+set}" = set; then :
12943 enableval=$enable_gtk_doc_html;
12945 enable_gtk_doc_html=yes
12948 # Check whether --enable-gtk-doc-pdf was given.
12949 if test "${enable_gtk_doc_pdf+set}" = set; then :
12950 enableval=$enable_gtk_doc_pdf;
12952 enable_gtk_doc_pdf=no
12956 if test -z "$GTKDOC_MKPDF"; then
12957 enable_gtk_doc_pdf=no
12960 if test -z "$AM_DEFAULT_VERBOSITY"; then
12961 AM_DEFAULT_VERBOSITY=1
12965 if test x$have_gtk_doc = xyes; then
12967 HAVE_GTK_DOC_FALSE='#'
12969 HAVE_GTK_DOC_TRUE='#'
12970 HAVE_GTK_DOC_FALSE=
12973 if test x$enable_gtk_doc = xyes; then
12974 ENABLE_GTK_DOC_TRUE=
12975 ENABLE_GTK_DOC_FALSE='#'
12977 ENABLE_GTK_DOC_TRUE='#'
12978 ENABLE_GTK_DOC_FALSE=
12981 if test x$enable_gtk_doc_html = xyes; then
12982 GTK_DOC_BUILD_HTML_TRUE=
12983 GTK_DOC_BUILD_HTML_FALSE='#'
12985 GTK_DOC_BUILD_HTML_TRUE='#'
12986 GTK_DOC_BUILD_HTML_FALSE=
12989 if test x$enable_gtk_doc_pdf = xyes; then
12990 GTK_DOC_BUILD_PDF_TRUE=
12991 GTK_DOC_BUILD_PDF_FALSE='#'
12993 GTK_DOC_BUILD_PDF_TRUE='#'
12994 GTK_DOC_BUILD_PDF_FALSE=
12997 if test -n "$LIBTOOL"; then
12998 GTK_DOC_USE_LIBTOOL_TRUE=
12999 GTK_DOC_USE_LIBTOOL_FALSE='#'
13001 GTK_DOC_USE_LIBTOOL_TRUE='#'
13002 GTK_DOC_USE_LIBTOOL_FALSE=
13005 if test -n "$GTKDOC_REBASE"; then
13006 GTK_DOC_USE_REBASE_TRUE=
13007 GTK_DOC_USE_REBASE_FALSE='#'
13009 GTK_DOC_USE_REBASE_TRUE='#'
13010 GTK_DOC_USE_REBASE_FALSE=
13015 # Checks for header files.
13016 for ac_header in string.h
13018 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_string_h" = xyes; then :
13020 cat >>confdefs.h <<_ACEOF
13021 #define HAVE_STRING_H 1
13029 # Enable feature sets
13030 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
13032 # Checks for typedefs, structures, and compiler characteristics.
13033 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
13034 if test "x$enable_debug" = "xno" ; then
13035 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
13038 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
13040 # Checks for library functions.
13042 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"
13044 cat >confcache <<\_ACEOF
13045 # This file is a shell script that caches the results of configure
13046 # tests run on this system so they can be shared between configure
13047 # scripts and configure runs, see configure's option --config-cache.
13048 # It is not useful on other systems. If it contains results you don't
13049 # want to keep, you may remove or edit it.
13051 # config.status only pays attention to the cache file if you give it
13052 # the --recheck option to rerun configure.
13054 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13055 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13056 # following values.
13060 # The following way of writing the cache mishandles newlines in values,
13061 # but we know of no workaround that is simple, portable, and efficient.
13062 # So, we kill variables containing newlines.
13063 # Ultrix sh set writes to stderr and can't be redirected directly,
13064 # and sets the high bit in the cache file unless we assign to the vars.
13066 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13067 eval ac_val=\$$ac_var
13071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13075 _ | IFS | as_nl) ;; #(
13076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13077 *) { eval $ac_var=; unset $ac_var;} ;;
13083 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13084 *${as_nl}ac_space=\ *)
13085 # `set' does not quote correctly, so add quotes: double-quote
13086 # substitution turns \\\\ into \\, and sed turns \\ into \.
13089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13092 # `set' quotes correctly as required by POSIX, so do not add quotes.
13093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13102 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13104 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13106 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13107 if test -w "$cache_file"; then
13108 if test "x$cache_file" != "x/dev/null"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13110 $as_echo "$as_me: updating cache $cache_file" >&6;}
13111 if test ! -f "$cache_file" || test -h "$cache_file"; then
13112 cat confcache >"$cache_file"
13114 case $cache_file in #(
13116 mv -f confcache "$cache_file"$$ &&
13117 mv -f "$cache_file"$$ "$cache_file" ;; #(
13119 mv -f confcache "$cache_file" ;;
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13125 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13131 # Let make expand exec_prefix.
13132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13134 DEFS=-DHAVE_CONFIG_H
13139 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13140 # 1. Remove the extension, and $U if already installed.
13141 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13142 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13143 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13144 # will be set to the directory where LIBOBJS objects are built.
13145 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13146 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13148 LIBOBJS=$ac_libobjs
13150 LTLIBOBJS=$ac_ltlibobjs
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13154 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13155 if test -n "$am_sleep_pid"; then
13156 # Hide warnings about reused PIDs.
13157 wait $am_sleep_pid 2>/dev/null
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13160 $as_echo "done" >&6; }
13161 if test -n "$EXEEXT"; then
13163 am__EXEEXT_FALSE='#'
13165 am__EXEEXT_TRUE='#'
13169 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13170 as_fn_error $? "conditional \"AMDEP\" was never defined.
13171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13173 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13174 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13177 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13178 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13181 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13182 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13185 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13186 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13189 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13190 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13193 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13194 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13197 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13198 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13201 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13202 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13205 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13206 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13209 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13210 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13213 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13214 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13218 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13222 : "${CONFIG_STATUS=./config.status}"
13224 ac_clean_files_save=$ac_clean_files
13225 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13227 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13229 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13231 # Generated by $as_me.
13232 # Run this file to recreate the current configuration.
13233 # Compiler output produced by configure, useful for debugging
13234 # configure, is in config.log if it exists.
13237 ac_cs_recheck=false
13240 SHELL=\${CONFIG_SHELL-$SHELL}
13243 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13244 ## -------------------- ##
13245 ## M4sh Initialization. ##
13246 ## -------------------- ##
13248 # Be more Bourne compatible
13249 DUALCASE=1; export DUALCASE # for MKS sh
13250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13254 # is contrary to our usage. Disable this feature.
13255 alias -g '${1+"$@"}'='"$@"'
13256 setopt NO_GLOB_SUBST
13258 case `(set -o) 2>/dev/null` in #(
13270 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13271 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13274 # Prefer a ksh shell builtin over an external printf program on Solaris,
13275 # but without wasting forks for bash or zsh.
13276 if test -z "$BASH_VERSION$ZSH_VERSION" \
13277 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13278 as_echo='print -r --'
13279 as_echo_n='print -rn --'
13280 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13281 as_echo='printf %s\n'
13282 as_echo_n='printf %s'
13284 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13285 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13286 as_echo_n='/usr/ucb/echo -n'
13288 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13289 as_echo_n_body='eval
13293 expr "X$arg" : "X\\(.*\\)$as_nl";
13294 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13296 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13298 export as_echo_n_body
13299 as_echo_n='sh -c $as_echo_n_body as_echo'
13301 export as_echo_body
13302 as_echo='sh -c $as_echo_body as_echo'
13305 # The user is always right.
13306 if test "${PATH_SEPARATOR+set}" != set; then
13308 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13309 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13316 # We need space, tab and new line, in precisely that order. Quoting is
13317 # there to prevent editors from complaining about space-tab.
13318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13319 # splitting by setting IFS to empty value.)
13322 # Find who we are. Look in the path if we contain no directory separator.
13325 *[\\/]* ) as_myself=$0 ;;
13326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13330 test -z "$as_dir" && as_dir=.
13331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13337 # We did not find ourselves, most probably we were run as `sh COMMAND'
13338 # in which case we are not to be found in the path.
13339 if test "x$as_myself" = x; then
13342 if test ! -f "$as_myself"; then
13343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13347 # Unset variables that we do not need and which cause bugs (e.g. in
13348 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13349 # suppresses any "Segmentation fault" message there. '((' could
13350 # trigger a bug in pdksh 5.2.14.
13351 for as_var in BASH_ENV ENV MAIL MAILPATH
13352 do eval test x\${$as_var+set} = xset \
13353 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13370 # ----------------------------------------
13371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13373 # script with STATUS, using 1 if that was 0.
13376 as_status=$1; test $as_status -eq 0 && as_status=1
13378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13381 $as_echo "$as_me: error: $2" >&2
13382 as_fn_exit $as_status
13386 # as_fn_set_status STATUS
13387 # -----------------------
13388 # Set $? to STATUS, without forking.
13389 as_fn_set_status ()
13392 } # as_fn_set_status
13394 # as_fn_exit STATUS
13395 # -----------------
13396 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13400 as_fn_set_status $1
13406 # Portably unset VAR.
13409 { eval $1=; unset $1;}
13411 as_unset=as_fn_unset
13412 # as_fn_append VAR VALUE
13413 # ----------------------
13414 # Append the text in VALUE to the end of the definition contained in VAR. Take
13415 # advantage of any shell optimizations that allow amortized linear growth over
13416 # repeated appends, instead of the typical quadratic growth present in naive
13418 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13419 eval 'as_fn_append ()
13430 # as_fn_arith ARG...
13431 # ------------------
13432 # Perform arithmetic evaluation on the ARGs, and store the result in the
13433 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13434 # must be portable across $(()) and expr.
13435 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13436 eval 'as_fn_arith ()
13443 as_val=`expr "$@" || test $? -eq 1`
13448 if expr a : '\(a\)' >/dev/null 2>&1 &&
13449 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13455 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13456 as_basename=basename
13461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13467 as_me=`$as_basename -- "$0" ||
13468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13469 X"$0" : 'X\(//\)$' \| \
13470 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13472 sed '/^.*\/\([^/][^/]*\)\/*$/{
13486 # Avoid depending upon Character Ranges.
13487 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13488 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13489 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13490 as_cr_digits='0123456789'
13491 as_cr_alnum=$as_cr_Letters$as_cr_digits
13493 ECHO_C= ECHO_N= ECHO_T=
13494 case `echo -n x` in #(((((
13496 case `echo 'xy\c'` in
13497 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13499 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13506 rm -f conf$$ conf$$.exe conf$$.file
13507 if test -d conf$$.dir; then
13508 rm -f conf$$.dir/conf$$.file
13511 mkdir conf$$.dir 2>/dev/null
13513 if (echo >conf$$.file) 2>/dev/null; then
13514 if ln -s conf$$.file conf$$ 2>/dev/null; then
13516 # ... but there are two gotchas:
13517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13519 # In both cases, we have to default to `cp -pR'.
13520 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13522 elif ln conf$$.file conf$$ 2>/dev/null; then
13530 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13531 rmdir conf$$.dir 2>/dev/null
13536 # Create "$as_dir" as a directory, including parents if necessary.
13541 -*) as_dir=./$as_dir;;
13543 test -d "$as_dir" || eval $as_mkdir_p || {
13547 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13548 *) as_qdir=$as_dir;;
13550 as_dirs="'$as_qdir' $as_dirs"
13551 as_dir=`$as_dirname -- "$as_dir" ||
13552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13553 X"$as_dir" : 'X\(//\)[^/]' \| \
13554 X"$as_dir" : 'X\(//\)$' \| \
13555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13556 $as_echo X"$as_dir" |
13557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13561 /^X\(\/\/\)[^/].*/{
13574 test -d "$as_dir" && break
13576 test -z "$as_dirs" || eval "mkdir $as_dirs"
13577 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13581 if mkdir -p . 2>/dev/null; then
13582 as_mkdir_p='mkdir -p "$as_dir"'
13584 test -d ./-p && rmdir ./-p
13589 # as_fn_executable_p FILE
13590 # -----------------------
13591 # Test if FILE is an executable regular file.
13592 as_fn_executable_p ()
13594 test -f "$1" && test -x "$1"
13595 } # as_fn_executable_p
13596 as_test_x='test -x'
13597 as_executable_p=as_fn_executable_p
13599 # Sed expression to map a string onto a valid CPP name.
13600 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13602 # Sed expression to map a string onto a valid variable name.
13603 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13607 ## ----------------------------------- ##
13608 ## Main body of $CONFIG_STATUS script. ##
13609 ## ----------------------------------- ##
13611 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13614 # Save the log message, to keep $0 and so on meaningful, and to
13615 # report actual input values of CONFIG_FILES etc. instead of their
13616 # values after options handling.
13618 This file was extended by gsignond $as_me 1.0.1, which was
13619 generated by GNU Autoconf 2.69. Invocation command line was
13621 CONFIG_FILES = $CONFIG_FILES
13622 CONFIG_HEADERS = $CONFIG_HEADERS
13623 CONFIG_LINKS = $CONFIG_LINKS
13624 CONFIG_COMMANDS = $CONFIG_COMMANDS
13627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13632 case $ac_config_files in *"
13633 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13636 case $ac_config_headers in *"
13637 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13642 # Files that config.status was made for.
13643 config_files="$ac_config_files"
13644 config_headers="$ac_config_headers"
13645 config_commands="$ac_config_commands"
13649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13651 \`$as_me' instantiates files and other configuration actions
13652 from templates according to the current configuration. Unless the files
13653 and actions are specified as TAGs, all are instantiated by default.
13655 Usage: $0 [OPTION]... [TAG]...
13657 -h, --help print this help, then exit
13658 -V, --version print version number and configuration settings, then exit
13659 --config print configuration, then exit
13660 -q, --quiet, --silent
13661 do not print progress messages
13662 -d, --debug don't remove temporary files
13663 --recheck update $as_me by reconfiguring in the same conditions
13664 --file=FILE[:TEMPLATE]
13665 instantiate the configuration file FILE
13666 --header=FILE[:TEMPLATE]
13667 instantiate the configuration header FILE
13669 Configuration files:
13672 Configuration headers:
13675 Configuration commands:
13678 Report bugs to the package provider.
13679 gsignond home page: <http://01.org/gsso>."
13682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13683 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13685 gsignond config.status 1.0.1
13686 configured by $0, generated by GNU Autoconf 2.69,
13687 with options \\"\$ac_cs_config\\"
13689 Copyright (C) 2012 Free Software Foundation, Inc.
13690 This config.status script is free software; the Free Software Foundation
13691 gives unlimited permission to copy, distribute and modify it."
13698 test -n "\$AWK" || AWK=awk
13701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13702 # The default lists apply if the user does not specify any file.
13708 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13709 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13713 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13725 # Handling of the options.
13726 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13728 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13729 $as_echo "$ac_cs_version"; exit ;;
13730 --config | --confi | --conf | --con | --co | --c )
13731 $as_echo "$ac_cs_config"; exit ;;
13732 --debug | --debu | --deb | --de | --d | -d )
13734 --file | --fil | --fi | --f )
13737 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13738 '') as_fn_error $? "missing file argument" ;;
13740 as_fn_append CONFIG_FILES " '$ac_optarg'"
13741 ac_need_defaults=false;;
13742 --header | --heade | --head | --hea )
13745 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13747 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13748 ac_need_defaults=false;;
13750 # Conflict between --help and --header
13751 as_fn_error $? "ambiguous option: \`$1'
13752 Try \`$0 --help' for more information.";;
13753 --help | --hel | -h )
13754 $as_echo "$ac_cs_usage"; exit ;;
13755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13756 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13759 # This is an error.
13760 -*) as_fn_error $? "unrecognized option: \`$1'
13761 Try \`$0 --help' for more information." ;;
13763 *) as_fn_append ac_config_targets " $1"
13764 ac_need_defaults=false ;;
13770 ac_configure_extra_args=
13772 if $ac_cs_silent; then
13774 ac_configure_extra_args="$ac_configure_extra_args --silent"
13778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13779 if \$ac_cs_recheck; then
13780 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13782 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13783 CONFIG_SHELL='$SHELL'
13784 export CONFIG_SHELL
13789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13794 ## Running $as_me. ##
13800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13804 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13807 # The HP-UX ksh and POSIX shell print the target directory to stdout
13808 # if CDPATH is set.
13809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13811 sed_quote_subst='$sed_quote_subst'
13812 double_quote_subst='$double_quote_subst'
13813 delay_variable_subst='$delay_variable_subst'
13814 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13815 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13816 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13817 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13818 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13819 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13820 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13821 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13822 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13823 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13824 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13825 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13826 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13827 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13828 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13829 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13830 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13831 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13832 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13833 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13834 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13835 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13836 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13837 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13838 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13839 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13840 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13841 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13842 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13843 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13844 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13845 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13846 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13847 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13848 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13849 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13850 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13851 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13852 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13853 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13854 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13855 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13856 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13857 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13858 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13859 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13860 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13861 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13862 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13863 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13864 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13865 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13866 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13867 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13868 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13869 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13870 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"`'
13871 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13872 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13873 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13874 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13875 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13876 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13877 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13878 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13879 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13880 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13881 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13882 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13883 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13884 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13885 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13886 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13887 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13888 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13889 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13890 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13891 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13892 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13893 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13894 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13895 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13896 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13897 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13898 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13899 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13900 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13901 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13902 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13903 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13904 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13905 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13906 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13907 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13908 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13909 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13910 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13911 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13912 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13913 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13914 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13915 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13916 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13917 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13918 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13919 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13920 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13921 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13922 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13923 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13924 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13925 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13926 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13927 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13928 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13929 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13930 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13931 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13932 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13933 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13934 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13935 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13936 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13937 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13938 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13939 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13940 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13941 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13942 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13943 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13946 LTCFLAGS='$LTCFLAGS'
13947 compiler='$compiler_DEFAULT'
13949 # A function that is used when there is no print builtin or printf.
13950 func_fallback_echo ()
13952 eval 'cat <<_LTECHO_EOF
13957 # Quote evaled strings.
13972 deplibs_check_method \
13977 sharedlib_from_linklib_cmd \
13980 archiver_list_spec \
13986 lt_cv_sys_global_symbol_pipe \
13987 lt_cv_sys_global_symbol_to_cdecl \
13988 lt_cv_sys_global_symbol_to_c_name_address \
13989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13990 nm_file_list_spec \
13991 lt_prog_compiler_no_builtin_flag \
13992 lt_prog_compiler_pic \
13993 lt_prog_compiler_wl \
13994 lt_prog_compiler_static \
13995 lt_cv_prog_compiler_c_o \
14004 export_dynamic_flag_spec \
14005 whole_archive_flag_spec \
14006 compiler_needs_object \
14008 allow_undefined_flag \
14009 no_undefined_flag \
14010 hardcode_libdir_flag_spec \
14011 hardcode_libdir_separator \
14015 variables_saved_for_relink \
14017 library_names_spec \
14019 install_override_mode \
14023 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14024 *[\\\\\\\`\\"\\\$]*)
14025 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14028 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14033 # Double-quote double-evaled strings.
14034 for var in reload_cmds \
14035 old_postinstall_cmds \
14036 old_postuninstall_cmds \
14038 extract_expsyms_cmds \
14039 old_archive_from_new_cmds \
14040 old_archive_from_expsyms_cmds \
14042 archive_expsym_cmds \
14044 module_expsym_cmds \
14045 export_symbols_cmds \
14049 postuninstall_cmds \
14051 sys_lib_search_path_spec \
14052 sys_lib_dlsearch_path_spec; do
14053 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14054 *[\\\\\\\`\\"\\\$]*)
14055 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14058 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14063 ac_aux_dir='$ac_aux_dir'
14064 xsi_shell='$xsi_shell'
14065 lt_shell_append='$lt_shell_append'
14067 # See if we are running on zsh, and set the options which allow our
14068 # commands through without removal of \ escapes INIT.
14069 if test -n "\${ZSH_VERSION+set}" ; then
14070 setopt NO_GLOB_SUBST
14076 TIMESTAMP='$TIMESTAMP'
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14087 # Handling of arguments.
14088 for ac_config_target in $ac_config_targets
14090 case $ac_config_target in
14091 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14092 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14093 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14094 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14095 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
14096 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
14097 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
14098 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14099 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14100 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14101 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
14102 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14103 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
14104 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14105 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
14106 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
14107 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
14108 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
14109 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
14110 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
14111 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14112 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
14113 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
14114 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
14115 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14116 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14117 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
14118 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14119 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
14120 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
14122 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14127 # If the user did not use the arguments to specify the items to instantiate,
14128 # then the envvar interface is used. Set only those that are not.
14129 # We use the long form for the default assignment because of an extremely
14130 # bizarre bug on SunOS 4.1.3.
14131 if $ac_need_defaults; then
14132 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14133 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14134 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14137 # Have a temporary directory for convenience. Make it in the build tree
14138 # simply because there is no reason against having it here, and in addition,
14139 # creating and moving files from /tmp can sometimes cause problems.
14140 # Hook for its removal unless debugging.
14141 # Note that there is a small window in which the directory will not be cleaned:
14142 # after its creation but before its name has been assigned to `$tmp'.
14146 trap 'exit_status=$?
14147 : "${ac_tmp:=$tmp}"
14148 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14150 trap 'as_fn_exit 1' 1 2 13 15
14152 # Create a (secure) tmp directory for tmp files.
14155 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14159 tmp=./conf$$-$RANDOM
14160 (umask 077 && mkdir "$tmp")
14161 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14164 # Set up the scripts for CONFIG_FILES section.
14165 # No need to generate them if there are no CONFIG_FILES.
14166 # This happens for instance with `./config.status config.h'.
14167 if test -n "$CONFIG_FILES"; then
14170 ac_cr=`echo X | tr X '\015'`
14171 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14172 # But we know of no other shell where ac_cr would be empty at this
14173 # point, so we can use a bashism as a fallback.
14174 if test "x$ac_cr" = x; then
14175 eval ac_cr=\$\'\\r\'
14177 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14178 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14181 ac_cs_awk_cr=$ac_cr
14184 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14189 echo "cat >conf$$subs.awk <<_ACEOF" &&
14190 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14192 } >conf$$subs.sh ||
14193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14194 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14196 for ac_last_try in false false false false false :; do
14197 . ./conf$$subs.sh ||
14198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14200 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14201 if test $ac_delim_n = $ac_delim_num; then
14203 elif $ac_last_try; then
14204 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14206 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14209 rm -f conf$$subs.sh
14211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14212 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14216 s/^/S["/; s/!.*/"]=/
14226 s/\(.\{148\}\)..*/\1/
14228 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14240 s/\(.\{148\}\)..*/\1/
14242 s/["\\]/\\&/g; s/^/"/; s/$/"/
14246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14251 ' <conf$$subs.awk | sed '
14256 ' >>$CONFIG_STATUS || ac_write_fail=1
14257 rm -f conf$$subs.awk
14258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14260 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14261 for (key in S) S_is_set[key] = 1
14267 nfields = split(line, field, "@")
14269 len = length(field[1])
14270 for (i = 2; i < nfields; i++) {
14272 keylen = length(key)
14273 if (S_is_set[key]) {
14275 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14276 len += length(value) + length(field[++i])
14287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14288 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14289 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14292 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14293 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14296 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14297 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14298 # trailing colons and then remove the whole line if VPATH becomes empty
14299 # (actually we leave an empty line to preserve line numbers).
14300 if test "x$srcdir" = x.; then
14301 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14320 fi # test -n "$CONFIG_FILES"
14322 # Set up the scripts for CONFIG_HEADERS section.
14323 # No need to generate them if there are no CONFIG_HEADERS.
14324 # This happens for instance with `./config.status Makefile'.
14325 if test -n "$CONFIG_HEADERS"; then
14326 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14330 # Transform confdefs.h into an awk script `defines.awk', embedded as
14331 # here-document in config.status, that substitutes the proper values into
14332 # config.h.in to produce config.h.
14334 # Create a delimiter string that does not exist in confdefs.h, to ease
14335 # handling of long lines.
14337 for ac_last_try in false false :; do
14338 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14339 if test -z "$ac_tt"; then
14341 elif $ac_last_try; then
14342 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14344 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14348 # For the awk script, D is an array of macro values keyed by name,
14349 # likewise P contains macro parameters if any. Preserve backslash
14350 # newline sequences.
14352 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14354 s/.\{148\}/&'"$ac_delim"'/g
14357 s/^[ ]*#[ ]*define[ ][ ]*/ /
14364 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14370 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14371 D["\1"]=" \3\\\\\\n"\\/p
14373 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14378 s/.\{148\}/&'"$ac_delim"'/g
14383 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14386 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14388 ' <confdefs.h | sed '
14389 s/'"$ac_delim"'/"\\\
14390 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14393 for (key in D) D_is_set[key] = 1
14396 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14398 split(line, arg, " ")
14399 if (arg[1] == "#") {
14403 defundef = substr(arg[1], 2)
14406 split(mac1, mac2, "(") #)
14408 prefix = substr(line, 1, index(line, defundef) - 1)
14409 if (D_is_set[macro]) {
14410 # Preserve the white space surrounding the "#".
14411 print prefix "define", macro P[macro] D[macro]
14414 # Replace #undef with comments. This is necessary, for example,
14415 # in the case of _POSIX_SOURCE, which is predefined and required
14416 # on some systems where configure will not decide to define it.
14417 if (defundef == "undef") {
14418 print "/*", prefix defundef, macro, "*/"
14426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14427 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14428 fi # test -n "$CONFIG_HEADERS"
14431 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14436 :[FHLC]) ac_mode=$ac_tag; continue;;
14438 case $ac_mode$ac_tag in
14440 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14441 :[FH]-) ac_tag=-:-;;
14442 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14459 -) ac_f="$ac_tmp/stdin";;
14460 *) # Look for the file first in the build tree, then in the source tree
14461 # (if the path is not absolute). The absolute path cannot be DOS-style,
14462 # because $ac_f cannot contain `:'.
14466 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14468 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14470 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14471 as_fn_append ac_file_inputs " '$ac_f'"
14474 # Let's still pretend it is `configure' which instantiates (i.e., don't
14475 # use $as_me), people would be surprised to read:
14476 # /* config.h. Generated by config.status. */
14477 configure_input='Generated from '`
14478 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14480 if test x"$ac_file" != x-; then
14481 configure_input="$ac_file. $configure_input"
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14483 $as_echo "$as_me: creating $ac_file" >&6;}
14485 # Neutralize special characters interpreted by sed in replacement strings.
14486 case $configure_input in #(
14487 *\&* | *\|* | *\\* )
14488 ac_sed_conf_input=`$as_echo "$configure_input" |
14489 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14490 *) ac_sed_conf_input=$configure_input;;
14494 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14500 ac_dir=`$as_dirname -- "$ac_file" ||
14501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14502 X"$ac_file" : 'X\(//\)[^/]' \| \
14503 X"$ac_file" : 'X\(//\)$' \| \
14504 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14505 $as_echo X"$ac_file" |
14506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14510 /^X\(\/\/\)[^/].*/{
14523 as_dir="$ac_dir"; as_fn_mkdir_p
14527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14529 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14530 # A ".." for each directory in $ac_dir_suffix.
14531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14532 case $ac_top_builddir_sub in
14533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14537 ac_abs_top_builddir=$ac_pwd
14538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14539 # for backward compatibility:
14540 ac_top_builddir=$ac_top_build_prefix
14543 .) # We are building in place.
14545 ac_top_srcdir=$ac_top_builddir_sub
14546 ac_abs_top_srcdir=$ac_pwd ;;
14547 [\\/]* | ?:[\\/]* ) # Absolute name.
14548 ac_srcdir=$srcdir$ac_dir_suffix;
14549 ac_top_srcdir=$srcdir
14550 ac_abs_top_srcdir=$srcdir ;;
14551 *) # Relative name.
14552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14553 ac_top_srcdir=$ac_top_build_prefix$srcdir
14554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14566 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14567 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14569 ac_MKDIR_P=$MKDIR_P
14571 [\\/$]* | ?:[\\/]* ) ;;
14572 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14577 # If the template does not know about datarootdir, expand it.
14578 # FIXME: This hack should be removed a few years after 2.60.
14579 ac_datarootdir_hack=; ac_datarootdir_seen=
14590 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14591 *datarootdir*) ac_datarootdir_seen=yes;;
14592 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14594 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14597 ac_datarootdir_hack='
14598 s&@datadir@&$datadir&g
14599 s&@docdir@&$docdir&g
14600 s&@infodir@&$infodir&g
14601 s&@localedir@&$localedir&g
14602 s&@mandir@&$mandir&g
14603 s&\\\${datarootdir}&$datarootdir&g' ;;
14607 # Neutralize VPATH when `$srcdir' = `.'.
14608 # Shell code in configure.ac might set extrasub.
14609 # FIXME: do we really want to maintain this feature?
14610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14611 ac_sed_extra="$ac_vpsub
14614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14617 s|@configure_input@|$ac_sed_conf_input|;t t
14618 s&@top_builddir@&$ac_top_builddir_sub&;t t
14619 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14620 s&@srcdir@&$ac_srcdir&;t t
14621 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14622 s&@top_srcdir@&$ac_top_srcdir&;t t
14623 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14624 s&@builddir@&$ac_builddir&;t t
14625 s&@abs_builddir@&$ac_abs_builddir&;t t
14626 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14627 s&@INSTALL@&$ac_INSTALL&;t t
14628 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14629 $ac_datarootdir_hack
14631 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14632 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14635 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14637 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14639 which seems to be undefined. Please make sure it is defined" >&5
14640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14641 which seems to be undefined. Please make sure it is defined" >&2;}
14643 rm -f "$ac_tmp/stdin"
14645 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14646 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14654 if test x"$ac_file" != x-; then
14656 $as_echo "/* $configure_input */" \
14657 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14658 } >"$ac_tmp/config.h" \
14659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14660 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14662 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14665 mv "$ac_tmp/config.h" "$ac_file" \
14666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14669 $as_echo "/* $configure_input */" \
14670 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14671 || as_fn_error $? "could not create -" "$LINENO" 5
14673 # Compute "$ac_file"'s index in $config_headers.
14676 for _am_header in $config_headers :; do
14677 case $_am_header in
14678 $_am_arg | $_am_arg:* )
14681 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14684 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14685 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14686 X"$_am_arg" : 'X\(//\)[^/]' \| \
14687 X"$_am_arg" : 'X\(//\)$' \| \
14688 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14689 $as_echo X"$_am_arg" |
14690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14694 /^X\(\/\/\)[^/].*/{
14706 s/.*/./; q'`/stamp-h$_am_stamp_count
14709 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14710 $as_echo "$as_me: executing $ac_file commands" >&6;}
14715 case $ac_file$ac_mode in
14716 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14717 # Older Autoconf quotes --file arguments for eval, but not when files
14718 # are listed without --file. Let's play safe and only enable the eval
14719 # if we detect the quoting.
14720 case $CONFIG_FILES in
14721 *\'*) eval set x "$CONFIG_FILES" ;;
14722 *) set x $CONFIG_FILES ;;
14727 # Strip MF so we end up with the name of the file.
14728 mf=`echo "$mf" | sed -e 's/:.*$//'`
14729 # Check whether this is an Automake generated Makefile or not.
14730 # We used to match only the files named 'Makefile.in', but
14731 # some people rename them; so instead we look at the file content.
14732 # Grep'ing the first line is not enough: some people post-process
14733 # each Makefile.in and add a new line on top of each file to say so.
14734 # Grep'ing the whole file is not good either: AIX grep has a line
14735 # limit of 2048, but all sed's we know have understand at least 4000.
14736 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14737 dirpart=`$as_dirname -- "$mf" ||
14738 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14739 X"$mf" : 'X\(//\)[^/]' \| \
14740 X"$mf" : 'X\(//\)$' \| \
14741 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14747 /^X\(\/\/\)[^/].*/{
14763 # Extract the definition of DEPDIR, am__include, and am__quote
14764 # from the Makefile without running 'make'.
14765 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14766 test -z "$DEPDIR" && continue
14767 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14768 test -z "$am__include" && continue
14769 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14770 # Find all dependency output files, they are included files with
14771 # $(DEPDIR) in their names. We invoke sed twice because it is the
14772 # simplest approach to changing $(DEPDIR) to its actual value in the
14774 for file in `sed -n "
14775 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14776 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14777 # Make sure the directory exists.
14778 test -f "$dirpart/$file" && continue
14779 fdir=`$as_dirname -- "$file" ||
14780 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14781 X"$file" : 'X\(//\)[^/]' \| \
14782 X"$file" : 'X\(//\)$' \| \
14783 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14784 $as_echo X"$file" |
14785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14789 /^X\(\/\/\)[^/].*/{
14802 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14803 # echo "creating $dirpart/$file"
14804 echo '# dummy' > "$dirpart/$file"
14811 # See if we are running on zsh, and set the options which allow our
14812 # commands through without removal of \ escapes.
14813 if test -n "${ZSH_VERSION+set}" ; then
14814 setopt NO_GLOB_SUBST
14817 cfgfile="${ofile}T"
14818 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14821 cat <<_LT_EOF >> "$cfgfile"
14824 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14825 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14826 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14827 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14829 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14830 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14832 # Written by Gordon Matzigkeit, 1996
14834 # This file is part of GNU Libtool.
14836 # GNU Libtool is free software; you can redistribute it and/or
14837 # modify it under the terms of the GNU General Public License as
14838 # published by the Free Software Foundation; either version 2 of
14839 # the License, or (at your option) any later version.
14841 # As a special exception to the GNU General Public License,
14842 # if you distribute this file as part of a program or library that
14843 # is built using GNU Libtool, you may include this file under the
14844 # same distribution terms that you use for the rest of that program.
14846 # GNU Libtool is distributed in the hope that it will be useful,
14847 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14848 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14849 # GNU General Public License for more details.
14851 # You should have received a copy of the GNU General Public License
14852 # along with GNU Libtool; see the file COPYING. If not, a copy
14853 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14854 # obtained by writing to the Free Software Foundation, Inc.,
14855 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14858 # The names of the tagged configurations supported by this script.
14861 # ### BEGIN LIBTOOL CONFIG
14863 # Which release of libtool.m4 was used?
14864 macro_version=$macro_version
14865 macro_revision=$macro_revision
14867 # Whether or not to build static libraries.
14868 build_old_libs=$enable_static
14870 # Whether or not to build shared libraries.
14871 build_libtool_libs=$enable_shared
14873 # What type of objects to build.
14876 # Whether or not to optimize for fast installation.
14877 fast_install=$enable_fast_install
14879 # Shell to use when invoking shell scripts.
14882 # An echo program that protects backslashes.
14885 # The PATH separator for the build system.
14886 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14889 host_alias=$host_alias
14893 # The build system.
14894 build_alias=$build_alias
14898 # A sed program that does not truncate output.
14901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14902 Xsed="\$SED -e 1s/^X//"
14904 # A grep program that handles long lines.
14910 # A literal string matcher.
14913 # A BSD- or MS-compatible name lister.
14916 # Whether we need soft or hard links.
14919 # What is the maximum length of a command?
14920 max_cmd_len=$max_cmd_len
14922 # Object file suffix (normally "o").
14925 # Executable file suffix (normally "").
14928 # whether the shell understands "unset".
14931 # turn spaces into newlines.
14934 # turn newlines into spaces.
14937 # convert \$build file names to \$host format.
14938 to_host_file_cmd=$lt_cv_to_host_file_cmd
14940 # convert \$build files to toolchain format.
14941 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14943 # An object symbol dumper.
14944 OBJDUMP=$lt_OBJDUMP
14946 # Method to check whether dependent libraries are shared objects.
14947 deplibs_check_method=$lt_deplibs_check_method
14949 # Command to use when deplibs_check_method = "file_magic".
14950 file_magic_cmd=$lt_file_magic_cmd
14952 # How to find potential files when deplibs_check_method = "file_magic".
14953 file_magic_glob=$lt_file_magic_glob
14955 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14956 want_nocaseglob=$lt_want_nocaseglob
14958 # DLL creation program.
14959 DLLTOOL=$lt_DLLTOOL
14961 # Command to associate shared and link libraries.
14962 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14967 # Flags to create an archive.
14968 AR_FLAGS=$lt_AR_FLAGS
14970 # How to feed a file listing to the archiver.
14971 archiver_list_spec=$lt_archiver_list_spec
14973 # A symbol stripping program.
14976 # Commands used to install an old-style archive.
14978 old_postinstall_cmds=$lt_old_postinstall_cmds
14979 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14981 # Whether to use a lock for old archive extraction.
14982 lock_old_archive_extraction=$lock_old_archive_extraction
14987 # LTCC compiler flags.
14988 LTCFLAGS=$lt_CFLAGS
14990 # Take the output of nm and produce a listing of raw symbols and C names.
14991 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14993 # Transform the output of nm in a proper C declaration.
14994 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14996 # Transform the output of nm in a C name address pair.
14997 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14999 # Transform the output of nm in a C name address pair when lib prefix is needed.
15000 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15002 # Specify filename containing input files for \$NM.
15003 nm_file_list_spec=$lt_nm_file_list_spec
15005 # The root where to search for dependent libraries,and in which our libraries should be installed.
15006 lt_sysroot=$lt_sysroot
15008 # The name of the directory that contains temporary libtool files.
15011 # Used to examine libraries when file_magic_cmd begins with "file".
15012 MAGIC_CMD=$MAGIC_CMD
15014 # Must we lock files when doing compilation?
15015 need_locks=$lt_need_locks
15018 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15020 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15021 DSYMUTIL=$lt_DSYMUTIL
15023 # Tool to change global to local symbols on Mac OS X.
15026 # Tool to manipulate fat objects and archives on Mac OS X.
15029 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15032 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15033 OTOOL64=$lt_OTOOL64
15035 # Old archive suffix (normally "a").
15038 # Shared library suffix (normally ".so").
15039 shrext_cmds=$lt_shrext_cmds
15041 # The commands to extract the exported symbol list from a shared archive.
15042 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15044 # Variables whose values should be saved in libtool wrapper scripts and
15045 # restored at link time.
15046 variables_saved_for_relink=$lt_variables_saved_for_relink
15048 # Do we need the "lib" prefix for modules?
15049 need_lib_prefix=$need_lib_prefix
15051 # Do we need a version for libraries?
15052 need_version=$need_version
15054 # Library versioning type.
15055 version_type=$version_type
15057 # Shared library runtime path variable.
15058 runpath_var=$runpath_var
15060 # Shared library path variable.
15061 shlibpath_var=$shlibpath_var
15063 # Is shlibpath searched before the hard-coded library search path?
15064 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15066 # Format of library name prefix.
15067 libname_spec=$lt_libname_spec
15069 # List of archive names. First name is the real one, the rest are links.
15070 # The last name is the one that the linker finds with -lNAME
15071 library_names_spec=$lt_library_names_spec
15073 # The coded name of the library, if different from the real name.
15074 soname_spec=$lt_soname_spec
15076 # Permission mode override for installation of shared libraries.
15077 install_override_mode=$lt_install_override_mode
15079 # Command to use after installation of a shared archive.
15080 postinstall_cmds=$lt_postinstall_cmds
15082 # Command to use after uninstallation of a shared archive.
15083 postuninstall_cmds=$lt_postuninstall_cmds
15085 # Commands used to finish a libtool library installation in a directory.
15086 finish_cmds=$lt_finish_cmds
15088 # As "finish_cmds", except a single script fragment to be evaled but
15090 finish_eval=$lt_finish_eval
15092 # Whether we should hardcode library paths into libraries.
15093 hardcode_into_libs=$hardcode_into_libs
15095 # Compile-time system search path for libraries.
15096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15098 # Run-time system search path for libraries.
15099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15101 # Whether dlopen is supported.
15102 dlopen_support=$enable_dlopen
15104 # Whether dlopen of programs is supported.
15105 dlopen_self=$enable_dlopen_self
15107 # Whether dlopen of statically linked programs is supported.
15108 dlopen_self_static=$enable_dlopen_self_static
15110 # Commands to strip libraries.
15111 old_striplib=$lt_old_striplib
15112 striplib=$lt_striplib
15115 # The linker used to build libraries.
15118 # How to create reloadable object files.
15119 reload_flag=$lt_reload_flag
15120 reload_cmds=$lt_reload_cmds
15122 # Commands used to build an old-style archive.
15123 old_archive_cmds=$lt_old_archive_cmds
15125 # A language specific compiler.
15128 # Is the compiler the GNU compiler?
15131 # Compiler flag to turn off builtin functions.
15132 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15134 # Additional compiler flags for building library objects.
15135 pic_flag=$lt_lt_prog_compiler_pic
15137 # How to pass a linker flag through the compiler.
15138 wl=$lt_lt_prog_compiler_wl
15140 # Compiler flag to prevent dynamic linking.
15141 link_static_flag=$lt_lt_prog_compiler_static
15143 # Does compiler simultaneously support -c and -o options?
15144 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15146 # Whether or not to add -lc for building shared libraries.
15147 build_libtool_need_lc=$archive_cmds_need_lc
15149 # Whether or not to disallow shared libs when runtime libs are static.
15150 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15152 # Compiler flag to allow reflexive dlopens.
15153 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15155 # Compiler flag to generate shared objects directly from archives.
15156 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15158 # Whether the compiler copes with passing no objects directly.
15159 compiler_needs_object=$lt_compiler_needs_object
15161 # Create an old-style archive from a shared archive.
15162 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15164 # Create a temporary old-style archive to link instead of a shared archive.
15165 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15167 # Commands used to build a shared archive.
15168 archive_cmds=$lt_archive_cmds
15169 archive_expsym_cmds=$lt_archive_expsym_cmds
15171 # Commands used to build a loadable module if different from building
15172 # a shared archive.
15173 module_cmds=$lt_module_cmds
15174 module_expsym_cmds=$lt_module_expsym_cmds
15176 # Whether we are building with GNU ld or not.
15177 with_gnu_ld=$lt_with_gnu_ld
15179 # Flag that allows shared libraries with undefined symbols to be built.
15180 allow_undefined_flag=$lt_allow_undefined_flag
15182 # Flag that enforces no undefined symbols.
15183 no_undefined_flag=$lt_no_undefined_flag
15185 # Flag to hardcode \$libdir into a binary during linking.
15186 # This must work even if \$libdir does not exist
15187 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15189 # Whether we need a single "-rpath" flag with a separated argument.
15190 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15193 # DIR into the resulting binary.
15194 hardcode_direct=$hardcode_direct
15196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15197 # DIR into the resulting binary and the resulting library dependency is
15198 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15199 # library is relocated.
15200 hardcode_direct_absolute=$hardcode_direct_absolute
15202 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15203 # into the resulting binary.
15204 hardcode_minus_L=$hardcode_minus_L
15206 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15207 # into the resulting binary.
15208 hardcode_shlibpath_var=$hardcode_shlibpath_var
15210 # Set to "yes" if building a shared library automatically hardcodes DIR
15211 # into the library and all subsequent libraries and executables linked
15213 hardcode_automatic=$hardcode_automatic
15215 # Set to yes if linker adds runtime paths of dependent libraries
15216 # to runtime path list.
15217 inherit_rpath=$inherit_rpath
15219 # Whether libtool must link a program against all its dependency libraries.
15220 link_all_deplibs=$link_all_deplibs
15222 # Set to "yes" if exported symbols are required.
15223 always_export_symbols=$always_export_symbols
15225 # The commands to list exported symbols.
15226 export_symbols_cmds=$lt_export_symbols_cmds
15228 # Symbols that should not be listed in the preloaded symbols.
15229 exclude_expsyms=$lt_exclude_expsyms
15231 # Symbols that must always be exported.
15232 include_expsyms=$lt_include_expsyms
15234 # Commands necessary for linking programs (against libraries) with templates.
15235 prelink_cmds=$lt_prelink_cmds
15237 # Commands necessary for finishing linking programs.
15238 postlink_cmds=$lt_postlink_cmds
15240 # Specify filename containing input files.
15241 file_list_spec=$lt_file_list_spec
15243 # How to hardcode a shared library path into an executable.
15244 hardcode_action=$hardcode_action
15246 # ### END LIBTOOL CONFIG
15252 cat <<\_LT_EOF >> "$cfgfile"
15253 # AIX sometimes has problems with the GCC collect2 program. For some
15254 # reason, if we set the COLLECT_NAMES environment variable, the problems
15255 # vanish in a puff of smoke.
15256 if test "X${COLLECT_NAMES+set}" != Xset; then
15258 export COLLECT_NAMES
15265 ltmain="$ac_aux_dir/ltmain.sh"
15268 # We use sed instead of cat because bash on DJGPP gets confused if
15269 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15270 # text mode, it properly converts lines to CR/LF. This bash problem
15271 # is reportedly fixed, but why not run on old versions too?
15272 sed '$q' "$ltmain" >> "$cfgfile" \
15273 || (rm -f "$cfgfile"; exit 1)
15275 if test x"$xsi_shell" = xyes; then
15276 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15280 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15281 \ * ) func_dirname_result="${3}" ;;\
15283 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15284 && mv -f "$cfgfile.tmp" "$cfgfile" \
15285 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15286 test 0 -eq $? || _lt_function_replace_fail=:
15289 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15292 \ func_basename_result="${1##*/}"\
15293 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15294 && mv -f "$cfgfile.tmp" "$cfgfile" \
15295 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15296 test 0 -eq $? || _lt_function_replace_fail=:
15299 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15300 func_dirname_and_basename ()\
15303 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15304 \ * ) func_dirname_result="${3}" ;;\
15306 \ func_basename_result="${1##*/}"\
15307 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15308 && mv -f "$cfgfile.tmp" "$cfgfile" \
15309 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15310 test 0 -eq $? || _lt_function_replace_fail=:
15313 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15316 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15317 \ # positional parameters, so assign one to ordinary parameter first.\
15318 \ func_stripname_result=${3}\
15319 \ func_stripname_result=${func_stripname_result#"${1}"}\
15320 \ func_stripname_result=${func_stripname_result%"${2}"}\
15321 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15322 && mv -f "$cfgfile.tmp" "$cfgfile" \
15323 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15324 test 0 -eq $? || _lt_function_replace_fail=:
15327 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15328 func_split_long_opt ()\
15330 \ func_split_long_opt_name=${1%%=*}\
15331 \ func_split_long_opt_arg=${1#*=}\
15332 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15333 && mv -f "$cfgfile.tmp" "$cfgfile" \
15334 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15335 test 0 -eq $? || _lt_function_replace_fail=:
15338 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15339 func_split_short_opt ()\
15341 \ func_split_short_opt_arg=${1#??}\
15342 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15343 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15344 && mv -f "$cfgfile.tmp" "$cfgfile" \
15345 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15346 test 0 -eq $? || _lt_function_replace_fail=:
15349 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15353 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15354 \ *) func_lo2o_result=${1} ;;\
15356 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15357 && mv -f "$cfgfile.tmp" "$cfgfile" \
15358 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15359 test 0 -eq $? || _lt_function_replace_fail=:
15362 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15365 func_xform_result=${1%.*}.lo\
15366 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15367 && mv -f "$cfgfile.tmp" "$cfgfile" \
15368 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15369 test 0 -eq $? || _lt_function_replace_fail=:
15372 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15375 func_arith_result=$(( $* ))\
15376 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15377 && mv -f "$cfgfile.tmp" "$cfgfile" \
15378 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15379 test 0 -eq $? || _lt_function_replace_fail=:
15382 sed -e '/^func_len ()$/,/^} # func_len /c\
15385 func_len_result=${#1}\
15386 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15387 && mv -f "$cfgfile.tmp" "$cfgfile" \
15388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15389 test 0 -eq $? || _lt_function_replace_fail=:
15393 if test x"$lt_shell_append" = xyes; then
15394 sed -e '/^func_append ()$/,/^} # func_append /c\
15397 eval "${1}+=\\${2}"\
15398 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15399 && mv -f "$cfgfile.tmp" "$cfgfile" \
15400 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15401 test 0 -eq $? || _lt_function_replace_fail=:
15404 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15405 func_append_quoted ()\
15407 \ func_quote_for_eval "${2}"\
15408 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15409 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15410 && mv -f "$cfgfile.tmp" "$cfgfile" \
15411 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15412 test 0 -eq $? || _lt_function_replace_fail=:
15415 # Save a `func_append' function call where possible by direct use of '+='
15416 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15417 && mv -f "$cfgfile.tmp" "$cfgfile" \
15418 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15419 test 0 -eq $? || _lt_function_replace_fail=:
15421 # Save a `func_append' function call even when '+=' is not available
15422 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15423 && mv -f "$cfgfile.tmp" "$cfgfile" \
15424 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15425 test 0 -eq $? || _lt_function_replace_fail=:
15428 if test x"$_lt_function_replace_fail" = x":"; then
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15430 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15434 mv -f "$cfgfile" "$ofile" ||
15435 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15446 ac_clean_files=$ac_clean_files_save
15448 test $ac_write_fail = 0 ||
15449 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15452 # configure is writing to config.log, and then calls config.status.
15453 # config.status does its own redirection, appending to config.log.
15454 # Unfortunately, on DOS this fails, as config.log is still kept open
15455 # by configure, so config.status won't be able to write to it; its
15456 # output is simply discarded. So we exec the FD to /dev/null,
15457 # effectively closing config.log, so it can be properly (re)opened and
15458 # appended to by config.status. When coming back to configure, we
15459 # need to make the FD available again.
15460 if test "$no_create" != yes; then
15462 ac_config_status_args=
15463 test "$silent" = yes &&
15464 ac_config_status_args="$ac_config_status_args --quiet"
15466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15469 # would make configure fail if this is the last instruction.
15470 $ac_cs_success || as_fn_exit 1
15472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15478 if test x$enable_dbus_type != xp2p; then
15479 ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15481 cat >confcache <<\_ACEOF
15482 # This file is a shell script that caches the results of configure
15483 # tests run on this system so they can be shared between configure
15484 # scripts and configure runs, see configure's option --config-cache.
15485 # It is not useful on other systems. If it contains results you don't
15486 # want to keep, you may remove or edit it.
15488 # config.status only pays attention to the cache file if you give it
15489 # the --recheck option to rerun configure.
15491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15493 # following values.
15497 # The following way of writing the cache mishandles newlines in values,
15498 # but we know of no workaround that is simple, portable, and efficient.
15499 # So, we kill variables containing newlines.
15500 # Ultrix sh set writes to stderr and can't be redirected directly,
15501 # and sets the high bit in the cache file unless we assign to the vars.
15503 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15504 eval ac_val=\$$ac_var
15508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15512 _ | IFS | as_nl) ;; #(
15513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15514 *) { eval $ac_var=; unset $ac_var;} ;;
15520 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15521 *${as_nl}ac_space=\ *)
15522 # `set' does not quote correctly, so add quotes: double-quote
15523 # substitution turns \\\\ into \\, and sed turns \\ into \.
15526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15529 # `set' quotes correctly as required by POSIX, so do not add quotes.
15530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15544 if test -w "$cache_file"; then
15545 if test "x$cache_file" != "x/dev/null"; then
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15547 $as_echo "$as_me: updating cache $cache_file" >&6;}
15548 if test ! -f "$cache_file" || test -h "$cache_file"; then
15549 cat confcache >"$cache_file"
15551 case $cache_file in #(
15553 mv -f confcache "$cache_file"$$ &&
15554 mv -f "$cache_file"$$ "$cache_file" ;; #(
15556 mv -f confcache "$cache_file" ;;
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15568 # Let make expand exec_prefix.
15569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15571 DEFS=-DHAVE_CONFIG_H
15576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15577 # 1. Remove the extension, and $U if already installed.
15578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15579 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15581 # will be set to the directory where LIBOBJS objects are built.
15582 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15583 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15585 LIBOBJS=$ac_libobjs
15587 LTLIBOBJS=$ac_ltlibobjs
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15591 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15592 if test -n "$am_sleep_pid"; then
15593 # Hide warnings about reused PIDs.
15594 wait $am_sleep_pid 2>/dev/null
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15597 $as_echo "done" >&6; }
15598 if test -n "$EXEEXT"; then
15600 am__EXEEXT_FALSE='#'
15602 am__EXEEXT_TRUE='#'
15606 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15607 as_fn_error $? "conditional \"AMDEP\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15611 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15615 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15619 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15623 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15627 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15631 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15635 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15639 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15643 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15647 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15651 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15655 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15659 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15663 : "${CONFIG_STATUS=./config.status}"
15665 ac_clean_files_save=$ac_clean_files
15666 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15672 # Generated by $as_me.
15673 # Run this file to recreate the current configuration.
15674 # Compiler output produced by configure, useful for debugging
15675 # configure, is in config.log if it exists.
15678 ac_cs_recheck=false
15681 SHELL=\${CONFIG_SHELL-$SHELL}
15684 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15685 ## -------------------- ##
15686 ## M4sh Initialization. ##
15687 ## -------------------- ##
15689 # Be more Bourne compatible
15690 DUALCASE=1; export DUALCASE # for MKS sh
15691 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15694 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15695 # is contrary to our usage. Disable this feature.
15696 alias -g '${1+"$@"}'='"$@"'
15697 setopt NO_GLOB_SUBST
15699 case `(set -o) 2>/dev/null` in #(
15711 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15712 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15715 # Prefer a ksh shell builtin over an external printf program on Solaris,
15716 # but without wasting forks for bash or zsh.
15717 if test -z "$BASH_VERSION$ZSH_VERSION" \
15718 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15719 as_echo='print -r --'
15720 as_echo_n='print -rn --'
15721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15722 as_echo='printf %s\n'
15723 as_echo_n='printf %s'
15725 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15726 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15727 as_echo_n='/usr/ucb/echo -n'
15729 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15730 as_echo_n_body='eval
15734 expr "X$arg" : "X\\(.*\\)$as_nl";
15735 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15737 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15739 export as_echo_n_body
15740 as_echo_n='sh -c $as_echo_n_body as_echo'
15742 export as_echo_body
15743 as_echo='sh -c $as_echo_body as_echo'
15746 # The user is always right.
15747 if test "${PATH_SEPARATOR+set}" != set; then
15749 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15750 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15757 # We need space, tab and new line, in precisely that order. Quoting is
15758 # there to prevent editors from complaining about space-tab.
15759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15760 # splitting by setting IFS to empty value.)
15763 # Find who we are. Look in the path if we contain no directory separator.
15766 *[\\/]* ) as_myself=$0 ;;
15767 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15768 for as_dir in $PATH
15771 test -z "$as_dir" && as_dir=.
15772 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15778 # We did not find ourselves, most probably we were run as `sh COMMAND'
15779 # in which case we are not to be found in the path.
15780 if test "x$as_myself" = x; then
15783 if test ! -f "$as_myself"; then
15784 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15788 # Unset variables that we do not need and which cause bugs (e.g. in
15789 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15790 # suppresses any "Segmentation fault" message there. '((' could
15791 # trigger a bug in pdksh 5.2.14.
15792 for as_var in BASH_ENV ENV MAIL MAILPATH
15793 do eval test x\${$as_var+set} = xset \
15794 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15807 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15810 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15811 # ----------------------------------------
15812 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15813 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15814 # script with STATUS, using 1 if that was 0.
15817 as_status=$1; test $as_status -eq 0 && as_status=1
15819 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15820 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15822 $as_echo "$as_me: error: $2" >&2
15823 as_fn_exit $as_status
15827 # as_fn_set_status STATUS
15828 # -----------------------
15829 # Set $? to STATUS, without forking.
15830 as_fn_set_status ()
15833 } # as_fn_set_status
15835 # as_fn_exit STATUS
15836 # -----------------
15837 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15841 as_fn_set_status $1
15847 # Portably unset VAR.
15850 { eval $1=; unset $1;}
15852 as_unset=as_fn_unset
15853 # as_fn_append VAR VALUE
15854 # ----------------------
15855 # Append the text in VALUE to the end of the definition contained in VAR. Take
15856 # advantage of any shell optimizations that allow amortized linear growth over
15857 # repeated appends, instead of the typical quadratic growth present in naive
15859 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15860 eval 'as_fn_append ()
15871 # as_fn_arith ARG...
15872 # ------------------
15873 # Perform arithmetic evaluation on the ARGs, and store the result in the
15874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15875 # must be portable across $(()) and expr.
15876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15877 eval 'as_fn_arith ()
15884 as_val=`expr "$@" || test $? -eq 1`
15889 if expr a : '\(a\)' >/dev/null 2>&1 &&
15890 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15896 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15897 as_basename=basename
15902 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15908 as_me=`$as_basename -- "$0" ||
15909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15910 X"$0" : 'X\(//\)$' \| \
15911 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15913 sed '/^.*\/\([^/][^/]*\)\/*$/{
15927 # Avoid depending upon Character Ranges.
15928 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15929 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15930 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15931 as_cr_digits='0123456789'
15932 as_cr_alnum=$as_cr_Letters$as_cr_digits
15934 ECHO_C= ECHO_N= ECHO_T=
15935 case `echo -n x` in #(((((
15937 case `echo 'xy\c'` in
15938 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15940 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15947 rm -f conf$$ conf$$.exe conf$$.file
15948 if test -d conf$$.dir; then
15949 rm -f conf$$.dir/conf$$.file
15952 mkdir conf$$.dir 2>/dev/null
15954 if (echo >conf$$.file) 2>/dev/null; then
15955 if ln -s conf$$.file conf$$ 2>/dev/null; then
15957 # ... but there are two gotchas:
15958 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15959 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15960 # In both cases, we have to default to `cp -pR'.
15961 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15963 elif ln conf$$.file conf$$ 2>/dev/null; then
15971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15972 rmdir conf$$.dir 2>/dev/null
15977 # Create "$as_dir" as a directory, including parents if necessary.
15982 -*) as_dir=./$as_dir;;
15984 test -d "$as_dir" || eval $as_mkdir_p || {
15988 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15989 *) as_qdir=$as_dir;;
15991 as_dirs="'$as_qdir' $as_dirs"
15992 as_dir=`$as_dirname -- "$as_dir" ||
15993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15994 X"$as_dir" : 'X\(//\)[^/]' \| \
15995 X"$as_dir" : 'X\(//\)$' \| \
15996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15997 $as_echo X"$as_dir" |
15998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16002 /^X\(\/\/\)[^/].*/{
16015 test -d "$as_dir" && break
16017 test -z "$as_dirs" || eval "mkdir $as_dirs"
16018 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16022 if mkdir -p . 2>/dev/null; then
16023 as_mkdir_p='mkdir -p "$as_dir"'
16025 test -d ./-p && rmdir ./-p
16030 # as_fn_executable_p FILE
16031 # -----------------------
16032 # Test if FILE is an executable regular file.
16033 as_fn_executable_p ()
16035 test -f "$1" && test -x "$1"
16036 } # as_fn_executable_p
16037 as_test_x='test -x'
16038 as_executable_p=as_fn_executable_p
16040 # Sed expression to map a string onto a valid CPP name.
16041 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16043 # Sed expression to map a string onto a valid variable name.
16044 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16048 ## ----------------------------------- ##
16049 ## Main body of $CONFIG_STATUS script. ##
16050 ## ----------------------------------- ##
16052 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16055 # Save the log message, to keep $0 and so on meaningful, and to
16056 # report actual input values of CONFIG_FILES etc. instead of their
16057 # values after options handling.
16059 This file was extended by gsignond $as_me 1.0.1, which was
16060 generated by GNU Autoconf 2.69. Invocation command line was
16062 CONFIG_FILES = $CONFIG_FILES
16063 CONFIG_HEADERS = $CONFIG_HEADERS
16064 CONFIG_LINKS = $CONFIG_LINKS
16065 CONFIG_COMMANDS = $CONFIG_COMMANDS
16068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16073 case $ac_config_files in *"
16074 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16077 case $ac_config_headers in *"
16078 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 # Files that config.status was made for.
16084 config_files="$ac_config_files"
16085 config_headers="$ac_config_headers"
16086 config_commands="$ac_config_commands"
16090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16092 \`$as_me' instantiates files and other configuration actions
16093 from templates according to the current configuration. Unless the files
16094 and actions are specified as TAGs, all are instantiated by default.
16096 Usage: $0 [OPTION]... [TAG]...
16098 -h, --help print this help, then exit
16099 -V, --version print version number and configuration settings, then exit
16100 --config print configuration, then exit
16101 -q, --quiet, --silent
16102 do not print progress messages
16103 -d, --debug don't remove temporary files
16104 --recheck update $as_me by reconfiguring in the same conditions
16105 --file=FILE[:TEMPLATE]
16106 instantiate the configuration file FILE
16107 --header=FILE[:TEMPLATE]
16108 instantiate the configuration header FILE
16110 Configuration files:
16113 Configuration headers:
16116 Configuration commands:
16119 Report bugs to the package provider.
16120 gsignond home page: <http://01.org/gsso>."
16123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16124 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16126 gsignond config.status 1.0.1
16127 configured by $0, generated by GNU Autoconf 2.69,
16128 with options \\"\$ac_cs_config\\"
16130 Copyright (C) 2012 Free Software Foundation, Inc.
16131 This config.status script is free software; the Free Software Foundation
16132 gives unlimited permission to copy, distribute and modify it."
16139 test -n "\$AWK" || AWK=awk
16142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16143 # The default lists apply if the user does not specify any file.
16149 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16150 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16154 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16166 # Handling of the options.
16167 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16169 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16170 $as_echo "$ac_cs_version"; exit ;;
16171 --config | --confi | --conf | --con | --co | --c )
16172 $as_echo "$ac_cs_config"; exit ;;
16173 --debug | --debu | --deb | --de | --d | -d )
16175 --file | --fil | --fi | --f )
16178 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179 '') as_fn_error $? "missing file argument" ;;
16181 as_fn_append CONFIG_FILES " '$ac_optarg'"
16182 ac_need_defaults=false;;
16183 --header | --heade | --head | --hea )
16186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16188 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16189 ac_need_defaults=false;;
16191 # Conflict between --help and --header
16192 as_fn_error $? "ambiguous option: \`$1'
16193 Try \`$0 --help' for more information.";;
16194 --help | --hel | -h )
16195 $as_echo "$ac_cs_usage"; exit ;;
16196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16197 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16200 # This is an error.
16201 -*) as_fn_error $? "unrecognized option: \`$1'
16202 Try \`$0 --help' for more information." ;;
16204 *) as_fn_append ac_config_targets " $1"
16205 ac_need_defaults=false ;;
16211 ac_configure_extra_args=
16213 if $ac_cs_silent; then
16215 ac_configure_extra_args="$ac_configure_extra_args --silent"
16219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16220 if \$ac_cs_recheck; then
16221 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16223 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16224 CONFIG_SHELL='$SHELL'
16225 export CONFIG_SHELL
16230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16235 ## Running $as_me. ##
16241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16245 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16248 # The HP-UX ksh and POSIX shell print the target directory to stdout
16249 # if CDPATH is set.
16250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16252 sed_quote_subst='$sed_quote_subst'
16253 double_quote_subst='$double_quote_subst'
16254 delay_variable_subst='$delay_variable_subst'
16255 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16256 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16257 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16258 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16259 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16260 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16261 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16262 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16263 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16264 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16265 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16266 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16267 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16268 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16269 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16270 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16271 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16272 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16273 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16274 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16275 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16276 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16277 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16278 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16279 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16280 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16281 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16282 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16283 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16285 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16286 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16287 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16288 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16289 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16290 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16291 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16292 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16293 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16294 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16295 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16296 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16297 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16298 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16299 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16300 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16302 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16303 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16304 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16305 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16306 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16307 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16308 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16309 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16310 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16311 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"`'
16312 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16313 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16314 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16315 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16316 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16320 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16321 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16322 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16323 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16324 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16325 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16326 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16327 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16328 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16329 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16330 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16331 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16332 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16333 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16334 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16335 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16336 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16337 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16338 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16339 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16340 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16341 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16342 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16343 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16344 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16346 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16347 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16348 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16349 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16350 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16351 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16352 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16353 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16354 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16355 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16356 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16357 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16358 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16359 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16360 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16361 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16362 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16363 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16364 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16365 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16366 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16367 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16368 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16369 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16370 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16371 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16372 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16373 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16374 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16375 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16376 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16377 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16378 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16379 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16380 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16382 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16383 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16384 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16387 LTCFLAGS='$LTCFLAGS'
16388 compiler='$compiler_DEFAULT'
16390 # A function that is used when there is no print builtin or printf.
16391 func_fallback_echo ()
16393 eval 'cat <<_LTECHO_EOF
16398 # Quote evaled strings.
16413 deplibs_check_method \
16418 sharedlib_from_linklib_cmd \
16421 archiver_list_spec \
16427 lt_cv_sys_global_symbol_pipe \
16428 lt_cv_sys_global_symbol_to_cdecl \
16429 lt_cv_sys_global_symbol_to_c_name_address \
16430 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16431 nm_file_list_spec \
16432 lt_prog_compiler_no_builtin_flag \
16433 lt_prog_compiler_pic \
16434 lt_prog_compiler_wl \
16435 lt_prog_compiler_static \
16436 lt_cv_prog_compiler_c_o \
16445 export_dynamic_flag_spec \
16446 whole_archive_flag_spec \
16447 compiler_needs_object \
16449 allow_undefined_flag \
16450 no_undefined_flag \
16451 hardcode_libdir_flag_spec \
16452 hardcode_libdir_separator \
16456 variables_saved_for_relink \
16458 library_names_spec \
16460 install_override_mode \
16464 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16465 *[\\\\\\\`\\"\\\$]*)
16466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16474 # Double-quote double-evaled strings.
16475 for var in reload_cmds \
16476 old_postinstall_cmds \
16477 old_postuninstall_cmds \
16479 extract_expsyms_cmds \
16480 old_archive_from_new_cmds \
16481 old_archive_from_expsyms_cmds \
16483 archive_expsym_cmds \
16485 module_expsym_cmds \
16486 export_symbols_cmds \
16490 postuninstall_cmds \
16492 sys_lib_search_path_spec \
16493 sys_lib_dlsearch_path_spec; do
16494 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16495 *[\\\\\\\`\\"\\\$]*)
16496 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16499 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16504 ac_aux_dir='$ac_aux_dir'
16505 xsi_shell='$xsi_shell'
16506 lt_shell_append='$lt_shell_append'
16508 # See if we are running on zsh, and set the options which allow our
16509 # commands through without removal of \ escapes INIT.
16510 if test -n "\${ZSH_VERSION+set}" ; then
16511 setopt NO_GLOB_SUBST
16517 TIMESTAMP='$TIMESTAMP'
16521 ac_aux_dir='$ac_aux_dir'
16527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16529 # Handling of arguments.
16530 for ac_config_target in $ac_config_targets
16532 case $ac_config_target in
16533 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16534 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16535 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16536 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16537 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16538 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16539 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16540 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16541 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16542 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16543 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16544 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16545 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16546 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16547 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16548 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16549 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16550 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16551 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16552 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16553 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16554 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16555 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16556 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16557 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16558 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16559 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16560 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16561 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16562 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16563 "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16565 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16570 # If the user did not use the arguments to specify the items to instantiate,
16571 # then the envvar interface is used. Set only those that are not.
16572 # We use the long form for the default assignment because of an extremely
16573 # bizarre bug on SunOS 4.1.3.
16574 if $ac_need_defaults; then
16575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16576 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16577 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16580 # Have a temporary directory for convenience. Make it in the build tree
16581 # simply because there is no reason against having it here, and in addition,
16582 # creating and moving files from /tmp can sometimes cause problems.
16583 # Hook for its removal unless debugging.
16584 # Note that there is a small window in which the directory will not be cleaned:
16585 # after its creation but before its name has been assigned to `$tmp'.
16589 trap 'exit_status=$?
16590 : "${ac_tmp:=$tmp}"
16591 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16593 trap 'as_fn_exit 1' 1 2 13 15
16595 # Create a (secure) tmp directory for tmp files.
16598 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16602 tmp=./conf$$-$RANDOM
16603 (umask 077 && mkdir "$tmp")
16604 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16607 # Set up the scripts for CONFIG_FILES section.
16608 # No need to generate them if there are no CONFIG_FILES.
16609 # This happens for instance with `./config.status config.h'.
16610 if test -n "$CONFIG_FILES"; then
16613 ac_cr=`echo X | tr X '\015'`
16614 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16615 # But we know of no other shell where ac_cr would be empty at this
16616 # point, so we can use a bashism as a fallback.
16617 if test "x$ac_cr" = x; then
16618 eval ac_cr=\$\'\\r\'
16620 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16624 ac_cs_awk_cr=$ac_cr
16627 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16632 echo "cat >conf$$subs.awk <<_ACEOF" &&
16633 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16635 } >conf$$subs.sh ||
16636 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16637 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16639 for ac_last_try in false false false false false :; do
16640 . ./conf$$subs.sh ||
16641 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16643 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16644 if test $ac_delim_n = $ac_delim_num; then
16646 elif $ac_last_try; then
16647 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16649 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16652 rm -f conf$$subs.sh
16654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16655 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16659 s/^/S["/; s/!.*/"]=/
16669 s/\(.\{148\}\)..*/\1/
16671 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16676 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16683 s/\(.\{148\}\)..*/\1/
16685 s/["\\]/\\&/g; s/^/"/; s/$/"/
16689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16694 ' <conf$$subs.awk | sed '
16699 ' >>$CONFIG_STATUS || ac_write_fail=1
16700 rm -f conf$$subs.awk
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16703 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16704 for (key in S) S_is_set[key] = 1
16710 nfields = split(line, field, "@")
16712 len = length(field[1])
16713 for (i = 2; i < nfields; i++) {
16715 keylen = length(key)
16716 if (S_is_set[key]) {
16718 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16719 len += length(value) + length(field[++i])
16730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16731 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16732 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16735 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16736 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16739 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16740 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16741 # trailing colons and then remove the whole line if VPATH becomes empty
16742 # (actually we leave an empty line to preserve line numbers).
16743 if test "x$srcdir" = x.; then
16744 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16763 fi # test -n "$CONFIG_FILES"
16765 # Set up the scripts for CONFIG_HEADERS section.
16766 # No need to generate them if there are no CONFIG_HEADERS.
16767 # This happens for instance with `./config.status Makefile'.
16768 if test -n "$CONFIG_HEADERS"; then
16769 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16773 # Transform confdefs.h into an awk script `defines.awk', embedded as
16774 # here-document in config.status, that substitutes the proper values into
16775 # config.h.in to produce config.h.
16777 # Create a delimiter string that does not exist in confdefs.h, to ease
16778 # handling of long lines.
16780 for ac_last_try in false false :; do
16781 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16782 if test -z "$ac_tt"; then
16784 elif $ac_last_try; then
16785 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16787 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16791 # For the awk script, D is an array of macro values keyed by name,
16792 # likewise P contains macro parameters if any. Preserve backslash
16793 # newline sequences.
16795 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16797 s/.\{148\}/&'"$ac_delim"'/g
16800 s/^[ ]*#[ ]*define[ ][ ]*/ /
16807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16809 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16813 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16814 D["\1"]=" \3\\\\\\n"\\/p
16816 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16821 s/.\{148\}/&'"$ac_delim"'/g
16826 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16829 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16831 ' <confdefs.h | sed '
16832 s/'"$ac_delim"'/"\\\
16833 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16836 for (key in D) D_is_set[key] = 1
16839 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16841 split(line, arg, " ")
16842 if (arg[1] == "#") {
16846 defundef = substr(arg[1], 2)
16849 split(mac1, mac2, "(") #)
16851 prefix = substr(line, 1, index(line, defundef) - 1)
16852 if (D_is_set[macro]) {
16853 # Preserve the white space surrounding the "#".
16854 print prefix "define", macro P[macro] D[macro]
16857 # Replace #undef with comments. This is necessary, for example,
16858 # in the case of _POSIX_SOURCE, which is predefined and required
16859 # on some systems where configure will not decide to define it.
16860 if (defundef == "undef") {
16861 print "/*", prefix defundef, macro, "*/"
16869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16870 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16871 fi # test -n "$CONFIG_HEADERS"
16874 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16879 :[FHLC]) ac_mode=$ac_tag; continue;;
16881 case $ac_mode$ac_tag in
16883 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16884 :[FH]-) ac_tag=-:-;;
16885 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16902 -) ac_f="$ac_tmp/stdin";;
16903 *) # Look for the file first in the build tree, then in the source tree
16904 # (if the path is not absolute). The absolute path cannot be DOS-style,
16905 # because $ac_f cannot contain `:'.
16909 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16911 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16913 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16914 as_fn_append ac_file_inputs " '$ac_f'"
16917 # Let's still pretend it is `configure' which instantiates (i.e., don't
16918 # use $as_me), people would be surprised to read:
16919 # /* config.h. Generated by config.status. */
16920 configure_input='Generated from '`
16921 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16923 if test x"$ac_file" != x-; then
16924 configure_input="$ac_file. $configure_input"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16926 $as_echo "$as_me: creating $ac_file" >&6;}
16928 # Neutralize special characters interpreted by sed in replacement strings.
16929 case $configure_input in #(
16930 *\&* | *\|* | *\\* )
16931 ac_sed_conf_input=`$as_echo "$configure_input" |
16932 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16933 *) ac_sed_conf_input=$configure_input;;
16937 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16943 ac_dir=`$as_dirname -- "$ac_file" ||
16944 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16945 X"$ac_file" : 'X\(//\)[^/]' \| \
16946 X"$ac_file" : 'X\(//\)$' \| \
16947 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16948 $as_echo X"$ac_file" |
16949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16953 /^X\(\/\/\)[^/].*/{
16966 as_dir="$ac_dir"; as_fn_mkdir_p
16970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16972 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16973 # A ".." for each directory in $ac_dir_suffix.
16974 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16975 case $ac_top_builddir_sub in
16976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16980 ac_abs_top_builddir=$ac_pwd
16981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16982 # for backward compatibility:
16983 ac_top_builddir=$ac_top_build_prefix
16986 .) # We are building in place.
16988 ac_top_srcdir=$ac_top_builddir_sub
16989 ac_abs_top_srcdir=$ac_pwd ;;
16990 [\\/]* | ?:[\\/]* ) # Absolute name.
16991 ac_srcdir=$srcdir$ac_dir_suffix;
16992 ac_top_srcdir=$srcdir
16993 ac_abs_top_srcdir=$srcdir ;;
16994 *) # Relative name.
16995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16996 ac_top_srcdir=$ac_top_build_prefix$srcdir
16997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17009 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17010 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17012 ac_MKDIR_P=$MKDIR_P
17014 [\\/$]* | ?:[\\/]* ) ;;
17015 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17020 # If the template does not know about datarootdir, expand it.
17021 # FIXME: This hack should be removed a few years after 2.60.
17022 ac_datarootdir_hack=; ac_datarootdir_seen=
17033 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17034 *datarootdir*) ac_datarootdir_seen=yes;;
17035 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17037 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17040 ac_datarootdir_hack='
17041 s&@datadir@&$datadir&g
17042 s&@docdir@&$docdir&g
17043 s&@infodir@&$infodir&g
17044 s&@localedir@&$localedir&g
17045 s&@mandir@&$mandir&g
17046 s&\\\${datarootdir}&$datarootdir&g' ;;
17050 # Neutralize VPATH when `$srcdir' = `.'.
17051 # Shell code in configure.ac might set extrasub.
17052 # FIXME: do we really want to maintain this feature?
17053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17054 ac_sed_extra="$ac_vpsub
17057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17060 s|@configure_input@|$ac_sed_conf_input|;t t
17061 s&@top_builddir@&$ac_top_builddir_sub&;t t
17062 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17063 s&@srcdir@&$ac_srcdir&;t t
17064 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17065 s&@top_srcdir@&$ac_top_srcdir&;t t
17066 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17067 s&@builddir@&$ac_builddir&;t t
17068 s&@abs_builddir@&$ac_abs_builddir&;t t
17069 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17070 s&@INSTALL@&$ac_INSTALL&;t t
17071 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17072 $ac_datarootdir_hack
17074 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17075 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17077 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17078 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17079 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17080 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17082 which seems to be undefined. Please make sure it is defined" >&5
17083 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17084 which seems to be undefined. Please make sure it is defined" >&2;}
17086 rm -f "$ac_tmp/stdin"
17088 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17089 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17097 if test x"$ac_file" != x-; then
17099 $as_echo "/* $configure_input */" \
17100 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17101 } >"$ac_tmp/config.h" \
17102 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17103 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17105 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17108 mv "$ac_tmp/config.h" "$ac_file" \
17109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17112 $as_echo "/* $configure_input */" \
17113 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17114 || as_fn_error $? "could not create -" "$LINENO" 5
17116 # Compute "$ac_file"'s index in $config_headers.
17119 for _am_header in $config_headers :; do
17120 case $_am_header in
17121 $_am_arg | $_am_arg:* )
17124 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17127 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17128 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17129 X"$_am_arg" : 'X\(//\)[^/]' \| \
17130 X"$_am_arg" : 'X\(//\)$' \| \
17131 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17132 $as_echo X"$_am_arg" |
17133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17137 /^X\(\/\/\)[^/].*/{
17149 s/.*/./; q'`/stamp-h$_am_stamp_count
17152 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17153 $as_echo "$as_me: executing $ac_file commands" >&6;}
17158 case $ac_file$ac_mode in
17159 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17160 # Older Autoconf quotes --file arguments for eval, but not when files
17161 # are listed without --file. Let's play safe and only enable the eval
17162 # if we detect the quoting.
17163 case $CONFIG_FILES in
17164 *\'*) eval set x "$CONFIG_FILES" ;;
17165 *) set x $CONFIG_FILES ;;
17170 # Strip MF so we end up with the name of the file.
17171 mf=`echo "$mf" | sed -e 's/:.*$//'`
17172 # Check whether this is an Automake generated Makefile or not.
17173 # We used to match only the files named 'Makefile.in', but
17174 # some people rename them; so instead we look at the file content.
17175 # Grep'ing the first line is not enough: some people post-process
17176 # each Makefile.in and add a new line on top of each file to say so.
17177 # Grep'ing the whole file is not good either: AIX grep has a line
17178 # limit of 2048, but all sed's we know have understand at least 4000.
17179 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17180 dirpart=`$as_dirname -- "$mf" ||
17181 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17182 X"$mf" : 'X\(//\)[^/]' \| \
17183 X"$mf" : 'X\(//\)$' \| \
17184 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17190 /^X\(\/\/\)[^/].*/{
17206 # Extract the definition of DEPDIR, am__include, and am__quote
17207 # from the Makefile without running 'make'.
17208 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17209 test -z "$DEPDIR" && continue
17210 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17211 test -z "$am__include" && continue
17212 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17213 # Find all dependency output files, they are included files with
17214 # $(DEPDIR) in their names. We invoke sed twice because it is the
17215 # simplest approach to changing $(DEPDIR) to its actual value in the
17217 for file in `sed -n "
17218 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17219 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17220 # Make sure the directory exists.
17221 test -f "$dirpart/$file" && continue
17222 fdir=`$as_dirname -- "$file" ||
17223 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17224 X"$file" : 'X\(//\)[^/]' \| \
17225 X"$file" : 'X\(//\)$' \| \
17226 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17227 $as_echo X"$file" |
17228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17232 /^X\(\/\/\)[^/].*/{
17245 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17246 # echo "creating $dirpart/$file"
17247 echo '# dummy' > "$dirpart/$file"
17254 # See if we are running on zsh, and set the options which allow our
17255 # commands through without removal of \ escapes.
17256 if test -n "${ZSH_VERSION+set}" ; then
17257 setopt NO_GLOB_SUBST
17260 cfgfile="${ofile}T"
17261 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17264 cat <<_LT_EOF >> "$cfgfile"
17267 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17268 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17269 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17270 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17272 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17273 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17275 # Written by Gordon Matzigkeit, 1996
17277 # This file is part of GNU Libtool.
17279 # GNU Libtool is free software; you can redistribute it and/or
17280 # modify it under the terms of the GNU General Public License as
17281 # published by the Free Software Foundation; either version 2 of
17282 # the License, or (at your option) any later version.
17284 # As a special exception to the GNU General Public License,
17285 # if you distribute this file as part of a program or library that
17286 # is built using GNU Libtool, you may include this file under the
17287 # same distribution terms that you use for the rest of that program.
17289 # GNU Libtool is distributed in the hope that it will be useful,
17290 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17291 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17292 # GNU General Public License for more details.
17294 # You should have received a copy of the GNU General Public License
17295 # along with GNU Libtool; see the file COPYING. If not, a copy
17296 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17297 # obtained by writing to the Free Software Foundation, Inc.,
17298 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17301 # The names of the tagged configurations supported by this script.
17304 # ### BEGIN LIBTOOL CONFIG
17306 # Which release of libtool.m4 was used?
17307 macro_version=$macro_version
17308 macro_revision=$macro_revision
17310 # Whether or not to build static libraries.
17311 build_old_libs=$enable_static
17313 # Whether or not to build shared libraries.
17314 build_libtool_libs=$enable_shared
17316 # What type of objects to build.
17319 # Whether or not to optimize for fast installation.
17320 fast_install=$enable_fast_install
17322 # Shell to use when invoking shell scripts.
17325 # An echo program that protects backslashes.
17328 # The PATH separator for the build system.
17329 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17332 host_alias=$host_alias
17336 # The build system.
17337 build_alias=$build_alias
17341 # A sed program that does not truncate output.
17344 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17345 Xsed="\$SED -e 1s/^X//"
17347 # A grep program that handles long lines.
17353 # A literal string matcher.
17356 # A BSD- or MS-compatible name lister.
17359 # Whether we need soft or hard links.
17362 # What is the maximum length of a command?
17363 max_cmd_len=$max_cmd_len
17365 # Object file suffix (normally "o").
17368 # Executable file suffix (normally "").
17371 # whether the shell understands "unset".
17374 # turn spaces into newlines.
17377 # turn newlines into spaces.
17380 # convert \$build file names to \$host format.
17381 to_host_file_cmd=$lt_cv_to_host_file_cmd
17383 # convert \$build files to toolchain format.
17384 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17386 # An object symbol dumper.
17387 OBJDUMP=$lt_OBJDUMP
17389 # Method to check whether dependent libraries are shared objects.
17390 deplibs_check_method=$lt_deplibs_check_method
17392 # Command to use when deplibs_check_method = "file_magic".
17393 file_magic_cmd=$lt_file_magic_cmd
17395 # How to find potential files when deplibs_check_method = "file_magic".
17396 file_magic_glob=$lt_file_magic_glob
17398 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17399 want_nocaseglob=$lt_want_nocaseglob
17401 # DLL creation program.
17402 DLLTOOL=$lt_DLLTOOL
17404 # Command to associate shared and link libraries.
17405 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17410 # Flags to create an archive.
17411 AR_FLAGS=$lt_AR_FLAGS
17413 # How to feed a file listing to the archiver.
17414 archiver_list_spec=$lt_archiver_list_spec
17416 # A symbol stripping program.
17419 # Commands used to install an old-style archive.
17421 old_postinstall_cmds=$lt_old_postinstall_cmds
17422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17424 # Whether to use a lock for old archive extraction.
17425 lock_old_archive_extraction=$lock_old_archive_extraction
17430 # LTCC compiler flags.
17431 LTCFLAGS=$lt_CFLAGS
17433 # Take the output of nm and produce a listing of raw symbols and C names.
17434 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17436 # Transform the output of nm in a proper C declaration.
17437 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17439 # Transform the output of nm in a C name address pair.
17440 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17442 # Transform the output of nm in a C name address pair when lib prefix is needed.
17443 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17445 # Specify filename containing input files for \$NM.
17446 nm_file_list_spec=$lt_nm_file_list_spec
17448 # The root where to search for dependent libraries,and in which our libraries should be installed.
17449 lt_sysroot=$lt_sysroot
17451 # The name of the directory that contains temporary libtool files.
17454 # Used to examine libraries when file_magic_cmd begins with "file".
17455 MAGIC_CMD=$MAGIC_CMD
17457 # Must we lock files when doing compilation?
17458 need_locks=$lt_need_locks
17461 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17463 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17464 DSYMUTIL=$lt_DSYMUTIL
17466 # Tool to change global to local symbols on Mac OS X.
17469 # Tool to manipulate fat objects and archives on Mac OS X.
17472 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17475 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17476 OTOOL64=$lt_OTOOL64
17478 # Old archive suffix (normally "a").
17481 # Shared library suffix (normally ".so").
17482 shrext_cmds=$lt_shrext_cmds
17484 # The commands to extract the exported symbol list from a shared archive.
17485 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17487 # Variables whose values should be saved in libtool wrapper scripts and
17488 # restored at link time.
17489 variables_saved_for_relink=$lt_variables_saved_for_relink
17491 # Do we need the "lib" prefix for modules?
17492 need_lib_prefix=$need_lib_prefix
17494 # Do we need a version for libraries?
17495 need_version=$need_version
17497 # Library versioning type.
17498 version_type=$version_type
17500 # Shared library runtime path variable.
17501 runpath_var=$runpath_var
17503 # Shared library path variable.
17504 shlibpath_var=$shlibpath_var
17506 # Is shlibpath searched before the hard-coded library search path?
17507 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17509 # Format of library name prefix.
17510 libname_spec=$lt_libname_spec
17512 # List of archive names. First name is the real one, the rest are links.
17513 # The last name is the one that the linker finds with -lNAME
17514 library_names_spec=$lt_library_names_spec
17516 # The coded name of the library, if different from the real name.
17517 soname_spec=$lt_soname_spec
17519 # Permission mode override for installation of shared libraries.
17520 install_override_mode=$lt_install_override_mode
17522 # Command to use after installation of a shared archive.
17523 postinstall_cmds=$lt_postinstall_cmds
17525 # Command to use after uninstallation of a shared archive.
17526 postuninstall_cmds=$lt_postuninstall_cmds
17528 # Commands used to finish a libtool library installation in a directory.
17529 finish_cmds=$lt_finish_cmds
17531 # As "finish_cmds", except a single script fragment to be evaled but
17533 finish_eval=$lt_finish_eval
17535 # Whether we should hardcode library paths into libraries.
17536 hardcode_into_libs=$hardcode_into_libs
17538 # Compile-time system search path for libraries.
17539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17541 # Run-time system search path for libraries.
17542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17544 # Whether dlopen is supported.
17545 dlopen_support=$enable_dlopen
17547 # Whether dlopen of programs is supported.
17548 dlopen_self=$enable_dlopen_self
17550 # Whether dlopen of statically linked programs is supported.
17551 dlopen_self_static=$enable_dlopen_self_static
17553 # Commands to strip libraries.
17554 old_striplib=$lt_old_striplib
17555 striplib=$lt_striplib
17558 # The linker used to build libraries.
17561 # How to create reloadable object files.
17562 reload_flag=$lt_reload_flag
17563 reload_cmds=$lt_reload_cmds
17565 # Commands used to build an old-style archive.
17566 old_archive_cmds=$lt_old_archive_cmds
17568 # A language specific compiler.
17571 # Is the compiler the GNU compiler?
17574 # Compiler flag to turn off builtin functions.
17575 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17577 # Additional compiler flags for building library objects.
17578 pic_flag=$lt_lt_prog_compiler_pic
17580 # How to pass a linker flag through the compiler.
17581 wl=$lt_lt_prog_compiler_wl
17583 # Compiler flag to prevent dynamic linking.
17584 link_static_flag=$lt_lt_prog_compiler_static
17586 # Does compiler simultaneously support -c and -o options?
17587 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17589 # Whether or not to add -lc for building shared libraries.
17590 build_libtool_need_lc=$archive_cmds_need_lc
17592 # Whether or not to disallow shared libs when runtime libs are static.
17593 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17595 # Compiler flag to allow reflexive dlopens.
17596 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17598 # Compiler flag to generate shared objects directly from archives.
17599 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17601 # Whether the compiler copes with passing no objects directly.
17602 compiler_needs_object=$lt_compiler_needs_object
17604 # Create an old-style archive from a shared archive.
17605 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17607 # Create a temporary old-style archive to link instead of a shared archive.
17608 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17610 # Commands used to build a shared archive.
17611 archive_cmds=$lt_archive_cmds
17612 archive_expsym_cmds=$lt_archive_expsym_cmds
17614 # Commands used to build a loadable module if different from building
17615 # a shared archive.
17616 module_cmds=$lt_module_cmds
17617 module_expsym_cmds=$lt_module_expsym_cmds
17619 # Whether we are building with GNU ld or not.
17620 with_gnu_ld=$lt_with_gnu_ld
17622 # Flag that allows shared libraries with undefined symbols to be built.
17623 allow_undefined_flag=$lt_allow_undefined_flag
17625 # Flag that enforces no undefined symbols.
17626 no_undefined_flag=$lt_no_undefined_flag
17628 # Flag to hardcode \$libdir into a binary during linking.
17629 # This must work even if \$libdir does not exist
17630 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17632 # Whether we need a single "-rpath" flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17636 # DIR into the resulting binary.
17637 hardcode_direct=$hardcode_direct
17639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17640 # DIR into the resulting binary and the resulting library dependency is
17641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17642 # library is relocated.
17643 hardcode_direct_absolute=$hardcode_direct_absolute
17645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17646 # into the resulting binary.
17647 hardcode_minus_L=$hardcode_minus_L
17649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17650 # into the resulting binary.
17651 hardcode_shlibpath_var=$hardcode_shlibpath_var
17653 # Set to "yes" if building a shared library automatically hardcodes DIR
17654 # into the library and all subsequent libraries and executables linked
17656 hardcode_automatic=$hardcode_automatic
17658 # Set to yes if linker adds runtime paths of dependent libraries
17659 # to runtime path list.
17660 inherit_rpath=$inherit_rpath
17662 # Whether libtool must link a program against all its dependency libraries.
17663 link_all_deplibs=$link_all_deplibs
17665 # Set to "yes" if exported symbols are required.
17666 always_export_symbols=$always_export_symbols
17668 # The commands to list exported symbols.
17669 export_symbols_cmds=$lt_export_symbols_cmds
17671 # Symbols that should not be listed in the preloaded symbols.
17672 exclude_expsyms=$lt_exclude_expsyms
17674 # Symbols that must always be exported.
17675 include_expsyms=$lt_include_expsyms
17677 # Commands necessary for linking programs (against libraries) with templates.
17678 prelink_cmds=$lt_prelink_cmds
17680 # Commands necessary for finishing linking programs.
17681 postlink_cmds=$lt_postlink_cmds
17683 # Specify filename containing input files.
17684 file_list_spec=$lt_file_list_spec
17686 # How to hardcode a shared library path into an executable.
17687 hardcode_action=$hardcode_action
17689 # ### END LIBTOOL CONFIG
17695 cat <<\_LT_EOF >> "$cfgfile"
17696 # AIX sometimes has problems with the GCC collect2 program. For some
17697 # reason, if we set the COLLECT_NAMES environment variable, the problems
17698 # vanish in a puff of smoke.
17699 if test "X${COLLECT_NAMES+set}" != Xset; then
17701 export COLLECT_NAMES
17708 ltmain="$ac_aux_dir/ltmain.sh"
17711 # We use sed instead of cat because bash on DJGPP gets confused if
17712 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17713 # text mode, it properly converts lines to CR/LF. This bash problem
17714 # is reportedly fixed, but why not run on old versions too?
17715 sed '$q' "$ltmain" >> "$cfgfile" \
17716 || (rm -f "$cfgfile"; exit 1)
17718 if test x"$xsi_shell" = xyes; then
17719 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17723 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17724 \ * ) func_dirname_result="${3}" ;;\
17726 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17727 && mv -f "$cfgfile.tmp" "$cfgfile" \
17728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17729 test 0 -eq $? || _lt_function_replace_fail=:
17732 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17735 \ func_basename_result="${1##*/}"\
17736 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17737 && mv -f "$cfgfile.tmp" "$cfgfile" \
17738 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17739 test 0 -eq $? || _lt_function_replace_fail=:
17742 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17743 func_dirname_and_basename ()\
17746 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17747 \ * ) func_dirname_result="${3}" ;;\
17749 \ func_basename_result="${1##*/}"\
17750 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17751 && mv -f "$cfgfile.tmp" "$cfgfile" \
17752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17753 test 0 -eq $? || _lt_function_replace_fail=:
17756 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17759 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17760 \ # positional parameters, so assign one to ordinary parameter first.\
17761 \ func_stripname_result=${3}\
17762 \ func_stripname_result=${func_stripname_result#"${1}"}\
17763 \ func_stripname_result=${func_stripname_result%"${2}"}\
17764 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17765 && mv -f "$cfgfile.tmp" "$cfgfile" \
17766 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17767 test 0 -eq $? || _lt_function_replace_fail=:
17770 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17771 func_split_long_opt ()\
17773 \ func_split_long_opt_name=${1%%=*}\
17774 \ func_split_long_opt_arg=${1#*=}\
17775 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17776 && mv -f "$cfgfile.tmp" "$cfgfile" \
17777 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17778 test 0 -eq $? || _lt_function_replace_fail=:
17781 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17782 func_split_short_opt ()\
17784 \ func_split_short_opt_arg=${1#??}\
17785 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17786 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17787 && mv -f "$cfgfile.tmp" "$cfgfile" \
17788 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17789 test 0 -eq $? || _lt_function_replace_fail=:
17792 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17796 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17797 \ *) func_lo2o_result=${1} ;;\
17799 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17800 && mv -f "$cfgfile.tmp" "$cfgfile" \
17801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17802 test 0 -eq $? || _lt_function_replace_fail=:
17805 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17808 func_xform_result=${1%.*}.lo\
17809 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17810 && mv -f "$cfgfile.tmp" "$cfgfile" \
17811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17812 test 0 -eq $? || _lt_function_replace_fail=:
17815 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17818 func_arith_result=$(( $* ))\
17819 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17820 && mv -f "$cfgfile.tmp" "$cfgfile" \
17821 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17822 test 0 -eq $? || _lt_function_replace_fail=:
17825 sed -e '/^func_len ()$/,/^} # func_len /c\
17828 func_len_result=${#1}\
17829 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17830 && mv -f "$cfgfile.tmp" "$cfgfile" \
17831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17832 test 0 -eq $? || _lt_function_replace_fail=:
17836 if test x"$lt_shell_append" = xyes; then
17837 sed -e '/^func_append ()$/,/^} # func_append /c\
17840 eval "${1}+=\\${2}"\
17841 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17842 && mv -f "$cfgfile.tmp" "$cfgfile" \
17843 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17844 test 0 -eq $? || _lt_function_replace_fail=:
17847 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17848 func_append_quoted ()\
17850 \ func_quote_for_eval "${2}"\
17851 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17852 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17853 && mv -f "$cfgfile.tmp" "$cfgfile" \
17854 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17855 test 0 -eq $? || _lt_function_replace_fail=:
17858 # Save a `func_append' function call where possible by direct use of '+='
17859 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17860 && mv -f "$cfgfile.tmp" "$cfgfile" \
17861 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17862 test 0 -eq $? || _lt_function_replace_fail=:
17864 # Save a `func_append' function call even when '+=' is not available
17865 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17866 && mv -f "$cfgfile.tmp" "$cfgfile" \
17867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17868 test 0 -eq $? || _lt_function_replace_fail=:
17871 if test x"$_lt_function_replace_fail" = x":"; then
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17873 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17877 mv -f "$cfgfile" "$ofile" ||
17878 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17889 ac_clean_files=$ac_clean_files_save
17891 test $ac_write_fail = 0 ||
17892 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17895 # configure is writing to config.log, and then calls config.status.
17896 # config.status does its own redirection, appending to config.log.
17897 # Unfortunately, on DOS this fails, as config.log is still kept open
17898 # by configure, so config.status won't be able to write to it; its
17899 # output is simply discarded. So we exec the FD to /dev/null,
17900 # effectively closing config.log, so it can be properly (re)opened and
17901 # appended to by config.status. When coming back to configure, we
17902 # need to make the FD available again.
17903 if test "$no_create" != yes; then
17905 ac_config_status_args=
17906 test "$silent" = yes &&
17907 ac_config_status_args="$ac_config_status_args --quiet"
17909 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17911 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17912 # would make configure fail if this is the last instruction.
17913 $ac_cs_success || as_fn_exit 1
17915 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17917 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}