2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 1.0.3.
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.3'
591 PACKAGE_STRING='gsignond 1.0.3'
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.3 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.3:";;
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.3
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.3, 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
3020 # Checks for programs.
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 if test -n "$ac_tool_prefix"; then
3027 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC="$CC" # Let the user override the test.
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3065 if test -z "$ac_cv_prog_CC"; then
3067 # Extract the first word of "gcc", so it can be a program name with args.
3068 set dummy gcc; ac_word=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$ac_ct_CC"; then
3075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CC="gcc"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3103 if test "x$ac_ct_CC" = x; then
3106 case $cross_compiling:$ac_tool_warned in
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3110 ac_tool_warned=yes ;;
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3121 set dummy ${ac_tool_prefix}cc; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_CC+:} false; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC="$CC" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_CC="${ac_tool_prefix}cc"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3159 if test -z "$CC"; then
3160 # Extract the first word of "cc", so it can be a program name with args.
3161 set dummy cc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3179 ac_prog_rejected=yes
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test $ac_prog_rejected = yes; then
3191 # We found a bogon in the path, so make sure we never use it.
3192 set dummy $ac_cv_prog_CC
3194 if test $# != 0; then
3195 # We chose a different compiler from the bogus one.
3196 # However, it has the same basename, so the bogon will be chosen
3197 # first if we set CC to just the basename; use the full file name.
3199 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3215 if test -z "$CC"; then
3216 if test -n "$ac_tool_prefix"; then
3217 for ac_prog in cl.exe
3219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_CC+:} false; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$CC"; then
3227 ac_cv_prog_CC="$CC" # Let the user override the test.
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir=.
3234 for ac_exec_ext in '' $ac_executable_extensions; do
3235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3256 test -n "$CC" && break
3259 if test -z "$CC"; then
3261 for ac_prog in cl.exe
3263 # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy $ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$ac_ct_CC"; then
3271 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir=.
3278 for ac_exec_ext in '' $ac_executable_extensions; do
3279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3280 ac_cv_prog_ac_ct_CC="$ac_prog"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3291 if test -n "$ac_ct_CC"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3293 $as_echo "$ac_ct_CC" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$ac_ct_CC" && break
3303 if test "x$ac_ct_CC" = x; then
3306 case $cross_compiling:$ac_tool_warned in
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310 ac_tool_warned=yes ;;
3319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "no acceptable C compiler found in \$PATH
3322 See \`config.log' for more details" "$LINENO" 5; }
3324 # Provide some information about the compiler.
3325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3328 for ac_option in --version -v -V -qversion; do
3329 { { ac_try="$ac_compiler $ac_option >&5"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338 if test -s conftest.err; then
3340 ... rest of stderr output deleted ...
3341 10q' conftest.err >conftest.er1
3342 cat conftest.er1 >&5
3344 rm -f conftest.er1 conftest.err
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 ac_clean_files_save=$ac_clean_files
3361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3362 # Try to create an executable without -o first, disregard a.out.
3363 # It will help us diagnose broken compilers, and finding out an intuition
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3366 $as_echo_n "checking whether the C compiler works... " >&6; }
3367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369 # The possible output files:
3370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3373 for ac_file in $ac_files
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3377 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3382 if { { ac_try="$ac_link_default"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link_default") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }; then :
3393 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3395 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3396 # so that the user can short-circuit this test for compilers unknown to
3398 for ac_file in $ac_files ''
3400 test -f "$ac_file" || continue
3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3405 # We found the default executable, but exeext='' is most
3409 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413 # We set ac_cv_exeext here because the later test for it is not
3414 # safe: cross compilers may not add the suffix if given an `-o'
3415 # argument, so we may need to know it at that point already.
3416 # Even if this section looks crufty: it has the advantage of
3423 test "$ac_cv_exeext" = no && ac_cv_exeext=
3428 if test -z "$ac_file"; then :
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 $as_echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error 77 "C compiler cannot create executables
3437 See \`config.log' for more details" "$LINENO" 5; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3440 $as_echo "yes" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3443 $as_echo_n "checking for C compiler default output file name... " >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3445 $as_echo "$ac_file" >&6; }
3446 ac_exeext=$ac_cv_exeext
3448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3449 ac_clean_files=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3451 $as_echo_n "checking for suffix of executables... " >&6; }
3452 if { { ac_try="$ac_link"
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_link") 2>&5
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }; then :
3463 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3465 # work properly (i.e., refer to `conftest.exe'), while it won't with
3467 for ac_file in conftest.exe conftest conftest.*; do
3468 test -f "$ac_file" || continue
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3480 See \`config.log' for more details" "$LINENO" 5; }
3482 rm -f conftest conftest$ac_cv_exeext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3484 $as_echo "$ac_cv_exeext" >&6; }
3486 rm -f conftest.$ac_ext
3487 EXEEXT=$ac_cv_exeext
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3495 FILE *f = fopen ("conftest.out", "w");
3496 return ferror (f) || fclose (f) != 0;
3502 ac_clean_files="$ac_clean_files conftest.out"
3503 # Check that the compiler produces executables we can run. If not, either
3504 # the compiler is broken, or we cross compile.
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3506 $as_echo_n "checking whether we are cross compiling... " >&6; }
3507 if test "$cross_compiling" != yes; then
3508 { { ac_try="$ac_link"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_link") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }
3519 if { ac_try='./conftest$ac_cv_exeext'
3520 { { case "(($ac_try" in
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_try") 2>&5
3528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529 test $ac_status = 0; }; }; then
3532 if test "$cross_compiling" = maybe; then
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $? "cannot run C compiled programs.
3538 If you meant to cross compile, use \`--host'.
3539 See \`config.log' for more details" "$LINENO" 5; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3544 $as_echo "$cross_compiling" >&6; }
3546 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3547 ac_clean_files=$ac_clean_files_save
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3549 $as_echo_n "checking for suffix of object files... " >&6; }
3550 if ${ac_cv_objext+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 rm -f conftest.o conftest.obj
3565 if { { ac_try="$ac_compile"
3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572 (eval "$ac_compile") 2>&5
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; then :
3576 for ac_file in conftest.o conftest.obj conftest.*; do
3577 test -f "$ac_file" || continue;
3579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3580 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3585 $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error $? "cannot compute suffix of object files: cannot compile
3591 See \`config.log' for more details" "$LINENO" 5; }
3593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3596 $as_echo "$ac_cv_objext" >&6; }
3597 OBJEXT=$ac_cv_objext
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3601 if ${ac_cv_c_compiler_gnu+:} false; then :
3602 $as_echo_n "(cached) " >&6
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if ${ac_cv_prog_cc_g+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_save_c_werror_flag=$ac_c_werror_flag
3642 ac_c_werror_flag=yes
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 if ac_fn_c_try_compile "$LINENO"; then :
3674 ac_c_werror_flag=$ac_save_c_werror_flag
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 if ac_fn_c_try_compile "$LINENO"; then :
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_c_werror_flag=$ac_save_c_werror_flag
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700 CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702 if test "$GCC" = yes; then
3708 if test "$GCC" = yes; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if ${ac_cv_prog_cc_c89+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c89=no
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3727 struct buf { int x; };
3728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3729 static char *e (p, i)
3735 static char *f (char * (*g) (char **, int), char **p, ...)
3740 s = g (p, va_arg (v,int));
3745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3746 function prototypes and stuff, but not '\xHH' hex character constants.
3747 These don't provoke an error unfortunately, instead are silently treated
3748 as 'x'. The following induces an error, until -std is added to get
3749 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3750 array size at least. It's necessary to write '\x00'==0 to get something
3751 that's true only with -std. */
3752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3755 inside strings and character constants. */
3757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3759 int test (int i, double x);
3760 struct s1 {int (*f) (int a);};
3761 struct s2 {int (*f) (double a);};
3762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3768 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3774 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3776 CC="$ac_save_CC $ac_arg"
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 ac_cv_prog_cc_c89=$ac_arg
3780 rm -f core conftest.err conftest.$ac_objext
3781 test "x$ac_cv_prog_cc_c89" != "xno" && break
3783 rm -f conftest.$ac_ext
3788 case "x$ac_cv_prog_cc_c89" in
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3791 $as_echo "none needed" >&6; } ;;
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3794 $as_echo "unsupported" >&6; } ;;
3796 CC="$CC $ac_cv_prog_cc_c89"
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3800 if test "x$ac_cv_prog_cc_c89" != xno; then :
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 ac_cpp='$CPP $CPPFLAGS'
3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3816 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3817 if ${am_cv_prog_cc_c_o+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 # Make sure it works both with $CC and with simple cc.
3832 # Following AC_PROG_CC_C_O, we do the test twice because some
3833 # compilers refuse to overwrite an existing .o file with -o,
3834 # though they will create one.
3835 am_cv_prog_cc_c_o=yes
3837 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3838 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } \
3842 && test -f conftest2.$ac_objext; then
3845 am_cv_prog_cc_c_o=no
3849 rm -f core conftest*
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3853 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3854 if test "$am_cv_prog_cc_c_o" != yes; then
3855 # Losing compiler, so override with the script.
3856 # FIXME: It is wrong to rewrite CC.
3857 # But if we don't then we get into trouble of one sort or another.
3858 # A longer-term fix would be to have automake use am__CC in this case,
3859 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3860 CC="$am_aux_dir/compile $CC"
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 DEPDIR="${am__leading_dot}deps"
3870 ac_config_commands="$ac_config_commands depfiles"
3873 am_make=${MAKE-make}
3874 cat > confinc << 'END'
3876 @echo this is the am__doit target
3879 # If we don't find an include directive, just comment out the code.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3881 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3885 # First try GNU make style include.
3886 echo "include confinc" > confmf
3887 # Ignore all kinds of additional output from 'make'.
3888 case `$am_make -s -f confmf 2> /dev/null` in #(
3889 *the\ am__doit\ target*)
3895 # Now try BSD make style include.
3896 if test "$am__include" = "#"; then
3897 echo '.include "confinc"' > confmf
3898 case `$am_make -s -f confmf 2> /dev/null` in #(
3899 *the\ am__doit\ target*)
3900 am__include=.include
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3909 $as_echo "$_am_result" >&6; }
3910 rm -f confinc confmf
3912 # Check whether --enable-dependency-tracking was given.
3913 if test "${enable_dependency_tracking+set}" = set; then :
3914 enableval=$enable_dependency_tracking;
3917 if test "x$enable_dependency_tracking" != xno; then
3918 am_depcomp="$ac_aux_dir/depcomp"
3922 if test "x$enable_dependency_tracking" != xno; then
3932 depcc="$CC" am_compiler_list=
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3935 $as_echo_n "checking dependency style of $depcc... " >&6; }
3936 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3937 $as_echo_n "(cached) " >&6
3939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940 # We make a subdir and do the tests there. Otherwise we can end up
3941 # making bogus files that we don't know about and never remove. For
3942 # instance it was reported that on HP-UX the gcc test will end up
3943 # making a dummy file named 'D' -- because '-MD' means "put the output
3947 # Copy depcomp to subdir because otherwise we won't find it if we're
3948 # using a relative directory.
3949 cp "$am_depcomp" conftest.dir
3951 # We will build objects and dependencies in a subdirectory because
3952 # it helps to detect inapplicable dependency modes. For instance
3953 # both Tru64's cc and ICC support -MD to output dependencies as a
3954 # side effect of compilation, but ICC will put the dependencies in
3955 # the current directory while Tru64 will put them in the object
3959 am_cv_CC_dependencies_compiler_type=none
3960 if test "$am_compiler_list" = ""; then
3961 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3964 case " $depcc " in #(
3965 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3968 for depmode in $am_compiler_list; do
3969 # Setup a source with many dependencies, because some compilers
3970 # like to wrap large dependency lists on column 80 (with \), and
3971 # we should not choose a depcomp mode which is confused by this.
3973 # We need to recreate these files for each test, as the compiler may
3974 # overwrite some of them when testing with obscure command lines.
3975 # This happens at least with the AIX C compiler.
3977 for i in 1 2 3 4 5 6; do
3978 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3979 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3980 # Solaris 10 /bin/sh.
3981 echo '/* dummy */' > sub/conftst$i.h
3983 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3985 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3986 # mode. It turns out that the SunPro C++ compiler does not properly
3987 # handle '-M -o', and we need to detect this. Also, some Intel
3988 # versions had trouble with output in subdirs.
3989 am__obj=sub/conftest.${OBJEXT-o}
3990 am__minus_obj="-o $am__obj"
3993 # This depmode causes a compiler race in universal mode.
3994 test "$am__universal" = false || continue
3997 # After this tag, mechanisms are not by side-effect, so they'll
3998 # only be used when explicitly requested.
3999 if test "x$enable_dependency_tracking" = xyes; then
4005 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4006 # This compiler won't grok '-c -o', but also, the minuso test has
4007 # not run yet. These depmodes are late enough in the game, and
4008 # so weak that their functioning should not be impacted.
4009 am__obj=conftest.${OBJEXT-o}
4014 if depmode=$depmode \
4015 source=sub/conftest.c object=$am__obj \
4016 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4017 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4018 >/dev/null 2>conftest.err &&
4019 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4020 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4021 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4022 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4023 # icc doesn't choke on unknown options, it will just issue warnings
4024 # or remarks (even with -Werror). So we grep stderr for any message
4025 # that says an option was ignored or not supported.
4026 # When given -MP, icc 7.0 and 7.1 complain thusly:
4027 # icc: Command line warning: ignoring option '-M'; no argument required
4028 # The diagnosis changed in icc 8.0:
4029 # icc: Command line remark: option '-MP' not supported
4030 if (grep 'ignoring option' conftest.err ||
4031 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4032 am_cv_CC_dependencies_compiler_type=$depmode
4041 am_cv_CC_dependencies_compiler_type=none
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4046 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4047 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4050 test "x$enable_dependency_tracking" != xno \
4051 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4053 am__fastdepCC_FALSE='#'
4055 am__fastdepCC_TRUE='#'
4056 am__fastdepCC_FALSE=
4061 if test -n "$ac_tool_prefix"; then
4062 for ac_prog in ar lib "link -lib"
4064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_AR+:} false; then :
4069 $as_echo_n "(cached) " >&6
4071 if test -n "$AR"; then
4072 ac_cv_prog_AR="$AR" # Let the user override the test.
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 if test -n "$AR"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4094 $as_echo "$AR" >&6; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4101 test -n "$AR" && break
4104 if test -z "$AR"; then
4106 for ac_prog in ar lib "link -lib"
4108 # Extract the first word of "$ac_prog", so it can be a program name with args.
4109 set dummy $ac_prog; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4113 $as_echo_n "(cached) " >&6
4115 if test -n "$ac_ct_AR"; then
4116 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir=.
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125 ac_cv_prog_ac_ct_AR="$ac_prog"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4136 if test -n "$ac_ct_AR"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4138 $as_echo "$ac_ct_AR" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4145 test -n "$ac_ct_AR" && break
4148 if test "x$ac_ct_AR" = x; then
4151 case $cross_compiling:$ac_tool_warned in
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4155 ac_tool_warned=yes ;;
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4164 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4165 if ${am_cv_ar_interface+:} false; then :
4166 $as_echo_n "(cached) " >&6
4169 ac_cpp='$CPP $CPPFLAGS'
4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4174 am_cv_ar_interface=ar
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177 int some_variable = 0;
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4181 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4182 (eval $am_ar_try) 2>&5
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }
4186 if test "$ac_status" -eq 0; then
4187 am_cv_ar_interface=ar
4189 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4190 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4191 (eval $am_ar_try) 2>&5
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }
4195 if test "$ac_status" -eq 0; then
4196 am_cv_ar_interface=lib
4198 am_cv_ar_interface=unknown
4201 rm -f conftest.lib libconftest.a
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4213 $as_echo "$am_cv_ar_interface" >&6; }
4215 case $am_cv_ar_interface in
4219 # Microsoft lib, so override with the ar-lib wrapper script.
4220 # FIXME: It is wrong to rewrite AR.
4221 # But if we don't then we get into trouble of one sort or another.
4222 # A longer-term fix would be to have automake use am__AR in this case,
4223 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4225 AR="$am_aux_dir/ar-lib $AR"
4228 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4233 $as_echo_n "checking for GNU make... " >&6; }
4234 if ${_cv_gnu_make_command+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 _cv_gnu_make_command='' ;
4238 for a in "$MAKE" make gmake gnumake ; do
4239 if test -z "$a" ; then continue ; fi ;
4240 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4241 _cv_gnu_make_command=$a ;
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4248 $as_echo "$_cv_gnu_make_command" >&6; } ;
4249 if test "x$_cv_gnu_make_command" != "x" ; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4254 $as_echo "\"Not found\"" >&6; };
4258 if test "x$ifGNUmake" = "x#" ; then
4259 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4267 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4272 macro_version='2.4.2'
4273 macro_revision='1.3337'
4287 ltmain="$ac_aux_dir/ltmain.sh"
4289 # Make sure we can run config.sub.
4290 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4291 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4294 $as_echo_n "checking build system type... " >&6; }
4295 if ${ac_cv_build+:} false; then :
4296 $as_echo_n "(cached) " >&6
4298 ac_build_alias=$build_alias
4299 test "x$ac_build_alias" = x &&
4300 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4301 test "x$ac_build_alias" = x &&
4302 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4303 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4308 $as_echo "$ac_cv_build" >&6; }
4309 case $ac_cv_build in
4311 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4314 ac_save_IFS=$IFS; IFS='-'
4320 # Remember, the first character of IFS is used to create $*,
4321 # except with old shells:
4324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4328 $as_echo_n "checking host system type... " >&6; }
4329 if ${ac_cv_host+:} false; then :
4330 $as_echo_n "(cached) " >&6
4332 if test "x$host_alias" = x; then
4333 ac_cv_host=$ac_cv_build
4335 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4336 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4341 $as_echo "$ac_cv_host" >&6; }
4344 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4347 ac_save_IFS=$IFS; IFS='-'
4353 # Remember, the first character of IFS is used to create $*,
4354 # except with old shells:
4357 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4360 # Backslashify metacharacters that are still active within
4361 # double-quoted strings.
4362 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4364 # Same as above, but do not quote variable references.
4365 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4367 # Sed substitution to delay expansion of an escaped shell variable in a
4368 # double_quote_subst'ed string.
4369 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4371 # Sed substitution to delay expansion of an escaped single quote.
4372 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4374 # Sed substitution to avoid accidental globbing in evaled expressions
4375 no_glob_subst='s/\*/\\\*/g'
4377 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4378 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4382 $as_echo_n "checking how to print strings... " >&6; }
4383 # Test print first, because it will be a builtin if present.
4384 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4385 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4387 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4390 # Use this function as a fallback that always works.
4391 func_fallback_echo ()
4393 eval 'cat <<_LTECHO_EOF
4397 ECHO='func_fallback_echo'
4400 # func_echo_all arg...
4401 # Invoke $ECHO with all args, space-separated.
4408 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4409 $as_echo "printf" >&6; } ;;
4410 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4411 $as_echo "print -r" >&6; } ;;
4412 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4413 $as_echo "cat" >&6; } ;;
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4430 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4431 if ${ac_cv_path_SED+:} false; then :
4432 $as_echo_n "(cached) " >&6
4434 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4435 for ac_i in 1 2 3 4 5 6 7; do
4436 ac_script="$ac_script$as_nl$ac_script"
4438 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4439 { ac_script=; unset ac_script;}
4440 if test -z "$SED"; then
4441 ac_path_SED_found=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_prog in sed gsed; do
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4451 as_fn_executable_p "$ac_path_SED" || continue
4452 # Check for GNU ac_path_SED and select it if it is found.
4453 # Check for GNU $ac_path_SED
4454 case `"$ac_path_SED" --version 2>&1` in
4456 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4459 $as_echo_n 0123456789 >"conftest.in"
4462 cat "conftest.in" "conftest.in" >"conftest.tmp"
4463 mv "conftest.tmp" "conftest.in"
4464 cp "conftest.in" "conftest.nl"
4465 $as_echo '' >> "conftest.nl"
4466 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468 as_fn_arith $ac_count + 1 && ac_count=$as_val
4469 if test $ac_count -gt ${ac_path_SED_max-0}; then
4470 # Best one so far, save it but keep looking for a better one
4471 ac_cv_path_SED="$ac_path_SED"
4472 ac_path_SED_max=$ac_count
4474 # 10*(2^10) chars as input seems more than enough
4475 test $ac_count -gt 10 && break
4477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480 $ac_path_SED_found && break 3
4485 if test -z "$ac_cv_path_SED"; then
4486 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4494 $as_echo "$ac_cv_path_SED" >&6; }
4495 SED="$ac_cv_path_SED"
4498 test -z "$SED" && SED=sed
4499 Xsed="$SED -e 1s/^X//"
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4512 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4513 if ${ac_cv_path_GREP+:} false; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -z "$GREP"; then
4517 ac_path_GREP_found=false
4518 # Loop through the user's path and test for each of PROGNAME-LIST
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4523 test -z "$as_dir" && as_dir=.
4524 for ac_prog in grep ggrep; do
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4527 as_fn_executable_p "$ac_path_GREP" || continue
4528 # Check for GNU ac_path_GREP and select it if it is found.
4529 # Check for GNU $ac_path_GREP
4530 case `"$ac_path_GREP" --version 2>&1` in
4532 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4535 $as_echo_n 0123456789 >"conftest.in"
4538 cat "conftest.in" "conftest.in" >"conftest.tmp"
4539 mv "conftest.tmp" "conftest.in"
4540 cp "conftest.in" "conftest.nl"
4541 $as_echo 'GREP' >> "conftest.nl"
4542 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4543 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4544 as_fn_arith $ac_count + 1 && ac_count=$as_val
4545 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4546 # Best one so far, save it but keep looking for a better one
4547 ac_cv_path_GREP="$ac_path_GREP"
4548 ac_path_GREP_max=$ac_count
4550 # 10*(2^10) chars as input seems more than enough
4551 test $ac_count -gt 10 && break
4553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4556 $ac_path_GREP_found && break 3
4561 if test -z "$ac_cv_path_GREP"; then
4562 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4565 ac_cv_path_GREP=$GREP
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4570 $as_echo "$ac_cv_path_GREP" >&6; }
4571 GREP="$ac_cv_path_GREP"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4575 $as_echo_n "checking for egrep... " >&6; }
4576 if ${ac_cv_path_EGREP+:} false; then :
4577 $as_echo_n "(cached) " >&6
4579 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4580 then ac_cv_path_EGREP="$GREP -E"
4582 if test -z "$EGREP"; then
4583 ac_path_EGREP_found=false
4584 # Loop through the user's path and test for each of PROGNAME-LIST
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4589 test -z "$as_dir" && as_dir=.
4590 for ac_prog in egrep; do
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4593 as_fn_executable_p "$ac_path_EGREP" || continue
4594 # Check for GNU ac_path_EGREP and select it if it is found.
4595 # Check for GNU $ac_path_EGREP
4596 case `"$ac_path_EGREP" --version 2>&1` in
4598 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4601 $as_echo_n 0123456789 >"conftest.in"
4604 cat "conftest.in" "conftest.in" >"conftest.tmp"
4605 mv "conftest.tmp" "conftest.in"
4606 cp "conftest.in" "conftest.nl"
4607 $as_echo 'EGREP' >> "conftest.nl"
4608 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4609 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4610 as_fn_arith $ac_count + 1 && ac_count=$as_val
4611 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4612 # Best one so far, save it but keep looking for a better one
4613 ac_cv_path_EGREP="$ac_path_EGREP"
4614 ac_path_EGREP_max=$ac_count
4616 # 10*(2^10) chars as input seems more than enough
4617 test $ac_count -gt 10 && break
4619 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4622 $ac_path_EGREP_found && break 3
4627 if test -z "$ac_cv_path_EGREP"; then
4628 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4631 ac_cv_path_EGREP=$EGREP
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4637 $as_echo "$ac_cv_path_EGREP" >&6; }
4638 EGREP="$ac_cv_path_EGREP"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4642 $as_echo_n "checking for fgrep... " >&6; }
4643 if ${ac_cv_path_FGREP+:} false; then :
4644 $as_echo_n "(cached) " >&6
4646 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4647 then ac_cv_path_FGREP="$GREP -F"
4649 if test -z "$FGREP"; then
4650 ac_path_FGREP_found=false
4651 # Loop through the user's path and test for each of PROGNAME-LIST
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4656 test -z "$as_dir" && as_dir=.
4657 for ac_prog in fgrep; do
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4660 as_fn_executable_p "$ac_path_FGREP" || continue
4661 # Check for GNU ac_path_FGREP and select it if it is found.
4662 # Check for GNU $ac_path_FGREP
4663 case `"$ac_path_FGREP" --version 2>&1` in
4665 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4668 $as_echo_n 0123456789 >"conftest.in"
4671 cat "conftest.in" "conftest.in" >"conftest.tmp"
4672 mv "conftest.tmp" "conftest.in"
4673 cp "conftest.in" "conftest.nl"
4674 $as_echo 'FGREP' >> "conftest.nl"
4675 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677 as_fn_arith $ac_count + 1 && ac_count=$as_val
4678 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4679 # Best one so far, save it but keep looking for a better one
4680 ac_cv_path_FGREP="$ac_path_FGREP"
4681 ac_path_FGREP_max=$ac_count
4683 # 10*(2^10) chars as input seems more than enough
4684 test $ac_count -gt 10 && break
4686 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4689 $ac_path_FGREP_found && break 3
4694 if test -z "$ac_cv_path_FGREP"; then
4695 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4698 ac_cv_path_FGREP=$FGREP
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4704 $as_echo "$ac_cv_path_FGREP" >&6; }
4705 FGREP="$ac_cv_path_FGREP"
4708 test -z "$GREP" && GREP=grep
4728 # Check whether --with-gnu-ld was given.
4729 if test "${with_gnu_ld+set}" = set; then :
4730 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4736 if test "$GCC" = yes; then
4737 # Check if gcc -print-prog-name=ld gives a path.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4739 $as_echo_n "checking for ld used by $CC... " >&6; }
4742 # gcc leaves a trailing carriage return which upsets mingw
4743 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4745 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4748 # Accept absolute paths.
4750 re_direlt='/[^/][^/]*/\.\./'
4751 # Canonicalize the pathname of ld
4752 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4753 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4754 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4756 test -z "$LD" && LD="$ac_prog"
4759 # If it fails, then pretend we aren't using GCC.
4763 # If it is relative, then search for the first ld in PATH.
4767 elif test "$with_gnu_ld" = yes; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4769 $as_echo_n "checking for GNU ld... " >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4772 $as_echo_n "checking for non-GNU ld... " >&6; }
4774 if ${lt_cv_path_LD+:} false; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -z "$LD"; then
4778 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4779 for ac_dir in $PATH; do
4781 test -z "$ac_dir" && ac_dir=.
4782 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4783 lt_cv_path_LD="$ac_dir/$ac_prog"
4784 # Check to see if the program is GNU ld. I'd rather use --version,
4785 # but apparently some variants of GNU ld only accept -v.
4786 # Break only if it was the GNU/non-GNU ld that we prefer.
4787 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4788 *GNU* | *'with BFD'*)
4789 test "$with_gnu_ld" != no && break
4792 test "$with_gnu_ld" != yes && break
4799 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4804 if test -n "$LD"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4806 $as_echo "$LD" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4811 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4813 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4814 if ${lt_cv_prog_gnu_ld+:} false; then :
4815 $as_echo_n "(cached) " >&6
4817 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4818 case `$LD -v 2>&1 </dev/null` in
4819 *GNU* | *'with BFD'*)
4820 lt_cv_prog_gnu_ld=yes
4823 lt_cv_prog_gnu_ld=no
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4828 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4829 with_gnu_ld=$lt_cv_prog_gnu_ld
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4840 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4841 if ${lt_cv_path_NM+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$NM"; then
4845 # Let the user override the test.
4848 lt_nm_to_check="${ac_tool_prefix}nm"
4849 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4850 lt_nm_to_check="$lt_nm_to_check nm"
4852 for lt_tmp_nm in $lt_nm_to_check; do
4853 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4854 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4856 test -z "$ac_dir" && ac_dir=.
4857 tmp_nm="$ac_dir/$lt_tmp_nm"
4858 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4859 # Check to see if the nm accepts a BSD-compat flag.
4860 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4861 # nm: unknown option "B" ignored
4862 # Tru64's nm complains that /dev/null is an invalid object file
4863 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4864 */dev/null* | *'Invalid file or object type'*)
4865 lt_cv_path_NM="$tmp_nm -B"
4869 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4871 lt_cv_path_NM="$tmp_nm -p"
4875 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4876 continue # so that we can try to find one that supports BSD flags
4885 : ${lt_cv_path_NM=no}
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4889 $as_echo "$lt_cv_path_NM" >&6; }
4890 if test "$lt_cv_path_NM" != "no"; then
4893 # Didn't find any BSD compatible name lister, look for dumpbin.
4894 if test -n "$DUMPBIN"; then :
4895 # Let the user override the test.
4897 if test -n "$ac_tool_prefix"; then
4898 for ac_prog in dumpbin "link -dump"
4900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_DUMPBIN+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$DUMPBIN"; then
4908 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 DUMPBIN=$ac_cv_prog_DUMPBIN
4928 if test -n "$DUMPBIN"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4930 $as_echo "$DUMPBIN" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4937 test -n "$DUMPBIN" && break
4940 if test -z "$DUMPBIN"; then
4941 ac_ct_DUMPBIN=$DUMPBIN
4942 for ac_prog in dumpbin "link -dump"
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -n "$ac_ct_DUMPBIN"; then
4952 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4972 if test -n "$ac_ct_DUMPBIN"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4974 $as_echo "$ac_ct_DUMPBIN" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4981 test -n "$ac_ct_DUMPBIN" && break
4984 if test "x$ac_ct_DUMPBIN" = x; then
4987 case $cross_compiling:$ac_tool_warned in
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned=yes ;;
4993 DUMPBIN=$ac_ct_DUMPBIN
4997 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4999 DUMPBIN="$DUMPBIN -symbols"
5007 if test "$DUMPBIN" != ":"; then
5011 test -z "$NM" && NM=nm
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5019 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5020 if ${lt_cv_nm_interface+:} false; then :
5021 $as_echo_n "(cached) " >&6
5023 lt_cv_nm_interface="BSD nm"
5024 echo "int some_variable = 0;" > conftest.$ac_ext
5025 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5026 (eval "$ac_compile" 2>conftest.err)
5027 cat conftest.err >&5
5028 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5029 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5030 cat conftest.err >&5
5031 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5032 cat conftest.out >&5
5033 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5034 lt_cv_nm_interface="MS dumpbin"
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5039 $as_echo "$lt_cv_nm_interface" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5042 $as_echo_n "checking whether ln -s works... " >&6; }
5044 if test "$LN_S" = "ln -s"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 $as_echo "yes" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5049 $as_echo "no, using $LN_S" >&6; }
5052 # find the maximum length of command line arguments
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5054 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5055 if ${lt_cv_sys_max_cmd_len+:} false; then :
5056 $as_echo_n "(cached) " >&6
5063 # On DJGPP, this test can blow up pretty badly due to problems in libc
5064 # (any single argument exceeding 2000 bytes causes a buffer overrun
5065 # during glob expansion). Even if it were fixed, the result of this
5066 # check would be larger than it should be.
5067 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5071 # Under GNU Hurd, this test is not required because there is
5072 # no limit to the length of command line arguments.
5073 # Libtool will interpret -1 as no limit whatsoever
5074 lt_cv_sys_max_cmd_len=-1;
5077 cygwin* | mingw* | cegcc*)
5078 # On Win9x/ME, this test blows up -- it succeeds, but takes
5079 # about 5 minutes as the teststring grows exponentially.
5080 # Worse, since 9x/ME are not pre-emptively multitasking,
5081 # you end up with a "frozen" computer, even though with patience
5082 # the test eventually succeeds (with a max line length of 256k).
5083 # Instead, let's just punt: use the minimum linelength reported by
5084 # all of the supported platforms: 8192 (on NT/2K/XP).
5085 lt_cv_sys_max_cmd_len=8192;
5089 # On MiNT this can take a long time and run out of memory.
5090 lt_cv_sys_max_cmd_len=8192;
5094 # On AmigaOS with pdksh, this test takes hours, literally.
5095 # So we just punt and use a minimum line length of 8192.
5096 lt_cv_sys_max_cmd_len=8192;
5099 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5100 # This has been around since 386BSD, at least. Likely further.
5101 if test -x /sbin/sysctl; then
5102 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5103 elif test -x /usr/sbin/sysctl; then
5104 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5106 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5108 # And add a safety zone
5109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5114 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5115 lt_cv_sys_max_cmd_len=196608
5119 # The test takes a long time on OS/2.
5120 lt_cv_sys_max_cmd_len=8192
5124 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5125 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5126 # nice to cause kernel panics so lets avoid the loop below.
5127 # First set a reasonable default.
5128 lt_cv_sys_max_cmd_len=16384
5130 if test -x /sbin/sysconfig; then
5131 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5132 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5137 lt_cv_sys_max_cmd_len=102400
5139 sysv5* | sco5v6* | sysv4.2uw2*)
5140 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5141 if test -n "$kargmax"; then
5142 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5144 lt_cv_sys_max_cmd_len=32768
5148 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5149 if test -n "$lt_cv_sys_max_cmd_len" && \
5150 test undefined != "$lt_cv_sys_max_cmd_len"; then
5151 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5154 # Make teststring a little bigger before we do anything with it.
5155 # a 1K string should be a reasonable start.
5156 for i in 1 2 3 4 5 6 7 8 ; do
5157 teststring=$teststring$teststring
5159 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5160 # If test is not a shell built-in, we'll probably end up computing a
5161 # maximum length that is only half of the actual maximum length, but
5163 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5164 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5165 test $i != 17 # 1/2 MB should be enough
5168 teststring=$teststring$teststring
5170 # Only check the string length outside the loop.
5171 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5173 # Add a significant safety factor because C++ compilers can tack on
5174 # massive amounts of additional arguments before passing them to the
5175 # linker. It appears as though 1/2 is a usable value.
5176 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5183 if test -n $lt_cv_sys_max_cmd_len ; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5185 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5188 $as_echo "none" >&6; }
5190 max_cmd_len=$lt_cv_sys_max_cmd_len
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5202 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5203 # Try some XSI features
5206 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5208 && eval 'test $(( 1 + 1 )) -eq 2 \
5209 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5212 $as_echo "$xsi_shell" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5216 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5218 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5220 && lt_shell_append=yes
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5222 $as_echo "$lt_shell_append" >&6; }
5225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5235 # test EBCDIC or ASCII
5236 case `echo X|tr X '\101'` in
5237 A) # ASCII based system
5238 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5239 lt_SP2NL='tr \040 \012'
5240 lt_NL2SP='tr \015\012 \040\040'
5242 *) # EBCDIC based system
5243 lt_SP2NL='tr \100 \n'
5244 lt_NL2SP='tr \r\n \100\100'
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5257 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5258 if ${lt_cv_to_host_file_cmd+:} false; then :
5259 $as_echo_n "(cached) " >&6
5264 *-*-mingw* ) # actually msys
5265 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5268 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5270 * ) # otherwise, assume *nix
5271 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5277 *-*-mingw* ) # actually msys
5278 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5281 lt_cv_to_host_file_cmd=func_convert_file_noop
5283 * ) # otherwise, assume *nix
5284 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5288 * ) # unhandled hosts (and "normal" native builds)
5289 lt_cv_to_host_file_cmd=func_convert_file_noop
5295 to_host_file_cmd=$lt_cv_to_host_file_cmd
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5297 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5304 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5305 if ${lt_cv_to_tool_file_cmd+:} false; then :
5306 $as_echo_n "(cached) " >&6
5308 #assume ordinary cross tools, or native build.
5309 lt_cv_to_tool_file_cmd=func_convert_file_noop
5313 *-*-mingw* ) # actually msys
5314 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5322 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5324 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5331 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5332 if ${lt_cv_ld_reload_flag+:} false; then :
5333 $as_echo_n "(cached) " >&6
5335 lt_cv_ld_reload_flag='-r'
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5338 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5339 reload_flag=$lt_cv_ld_reload_flag
5340 case $reload_flag in
5342 *) reload_flag=" $reload_flag" ;;
5344 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5346 cygwin* | mingw* | pw32* | cegcc*)
5347 if test "$GCC" != yes; then
5352 if test "$GCC" = yes; then
5353 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5355 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5368 if test -n "$ac_tool_prefix"; then
5369 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5370 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_OBJDUMP+:} false; then :
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$OBJDUMP"; then
5377 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 OBJDUMP=$ac_cv_prog_OBJDUMP
5397 if test -n "$OBJDUMP"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5399 $as_echo "$OBJDUMP" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5407 if test -z "$ac_cv_prog_OBJDUMP"; then
5408 ac_ct_OBJDUMP=$OBJDUMP
5409 # Extract the first word of "objdump", so it can be a program name with args.
5410 set dummy objdump; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$ac_ct_OBJDUMP"; then
5417 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5437 if test -n "$ac_ct_OBJDUMP"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5439 $as_echo "$ac_ct_OBJDUMP" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5445 if test "x$ac_ct_OBJDUMP" = x; then
5448 case $cross_compiling:$ac_tool_warned in
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned=yes ;;
5454 OBJDUMP=$ac_ct_OBJDUMP
5457 OBJDUMP="$ac_cv_prog_OBJDUMP"
5460 test -z "$OBJDUMP" && OBJDUMP=objdump
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5471 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5472 if ${lt_cv_deplibs_check_method+:} false; then :
5473 $as_echo_n "(cached) " >&6
5475 lt_cv_file_magic_cmd='$MAGIC_CMD'
5476 lt_cv_file_magic_test_file=
5477 lt_cv_deplibs_check_method='unknown'
5478 # Need to set the preceding variable on all platforms that support
5479 # interlibrary dependencies.
5480 # 'none' -- dependencies not supported.
5481 # `unknown' -- same as none, but documents that we really don't know.
5482 # 'pass_all' -- all dependencies passed with no checks.
5483 # 'test_compile' -- check by making test program.
5484 # 'file_magic [[regex]]' -- check by looking for files in library path
5485 # which responds to the $file_magic_cmd with a given extended regex.
5486 # If you have `file' or equivalent on your system and you're not sure
5487 # whether `pass_all' will *always* work, you probably want this one.
5491 lt_cv_deplibs_check_method=pass_all
5495 lt_cv_deplibs_check_method=pass_all
5499 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5500 lt_cv_file_magic_cmd='/usr/bin/file -L'
5501 lt_cv_file_magic_test_file=/shlib/libc.so
5505 # func_win32_libid is a shell function defined in ltmain.sh
5506 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5507 lt_cv_file_magic_cmd='func_win32_libid'
5511 # Base MSYS/MinGW do not provide the 'file' command needed by
5512 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5513 # unless we find 'file', for example because we are cross-compiling.
5514 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5515 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5516 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5517 lt_cv_file_magic_cmd='func_win32_libid'
5519 # Keep this pattern in sync with the one in func_win32_libid.
5520 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5521 lt_cv_file_magic_cmd='$OBJDUMP -f'
5526 # use the weaker test based on 'objdump'. See mingw*.
5527 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5528 lt_cv_file_magic_cmd='$OBJDUMP -f'
5531 darwin* | rhapsody*)
5532 lt_cv_deplibs_check_method=pass_all
5535 freebsd* | dragonfly*)
5536 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5539 # Not sure whether the presence of OpenBSD here was a mistake.
5540 # Let's accept both of them until this is cleared up.
5541 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5542 lt_cv_file_magic_cmd=/usr/bin/file
5543 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5547 lt_cv_deplibs_check_method=pass_all
5552 lt_cv_deplibs_check_method=pass_all
5555 hpux10.20* | hpux11*)
5556 lt_cv_file_magic_cmd=/usr/bin/file
5559 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5560 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5563 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]'
5564 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5567 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5568 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5574 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5578 irix5* | irix6* | nonstopux*)
5580 *-32|*"-32 ") libmagic=32-bit;;
5581 *-n32|*"-n32 ") libmagic=N32;;
5582 *-64|*"-64 ") libmagic=64-bit;;
5583 *) libmagic=never-match;;
5585 lt_cv_deplibs_check_method=pass_all
5588 # This must be glibc/ELF.
5589 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5590 lt_cv_deplibs_check_method=pass_all
5593 netbsd* | netbsdelf*-gnu)
5594 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5603 lt_cv_file_magic_cmd=/usr/bin/file
5604 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5608 lt_cv_deplibs_check_method=pass_all
5612 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5619 osf3* | osf4* | osf5*)
5620 lt_cv_deplibs_check_method=pass_all
5624 lt_cv_deplibs_check_method=pass_all
5628 lt_cv_deplibs_check_method=pass_all
5631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5632 lt_cv_deplibs_check_method=pass_all
5636 case $host_vendor in
5638 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]'
5639 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5642 lt_cv_deplibs_check_method=pass_all
5645 lt_cv_file_magic_cmd='/bin/file'
5646 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5649 lt_cv_file_magic_cmd='/bin/file'
5650 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5651 lt_cv_file_magic_test_file=/lib/libc.so
5654 lt_cv_deplibs_check_method=pass_all
5657 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_deplibs_check_method=pass_all
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5669 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5673 if test "$build" = "$host"; then
5676 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5679 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5685 file_magic_cmd=$lt_cv_file_magic_cmd
5686 deplibs_check_method=$lt_cv_deplibs_check_method
5687 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5710 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_DLLTOOL+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$DLLTOOL"; then
5719 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 DLLTOOL=$ac_cv_prog_DLLTOOL
5739 if test -n "$DLLTOOL"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5741 $as_echo "$DLLTOOL" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5749 if test -z "$ac_cv_prog_DLLTOOL"; then
5750 ac_ct_DLLTOOL=$DLLTOOL
5751 # Extract the first word of "dlltool", so it can be a program name with args.
5752 set dummy dlltool; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$ac_ct_DLLTOOL"; then
5759 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5779 if test -n "$ac_ct_DLLTOOL"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5781 $as_echo "$ac_ct_DLLTOOL" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5787 if test "x$ac_ct_DLLTOOL" = x; then
5790 case $cross_compiling:$ac_tool_warned in
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5796 DLLTOOL=$ac_ct_DLLTOOL
5799 DLLTOOL="$ac_cv_prog_DLLTOOL"
5802 test -z "$DLLTOOL" && DLLTOOL=dlltool
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5814 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5815 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 lt_cv_sharedlib_from_linklib_cmd='unknown'
5821 cygwin* | mingw* | pw32* | cegcc*)
5822 # two different shell functions defined in ltmain.sh
5823 # decide which to use based on capabilities of $DLLTOOL
5824 case `$DLLTOOL --help 2>&1` in
5825 *--identify-strict*)
5826 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5829 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5834 # fallback: assume linklib IS sharedlib
5835 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5841 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5842 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5843 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5851 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_AR+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$AR"; then
5862 ac_cv_prog_AR="$AR" # Let the user override the test.
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 if test -n "$AR"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5884 $as_echo "$AR" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$AR" && break
5894 if test -z "$AR"; then
5898 # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$ac_ct_AR"; then
5906 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_ac_ct_AR="$ac_prog"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5926 if test -n "$ac_ct_AR"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5928 $as_echo "$ac_ct_AR" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5935 test -n "$ac_ct_AR" && break
5938 if test "x$ac_ct_AR" = x; then
5941 case $cross_compiling:$ac_tool_warned in
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned=yes ;;
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5965 $as_echo_n "checking for archiver @FILE support... " >&6; }
5966 if ${lt_cv_ar_at_file+:} false; then :
5967 $as_echo_n "(cached) " >&6
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5981 if ac_fn_c_try_compile "$LINENO"; then :
5982 echo conftest.$ac_objext > conftest.lst
5983 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5984 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5985 (eval $lt_ar_try) 2>&5
5987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5988 test $ac_status = 0; }
5989 if test "$ac_status" -eq 0; then
5990 # Ensure the archiver fails upon bogus file names.
5991 rm -f conftest.$ac_objext libconftest.a
5992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5993 (eval $lt_ar_try) 2>&5
5995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5996 test $ac_status = 0; }
5997 if test "$ac_status" -ne 0; then
6001 rm -f conftest.* libconftest.a
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6008 $as_echo "$lt_cv_ar_at_file" >&6; }
6010 if test "x$lt_cv_ar_at_file" = xno; then
6013 archiver_list_spec=$lt_cv_ar_at_file
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_STRIP+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$STRIP"; then
6031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 STRIP=$ac_cv_prog_STRIP
6051 if test -n "$STRIP"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6053 $as_echo "$STRIP" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6061 if test -z "$ac_cv_prog_STRIP"; then
6063 # Extract the first word of "strip", so it can be a program name with args.
6064 set dummy strip; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6068 $as_echo_n "(cached) " >&6
6070 if test -n "$ac_ct_STRIP"; then
6071 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_ac_ct_STRIP="strip"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6091 if test -n "$ac_ct_STRIP"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6093 $as_echo "$ac_ct_STRIP" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6099 if test "x$ac_ct_STRIP" = x; then
6102 case $cross_compiling:$ac_tool_warned in
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6111 STRIP="$ac_cv_prog_STRIP"
6114 test -z "$STRIP" && STRIP=:
6121 if test -n "$ac_tool_prefix"; then
6122 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_RANLIB+:} false; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$RANLIB"; then
6130 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 RANLIB=$ac_cv_prog_RANLIB
6150 if test -n "$RANLIB"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6152 $as_echo "$RANLIB" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6160 if test -z "$ac_cv_prog_RANLIB"; then
6161 ac_ct_RANLIB=$RANLIB
6162 # Extract the first word of "ranlib", so it can be a program name with args.
6163 set dummy ranlib; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6167 $as_echo_n "(cached) " >&6
6169 if test -n "$ac_ct_RANLIB"; then
6170 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_ac_ct_RANLIB="ranlib"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6190 if test -n "$ac_ct_RANLIB"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6192 $as_echo "$ac_ct_RANLIB" >&6; }
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6198 if test "x$ac_ct_RANLIB" = x; then
6201 case $cross_compiling:$ac_tool_warned in
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned=yes ;;
6207 RANLIB=$ac_ct_RANLIB
6210 RANLIB="$ac_cv_prog_RANLIB"
6213 test -z "$RANLIB" && RANLIB=:
6220 # Determine commands to create old-style static archives.
6221 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6222 old_postinstall_cmds='chmod 644 $oldlib'
6223 old_postuninstall_cmds=
6225 if test -n "$RANLIB"; then
6228 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6231 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6234 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6239 lock_old_archive_extraction=yes ;;
6241 lock_old_archive_extraction=no ;;
6282 # If no C compiler was specified, use CC.
6285 # If no C compiler flags were specified, use CFLAGS.
6286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6288 # Allow CC to be a program name with arguments.
6292 # Check for command to grab the raw symbol name followed by C symbol from nm.
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6294 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6295 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6296 $as_echo_n "(cached) " >&6
6299 # These are sane defaults that work on at least a few old systems.
6300 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6302 # Character class describing NM global symbol codes.
6303 symcode='[BCDEGRST]'
6305 # Regexp to match symbols that can be accessed directly from C.
6306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6308 # Define system-specific variables.
6313 cygwin* | mingw* | pw32* | cegcc*)
6314 symcode='[ABCDGISTW]'
6317 if test "$host_cpu" = ia64; then
6318 symcode='[ABCDEGRST]'
6322 symcode='[BCDEGRST]'
6325 symcode='[BCDEGQRST]'
6336 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6344 # If we're using GNU nm, then use its standard symbol codes.
6345 case `$NM -V 2>&1` in
6346 *GNU* | *'with BFD'*)
6347 symcode='[ABCDGIRSTW]' ;;
6350 # Transform an extracted symbol line into a proper C declaration.
6351 # Some systems (esp. on ia64) link data and code symbols differently,
6352 # so use this general approach.
6353 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6355 # Transform an extracted symbol line into symbol name and symbol address
6356 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6357 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'"
6359 # Handle CRLF in mingw tool chain
6363 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6367 # Try without a prefix underscore, then with it.
6368 for ac_symprfx in "" "_"; do
6370 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6371 symxfrm="\\1 $ac_symprfx\\2 \\2"
6373 # Write the raw and C identifiers.
6374 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6375 # Fake it for dumpbin and say T for any non-static function
6376 # and D for any global variable.
6377 # Also find C++ and __fastcall symbols from MSVC++,
6378 # which start with @ or ?.
6379 lt_cv_sys_global_symbol_pipe="$AWK '"\
6380 " {last_section=section; section=\$ 3};"\
6381 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6382 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6383 " \$ 0!~/External *\|/{next};"\
6384 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6385 " {if(hide[section]) next};"\
6386 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6387 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6388 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6389 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6390 " ' prfx=^$ac_symprfx"
6392 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6394 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6396 # Check to see that the pipe works correctly.
6400 cat > conftest.$ac_ext <<_LT_EOF
6405 void nm_test_func(void);
6406 void nm_test_func(void){}
6410 int main(){nm_test_var='a';nm_test_func();return(0);}
6413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6414 (eval $ac_compile) 2>&5
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6417 test $ac_status = 0; }; then
6418 # Now try to grab the symbols.
6420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6421 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424 test $ac_status = 0; } && test -s "$nlist"; then
6425 # Try sorting and uniquifying the output.
6426 if sort "$nlist" | uniq > "$nlist"T; then
6427 mv -f "$nlist"T "$nlist"
6432 # Make sure that we snagged all the symbols we need.
6433 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6434 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6435 cat <<_LT_EOF > conftest.$ac_ext
6436 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6437 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6438 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6439 relocations are performed -- see ld's documentation on pseudo-relocs. */
6440 # define LT_DLSYM_CONST
6441 #elif defined(__osf__)
6442 /* This system does not cope well with relocations in const data. */
6443 # define LT_DLSYM_CONST
6445 # define LT_DLSYM_CONST const
6453 # Now generate the symbol file.
6454 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6456 cat <<_LT_EOF >> conftest.$ac_ext
6458 /* The mapping between symbol names and symbols. */
6459 LT_DLSYM_CONST struct {
6463 lt__PROGRAM__LTX_preloaded_symbols[] =
6465 { "@PROGRAM@", (void *) 0 },
6467 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6468 cat <<\_LT_EOF >> conftest.$ac_ext
6472 /* This works around a problem in FreeBSD linker */
6473 #ifdef FREEBSD_WORKAROUND
6474 static const void *lt_preloaded_setup() {
6475 return lt__PROGRAM__LTX_preloaded_symbols;
6483 # Now try linking the two files.
6484 mv conftest.$ac_objext conftstm.$ac_objext
6485 lt_globsym_save_LIBS=$LIBS
6486 lt_globsym_save_CFLAGS=$CFLAGS
6487 LIBS="conftstm.$ac_objext"
6488 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6490 (eval $ac_link) 2>&5
6492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6493 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6496 LIBS=$lt_globsym_save_LIBS
6497 CFLAGS=$lt_globsym_save_CFLAGS
6499 echo "cannot find nm_test_func in $nlist" >&5
6502 echo "cannot find nm_test_var in $nlist" >&5
6505 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6508 echo "$progname: failed program was:" >&5
6509 cat conftest.$ac_ext >&5
6511 rm -rf conftest* conftst*
6513 # Do not use the global_symbol_pipe unless it works.
6514 if test "$pipe_works" = yes; then
6517 lt_cv_sys_global_symbol_pipe=
6523 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6524 lt_cv_sys_global_symbol_to_cdecl=
6526 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6528 $as_echo "failed" >&6; }
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6531 $as_echo "ok" >&6; }
6534 # Response file support.
6535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6536 nm_file_list_spec='@'
6537 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6538 nm_file_list_spec='@'
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6568 $as_echo_n "checking for sysroot... " >&6; }
6570 # Check whether --with-sysroot was given.
6571 if test "${with_sysroot+set}" = set; then :
6572 withval=$with_sysroot;
6579 case ${with_sysroot} in #(
6581 if test "$GCC" = yes; then
6582 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6586 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6592 $as_echo "${with_sysroot}" >&6; }
6593 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6598 $as_echo "${lt_sysroot:-no}" >&6; }
6604 # Check whether --enable-libtool-lock was given.
6605 if test "${enable_libtool_lock+set}" = set; then :
6606 enableval=$enable_libtool_lock;
6609 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6611 # Some flags need to be propagated to the compiler or linker for good
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.$ac_ext
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.$ac_objext` in
6634 # Find out which ABI we are using.
6635 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6637 (eval $ac_compile) 2>&5
6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640 test $ac_status = 0; }; then
6641 if test "$lt_cv_prog_gnu_ld" = yes; then
6642 case `/usr/bin/file conftest.$ac_objext` in
6644 LD="${LD-ld} -melf32bsmip"
6647 LD="${LD-ld} -melf32bmipn32"
6650 LD="${LD-ld} -melf64bmip"
6654 case `/usr/bin/file conftest.$ac_objext` in
6670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6672 # Find out which ABI we are using.
6673 echo 'int i;' > conftest.$ac_ext
6674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675 (eval $ac_compile) 2>&5
6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678 test $ac_status = 0; }; then
6679 case `/usr/bin/file conftest.o` in
6682 x86_64-*kfreebsd*-gnu)
6683 LD="${LD-ld} -m elf_i386_fbsd"
6686 case `/usr/bin/file conftest.o` in
6688 LD="${LD-ld} -m elf32_x86_64"
6691 LD="${LD-ld} -m elf_i386"
6696 LD="${LD-ld} -m elf32lppclinux"
6699 LD="${LD-ld} -m elf32ppclinux"
6702 LD="${LD-ld} -m elf_s390"
6705 LD="${LD-ld} -m elf32_sparc"
6711 x86_64-*kfreebsd*-gnu)
6712 LD="${LD-ld} -m elf_x86_64_fbsd"
6715 LD="${LD-ld} -m elf_x86_64"
6718 LD="${LD-ld} -m elf64lppc"
6721 LD="${LD-ld} -m elf64ppc"
6723 s390*-*linux*|s390*-*tpf*)
6724 LD="${LD-ld} -m elf64_s390"
6727 LD="${LD-ld} -m elf64_sparc"
6737 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6738 SAVE_CFLAGS="$CFLAGS"
6739 CFLAGS="$CFLAGS -belf"
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6741 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6742 if ${lt_cv_cc_needs_belf+:} false; then :
6743 $as_echo_n "(cached) " >&6
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h. */
6762 if ac_fn_c_try_link "$LINENO"; then :
6763 lt_cv_cc_needs_belf=yes
6765 lt_cv_cc_needs_belf=no
6767 rm -f core conftest.err conftest.$ac_objext \
6768 conftest$ac_exeext conftest.$ac_ext
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6777 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6778 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6779 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6780 CFLAGS="$SAVE_CFLAGS"
6784 # Find out which ABI we are using.
6785 echo 'int i;' > conftest.$ac_ext
6786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787 (eval $ac_compile) 2>&5
6789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6790 test $ac_status = 0; }; then
6791 case `/usr/bin/file conftest.o` in
6793 case $lt_cv_prog_gnu_ld in
6797 LD="${LD-ld} -m elf_x86_64"
6800 LD="${LD-ld} -m elf64_sparc"
6803 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6804 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6809 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6821 need_locks="$enable_libtool_lock"
6823 if test -n "$ac_tool_prefix"; then
6824 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6825 set dummy ${ac_tool_prefix}mt; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6829 $as_echo_n "(cached) " >&6
6831 if test -n "$MANIFEST_TOOL"; then
6832 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6852 if test -n "$MANIFEST_TOOL"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6854 $as_echo "$MANIFEST_TOOL" >&6; }
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6862 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6863 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6864 # Extract the first word of "mt", so it can be a program name with args.
6865 set dummy mt; ac_word=$2
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6867 $as_echo_n "checking for $ac_word... " >&6; }
6868 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6869 $as_echo_n "(cached) " >&6
6871 if test -n "$ac_ct_MANIFEST_TOOL"; then
6872 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6892 if test -n "$ac_ct_MANIFEST_TOOL"; then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6894 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 $as_echo "no" >&6; }
6900 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6903 case $cross_compiling:$ac_tool_warned in
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned=yes ;;
6909 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6912 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6915 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6917 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6918 if ${lt_cv_path_mainfest_tool+:} false; then :
6919 $as_echo_n "(cached) " >&6
6921 lt_cv_path_mainfest_tool=no
6922 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6923 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6924 cat conftest.err >&5
6925 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6926 lt_cv_path_mainfest_tool=yes
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6931 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6932 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6942 rhapsody* | darwin*)
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$DSYMUTIL"; then
6952 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6972 if test -n "$DSYMUTIL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6974 $as_echo "$DSYMUTIL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6982 if test -z "$ac_cv_prog_DSYMUTIL"; then
6983 ac_ct_DSYMUTIL=$DSYMUTIL
6984 # Extract the first word of "dsymutil", so it can be a program name with args.
6985 set dummy dsymutil; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$ac_ct_DSYMUTIL"; then
6992 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7012 if test -n "$ac_ct_DSYMUTIL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7014 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7020 if test "x$ac_ct_DSYMUTIL" = x; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7029 DSYMUTIL=$ac_ct_DSYMUTIL
7032 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_NMEDIT+:} false; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$NMEDIT"; then
7044 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 NMEDIT=$ac_cv_prog_NMEDIT
7064 if test -n "$NMEDIT"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7066 $as_echo "$NMEDIT" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_NMEDIT"; then
7075 ac_ct_NMEDIT=$NMEDIT
7076 # Extract the first word of "nmedit", so it can be a program name with args.
7077 set dummy nmedit; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$ac_ct_NMEDIT"; then
7084 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7104 if test -n "$ac_ct_NMEDIT"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7106 $as_echo "$ac_ct_NMEDIT" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_NMEDIT" = x; then
7115 case $cross_compiling:$ac_tool_warned in
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7121 NMEDIT=$ac_ct_NMEDIT
7124 NMEDIT="$ac_cv_prog_NMEDIT"
7127 if test -n "$ac_tool_prefix"; then
7128 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_LIPO+:} false; then :
7133 $as_echo_n "(cached) " >&6
7135 if test -n "$LIPO"; then
7136 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155 LIPO=$ac_cv_prog_LIPO
7156 if test -n "$LIPO"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7158 $as_echo "$LIPO" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7166 if test -z "$ac_cv_prog_LIPO"; then
7168 # Extract the first word of "lipo", so it can be a program name with args.
7169 set dummy lipo; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$ac_ct_LIPO"; then
7176 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_ac_ct_LIPO="lipo"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7196 if test -n "$ac_ct_LIPO"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7198 $as_echo "$ac_ct_LIPO" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7204 if test "x$ac_ct_LIPO" = x; then
7207 case $cross_compiling:$ac_tool_warned in
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7216 LIPO="$ac_cv_prog_LIPO"
7219 if test -n "$ac_tool_prefix"; then
7220 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_OTOOL+:} false; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$OTOOL"; then
7228 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 OTOOL=$ac_cv_prog_OTOOL
7248 if test -n "$OTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7250 $as_echo "$OTOOL" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7258 if test -z "$ac_cv_prog_OTOOL"; then
7260 # Extract the first word of "otool", so it can be a program name with args.
7261 set dummy otool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$ac_ct_OTOOL"; then
7268 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_ac_ct_OTOOL="otool"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7288 if test -n "$ac_ct_OTOOL"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7290 $as_echo "$ac_ct_OTOOL" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7296 if test "x$ac_ct_OTOOL" = x; then
7299 case $cross_compiling:$ac_tool_warned in
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7308 OTOOL="$ac_cv_prog_OTOOL"
7311 if test -n "$ac_tool_prefix"; then
7312 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7313 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315 $as_echo_n "checking for $ac_word... " >&6; }
7316 if ${ac_cv_prog_OTOOL64+:} false; then :
7317 $as_echo_n "(cached) " >&6
7319 if test -n "$OTOOL64"; then
7320 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 OTOOL64=$ac_cv_prog_OTOOL64
7340 if test -n "$OTOOL64"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7342 $as_echo "$OTOOL64" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7350 if test -z "$ac_cv_prog_OTOOL64"; then
7351 ac_ct_OTOOL64=$OTOOL64
7352 # Extract the first word of "otool64", so it can be a program name with args.
7353 set dummy otool64; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 if test -n "$ac_ct_OTOOL64"; then
7360 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_ac_ct_OTOOL64="otool64"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7380 if test -n "$ac_ct_OTOOL64"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7382 $as_echo "$ac_ct_OTOOL64" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7388 if test "x$ac_ct_OTOOL64" = x; then
7391 case $cross_compiling:$ac_tool_warned in
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7395 ac_tool_warned=yes ;;
7397 OTOOL64=$ac_ct_OTOOL64
7400 OTOOL64="$ac_cv_prog_OTOOL64"
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7430 $as_echo_n "checking for -single_module linker flag... " >&6; }
7431 if ${lt_cv_apple_cc_single_mod+:} false; then :
7432 $as_echo_n "(cached) " >&6
7434 lt_cv_apple_cc_single_mod=no
7435 if test -z "${LT_MULTI_MODULE}"; then
7436 # By default we will add the -single_module flag. You can override
7437 # by either setting the environment variable LT_MULTI_MODULE
7438 # non-empty at configure time, or by adding -multi_module to the
7440 rm -rf libconftest.dylib*
7441 echo "int foo(void){return 1;}" > conftest.c
7442 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7443 -dynamiclib -Wl,-single_module conftest.c" >&5
7444 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7445 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7447 # If there is a non-empty error log, and "single_module"
7448 # appears in it, assume the flag caused a linker warning
7449 if test -s conftest.err && $GREP single_module conftest.err; then
7450 cat conftest.err >&5
7451 # Otherwise, if the output was created with a 0 exit code from
7452 # the compiler, it worked.
7453 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7454 lt_cv_apple_cc_single_mod=yes
7456 cat conftest.err >&5
7458 rm -rf libconftest.dylib*
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7463 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7466 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7467 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7468 $as_echo_n "(cached) " >&6
7470 lt_cv_ld_exported_symbols_list=no
7471 save_LDFLAGS=$LDFLAGS
7472 echo "_main" > conftest.sym
7473 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7485 if ac_fn_c_try_link "$LINENO"; then :
7486 lt_cv_ld_exported_symbols_list=yes
7488 lt_cv_ld_exported_symbols_list=no
7490 rm -f core conftest.err conftest.$ac_objext \
7491 conftest$ac_exeext conftest.$ac_ext
7492 LDFLAGS="$save_LDFLAGS"
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7496 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7499 $as_echo_n "checking for -force_load linker flag... " >&6; }
7500 if ${lt_cv_ld_force_load+:} false; then :
7501 $as_echo_n "(cached) " >&6
7503 lt_cv_ld_force_load=no
7504 cat > conftest.c << _LT_EOF
7505 int forced_loaded() { return 2;}
7507 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7508 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7509 echo "$AR cru libconftest.a conftest.o" >&5
7510 $AR cru libconftest.a conftest.o 2>&5
7511 echo "$RANLIB libconftest.a" >&5
7512 $RANLIB libconftest.a 2>&5
7513 cat > conftest.c << _LT_EOF
7514 int main() { return 0;}
7516 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7517 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7519 if test -s conftest.err && $GREP force_load conftest.err; then
7520 cat conftest.err >&5
7521 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7522 lt_cv_ld_force_load=yes
7524 cat conftest.err >&5
7526 rm -f conftest.err libconftest.a conftest conftest.c
7527 rm -rf conftest.dSYM
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7531 $as_echo "$lt_cv_ld_force_load" >&6; }
7533 rhapsody* | darwin1.[012])
7534 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7536 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7537 darwin*) # darwin 5.x on
7538 # if running on 10.5 or later, the deployment target defaults
7539 # to the OS version, if on x86, and 10.4, the deployment
7540 # target defaults to 10.4. Don't you love it?
7541 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7542 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7543 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7545 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7547 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7551 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7552 _lt_dar_single_mod='$single_module'
7554 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7555 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7557 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7559 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7560 _lt_dsymutil='~$DSYMUTIL $lib || :'
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7574 # On Suns, sometimes $CPP names a directory.
7575 if test -n "$CPP" && test -d "$CPP"; then
7578 if test -z "$CPP"; then
7579 if ${ac_cv_prog_CPP+:} false; then :
7580 $as_echo_n "(cached) " >&6
7582 # Double quotes because CPP needs to be expanded
7583 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7586 for ac_c_preproc_warn_flag in '' yes
7588 # Use a header file that comes with gcc, so configuring glibc
7589 # with a fresh cross-compiler works.
7590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7591 # <limits.h> exists even on freestanding compilers.
7592 # On the NeXT, cc -E runs the code through the compiler's parser,
7593 # not just through cpp. "Syntax error" is here to catch this case.
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7597 # include <limits.h>
7599 # include <assert.h>
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7606 # Broken: fails on valid input.
7609 rm -f conftest.err conftest.i conftest.$ac_ext
7611 # OK, works on sane cases. Now check whether nonexistent headers
7612 # can be detected and how.
7613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h. */
7615 #include <ac_nonexistent.h>
7617 if ac_fn_c_try_cpp "$LINENO"; then :
7618 # Broken: success on invalid input.
7621 # Passes both tests.
7625 rm -f conftest.err conftest.i conftest.$ac_ext
7628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7629 rm -f conftest.i conftest.err conftest.$ac_ext
7630 if $ac_preproc_ok; then :
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7643 $as_echo "$CPP" >&6; }
7645 for ac_c_preproc_warn_flag in '' yes
7647 # Use a header file that comes with gcc, so configuring glibc
7648 # with a fresh cross-compiler works.
7649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7650 # <limits.h> exists even on freestanding compilers.
7651 # On the NeXT, cc -E runs the code through the compiler's parser,
7652 # not just through cpp. "Syntax error" is here to catch this case.
7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h. */
7656 # include <limits.h>
7658 # include <assert.h>
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7665 # Broken: fails on valid input.
7668 rm -f conftest.err conftest.i conftest.$ac_ext
7670 # OK, works on sane cases. Now check whether nonexistent headers
7671 # can be detected and how.
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #include <ac_nonexistent.h>
7676 if ac_fn_c_try_cpp "$LINENO"; then :
7677 # Broken: success on invalid input.
7680 # Passes both tests.
7684 rm -f conftest.err conftest.i conftest.$ac_ext
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.i conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then :
7692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7694 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7695 See \`config.log' for more details" "$LINENO" 5; }
7699 ac_cpp='$CPP $CPPFLAGS'
7700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7706 $as_echo_n "checking for ANSI C header files... " >&6; }
7707 if ${ac_cv_header_stdc+:} false; then :
7708 $as_echo_n "(cached) " >&6
7710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h. */
7725 if ac_fn_c_try_compile "$LINENO"; then :
7726 ac_cv_header_stdc=yes
7728 ac_cv_header_stdc=no
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732 if test $ac_cv_header_stdc = yes; then
7733 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7740 $EGREP "memchr" >/dev/null 2>&1; then :
7743 ac_cv_header_stdc=no
7749 if test $ac_cv_header_stdc = yes; then
7750 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7757 $EGREP "free" >/dev/null 2>&1; then :
7760 ac_cv_header_stdc=no
7766 if test $ac_cv_header_stdc = yes; then
7767 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7768 if test "$cross_compiling" = yes; then :
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7775 #if ((' ' & 0x0FF) == 0x020)
7776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7779 # define ISLOWER(c) \
7780 (('a' <= (c) && (c) <= 'i') \
7781 || ('j' <= (c) && (c) <= 'r') \
7782 || ('s' <= (c) && (c) <= 'z'))
7783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7791 for (i = 0; i < 256; i++)
7792 if (XOR (islower (i), ISLOWER (i))
7793 || toupper (i) != TOUPPER (i))
7798 if ac_fn_c_try_run "$LINENO"; then :
7801 ac_cv_header_stdc=no
7803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7804 conftest.$ac_objext conftest.beam conftest.$ac_ext
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7810 $as_echo "$ac_cv_header_stdc" >&6; }
7811 if test $ac_cv_header_stdc = yes; then
7813 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7817 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7819 inttypes.h stdint.h unistd.h
7821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7834 for ac_header in dlfcn.h
7836 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7838 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_DLFCN_H 1
7852 # Check whether --enable-static was given.
7853 if test "${enable_static+set}" = set; then :
7854 enableval=$enable_static; p=${PACKAGE-default}
7856 yes) enable_static=yes ;;
7857 no) enable_static=no ;;
7860 # Look at the argument we got. We use all the common list separators.
7861 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7862 for pkg in $enableval; do
7864 if test "X$pkg" = "X$p"; then
7890 # Check whether --enable-shared was given.
7891 if test "${enable_shared+set}" = set; then :
7892 enableval=$enable_shared; p=${PACKAGE-default}
7894 yes) enable_shared=yes ;;
7895 no) enable_shared=no ;;
7898 # Look at the argument we got. We use all the common list separators.
7899 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7900 for pkg in $enableval; do
7902 if test "X$pkg" = "X$p"; then
7923 # Check whether --with-pic was given.
7924 if test "${with_pic+set}" = set; then :
7925 withval=$with_pic; lt_p=${PACKAGE-default}
7927 yes|no) pic_mode=$withval ;;
7930 # Look at the argument we got. We use all the common list separators.
7931 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7932 for lt_pkg in $withval; do
7934 if test "X$lt_pkg" = "X$lt_p"; then
7946 test -z "$pic_mode" && pic_mode=default
7954 # Check whether --enable-fast-install was given.
7955 if test "${enable_fast_install+set}" = set; then :
7956 enableval=$enable_fast_install; p=${PACKAGE-default}
7958 yes) enable_fast_install=yes ;;
7959 no) enable_fast_install=no ;;
7961 enable_fast_install=no
7962 # Look at the argument we got. We use all the common list separators.
7963 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7964 for pkg in $enableval; do
7966 if test "X$pkg" = "X$p"; then
7967 enable_fast_install=yes
7974 enable_fast_install=yes
7987 # This can be used to rebuild libtool when needed
7988 LIBTOOL_DEPS="$ltmain"
7990 # Always use our own libtool.
7991 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8022 test -z "$LN_S" && LN_S="ln -s"
8037 if test -n "${ZSH_VERSION+set}" ; then
8038 setopt NO_GLOB_SUBST
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8042 $as_echo_n "checking for objdir... " >&6; }
8043 if ${lt_cv_objdir+:} false; then :
8044 $as_echo_n "(cached) " >&6
8046 rm -f .libs 2>/dev/null
8047 mkdir .libs 2>/dev/null
8048 if test -d .libs; then
8051 # MS-DOS does not allow filenames that begin with a dot.
8054 rmdir .libs 2>/dev/null
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8057 $as_echo "$lt_cv_objdir" >&6; }
8058 objdir=$lt_cv_objdir
8064 cat >>confdefs.h <<_ACEOF
8065 #define LT_OBJDIR "$lt_cv_objdir/"
8073 # AIX sometimes has problems with the GCC collect2 program. For some
8074 # reason, if we set the COLLECT_NAMES environment variable, the problems
8075 # vanish in a puff of smoke.
8076 if test "X${COLLECT_NAMES+set}" != Xset; then
8078 export COLLECT_NAMES
8085 can_build_shared=yes
8087 # All known linkers require a `.a' archive for static linking (except MSVC,
8088 # which needs '.lib').
8091 with_gnu_ld="$lt_cv_prog_gnu_ld"
8094 old_CFLAGS="$CFLAGS"
8096 # Set sane defaults for various variables
8097 test -z "$CC" && CC=cc
8098 test -z "$LTCC" && LTCC=$CC
8099 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8100 test -z "$LD" && LD=ld
8101 test -z "$ac_objext" && ac_objext=o
8103 for cc_temp in $compiler""; do
8105 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8106 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8111 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8114 # Only perform the check for file, if the check method requires it
8115 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8116 case $deplibs_check_method in
8118 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8120 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122 $as_echo_n "(cached) " >&6
8126 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8129 lt_save_MAGIC_CMD="$MAGIC_CMD"
8130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132 for ac_dir in $ac_dummy; do
8134 test -z "$ac_dir" && ac_dir=.
8135 if test -f $ac_dir/${ac_tool_prefix}file; then
8136 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8137 if test -n "$file_magic_test_file"; then
8138 case $deplibs_check_method in
8140 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143 $EGREP "$file_magic_regex" > /dev/null; then
8148 *** Warning: the command libtool uses to detect shared libraries,
8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
8150 *** The result is that libtool may fail to recognize shared libraries
8151 *** as such. This will affect the creation of libtool libraries that
8152 *** depend on shared libraries, but programs linked with such libtool
8153 *** libraries will work regardless of this problem. Nevertheless, you
8154 *** may want to report the problem to your system manager and/or to
8155 *** bug-libtool@gnu.org
8165 MAGIC_CMD="$lt_save_MAGIC_CMD"
8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171 if test -n "$MAGIC_CMD"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173 $as_echo "$MAGIC_CMD" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8183 if test -z "$lt_cv_path_MAGIC_CMD"; then
8184 if test -n "$ac_tool_prefix"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8186 $as_echo_n "checking for file... " >&6; }
8187 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8188 $as_echo_n "(cached) " >&6
8192 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8195 lt_save_MAGIC_CMD="$MAGIC_CMD"
8196 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8197 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8198 for ac_dir in $ac_dummy; do
8200 test -z "$ac_dir" && ac_dir=.
8201 if test -f $ac_dir/file; then
8202 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8203 if test -n "$file_magic_test_file"; then
8204 case $deplibs_check_method in
8206 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8208 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8209 $EGREP "$file_magic_regex" > /dev/null; then
8214 *** Warning: the command libtool uses to detect shared libraries,
8215 *** $file_magic_cmd, produces output that libtool cannot recognize.
8216 *** The result is that libtool may fail to recognize shared libraries
8217 *** as such. This will affect the creation of libtool libraries that
8218 *** depend on shared libraries, but programs linked with such libtool
8219 *** libraries will work regardless of this problem. Nevertheless, you
8220 *** may want to report the problem to your system manager and/or to
8221 *** bug-libtool@gnu.org
8231 MAGIC_CMD="$lt_save_MAGIC_CMD"
8236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8237 if test -n "$MAGIC_CMD"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8239 $as_echo "$MAGIC_CMD" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8255 # Use C for the default configuration in the libtool script
8259 ac_cpp='$CPP $CPPFLAGS'
8260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8265 # Source file extension for C test sources.
8268 # Object file extension for compiled C test sources.
8272 # Code to be used in simple compile tests
8273 lt_simple_compile_test_code="int some_variable = 0;"
8275 # Code to be used in simple link tests
8276 lt_simple_link_test_code='int main(){return(0);}'
8284 # If no C compiler was specified, use CC.
8287 # If no C compiler flags were specified, use CFLAGS.
8288 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8290 # Allow CC to be a program name with arguments.
8293 # Save the default compiler, since it gets overwritten when the other
8294 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8295 compiler_DEFAULT=$CC
8297 # save warnings/boilerplate of simple test code
8298 ac_outfile=conftest.$ac_objext
8299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8301 _lt_compiler_boilerplate=`cat conftest.err`
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8307 _lt_linker_boilerplate=`cat conftest.err`
8312 ## There is no encapsulation within the following macros, do not change
8313 ## the running order or otherwise move them around unless you know exactly
8314 ## what you are doing...
8315 if test -n "$compiler"; then
8317 lt_prog_compiler_no_builtin_flag=
8319 if test "$GCC" = yes; then
8320 case $cc_basename in
8322 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8324 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8330 $as_echo_n "(cached) " >&6
8332 lt_cv_prog_compiler_rtti_exceptions=no
8333 ac_outfile=conftest.$ac_objext
8334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335 lt_compiler_flag="-fno-rtti -fno-exceptions"
8336 # Insert the option either (1) after the last *FLAGS variable, or
8337 # (2) before a word containing "conftest.", or (3) at the end.
8338 # Note that $ac_compile itself does not contain backslashes and begins
8339 # with a dollar sign (not a hyphen), so the echo should work correctly.
8340 # The option is referenced via a variable to avoid confusing sed.
8341 lt_compile=`echo "$ac_compile" | $SED \
8342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344 -e 's:$: $lt_compiler_flag:'`
8345 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8346 (eval "$lt_compile" 2>conftest.err)
8348 cat conftest.err >&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 if (exit $ac_status) && test -s "$ac_outfile"; then
8351 # The compiler can only warn and ignore the option if not recognized
8352 # So say no if there are warnings other than the usual output.
8353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8356 lt_cv_prog_compiler_rtti_exceptions=yes
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8366 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8378 lt_prog_compiler_wl=
8379 lt_prog_compiler_pic=
8380 lt_prog_compiler_static=
8383 if test "$GCC" = yes; then
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_static='-static'
8389 # All AIX code is PIC.
8390 if test "$host_cpu" = ia64; then
8391 # AIX 5 now supports IA64 processor
8392 lt_prog_compiler_static='-Bstatic'
8399 # see comment about AmigaOS4 .so support
8400 lt_prog_compiler_pic='-fPIC'
8403 # FIXME: we need at least 68020 code to build shared libraries, but
8404 # adding the `-m68020' flag to GCC prevents building anything better,
8406 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8411 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412 # PIC is the default for these OSes.
8415 mingw* | cygwin* | pw32* | os2* | cegcc*)
8416 # This hack is so that the source file can tell whether it is being
8417 # built for inclusion in a dll (and should export symbols for example).
8418 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419 # (--disable-auto-import) libraries
8420 lt_prog_compiler_pic='-DDLL_EXPORT'
8423 darwin* | rhapsody*)
8424 # PIC is the default on this platform
8425 # Common symbols not allowed in MH_DYLIB files
8426 lt_prog_compiler_pic='-fno-common'
8430 # PIC is the default for Haiku.
8431 # The "-static" flag exists, but is broken.
8432 lt_prog_compiler_static=
8436 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8438 # sets the default TLS model and affects inlining.
8444 lt_prog_compiler_pic='-fPIC'
8450 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451 # Instead, we relocate shared libraries at runtime.
8455 # Just because we use GCC doesn't mean we suddenly get shared libraries
8456 # on systems that don't support them.
8457 lt_prog_compiler_can_build_shared=no
8462 # QNX uses GNU C++, but need to define -shared option too, otherwise
8464 lt_prog_compiler_pic='-fPIC -shared'
8468 if test -d /usr/nec; then
8469 lt_prog_compiler_pic=-Kconform_pic
8474 lt_prog_compiler_pic='-fPIC'
8478 case $cc_basename in
8479 nvcc*) # Cuda Compiler Driver 2.2
8480 lt_prog_compiler_wl='-Xlinker '
8481 if test -n "$lt_prog_compiler_pic"; then
8482 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8487 # PORTME Check for flag to pass linker flags through the system compiler.
8490 lt_prog_compiler_wl='-Wl,'
8491 if test "$host_cpu" = ia64; then
8492 # AIX 5 now supports IA64 processor
8493 lt_prog_compiler_static='-Bstatic'
8495 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8499 mingw* | cygwin* | pw32* | os2* | cegcc*)
8500 # This hack is so that the source file can tell whether it is being
8501 # built for inclusion in a dll (and should export symbols for example).
8502 lt_prog_compiler_pic='-DDLL_EXPORT'
8505 hpux9* | hpux10* | hpux11*)
8506 lt_prog_compiler_wl='-Wl,'
8507 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8514 lt_prog_compiler_pic='+Z'
8517 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8518 lt_prog_compiler_static='${wl}-a ${wl}archive'
8521 irix5* | irix6* | nonstopux*)
8522 lt_prog_compiler_wl='-Wl,'
8523 # PIC (with -KPIC) is the default.
8524 lt_prog_compiler_static='-non_shared'
8527 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8528 case $cc_basename in
8529 # old Intel for x86_64 which still supported -KPIC.
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_pic='-KPIC'
8533 lt_prog_compiler_static='-static'
8535 # icc used to be incompatible with GCC.
8536 # ICC 10 doesn't accept -KPIC any more.
8538 lt_prog_compiler_wl='-Wl,'
8539 lt_prog_compiler_pic='-fPIC'
8540 lt_prog_compiler_static='-static'
8542 # Lahey Fortran 8.1.
8544 lt_prog_compiler_wl='-Wl,'
8545 lt_prog_compiler_pic='--shared'
8546 lt_prog_compiler_static='--static'
8549 # NAG Fortran compiler
8550 lt_prog_compiler_wl='-Wl,-Wl,,'
8551 lt_prog_compiler_pic='-PIC'
8552 lt_prog_compiler_static='-Bstatic'
8554 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8555 # Portland Group compilers (*not* the Pentium gcc compiler,
8556 # which looks to be a dead project)
8557 lt_prog_compiler_wl='-Wl,'
8558 lt_prog_compiler_pic='-fpic'
8559 lt_prog_compiler_static='-Bstatic'
8562 lt_prog_compiler_wl='-Wl,'
8563 # All Alpha code is PIC.
8564 lt_prog_compiler_static='-non_shared'
8566 xl* | bgxl* | bgf* | mpixl*)
8567 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8568 lt_prog_compiler_wl='-Wl,'
8569 lt_prog_compiler_pic='-qpic'
8570 lt_prog_compiler_static='-qstaticlink'
8573 case `$CC -V 2>&1 | sed 5q` in
8574 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8575 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8576 lt_prog_compiler_pic='-KPIC'
8577 lt_prog_compiler_static='-Bstatic'
8578 lt_prog_compiler_wl=''
8580 *Sun\ F* | *Sun*Fortran*)
8581 lt_prog_compiler_pic='-KPIC'
8582 lt_prog_compiler_static='-Bstatic'
8583 lt_prog_compiler_wl='-Qoption ld '
8587 lt_prog_compiler_pic='-KPIC'
8588 lt_prog_compiler_static='-Bstatic'
8589 lt_prog_compiler_wl='-Wl,'
8591 *Intel*\ [CF]*Compiler*)
8592 lt_prog_compiler_wl='-Wl,'
8593 lt_prog_compiler_pic='-fPIC'
8594 lt_prog_compiler_static='-static'
8597 lt_prog_compiler_wl='-Wl,'
8598 lt_prog_compiler_pic='-fpic'
8599 lt_prog_compiler_static='-Bstatic'
8607 lt_prog_compiler_pic='-KPIC'
8608 lt_prog_compiler_static='-Bstatic'
8612 # QNX uses GNU C++, but need to define -shared option too, otherwise
8614 lt_prog_compiler_pic='-fPIC -shared'
8617 osf3* | osf4* | osf5*)
8618 lt_prog_compiler_wl='-Wl,'
8619 # All OSF/1 code is PIC.
8620 lt_prog_compiler_static='-non_shared'
8624 lt_prog_compiler_static='-non_shared'
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-Bstatic'
8630 case $cc_basename in
8631 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8632 lt_prog_compiler_wl='-Qoption ld ';;
8634 lt_prog_compiler_wl='-Wl,';;
8639 lt_prog_compiler_wl='-Qoption ld '
8640 lt_prog_compiler_pic='-PIC'
8641 lt_prog_compiler_static='-Bstatic'
8644 sysv4 | sysv4.2uw2* | sysv4.3*)
8645 lt_prog_compiler_wl='-Wl,'
8646 lt_prog_compiler_pic='-KPIC'
8647 lt_prog_compiler_static='-Bstatic'
8651 if test -d /usr/nec ;then
8652 lt_prog_compiler_pic='-Kconform_pic'
8653 lt_prog_compiler_static='-Bstatic'
8657 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-KPIC'
8660 lt_prog_compiler_static='-Bstatic'
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_can_build_shared=no
8669 lt_prog_compiler_pic='-pic'
8670 lt_prog_compiler_static='-Bstatic'
8674 lt_prog_compiler_can_build_shared=no
8680 # For platforms which do not support PIC, -DPIC is meaningless:
8682 lt_prog_compiler_pic=
8685 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8691 if ${lt_cv_prog_compiler_pic+:} false; then :
8692 $as_echo_n "(cached) " >&6
8694 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8697 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8698 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8701 # Check to make sure the PIC flag actually works.
8703 if test -n "$lt_prog_compiler_pic"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8705 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8706 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8707 $as_echo_n "(cached) " >&6
8709 lt_cv_prog_compiler_pic_works=no
8710 ac_outfile=conftest.$ac_objext
8711 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8712 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8713 # Insert the option either (1) after the last *FLAGS variable, or
8714 # (2) before a word containing "conftest.", or (3) at the end.
8715 # Note that $ac_compile itself does not contain backslashes and begins
8716 # with a dollar sign (not a hyphen), so the echo should work correctly.
8717 # The option is referenced via a variable to avoid confusing sed.
8718 lt_compile=`echo "$ac_compile" | $SED \
8719 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8721 -e 's:$: $lt_compiler_flag:'`
8722 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8723 (eval "$lt_compile" 2>conftest.err)
8725 cat conftest.err >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 if (exit $ac_status) && test -s "$ac_outfile"; then
8728 # The compiler can only warn and ignore the option if not recognized
8729 # So say no if there are warnings other than the usual output.
8730 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8731 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8732 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8733 lt_cv_prog_compiler_pic_works=yes
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8742 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8743 case $lt_prog_compiler_pic in
8745 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8748 lt_prog_compiler_pic=
8749 lt_prog_compiler_can_build_shared=no
8765 # Check to make sure the static flag actually works.
8767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8770 if ${lt_cv_prog_compiler_static_works+:} false; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_prog_compiler_static_works=no
8774 save_LDFLAGS="$LDFLAGS"
8775 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8776 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8777 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8778 # The linker can only warn and ignore the option if not recognized
8779 # So say no if there are warnings
8780 if test -s conftest.err; then
8781 # Append any errors to the config.log.
8782 cat conftest.err 1>&5
8783 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8784 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8785 if diff conftest.exp conftest.er2 >/dev/null; then
8786 lt_cv_prog_compiler_static_works=yes
8789 lt_cv_prog_compiler_static_works=yes
8793 LDFLAGS="$save_LDFLAGS"
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8802 lt_prog_compiler_static=
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8813 if ${lt_cv_prog_compiler_c_o+:} false; then :
8814 $as_echo_n "(cached) " >&6
8816 lt_cv_prog_compiler_c_o=no
8817 $RM -r conftest 2>/dev/null
8821 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823 lt_compiler_flag="-o out/conftest2.$ac_objext"
8824 # Insert the option either (1) after the last *FLAGS variable, or
8825 # (2) before a word containing "conftest.", or (3) at the end.
8826 # Note that $ac_compile itself does not contain backslashes and begins
8827 # with a dollar sign (not a hyphen), so the echo should work correctly.
8828 lt_compile=`echo "$ac_compile" | $SED \
8829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8831 -e 's:$: $lt_compiler_flag:'`
8832 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8833 (eval "$lt_compile" 2>out/conftest.err)
8835 cat out/conftest.err >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8839 # The compiler can only warn and ignore the option if not recognized
8840 # So say no if there are warnings
8841 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8842 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8843 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8844 lt_cv_prog_compiler_c_o=yes
8849 # SGI C++ compiler will create directory out/ii_files/ for
8850 # template instantiation
8851 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8852 $RM out/* && rmdir out
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8868 if ${lt_cv_prog_compiler_c_o+:} false; then :
8869 $as_echo_n "(cached) " >&6
8871 lt_cv_prog_compiler_c_o=no
8872 $RM -r conftest 2>/dev/null
8876 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8878 lt_compiler_flag="-o out/conftest2.$ac_objext"
8879 # Insert the option either (1) after the last *FLAGS variable, or
8880 # (2) before a word containing "conftest.", or (3) at the end.
8881 # Note that $ac_compile itself does not contain backslashes and begins
8882 # with a dollar sign (not a hyphen), so the echo should work correctly.
8883 lt_compile=`echo "$ac_compile" | $SED \
8884 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8886 -e 's:$: $lt_compiler_flag:'`
8887 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8888 (eval "$lt_compile" 2>out/conftest.err)
8890 cat out/conftest.err >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8894 # The compiler can only warn and ignore the option if not recognized
8895 # So say no if there are warnings
8896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8897 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8898 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8899 lt_cv_prog_compiler_c_o=yes
8904 # SGI C++ compiler will create directory out/ii_files/ for
8905 # template instantiation
8906 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8907 $RM out/* && rmdir out
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8919 hard_links="nottested"
8920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8921 # do not overwrite the value of need_locks provided by the user
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8923 $as_echo_n "checking if we can lock with hard links... " >&6; }
8926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8928 ln conftest.a conftest.b 2>&5 || hard_links=no
8929 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8931 $as_echo "$hard_links" >&6; }
8932 if test "$hard_links" = no; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8950 allow_undefined_flag=
8951 always_export_symbols=no
8953 archive_expsym_cmds=
8954 compiler_needs_object=no
8955 enable_shared_with_static_runtimes=no
8956 export_dynamic_flag_spec=
8957 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8958 hardcode_automatic=no
8960 hardcode_direct_absolute=no
8961 hardcode_libdir_flag_spec=
8962 hardcode_libdir_separator=
8964 hardcode_shlibpath_var=unsupported
8966 link_all_deplibs=unknown
8969 old_archive_from_new_cmds=
8970 old_archive_from_expsyms_cmds=
8971 thread_safe_flag_spec=
8972 whole_archive_flag_spec=
8973 # include_expsyms should be a list of space-separated symbols to be *always*
8974 # included in the symbol list
8976 # exclude_expsyms can be an extended regexp of symbols to exclude
8977 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8978 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8979 # as well as any symbol that contains `d'.
8980 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8981 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8982 # platforms (ab)use it in PIC code, but their linkers get confused if
8983 # the symbol is explicitly referenced. Since portable code cannot
8984 # rely on this symbol name, it's probably fine to never include it in
8985 # preloaded symbol tables.
8986 # Exclude shared library initialization/finalization symbols.
8987 extract_expsyms_cmds=
8990 cygwin* | mingw* | pw32* | cegcc*)
8991 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8992 # When not using gcc, we currently assume that we are using
8993 # Microsoft Visual C++.
8994 if test "$GCC" != yes; then
8999 # we just hope/assume this is gcc and not c89 (= MSVC++)
9005 linux* | k*bsd*-gnu | gnu*)
9012 # On some targets, GNU ld is compatible enough with the native linker
9013 # that we're better off using the native interface for both.
9014 lt_use_gnu_ld_interface=no
9015 if test "$with_gnu_ld" = yes; then
9018 # The AIX port of GNU ld has always aspired to compatibility
9019 # with the native linker. However, as the warning in the GNU ld
9020 # block says, versions before 2.19.5* couldn't really create working
9021 # shared libraries, regardless of the interface used.
9022 case `$LD -v 2>&1` in
9023 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9024 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9025 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9027 lt_use_gnu_ld_interface=yes
9032 lt_use_gnu_ld_interface=yes
9037 if test "$lt_use_gnu_ld_interface" = yes; then
9038 # If archive_cmds runs LD, not CC, wlarc should be empty
9041 # Set some defaults for GNU ld with shared library support. These
9042 # are reset later if shared libraries are not supported. Putting them
9043 # here allows them to be overridden if necessary.
9044 runpath_var=LD_RUN_PATH
9045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046 export_dynamic_flag_spec='${wl}--export-dynamic'
9047 # ancient GNU ld didn't support --whole-archive et. al.
9048 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9049 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9051 whole_archive_flag_spec=
9053 supports_anon_versioning=no
9054 case `$LD -v 2>&1` in
9055 *GNU\ gold*) supports_anon_versioning=yes ;;
9056 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9057 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9058 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9059 *\ 2.11.*) ;; # other 2.11 versions
9060 *) supports_anon_versioning=yes ;;
9063 # See if GNU ld supports shared libraries.
9066 # On AIX/PPC, the GNU linker is very broken
9067 if test "$host_cpu" != ia64; then
9071 *** Warning: the GNU linker, at least up to release 2.19, is reported
9072 *** to be unable to reliably create shared libraries on AIX.
9073 *** Therefore, libtool is disabling shared libraries support. If you
9074 *** really care for shared libraries, you may want to install binutils
9075 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9076 *** You will then need to restart the configuration process.
9085 # see comment about AmigaOS4 .so support
9086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087 archive_expsym_cmds=''
9090 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)'
9091 hardcode_libdir_flag_spec='-L$libdir'
9092 hardcode_minus_L=yes
9098 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9099 allow_undefined_flag=unsupported
9100 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9101 # support --undefined. This deserves some investigation. FIXME
9102 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9110 # as there is no search path for DLLs.
9111 hardcode_libdir_flag_spec='-L$libdir'
9112 export_dynamic_flag_spec='${wl}--export-all-symbols'
9113 allow_undefined_flag=unsupported
9114 always_export_symbols=no
9115 enable_shared_with_static_runtimes=yes
9116 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'
9117 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9119 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9120 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121 # If the export-symbols file already is a .def file (1st line
9122 # is EXPORTS), use it as is; otherwise, prepend...
9123 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9124 cp $export_symbols $output_objdir/$soname.def;
9126 echo EXPORTS > $output_objdir/$soname.def;
9127 cat $export_symbols >> $output_objdir/$soname.def;
9129 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9136 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137 link_all_deplibs=yes
9142 hardcode_shlibpath_var=no
9143 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9144 export_dynamic_flag_spec='${wl}-E'
9145 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9146 # Instead, shared libraries are loaded at an image base (0x10000000 by
9147 # default) and relocated if they conflict, which is a slow very memory
9148 # consuming and fragmenting process. To avoid this, we pick a random,
9149 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9150 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9151 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9152 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'
9155 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9157 if test "$host_os" = linux-dietlibc; then
9158 case $cc_basename in
9159 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9162 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9163 && test "$tmp_diet" = no
9165 tmp_addflag=' $pic_flag'
9166 tmp_sharedflag='-shared'
9167 case $cc_basename,$host_cpu in
9168 pgcc*) # Portland Group C compiler
9169 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'
9170 tmp_addflag=' $pic_flag'
9172 pgf77* | pgf90* | pgf95* | pgfortran*)
9173 # Portland Group f77 and f90 compilers
9174 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'
9175 tmp_addflag=' $pic_flag -Mnomain' ;;
9176 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9177 tmp_addflag=' -i_dynamic' ;;
9178 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9179 tmp_addflag=' -i_dynamic -nofor_main' ;;
9180 ifc* | ifort*) # Intel Fortran compiler
9181 tmp_addflag=' -nofor_main' ;;
9182 lf95*) # Lahey Fortran 8.1
9183 whole_archive_flag_spec=
9184 tmp_sharedflag='--shared' ;;
9185 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9186 tmp_sharedflag='-qmkshrobj'
9188 nvcc*) # Cuda Compiler Driver 2.2
9189 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'
9190 compiler_needs_object=yes
9193 case `$CC -V 2>&1 | sed 5q` in
9194 *Sun\ C*) # Sun C 5.9
9195 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'
9196 compiler_needs_object=yes
9197 tmp_sharedflag='-G' ;;
9198 *Sun\ F*) # Sun Fortran 8.3
9199 tmp_sharedflag='-G' ;;
9201 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 if test "x$supports_anon_versioning" = xyes; then
9204 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9205 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206 echo "local: *; };" >> $output_objdir/$libname.ver~
9207 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9210 case $cc_basename in
9211 xlf* | bgf* | bgxlf* | mpixlf*)
9212 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9213 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9216 if test "x$supports_anon_versioning" = xyes; then
9217 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9218 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9219 echo "local: *; };" >> $output_objdir/$libname.ver~
9220 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9229 netbsd* | netbsdelf*-gnu)
9230 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9231 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9234 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9240 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9245 *** create shared libraries on Solaris systems. Therefore, libtool
9246 *** is disabling shared libraries support. We urge you to upgrade GNU
9247 *** binutils to release 2.9.1 or newer. Another option is to modify
9248 *** your PATH or compiler configuration so that the native linker is
9249 *** used, and then restart.
9252 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9253 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9254 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9261 case `$LD -v 2>&1` in
9262 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9267 *** reliably create shared libraries on SCO systems. Therefore, libtool
9268 *** is disabling shared libraries support. We urge you to upgrade GNU
9269 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9270 *** your PATH or compiler configuration so that the native linker is
9271 *** used, and then restart.
9276 # For security reasons, it is highly recommended that you always
9277 # use absolute paths for naming shared libraries, and exclude the
9278 # DT_RUNPATH tag from executables and libraries. But doing so
9279 # requires that you compile everything twice, which is a pain.
9280 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9281 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9292 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9295 hardcode_shlibpath_var=no
9299 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9308 if test "$ld_shlibs" = no; then
9310 hardcode_libdir_flag_spec=
9311 export_dynamic_flag_spec=
9312 whole_archive_flag_spec=
9315 # PORTME fill in a description of your system's linker (not GNU ld)
9318 allow_undefined_flag=unsupported
9319 always_export_symbols=yes
9320 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'
9321 # Note: this linker hardcodes the directories in LIBPATH if there
9322 # are no directories specified by -L.
9323 hardcode_minus_L=yes
9324 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9325 # Neither direct hardcoding nor static linking is supported with a
9327 hardcode_direct=unsupported
9332 if test "$host_cpu" = ia64; then
9333 # On IA64, the linker does run time linking by default, so we don't
9334 # have to do anything special.
9335 aix_use_runtimelinking=no
9336 exp_sym_flag='-Bexport'
9339 # If we're using GNU nm, then we don't want the "-C" option.
9340 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9341 # Also, AIX nm treats weak defined symbols like other global
9342 # defined symbols, whereas GNU nm marks them as "W".
9343 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9344 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'
9346 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'
9348 aix_use_runtimelinking=no
9350 # Test if we are trying to use run time linking or normal
9351 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9352 # need to do runtime linking.
9353 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9354 for ld_flag in $LDFLAGS; do
9355 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9356 aix_use_runtimelinking=yes
9363 exp_sym_flag='-bexport'
9364 no_entry_flag='-bnoentry'
9367 # When large executables or shared objects are built, AIX ld can
9368 # have problems creating the table of contents. If linking a library
9369 # or program results in "error TOC overflow" add -mminimal-toc to
9370 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9371 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9375 hardcode_direct_absolute=yes
9376 hardcode_libdir_separator=':'
9377 link_all_deplibs=yes
9378 file_list_spec='${wl}-f,'
9380 if test "$GCC" = yes; then
9381 case $host_os in aix4.[012]|aix4.[012].*)
9382 # We only want to do this on AIX 4.2 and lower, the check
9383 # below for broken collect2 doesn't work under 4.3+
9384 collect2name=`${CC} -print-prog-name=collect2`
9385 if test -f "$collect2name" &&
9386 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9388 # We have reworked collect2
9391 # We have old collect2
9392 hardcode_direct=unsupported
9393 # It fails to find uninstalled libraries when the uninstalled
9394 # path is not listed in the libpath. Setting hardcode_minus_L
9395 # to unsupported forces relinking
9396 hardcode_minus_L=yes
9397 hardcode_libdir_flag_spec='-L$libdir'
9398 hardcode_libdir_separator=
9402 shared_flag='-shared'
9403 if test "$aix_use_runtimelinking" = yes; then
9404 shared_flag="$shared_flag "'${wl}-G'
9409 if test "$host_cpu" = ia64; then
9410 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9411 # chokes on -Wl,-G. The following line is correct:
9414 if test "$aix_use_runtimelinking" = yes; then
9415 shared_flag='${wl}-G'
9417 shared_flag='${wl}-bM:SRE'
9422 export_dynamic_flag_spec='${wl}-bexpall'
9423 # It seems that -bexpall does not export symbols beginning with
9424 # underscore (_), so it is better to generate a list of symbols to export.
9425 always_export_symbols=yes
9426 if test "$aix_use_runtimelinking" = yes; then
9427 # Warning - without using the other runtime loading flags (-brtl),
9428 # -berok will link without error, but may produce a broken library.
9429 allow_undefined_flag='-berok'
9430 # Determine the default libpath from the value encoded in an
9432 if test "${lt_cv_aix_libpath+set}" = set; then
9433 aix_libpath=$lt_cv_aix_libpath
9435 if ${lt_cv_aix_libpath_+:} false; then :
9436 $as_echo_n "(cached) " >&6
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9449 if ac_fn_c_try_link "$LINENO"; then :
9451 lt_aix_libpath_sed='
9452 /Import File Strings/,/^$/ {
9454 s/^0 *\([^ ]*\) *$/\1/
9458 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459 # Check for a 64-bit object if we didn't find anything.
9460 if test -z "$lt_cv_aix_libpath_"; then
9461 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 if test -z "$lt_cv_aix_libpath_"; then
9467 lt_cv_aix_libpath_="/usr/lib:/lib"
9472 aix_libpath=$lt_cv_aix_libpath_
9475 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9476 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"
9478 if test "$host_cpu" = ia64; then
9479 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9480 allow_undefined_flag="-z nodefs"
9481 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"
9483 # Determine the default libpath from the value encoded in an
9485 if test "${lt_cv_aix_libpath+set}" = set; then
9486 aix_libpath=$lt_cv_aix_libpath
9488 if ${lt_cv_aix_libpath_+:} false; then :
9489 $as_echo_n "(cached) " >&6
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9502 if ac_fn_c_try_link "$LINENO"; then :
9504 lt_aix_libpath_sed='
9505 /Import File Strings/,/^$/ {
9507 s/^0 *\([^ ]*\) *$/\1/
9511 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512 # Check for a 64-bit object if we didn't find anything.
9513 if test -z "$lt_cv_aix_libpath_"; then
9514 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 if test -z "$lt_cv_aix_libpath_"; then
9520 lt_cv_aix_libpath_="/usr/lib:/lib"
9525 aix_libpath=$lt_cv_aix_libpath_
9528 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529 # Warning - without using the other run time loading flags,
9530 # -berok will link without error, but may produce a broken library.
9531 no_undefined_flag=' ${wl}-bernotok'
9532 allow_undefined_flag=' ${wl}-berok'
9533 if test "$with_gnu_ld" = yes; then
9534 # We only use this code for GNU lds that support --whole-archive.
9535 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9537 # Exported symbols can be pulled into shared objects from archives
9538 whole_archive_flag_spec='$convenience'
9540 archive_cmds_need_lc=yes
9541 # This is similar to how AIX traditionally builds its shared libraries.
9542 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'
9550 # see comment about AmigaOS4 .so support
9551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds=''
9555 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)'
9556 hardcode_libdir_flag_spec='-L$libdir'
9557 hardcode_minus_L=yes
9563 export_dynamic_flag_spec=-rdynamic
9566 cygwin* | mingw* | pw32* | cegcc*)
9567 # When not using gcc, we currently assume that we are using
9568 # Microsoft Visual C++.
9569 # hardcode_libdir_flag_spec is actually meaningless, as there is
9570 # no search path for DLLs.
9571 case $cc_basename in
9574 hardcode_libdir_flag_spec=' '
9575 allow_undefined_flag=unsupported
9576 always_export_symbols=yes
9578 # Tell ltmain to make .lib files, not .a files.
9580 # Tell ltmain to make .dll files, not .so files.
9582 # FIXME: Setting linknames here is a bad hack.
9583 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9584 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9585 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9587 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9589 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9591 # The linker will not automatically build a static lib if we build a DLL.
9592 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9593 enable_shared_with_static_runtimes=yes
9594 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9595 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9597 old_postinstall_cmds='chmod 644 $oldlib'
9598 postlink_cmds='lt_outputfile="@OUTPUT@"~
9599 lt_tool_outputfile="@TOOL_OUTPUT@"~
9600 case $lt_outputfile in
9603 lt_outputfile="$lt_outputfile.exe"
9604 lt_tool_outputfile="$lt_tool_outputfile.exe"
9607 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9608 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9609 $RM "$lt_outputfile.manifest";
9613 # Assume MSVC wrapper
9614 hardcode_libdir_flag_spec=' '
9615 allow_undefined_flag=unsupported
9616 # Tell ltmain to make .lib files, not .a files.
9618 # Tell ltmain to make .dll files, not .so files.
9620 # FIXME: Setting linknames here is a bad hack.
9621 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9622 # The linker will automatically build a .lib file if we build a DLL.
9623 old_archive_from_new_cmds='true'
9624 # FIXME: Should let the user specify the lib program.
9625 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9626 enable_shared_with_static_runtimes=yes
9631 darwin* | rhapsody*)
9634 archive_cmds_need_lc=no
9636 hardcode_automatic=yes
9637 hardcode_shlibpath_var=unsupported
9638 if test "$lt_cv_ld_force_load" = "yes"; then
9639 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\"`'
9642 whole_archive_flag_spec=''
9644 link_all_deplibs=yes
9645 allow_undefined_flag="$_lt_dar_allow_undefined"
9646 case $cc_basename in
9647 ifort*) _lt_dar_can_shared=yes ;;
9648 *) _lt_dar_can_shared=$GCC ;;
9650 if test "$_lt_dar_can_shared" = "yes"; then
9651 output_verbose_link_cmd=func_echo_all
9652 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9653 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9654 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}"
9655 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}"
9664 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665 hardcode_libdir_flag_spec='-L$libdir'
9666 hardcode_shlibpath_var=no
9669 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9670 # support. Future versions do this automatically, but an explicit c++rt0.o
9671 # does not break anything, and helps significantly (at the cost of a little
9674 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9675 hardcode_libdir_flag_spec='-R$libdir'
9677 hardcode_shlibpath_var=no
9680 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9682 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_minus_L=yes
9685 hardcode_shlibpath_var=no
9688 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9689 freebsd* | dragonfly*)
9690 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9691 hardcode_libdir_flag_spec='-R$libdir'
9693 hardcode_shlibpath_var=no
9697 if test "$GCC" = yes; then
9698 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'
9700 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'
9702 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703 hardcode_libdir_separator=:
9706 # hardcode_minus_L: Not really in the search PATH,
9707 # but as the default location of the library.
9708 hardcode_minus_L=yes
9709 export_dynamic_flag_spec='${wl}-E'
9713 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9714 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9718 if test "$with_gnu_ld" = no; then
9719 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9720 hardcode_libdir_separator=:
9722 hardcode_direct_absolute=yes
9723 export_dynamic_flag_spec='${wl}-E'
9724 # hardcode_minus_L: Not really in the search PATH,
9725 # but as the default location of the library.
9726 hardcode_minus_L=yes
9731 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9734 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753 # Older versions of the 11.00 compiler do not understand -b yet
9754 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9756 $as_echo_n "checking if $CC understands -b... " >&6; }
9757 if ${lt_cv_prog_compiler__b+:} false; then :
9758 $as_echo_n "(cached) " >&6
9760 lt_cv_prog_compiler__b=no
9761 save_LDFLAGS="$LDFLAGS"
9762 LDFLAGS="$LDFLAGS -b"
9763 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9764 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9765 # The linker can only warn and ignore the option if not recognized
9766 # So say no if there are warnings
9767 if test -s conftest.err; then
9768 # Append any errors to the config.log.
9769 cat conftest.err 1>&5
9770 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9771 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772 if diff conftest.exp conftest.er2 >/dev/null; then
9773 lt_cv_prog_compiler__b=yes
9776 lt_cv_prog_compiler__b=yes
9780 LDFLAGS="$save_LDFLAGS"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9784 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9786 if test x"$lt_cv_prog_compiler__b" = xyes; then
9787 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795 if test "$with_gnu_ld" = no; then
9796 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9797 hardcode_libdir_separator=:
9802 hardcode_shlibpath_var=no
9806 hardcode_direct_absolute=yes
9807 export_dynamic_flag_spec='${wl}-E'
9809 # hardcode_minus_L: Not really in the search PATH,
9810 # but as the default location of the library.
9811 hardcode_minus_L=yes
9817 irix5* | irix6* | nonstopux*)
9818 if test "$GCC" = yes; then
9819 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'
9820 # Try to use the -exported_symbol ld option, if it does not
9821 # work, assume that -exports_file does not work either and
9822 # implicitly export all symbols.
9823 # This should be the same for all languages, so no per-tag cache variable.
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9825 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9826 if ${lt_cv_irix_exported_symbol+:} false; then :
9827 $as_echo_n "(cached) " >&6
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int foo (void) { return 0; }
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 lt_cv_irix_exported_symbol=yes
9838 lt_cv_irix_exported_symbol=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LDFLAGS="$save_LDFLAGS"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9845 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9846 if test "$lt_cv_irix_exported_symbol" = yes; then
9847 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'
9850 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'
9851 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'
9853 archive_cmds_need_lc='no'
9854 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9855 hardcode_libdir_separator=:
9857 link_all_deplibs=yes
9860 netbsd* | netbsdelf*-gnu)
9861 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9862 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9864 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9866 hardcode_libdir_flag_spec='-R$libdir'
9868 hardcode_shlibpath_var=no
9872 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875 hardcode_libdir_separator=:
9876 hardcode_shlibpath_var=no
9883 if test -f /usr/libexec/ld.so; then
9885 hardcode_shlibpath_var=no
9886 hardcode_direct_absolute=yes
9887 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9888 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9890 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9891 export_dynamic_flag_spec='${wl}-E'
9894 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9895 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec='-R$libdir'
9899 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9900 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910 hardcode_libdir_flag_spec='-L$libdir'
9911 hardcode_minus_L=yes
9912 allow_undefined_flag=unsupported
9913 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'
9914 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9918 if test "$GCC" = yes; then
9919 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9920 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'
9922 allow_undefined_flag=' -expect_unresolved \*'
9923 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'
9925 archive_cmds_need_lc='no'
9926 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927 hardcode_libdir_separator=:
9930 osf4* | osf5*) # as osf3* with the addition of -msym flag
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9934 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9936 allow_undefined_flag=' -expect_unresolved \*'
9937 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'
9938 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~
9939 $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'
9941 # Both c and cxx compiler support -rpath directly
9942 hardcode_libdir_flag_spec='-rpath $libdir'
9944 archive_cmds_need_lc='no'
9945 hardcode_libdir_separator=:
9949 no_undefined_flag=' -z defs'
9950 if test "$GCC" = yes; then
9952 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $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'
9956 case `$CC -V 2>&1` in
9959 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9961 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9965 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 hardcode_libdir_flag_spec='-R$libdir'
9972 hardcode_shlibpath_var=no
9974 solaris2.[0-5] | solaris2.[0-5].*) ;;
9976 # The compiler driver will combine and reorder linker options,
9977 # but understands `-z linker_flag'. GCC discards it without `$wl',
9978 # but is careful enough not to reorder.
9979 # Supported since Solaris 2.6 (maybe 2.5.1?)
9980 if test "$GCC" = yes; then
9981 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9983 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9987 link_all_deplibs=yes
9991 if test "x$host_vendor" = xsequent; then
9992 # Use $CC to link under sequent, because it throws in some extra .o
9993 # files that make .init and .fini sections work.
9994 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_libdir_flag_spec='-L$libdir'
10000 hardcode_minus_L=yes
10001 hardcode_shlibpath_var=no
10005 case $host_vendor in
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=yes # is this really true???
10011 ## LD is ld it makes a PLAMLIB
10012 ## CC just makes a GrossModule.
10013 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10014 reload_cmds='$CC -r -o $output$reload_objs'
10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10022 runpath_var='LD_RUN_PATH'
10023 hardcode_shlibpath_var=no
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 export_dynamic_flag_spec='-Bexport'
10033 if test -d /usr/nec; then
10034 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_shlibpath_var=no
10036 runpath_var=LD_RUN_PATH
10037 hardcode_runpath_var=yes
10042 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10043 no_undefined_flag='${wl}-z,text'
10044 archive_cmds_need_lc=no
10045 hardcode_shlibpath_var=no
10046 runpath_var='LD_RUN_PATH'
10048 if test "$GCC" = yes; then
10049 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 sysv5* | sco3.2v5* | sco5v6*)
10058 # Note: We can NOT use -z defs as we might desire, because we do not
10059 # link with -lc, and that would cause any symbols used from libc to
10060 # always be unresolved, which means just about no library would
10061 # ever link correctly. If we're not using GNU ld we use -z text
10062 # though, which does catch some bad symbols but isn't as heavy-handed
10064 no_undefined_flag='${wl}-z,text'
10065 allow_undefined_flag='${wl}-z,nodefs'
10066 archive_cmds_need_lc=no
10067 hardcode_shlibpath_var=no
10068 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10069 hardcode_libdir_separator=':'
10070 link_all_deplibs=yes
10071 export_dynamic_flag_spec='${wl}-Bexport'
10072 runpath_var='LD_RUN_PATH'
10074 if test "$GCC" = yes; then
10075 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_libdir_flag_spec='-L$libdir'
10086 hardcode_shlibpath_var=no
10094 if test x$host_vendor = xsni; then
10096 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10097 export_dynamic_flag_spec='${wl}-Blargedynsym'
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10104 $as_echo "$ld_shlibs" >&6; }
10105 test "$ld_shlibs" = no && can_build_shared=no
10107 with_gnu_ld=$with_gnu_ld
10124 # Do we need to explicitly link libc?
10126 case "x$archive_cmds_need_lc" in
10128 # Assume -lc should be added
10129 archive_cmds_need_lc=yes
10131 if test "$enable_shared" = yes && test "$GCC" = yes; then
10132 case $archive_cmds in
10134 # FIXME: we may have to deal with multi-command sequences.
10137 # Test whether the compiler implicitly links with -lc since on some
10138 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10139 # to ld, don't add -lc before -lgcc.
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10141 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10142 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10143 $as_echo_n "(cached) " >&6
10146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10149 (eval $ac_compile) 2>&5
10151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10152 test $ac_status = 0; } 2>conftest.err; then
10155 libobjs=conftest.$ac_objext
10157 wl=$lt_prog_compiler_wl
10158 pic_flag=$lt_prog_compiler_pic
10164 lt_save_allow_undefined_flag=$allow_undefined_flag
10165 allow_undefined_flag=
10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10167 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170 test $ac_status = 0; }
10172 lt_cv_archive_cmds_need_lc=no
10174 lt_cv_archive_cmds_need_lc=yes
10176 allow_undefined_flag=$lt_save_allow_undefined_flag
10178 cat conftest.err 1>&5
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10184 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10185 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10344 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10346 if test "$GCC" = yes; then
10348 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10349 *) lt_awk_arg="/^libraries:/" ;;
10352 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10353 *) lt_sed_strip_eq="s,=/,/,g" ;;
10355 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10356 case $lt_search_path_spec in
10358 # if the path contains ";" then we assume it to be the separator
10359 # otherwise default to the standard path separator (i.e. ":") - it is
10360 # assumed that no part of a normal pathname contains ";" but that should
10361 # okay in the real world where ";" in dirpaths is itself problematic.
10362 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10365 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10368 # Ok, now we have the path, separated by spaces, we can step through it
10369 # and add multilib dir if necessary.
10370 lt_tmp_lt_search_path_spec=
10371 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10372 for lt_sys_path in $lt_search_path_spec; do
10373 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10374 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10376 test -d "$lt_sys_path" && \
10377 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10380 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10381 BEGIN {RS=" "; FS="/|\n";} {
10384 for (lt_i = NF; lt_i > 0; lt_i--) {
10385 if ($lt_i != "" && $lt_i != ".") {
10386 if ($lt_i == "..") {
10389 if (lt_count == 0) {
10390 lt_foo="/" $lt_i lt_foo;
10397 if (lt_foo != "") { lt_freq[lt_foo]++; }
10398 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10400 # AWK program above erroneously prepends '/' to C:/dos/paths
10403 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10404 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10406 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10408 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10410 library_names_spec=
10411 libname_spec='lib$name'
10415 postuninstall_cmds=
10419 shlibpath_overrides_runpath=unknown
10421 dynamic_linker="$host_os ld.so"
10422 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10423 need_lib_prefix=unknown
10424 hardcode_into_libs=no
10426 # when you set need_version to no, make sure it does not cause -set_version
10427 # flags to be left without arguments
10428 need_version=unknown
10432 version_type=linux # correct to gnu/linux during the next big refactor
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10434 shlibpath_var=LIBPATH
10436 # AIX 3 has no versioning support, so we append a major version to the name.
10437 soname_spec='${libname}${release}${shared_ext}$major'
10441 version_type=linux # correct to gnu/linux during the next big refactor
10444 hardcode_into_libs=yes
10445 if test "$host_cpu" = ia64; then
10446 # AIX 5 supports IA64
10447 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10448 shlibpath_var=LD_LIBRARY_PATH
10450 # With GCC up to 2.95.x, collect2 would create an import file
10451 # for dependence libraries. The import file would start with
10452 # the line `#! .'. This would cause the generated library to
10453 # depend on `.', always an invalid library. This was fixed in
10454 # development snapshots of GCC prior to 3.0.
10456 aix4 | aix4.[01] | aix4.[01].*)
10457 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10459 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10462 can_build_shared=no
10466 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10467 # soname into executable. Probably we can add versioning support to
10468 # collect2, so additional links can be useful in future.
10469 if test "$aix_use_runtimelinking" = yes; then
10470 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10471 # instead of lib<name>.a to let people know that these are not
10472 # typical AIX shared libraries.
10473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475 # We preserve .a as extension for shared libraries through AIX4.2
10476 # and later when we are not doing run time linking.
10477 library_names_spec='${libname}${release}.a $libname.a'
10478 soname_spec='${libname}${release}${shared_ext}$major'
10480 shlibpath_var=LIBPATH
10487 # Since July 2007 AmigaOS4 officially supports .so libraries.
10488 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492 library_names_spec='$libname.ixlibrary $libname.a'
10493 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10494 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'
10500 library_names_spec='${libname}${shared_ext}'
10501 dynamic_linker="$host_os ld.so"
10502 shlibpath_var=LIBRARY_PATH
10506 version_type=linux # correct to gnu/linux during the next big refactor
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 soname_spec='${libname}${release}${shared_ext}$major'
10510 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10513 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10514 # the default ld.so.conf also contains /usr/contrib/lib and
10515 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10516 # libtool to hard-code these into programs
10519 cygwin* | mingw* | pw32* | cegcc*)
10520 version_type=windows
10525 case $GCC,$cc_basename in
10528 library_names_spec='$libname.dll.a'
10529 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10530 postinstall_cmds='base_file=`basename \${file}`~
10531 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10532 dldir=$destdir/`dirname \$dlpath`~
10533 test -d \$dldir || mkdir -p \$dldir~
10534 $install_prog $dir/$dlname \$dldir/$dlname~
10535 chmod a+x \$dldir/$dlname~
10536 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10537 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10539 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10540 dlpath=$dir/\$dldll~
10542 shlibpath_overrides_runpath=yes
10546 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10547 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10549 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10552 # MinGW DLLs use traditional 'lib' prefix
10553 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10556 # pw32 DLLs use 'pw' prefix rather than 'lib'
10557 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10560 dynamic_linker='Win32 ld.exe'
10565 libname_spec='$name'
10566 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567 library_names_spec='${libname}.dll.lib'
10571 sys_lib_search_path_spec=
10574 for lt_path in $LIB
10577 # Let DOS variable expansion print the short 8.3 style file name.
10578 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10579 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10582 # Convert to MSYS style.
10583 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10586 # Convert to unix form, then to dos form, then back to unix form
10587 # but this time dos style (no spaces!) so that the unix form looks
10588 # like /cygdrive/c/PROGRA~1:/cygdr...
10589 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10590 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10591 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10594 sys_lib_search_path_spec="$LIB"
10595 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10596 # It is most probably a Windows format PATH.
10597 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10599 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10601 # FIXME: find the short name or the path components, as spaces are
10602 # common. (e.g. "Program Files" -> "PROGRA~1")
10606 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10607 postinstall_cmds='base_file=`basename \${file}`~
10608 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10609 dldir=$destdir/`dirname \$dlpath`~
10610 test -d \$dldir || mkdir -p \$dldir~
10611 $install_prog $dir/$dlname \$dldir/$dlname'
10612 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10613 dlpath=$dir/\$dldll~
10615 shlibpath_overrides_runpath=yes
10616 dynamic_linker='Win32 link.exe'
10620 # Assume MSVC wrapper
10621 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 dynamic_linker='Win32 ld.exe'
10625 # FIXME: first we should search . and the directory the executable is in
10629 darwin* | rhapsody*)
10630 dynamic_linker="$host_os dyld"
10631 version_type=darwin
10634 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10635 soname_spec='${libname}${release}${major}$shared_ext'
10636 shlibpath_overrides_runpath=yes
10637 shlibpath_var=DYLD_LIBRARY_PATH
10638 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10640 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10641 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10645 version_type=linux # correct to gnu/linux during the next big refactor
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 shlibpath_var=LD_LIBRARY_PATH
10653 freebsd* | dragonfly*)
10654 # DragonFly does not have aout. When/if they implement a new
10655 # versioning mechanism, adjust this.
10656 if test -x /usr/bin/objformat; then
10657 objformat=`/usr/bin/objformat`
10660 freebsd[23].*) objformat=aout ;;
10661 *) objformat=elf ;;
10664 version_type=freebsd-$objformat
10665 case $version_type in
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10676 shlibpath_var=LD_LIBRARY_PATH
10679 shlibpath_overrides_runpath=yes
10681 freebsd3.[01]* | freebsdelf3.[01]*)
10682 shlibpath_overrides_runpath=yes
10683 hardcode_into_libs=yes
10685 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10686 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10687 shlibpath_overrides_runpath=no
10688 hardcode_into_libs=yes
10690 *) # from 4.6 on, and DragonFly
10691 shlibpath_overrides_runpath=yes
10692 hardcode_into_libs=yes
10698 version_type=linux # correct to gnu/linux during the next big refactor
10701 dynamic_linker="$host_os runtime_loader"
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10703 soname_spec='${libname}${release}${shared_ext}$major'
10704 shlibpath_var=LIBRARY_PATH
10705 shlibpath_overrides_runpath=yes
10706 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10707 hardcode_into_libs=yes
10710 hpux9* | hpux10* | hpux11*)
10711 # Give a soname corresponding to the major version so that dld.sl refuses to
10712 # link against other versions.
10719 hardcode_into_libs=yes
10720 dynamic_linker="$host_os dld.so"
10721 shlibpath_var=LD_LIBRARY_PATH
10722 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 if test "X$HPUX_IA64_MODE" = X32; then
10726 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10728 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10730 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10734 hardcode_into_libs=yes
10735 dynamic_linker="$host_os dld.sl"
10736 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10737 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec='${libname}${release}${shared_ext}$major'
10740 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10741 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 dynamic_linker="$host_os dld.sl"
10746 shlibpath_var=SHLIB_PATH
10747 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749 soname_spec='${libname}${release}${shared_ext}$major'
10752 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10753 postinstall_cmds='chmod 555 $lib'
10754 # or fails outright, so override atomically:
10755 install_override_mode=555
10759 version_type=linux # correct to gnu/linux during the next big refactor
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10765 shlibpath_var=LD_LIBRARY_PATH
10766 shlibpath_overrides_runpath=no
10767 hardcode_into_libs=yes
10770 irix5* | irix6* | nonstopux*)
10772 nonstopux*) version_type=nonstopux ;;
10774 if test "$lt_cv_prog_gnu_ld" = yes; then
10775 version_type=linux # correct to gnu/linux during the next big refactor
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10785 irix5* | nonstopux*)
10786 libsuff= shlibsuff=
10789 case $LD in # libtool.m4 will add one of these switches to LD
10790 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10791 libsuff= shlibsuff= libmagic=32-bit;;
10792 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10793 libsuff=32 shlibsuff=N32 libmagic=N32;;
10794 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10795 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10796 *) libsuff= shlibsuff= libmagic=never-match;;
10800 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10801 shlibpath_overrides_runpath=no
10802 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10803 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10804 hardcode_into_libs=yes
10807 # No shared lib support for Linux oldld, aout, or coff.
10808 linux*oldld* | linux*aout* | linux*coff*)
10812 # This must be glibc/ELF.
10813 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10814 version_type=linux # correct to gnu/linux during the next big refactor
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=no
10823 # Some binutils ld are patched to set DT_RUNPATH
10824 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10825 $as_echo_n "(cached) " >&6
10827 lt_cv_shlibpath_overrides_runpath=no
10828 save_LDFLAGS=$LDFLAGS
10829 save_libdir=$libdir
10830 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10831 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10845 lt_cv_shlibpath_overrides_runpath=yes
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LDFLAGS=$save_LDFLAGS
10851 libdir=$save_libdir
10855 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10857 # This implies no fast_install, which is unacceptable.
10858 # Some rework will be needed to allow for fast_install
10859 # before this can be enabled.
10860 hardcode_into_libs=yes
10862 # Append ld.so.conf contents to the search path
10863 if test -f /etc/ld.so.conf; then
10864 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' ' '`
10865 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10868 # We used to test for /lib/ld.so.1 and disable shared libraries on
10869 # powerpc, because MkLinux only supported shared libraries with the
10870 # GNU dynamic linker. Since this was broken with cross compilers,
10871 # most powerpc-linux boxes support dynamic linking these days and
10872 # people can always --disable-shared, the test was removed, and we
10873 # assume the GNU/Linux dynamic linker is in use.
10874 dynamic_linker='GNU/Linux ld.so'
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10882 soname_spec='${libname}${release}${shared_ext}$major'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath=no
10885 hardcode_into_libs=yes
10886 dynamic_linker='NetBSD ld.elf_so'
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10908 version_type=linux # correct to gnu/linux during the next big refactor
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10948 shlibpath_overrides_runpath=yes
10953 libname_spec='$name'
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10977 version_type=linux # correct to gnu/linux during the next big refactor
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
11002 version_type=linux # correct to gnu/linux during the next big refactor
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11008 shlibpath_overrides_runpath=no
11010 runpath_var=LD_RUN_PATH
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11025 if test -d /usr/nec ;then
11026 version_type=linux # correct to gnu/linux during the next big refactor
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux # correct to gnu/linux during the next big refactor
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11067 version_type=linux # correct to gnu/linux during the next big refactor
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11205 # We cannot hardcode anything, or else we can only hardcode existing
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11237 lt_cv_dlopen="load_add_on"
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11248 lt_cv_dlopen="dlopen"
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if ${ac_cv_lib_dl_dlopen+:} false; then :
11257 $as_echo_n "(cached) " >&6
11259 ac_check_lib_save_LIBS=$LIBS
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 ac_cv_lib_dl_dlopen=yes
11282 ac_cv_lib_dl_dlopen=no
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11291 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11294 lt_cv_dlopen="dyld"
11296 lt_cv_dlopen_self=yes
11303 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11304 if test "x$ac_cv_func_shl_load" = xyes; then :
11305 lt_cv_dlopen="shl_load"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11308 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11309 if ${ac_cv_lib_dld_shl_load+:} false; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_lib_save_LIBS=$LIBS
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11327 return shl_load ();
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_dld_shl_load=yes
11335 ac_cv_lib_dld_shl_load=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11342 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11343 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11344 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11346 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11347 if test "x$ac_cv_func_dlopen" = xyes; then :
11348 lt_cv_dlopen="dlopen"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11352 if ${ac_cv_lib_dl_dlopen+:} false; then :
11353 $as_echo_n "(cached) " >&6
11355 ac_check_lib_save_LIBS=$LIBS
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_dl_dlopen=yes
11378 ac_cv_lib_dl_dlopen=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11385 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11386 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11387 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11390 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11391 if ${ac_cv_lib_svld_dlopen+:} false; then :
11392 $as_echo_n "(cached) " >&6
11394 ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-lsvld $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 ac_cv_lib_svld_dlopen=yes
11417 ac_cv_lib_svld_dlopen=no
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11424 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11425 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11426 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11429 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11430 if ${ac_cv_lib_dld_dld_link+:} false; then :
11431 $as_echo_n "(cached) " >&6
11433 ac_check_lib_save_LIBS=$LIBS
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11448 return dld_link ();
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 ac_cv_lib_dld_dld_link=yes
11456 ac_cv_lib_dld_dld_link=no
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11463 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11464 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11465 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 if test "x$lt_cv_dlopen" != xno; then
11492 case $lt_cv_dlopen in
11494 save_CPPFLAGS="$CPPFLAGS"
11495 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11497 save_LDFLAGS="$LDFLAGS"
11498 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501 LIBS="$lt_cv_dlopen_libs $LIBS"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11504 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11505 if ${lt_cv_dlopen_self+:} false; then :
11506 $as_echo_n "(cached) " >&6
11508 if test "$cross_compiling" = yes; then :
11509 lt_cv_dlopen_self=cross
11511 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11512 lt_status=$lt_dlunknown
11513 cat > conftest.$ac_ext <<_LT_EOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11524 # define LT_DLGLOBAL RTLD_GLOBAL
11527 # define LT_DLGLOBAL DL_GLOBAL
11529 # define LT_DLGLOBAL 0
11533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11534 find out it does not work in some platform. */
11535 #ifndef LT_DLLAZY_OR_NOW
11537 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # define LT_DLLAZY_OR_NOW DL_NOW
11548 # define LT_DLLAZY_OR_NOW 0
11555 /* When -fvisbility=hidden is used, assume the code has been annotated
11556 correspondingly for the symbols needed. */
11557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11558 int fnord () __attribute__((visibility("default")));
11561 int fnord () { return 42; }
11564 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11565 int status = $lt_dlunknown;
11569 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11573 else puts (dlerror ());
11575 /* dlclose (self); */
11583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11584 (eval $ac_link) 2>&5
11586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11587 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11588 (./conftest; exit; ) >&5 2>/dev/null
11590 case x$lt_status in
11591 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11592 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11593 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 # compilation failed
11597 lt_cv_dlopen_self=no
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11605 $as_echo "$lt_cv_dlopen_self" >&6; }
11607 if test "x$lt_cv_dlopen_self" = xyes; then
11608 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11610 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11611 if ${lt_cv_dlopen_self_static+:} false; then :
11612 $as_echo_n "(cached) " >&6
11614 if test "$cross_compiling" = yes; then :
11615 lt_cv_dlopen_self_static=cross
11617 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11618 lt_status=$lt_dlunknown
11619 cat > conftest.$ac_ext <<_LT_EOF
11620 #line $LINENO "configure"
11621 #include "confdefs.h"
11630 # define LT_DLGLOBAL RTLD_GLOBAL
11633 # define LT_DLGLOBAL DL_GLOBAL
11635 # define LT_DLGLOBAL 0
11639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11640 find out it does not work in some platform. */
11641 #ifndef LT_DLLAZY_OR_NOW
11643 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # define LT_DLLAZY_OR_NOW DL_NOW
11654 # define LT_DLLAZY_OR_NOW 0
11661 /* When -fvisbility=hidden is used, assume the code has been annotated
11662 correspondingly for the symbols needed. */
11663 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11664 int fnord () __attribute__((visibility("default")));
11667 int fnord () { return 42; }
11670 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11671 int status = $lt_dlunknown;
11675 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11679 else puts (dlerror ());
11681 /* dlclose (self); */
11689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11690 (eval $ac_link) 2>&5
11692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11693 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11694 (./conftest; exit; ) >&5 2>/dev/null
11696 case x$lt_status in
11697 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11698 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11699 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 # compilation failed
11703 lt_cv_dlopen_self_static=no
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11711 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714 CPPFLAGS="$save_CPPFLAGS"
11715 LDFLAGS="$save_LDFLAGS"
11720 case $lt_cv_dlopen_self in
11721 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11722 *) enable_dlopen_self=unknown ;;
11725 case $lt_cv_dlopen_self_static in
11726 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11727 *) enable_dlopen_self_static=unknown ;;
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11750 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11751 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11752 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11753 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11755 $as_echo "yes" >&6; }
11757 # FIXME - insert some real tests, host_os isn't really good enough
11760 if test -n "$STRIP" ; then
11761 striplib="$STRIP -x"
11762 old_striplib="$STRIP -S"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11788 # Report which library types will actually be built
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11790 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11792 $as_echo "$can_build_shared" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11795 $as_echo_n "checking whether to build shared libraries... " >&6; }
11796 test "$can_build_shared" = "no" && enable_shared=no
11798 # On AIX, shared libraries and static libraries use the same namespace, and
11799 # are all built from PIC.
11802 test "$enable_shared" = yes && enable_static=no
11803 if test -n "$RANLIB"; then
11804 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11805 postinstall_cmds='$RANLIB $lib'
11810 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11811 test "$enable_shared" = yes && enable_static=no
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11816 $as_echo "$enable_shared" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11819 $as_echo_n "checking whether to build static libraries... " >&6; }
11820 # Make sure either enable_shared or enable_static is yes.
11821 test "$enable_shared" = yes || enable_static=yes
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11823 $as_echo "$enable_static" >&6; }
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11851 ac_config_commands="$ac_config_commands libtool"
11856 # Only expand once:
11860 # Checks for libraries.
11868 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11869 if test -n "$ac_tool_prefix"; then
11870 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11871 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11873 $as_echo_n "checking for $ac_word... " >&6; }
11874 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11875 $as_echo_n "(cached) " >&6
11877 case $PKG_CONFIG in
11879 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11886 test -z "$as_dir" && as_dir=.
11887 for ac_exec_ext in '' $ac_executable_extensions; do
11888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11900 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11901 if test -n "$PKG_CONFIG"; then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11903 $as_echo "$PKG_CONFIG" >&6; }
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11906 $as_echo "no" >&6; }
11911 if test -z "$ac_cv_path_PKG_CONFIG"; then
11912 ac_pt_PKG_CONFIG=$PKG_CONFIG
11913 # Extract the first word of "pkg-config", so it can be a program name with args.
11914 set dummy pkg-config; ac_word=$2
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11916 $as_echo_n "checking for $ac_word... " >&6; }
11917 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11918 $as_echo_n "(cached) " >&6
11920 case $ac_pt_PKG_CONFIG in
11922 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11932 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11943 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11944 if test -n "$ac_pt_PKG_CONFIG"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11946 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11952 if test "x$ac_pt_PKG_CONFIG" = x; then
11955 case $cross_compiling:$ac_tool_warned in
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11959 ac_tool_warned=yes ;;
11961 PKG_CONFIG=$ac_pt_PKG_CONFIG
11964 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11968 if test -n "$PKG_CONFIG"; then
11969 _pkg_min_version=0.9.0
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11971 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11972 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974 $as_echo "yes" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11984 $as_echo_n "checking for GSIGNOND... " >&6; }
11986 if test -n "$GSIGNOND_CFLAGS"; then
11987 pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11988 elif test -n "$PKG_CONFIG"; then
11989 if test -n "$PKG_CONFIG" && \
11990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11995 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12002 test $ac_status = 0; }; then
12003 pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12007 sqlite3" 2>/dev/null`
12008 test "x$?" != "x0" && pkg_failed=yes
12015 if test -n "$GSIGNOND_LIBS"; then
12016 pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
12017 elif test -n "$PKG_CONFIG"; then
12018 if test -n "$PKG_CONFIG" && \
12019 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12024 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12031 test $ac_status = 0; }; then
12032 pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12036 sqlite3" 2>/dev/null`
12037 test "x$?" != "x0" && pkg_failed=yes
12047 if test $pkg_failed = yes; then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12052 _pkg_short_errors_supported=yes
12054 _pkg_short_errors_supported=no
12056 if test $_pkg_short_errors_supported = yes; then
12057 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12063 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12069 # Put the nasty error message in config.log where it belongs
12070 echo "$GSIGNOND_PKG_ERRORS" >&5
12072 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12076 sqlite3) were not met:
12078 $GSIGNOND_PKG_ERRORS
12080 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12081 installed software in a non-standard prefix.
12083 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12084 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12085 See the pkg-config man page for more details." "$LINENO" 5
12086 elif test $pkg_failed = untried; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12091 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12092 is in your PATH or set the PKG_CONFIG environment variable to the full
12093 path to pkg-config.
12095 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12096 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12097 See the pkg-config man page for more details.
12099 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12100 See \`config.log' for more details" "$LINENO" 5; }
12102 GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
12103 GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12105 $as_echo "yes" >&6; }
12112 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12116 $as_echo_n "checking for CHECK... " >&6; }
12118 if test -n "$CHECK_CFLAGS"; then
12119 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12120 elif test -n "$PKG_CONFIG"; then
12121 if test -n "$PKG_CONFIG" && \
12122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12123 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126 test $ac_status = 0; }; then
12127 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12128 test "x$?" != "x0" && pkg_failed=yes
12135 if test -n "$CHECK_LIBS"; then
12136 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12137 elif test -n "$PKG_CONFIG"; then
12138 if test -n "$PKG_CONFIG" && \
12139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12140 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12143 test $ac_status = 0; }; then
12144 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12145 test "x$?" != "x0" && pkg_failed=yes
12155 if test $pkg_failed = yes; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12160 _pkg_short_errors_supported=yes
12162 _pkg_short_errors_supported=no
12164 if test $_pkg_short_errors_supported = yes; then
12165 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12167 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12169 # Put the nasty error message in config.log where it belongs
12170 echo "$CHECK_PKG_ERRORS" >&5
12173 elif test $pkg_failed = untried; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12178 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12179 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12181 $as_echo "yes" >&6; }
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12190 $as_echo_n "checking for LIBSMACK... " >&6; }
12192 if test -n "$LIBSMACK_CFLAGS"; then
12193 pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12194 elif test -n "$PKG_CONFIG"; then
12195 if test -n "$PKG_CONFIG" && \
12196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12197 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200 test $ac_status = 0; }; then
12201 pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12202 test "x$?" != "x0" && pkg_failed=yes
12209 if test -n "$LIBSMACK_LIBS"; then
12210 pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12211 elif test -n "$PKG_CONFIG"; then
12212 if test -n "$PKG_CONFIG" && \
12213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12214 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12217 test $ac_status = 0; }; then
12218 pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12219 test "x$?" != "x0" && pkg_failed=yes
12229 if test $pkg_failed = yes; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12234 _pkg_short_errors_supported=yes
12236 _pkg_short_errors_supported=no
12238 if test $_pkg_short_errors_supported = yes; then
12239 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12241 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12243 # Put the nasty error message in config.log where it belongs
12244 echo "$LIBSMACK_PKG_ERRORS" >&5
12247 elif test $pkg_failed = untried; then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249 $as_echo "no" >&6; }
12252 LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12253 LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12255 $as_echo "yes" >&6; }
12258 if test x$libsmack = xyes; then
12259 HAVE_LIBSMACK_TRUE=
12260 HAVE_LIBSMACK_FALSE='#'
12262 HAVE_LIBSMACK_TRUE='#'
12263 HAVE_LIBSMACK_FALSE=
12266 if test "x$libsmack" = xyes; then
12268 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12275 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12277 if test -n "$LIBECRYPTFS_CFLAGS"; then
12278 pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12279 elif test -n "$PKG_CONFIG"; then
12280 if test -n "$PKG_CONFIG" && \
12281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12282 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12285 test $ac_status = 0; }; then
12286 pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12287 test "x$?" != "x0" && pkg_failed=yes
12294 if test -n "$LIBECRYPTFS_LIBS"; then
12295 pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12296 elif test -n "$PKG_CONFIG"; then
12297 if test -n "$PKG_CONFIG" && \
12298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12299 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302 test $ac_status = 0; }; then
12303 pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12304 test "x$?" != "x0" && pkg_failed=yes
12314 if test $pkg_failed = yes; then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12319 _pkg_short_errors_supported=yes
12321 _pkg_short_errors_supported=no
12323 if test $_pkg_short_errors_supported = yes; then
12324 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12326 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12328 # Put the nasty error message in config.log where it belongs
12329 echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12332 elif test $pkg_failed = untried; then
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12337 LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12338 LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12340 $as_echo "yes" >&6; }
12343 if test x$libecryptfs = xyes; then
12344 HAVE_LIBECRYPTFS_TRUE=
12345 HAVE_LIBECRYPTFS_FALSE='#'
12347 HAVE_LIBECRYPTFS_TRUE='#'
12348 HAVE_LIBECRYPTFS_FALSE=
12351 if test "x$libecryptfs" = xes; then
12353 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12357 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12358 set dummy glib-mkenums; ac_word=$2
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360 $as_echo_n "checking for $ac_word... " >&6; }
12361 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12362 $as_echo_n "(cached) " >&6
12364 case $GLIB_MKENUMS in
12366 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12370 for as_dir in $PATH
12373 test -z "$as_dir" && as_dir=.
12374 for ac_exec_ext in '' $ac_executable_extensions; do
12375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12376 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12387 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12388 if test -n "$GLIB_MKENUMS"; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12390 $as_echo "$GLIB_MKENUMS" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12398 # Check whether --enable-coverage was given.
12399 if test "${enable_coverage+set}" = set; then :
12400 enableval=$enable_coverage;
12403 if test "x$enable_coverage" = "xyes"; then :
12404 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12407 # allow fake installations for "distcheck"
12408 # Check whether --enable-distcheck was given.
12409 if test "${enable_distcheck+set}" = set; then :
12410 enableval=$enable_distcheck; enable_distcheck=yes
12412 enable_distcheck=no
12415 echo -n "running distcheck... "
12416 echo $enable_distcheck
12418 # Check whether --enable-dbus-type was given.
12419 if test "${enable_dbus_type+set}" = set; then :
12420 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12422 enable_dbus_type=p2p
12425 echo "----------------------"
12426 echo " DBUS TYPE : '$enable_dbus_type'"
12427 echo "----------------------"
12428 if test "x$enable_dbus_type" = "xp2p" ; then
12430 $as_echo "#define USE_P2P 1" >>confdefs.h
12432 elif test "x$enable_dbus_type" = "xsession" ; then
12434 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12436 if test "x$enable_distcheck" = "xyes" ; then
12437 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12439 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12445 $as_echo_n "checking for GTestDBus... " >&6; }
12447 if test -n "$GTestDBus_CFLAGS"; then
12448 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12449 elif test -n "$PKG_CONFIG"; then
12450 if test -n "$PKG_CONFIG" && \
12451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12452 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12455 test $ac_status = 0; }; then
12456 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12457 test "x$?" != "x0" && pkg_failed=yes
12464 if test -n "$GTestDBus_LIBS"; then
12465 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12466 elif test -n "$PKG_CONFIG"; then
12467 if test -n "$PKG_CONFIG" && \
12468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12469 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12472 test $ac_status = 0; }; then
12473 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12474 test "x$?" != "x0" && pkg_failed=yes
12484 if test $pkg_failed = yes; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12489 _pkg_short_errors_supported=yes
12491 _pkg_short_errors_supported=no
12493 if test $_pkg_short_errors_supported = yes; then
12494 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12496 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12498 # Put the nasty error message in config.log where it belongs
12499 echo "$GTestDBus_PKG_ERRORS" >&5
12502 elif test $pkg_failed = untried; then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504 $as_echo "no" >&6; }
12507 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12508 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12510 $as_echo "yes" >&6; }
12513 if test "x$gtestdbus" = xyes; then
12515 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12518 elif test "x$enable_dbus_type" = "xsystem" ; then
12520 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12522 if test "x$enable_distcheck" = "xyes" ; then
12523 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12525 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12528 if test "x$enable_dbus_type" != "xp2p" ; then
12529 if test "x$enable_distcheck" = "xyes" ; then
12530 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12532 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12536 # Check whether --enable-keychain was given.
12537 if test "${enable_keychain+set}" = set; then :
12538 enableval=$enable_keychain; enable_keychain=$enableval
12541 if test "x$enable_keychain" != "x" ; then
12543 cat >>confdefs.h <<_ACEOF
12544 #define KEYCHAIN_SYSCTX "$enable_keychain"
12547 KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12550 KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12554 # Check whether --enable-storagedir was given.
12555 if test "${enable_storagedir+set}" = set; then :
12556 enableval=$enable_storagedir; enable_storagedir=$enableval
12558 enable_storagedir="/var/db"
12562 cat >>confdefs.h <<_ACEOF
12563 #define BASE_STORAGE_DIR "$enable_storagedir"
12566 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12569 # Check whether --enable-debug was given.
12570 if test "${enable_debug+set}" = set; then :
12571 enableval=$enable_debug; enable_debug=yes
12576 echo -n "enable debug features... "
12578 if test "x$enable_debug" = "xyes" ; then
12580 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12582 # Check whether --enable-sql-log was given.
12583 if test "${enable_sql_log+set}" = set; then :
12584 enableval=$enable_sql_log; enable_sql_log=yes
12589 echo -n "enable sql log feature... "
12590 echo $enable_sql_log
12591 if test "x$enable_sql_log" = "xyes" ; then
12593 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12598 # Check whether --enable-acltriggers was given.
12599 if test "${enable_acltriggers+set}" = set; then :
12600 enableval=$enable_acltriggers; enable_acl_triggers=yes
12602 enable_acl_triggers=no
12605 if test "x$enable_acl_triggers" = "xyes" ; then
12607 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12611 if test x$gtestdbus = xyes; then
12612 USE_GTESTDBUS_TRUE=
12613 USE_GTESTDBUS_FALSE='#'
12615 USE_GTESTDBUS_TRUE='#'
12616 USE_GTESTDBUS_FALSE=
12619 MESSAGE_BUS_TYPE=$enable_dbus_type
12622 if test x$enable_debug = xyes; then
12624 HAVE_DEBUG_FALSE='#'
12626 HAVE_DEBUG_TRUE='#'
12630 if test x$enable_distcheck != xyes; then
12631 SET_PERMISSIONS_TRUE=
12632 SET_PERMISSIONS_FALSE='#'
12634 SET_PERMISSIONS_TRUE='#'
12635 SET_PERMISSIONS_FALSE=
12646 gtk_doc_requires="gtk-doc >= 1.18"
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12648 $as_echo_n "checking for gtk-doc... " >&6; }
12649 if test -n "$PKG_CONFIG" && \
12650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12651 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12654 test $ac_status = 0; }; then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12660 $as_echo "$have_gtk_doc" >&6; }
12662 if test "$have_gtk_doc" = "no"; then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12664 You will not be able to create source packages with 'make dist'
12665 because $gtk_doc_requires is not found." >&5
12666 $as_echo "$as_me: WARNING:
12667 You will not be able to create source packages with 'make dist'
12668 because $gtk_doc_requires is not found." >&2;}
12671 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12672 set dummy gtkdoc-check; ac_word=$2
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 $as_echo_n "checking for $ac_word... " >&6; }
12675 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12676 $as_echo_n "(cached) " >&6
12678 if test -n "$GTKDOC_CHECK"; then
12679 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682 for as_dir in $PATH
12685 test -z "$as_dir" && as_dir=.
12686 for ac_exec_ext in '' $ac_executable_extensions; do
12687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12688 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12698 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12699 if test -n "$GTKDOC_CHECK"; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12701 $as_echo "$GTKDOC_CHECK" >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12708 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12709 set dummy gtkdoc-check; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12713 $as_echo_n "(cached) " >&6
12715 case $GTKDOC_CHECK_PATH in
12717 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721 for as_dir in $PATH
12724 test -z "$as_dir" && as_dir=.
12725 for ac_exec_ext in '' $ac_executable_extensions; do
12726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12727 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12738 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12739 if test -n "$GTKDOC_CHECK_PATH"; then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12741 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12744 $as_echo "no" >&6; }
12748 for ac_prog in gtkdoc-rebase
12750 # Extract the first word of "$ac_prog", so it can be a program name with args.
12751 set dummy $ac_prog; ac_word=$2
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753 $as_echo_n "checking for $ac_word... " >&6; }
12754 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12755 $as_echo_n "(cached) " >&6
12757 case $GTKDOC_REBASE in
12759 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12766 test -z "$as_dir" && as_dir=.
12767 for ac_exec_ext in '' $ac_executable_extensions; do
12768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12781 if test -n "$GTKDOC_REBASE"; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12783 $as_echo "$GTKDOC_REBASE" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12790 test -n "$GTKDOC_REBASE" && break
12792 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12794 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12795 set dummy gtkdoc-mkpdf; ac_word=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797 $as_echo_n "checking for $ac_word... " >&6; }
12798 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12799 $as_echo_n "(cached) " >&6
12801 case $GTKDOC_MKPDF in
12803 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12810 test -z "$as_dir" && as_dir=.
12811 for ac_exec_ext in '' $ac_executable_extensions; do
12812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12825 if test -n "$GTKDOC_MKPDF"; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12827 $as_echo "$GTKDOC_MKPDF" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12836 # Check whether --with-html-dir was given.
12837 if test "${with_html_dir+set}" = set; then :
12838 withval=$with_html_dir;
12840 with_html_dir='${datadir}/gtk-doc/html'
12843 HTML_DIR="$with_html_dir"
12846 # Check whether --enable-gtk-doc was given.
12847 if test "${enable_gtk_doc+set}" = set; then :
12848 enableval=$enable_gtk_doc;
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12855 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12857 $as_echo "$enable_gtk_doc" >&6; }
12859 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12861 You must have $gtk_doc_requires installed to build documentation for
12862 $PACKAGE_NAME. Please install gtk-doc or disable building the
12863 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12866 if test "x$PACKAGE_NAME" != "xglib"; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12870 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12872 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12873 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12874 elif test -n "$PKG_CONFIG"; then
12875 if test -n "$PKG_CONFIG" && \
12876 { { $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
12877 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12880 test $ac_status = 0; }; then
12881 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12882 test "x$?" != "x0" && pkg_failed=yes
12889 if test -n "$GTKDOC_DEPS_LIBS"; then
12890 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12891 elif test -n "$PKG_CONFIG"; then
12892 if test -n "$PKG_CONFIG" && \
12893 { { $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
12894 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12897 test $ac_status = 0; }; then
12898 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12899 test "x$?" != "x0" && pkg_failed=yes
12909 if test $pkg_failed = yes; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12914 _pkg_short_errors_supported=yes
12916 _pkg_short_errors_supported=no
12918 if test $_pkg_short_errors_supported = yes; then
12919 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`
12921 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12923 # Put the nasty error message in config.log where it belongs
12924 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12927 elif test $pkg_failed = untried; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12932 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12933 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12940 # Check whether --enable-gtk-doc-html was given.
12941 if test "${enable_gtk_doc_html+set}" = set; then :
12942 enableval=$enable_gtk_doc_html;
12944 enable_gtk_doc_html=yes
12947 # Check whether --enable-gtk-doc-pdf was given.
12948 if test "${enable_gtk_doc_pdf+set}" = set; then :
12949 enableval=$enable_gtk_doc_pdf;
12951 enable_gtk_doc_pdf=no
12955 if test -z "$GTKDOC_MKPDF"; then
12956 enable_gtk_doc_pdf=no
12959 if test -z "$AM_DEFAULT_VERBOSITY"; then
12960 AM_DEFAULT_VERBOSITY=1
12964 if test x$have_gtk_doc = xyes; then
12966 HAVE_GTK_DOC_FALSE='#'
12968 HAVE_GTK_DOC_TRUE='#'
12969 HAVE_GTK_DOC_FALSE=
12972 if test x$enable_gtk_doc = xyes; then
12973 ENABLE_GTK_DOC_TRUE=
12974 ENABLE_GTK_DOC_FALSE='#'
12976 ENABLE_GTK_DOC_TRUE='#'
12977 ENABLE_GTK_DOC_FALSE=
12980 if test x$enable_gtk_doc_html = xyes; then
12981 GTK_DOC_BUILD_HTML_TRUE=
12982 GTK_DOC_BUILD_HTML_FALSE='#'
12984 GTK_DOC_BUILD_HTML_TRUE='#'
12985 GTK_DOC_BUILD_HTML_FALSE=
12988 if test x$enable_gtk_doc_pdf = xyes; then
12989 GTK_DOC_BUILD_PDF_TRUE=
12990 GTK_DOC_BUILD_PDF_FALSE='#'
12992 GTK_DOC_BUILD_PDF_TRUE='#'
12993 GTK_DOC_BUILD_PDF_FALSE=
12996 if test -n "$LIBTOOL"; then
12997 GTK_DOC_USE_LIBTOOL_TRUE=
12998 GTK_DOC_USE_LIBTOOL_FALSE='#'
13000 GTK_DOC_USE_LIBTOOL_TRUE='#'
13001 GTK_DOC_USE_LIBTOOL_FALSE=
13004 if test -n "$GTKDOC_REBASE"; then
13005 GTK_DOC_USE_REBASE_TRUE=
13006 GTK_DOC_USE_REBASE_FALSE='#'
13008 GTK_DOC_USE_REBASE_TRUE='#'
13009 GTK_DOC_USE_REBASE_FALSE=
13014 # Checks for header files.
13015 for ac_header in string.h
13017 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_string_h" = xyes; then :
13019 cat >>confdefs.h <<_ACEOF
13020 #define HAVE_STRING_H 1
13028 # Enable feature sets
13029 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
13031 # Checks for typedefs, structures, and compiler characteristics.
13032 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
13033 if test "x$enable_debug" = "xno" ; then
13034 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
13037 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
13039 # Checks for library functions.
13041 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"
13043 cat >confcache <<\_ACEOF
13044 # This file is a shell script that caches the results of configure
13045 # tests run on this system so they can be shared between configure
13046 # scripts and configure runs, see configure's option --config-cache.
13047 # It is not useful on other systems. If it contains results you don't
13048 # want to keep, you may remove or edit it.
13050 # config.status only pays attention to the cache file if you give it
13051 # the --recheck option to rerun configure.
13053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13055 # following values.
13059 # The following way of writing the cache mishandles newlines in values,
13060 # but we know of no workaround that is simple, portable, and efficient.
13061 # So, we kill variables containing newlines.
13062 # Ultrix sh set writes to stderr and can't be redirected directly,
13063 # and sets the high bit in the cache file unless we assign to the vars.
13065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13066 eval ac_val=\$$ac_var
13070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13074 _ | IFS | as_nl) ;; #(
13075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13076 *) { eval $ac_var=; unset $ac_var;} ;;
13082 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13083 *${as_nl}ac_space=\ *)
13084 # `set' does not quote correctly, so add quotes: double-quote
13085 # substitution turns \\\\ into \\, and sed turns \\ into \.
13088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13091 # `set' quotes correctly as required by POSIX, so do not add quotes.
13092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13103 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13105 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13106 if test -w "$cache_file"; then
13107 if test "x$cache_file" != "x/dev/null"; then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13109 $as_echo "$as_me: updating cache $cache_file" >&6;}
13110 if test ! -f "$cache_file" || test -h "$cache_file"; then
13111 cat confcache >"$cache_file"
13113 case $cache_file in #(
13115 mv -f confcache "$cache_file"$$ &&
13116 mv -f "$cache_file"$$ "$cache_file" ;; #(
13118 mv -f confcache "$cache_file" ;;
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13124 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13129 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13130 # Let make expand exec_prefix.
13131 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13133 DEFS=-DHAVE_CONFIG_H
13138 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13139 # 1. Remove the extension, and $U if already installed.
13140 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13141 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13143 # will be set to the directory where LIBOBJS objects are built.
13144 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13145 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13147 LIBOBJS=$ac_libobjs
13149 LTLIBOBJS=$ac_ltlibobjs
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13153 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13154 if test -n "$am_sleep_pid"; then
13155 # Hide warnings about reused PIDs.
13156 wait $am_sleep_pid 2>/dev/null
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13159 $as_echo "done" >&6; }
13160 if test -n "$EXEEXT"; then
13162 am__EXEEXT_FALSE='#'
13164 am__EXEEXT_TRUE='#'
13168 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13169 as_fn_error $? "conditional \"AMDEP\" was never defined.
13170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13172 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13173 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13176 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13177 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13180 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13181 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13184 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13185 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13188 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13189 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13192 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13193 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13196 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13197 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13200 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13201 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13204 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13205 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13208 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13209 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13212 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13213 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13216 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13217 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13221 : "${CONFIG_STATUS=./config.status}"
13223 ac_clean_files_save=$ac_clean_files
13224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13226 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13228 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13230 # Generated by $as_me.
13231 # Run this file to recreate the current configuration.
13232 # Compiler output produced by configure, useful for debugging
13233 # configure, is in config.log if it exists.
13236 ac_cs_recheck=false
13239 SHELL=\${CONFIG_SHELL-$SHELL}
13242 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13243 ## -------------------- ##
13244 ## M4sh Initialization. ##
13245 ## -------------------- ##
13247 # Be more Bourne compatible
13248 DUALCASE=1; export DUALCASE # for MKS sh
13249 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13252 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13253 # is contrary to our usage. Disable this feature.
13254 alias -g '${1+"$@"}'='"$@"'
13255 setopt NO_GLOB_SUBST
13257 case `(set -o) 2>/dev/null` in #(
13269 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13270 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13273 # Prefer a ksh shell builtin over an external printf program on Solaris,
13274 # but without wasting forks for bash or zsh.
13275 if test -z "$BASH_VERSION$ZSH_VERSION" \
13276 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13277 as_echo='print -r --'
13278 as_echo_n='print -rn --'
13279 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13280 as_echo='printf %s\n'
13281 as_echo_n='printf %s'
13283 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13284 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13285 as_echo_n='/usr/ucb/echo -n'
13287 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13288 as_echo_n_body='eval
13292 expr "X$arg" : "X\\(.*\\)$as_nl";
13293 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13295 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13297 export as_echo_n_body
13298 as_echo_n='sh -c $as_echo_n_body as_echo'
13300 export as_echo_body
13301 as_echo='sh -c $as_echo_body as_echo'
13304 # The user is always right.
13305 if test "${PATH_SEPARATOR+set}" != set; then
13307 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13308 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13315 # We need space, tab and new line, in precisely that order. Quoting is
13316 # there to prevent editors from complaining about space-tab.
13317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13318 # splitting by setting IFS to empty value.)
13321 # Find who we are. Look in the path if we contain no directory separator.
13324 *[\\/]* ) as_myself=$0 ;;
13325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326 for as_dir in $PATH
13329 test -z "$as_dir" && as_dir=.
13330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13336 # We did not find ourselves, most probably we were run as `sh COMMAND'
13337 # in which case we are not to be found in the path.
13338 if test "x$as_myself" = x; then
13341 if test ! -f "$as_myself"; then
13342 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13346 # Unset variables that we do not need and which cause bugs (e.g. in
13347 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13348 # suppresses any "Segmentation fault" message there. '((' could
13349 # trigger a bug in pdksh 5.2.14.
13350 for as_var in BASH_ENV ENV MAIL MAILPATH
13351 do eval test x\${$as_var+set} = xset \
13352 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13365 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13368 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13369 # ----------------------------------------
13370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13372 # script with STATUS, using 1 if that was 0.
13375 as_status=$1; test $as_status -eq 0 && as_status=1
13377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13380 $as_echo "$as_me: error: $2" >&2
13381 as_fn_exit $as_status
13385 # as_fn_set_status STATUS
13386 # -----------------------
13387 # Set $? to STATUS, without forking.
13388 as_fn_set_status ()
13391 } # as_fn_set_status
13393 # as_fn_exit STATUS
13394 # -----------------
13395 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13399 as_fn_set_status $1
13405 # Portably unset VAR.
13408 { eval $1=; unset $1;}
13410 as_unset=as_fn_unset
13411 # as_fn_append VAR VALUE
13412 # ----------------------
13413 # Append the text in VALUE to the end of the definition contained in VAR. Take
13414 # advantage of any shell optimizations that allow amortized linear growth over
13415 # repeated appends, instead of the typical quadratic growth present in naive
13417 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13418 eval 'as_fn_append ()
13429 # as_fn_arith ARG...
13430 # ------------------
13431 # Perform arithmetic evaluation on the ARGs, and store the result in the
13432 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13433 # must be portable across $(()) and expr.
13434 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13435 eval 'as_fn_arith ()
13442 as_val=`expr "$@" || test $? -eq 1`
13447 if expr a : '\(a\)' >/dev/null 2>&1 &&
13448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13455 as_basename=basename
13460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13466 as_me=`$as_basename -- "$0" ||
13467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13468 X"$0" : 'X\(//\)$' \| \
13469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13471 sed '/^.*\/\([^/][^/]*\)\/*$/{
13485 # Avoid depending upon Character Ranges.
13486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13489 as_cr_digits='0123456789'
13490 as_cr_alnum=$as_cr_Letters$as_cr_digits
13492 ECHO_C= ECHO_N= ECHO_T=
13493 case `echo -n x` in #(((((
13495 case `echo 'xy\c'` in
13496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13498 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13505 rm -f conf$$ conf$$.exe conf$$.file
13506 if test -d conf$$.dir; then
13507 rm -f conf$$.dir/conf$$.file
13510 mkdir conf$$.dir 2>/dev/null
13512 if (echo >conf$$.file) 2>/dev/null; then
13513 if ln -s conf$$.file conf$$ 2>/dev/null; then
13515 # ... but there are two gotchas:
13516 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13517 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13518 # In both cases, we have to default to `cp -pR'.
13519 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13521 elif ln conf$$.file conf$$ 2>/dev/null; then
13529 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13530 rmdir conf$$.dir 2>/dev/null
13535 # Create "$as_dir" as a directory, including parents if necessary.
13540 -*) as_dir=./$as_dir;;
13542 test -d "$as_dir" || eval $as_mkdir_p || {
13546 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13547 *) as_qdir=$as_dir;;
13549 as_dirs="'$as_qdir' $as_dirs"
13550 as_dir=`$as_dirname -- "$as_dir" ||
13551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13552 X"$as_dir" : 'X\(//\)[^/]' \| \
13553 X"$as_dir" : 'X\(//\)$' \| \
13554 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13555 $as_echo X"$as_dir" |
13556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13560 /^X\(\/\/\)[^/].*/{
13573 test -d "$as_dir" && break
13575 test -z "$as_dirs" || eval "mkdir $as_dirs"
13576 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13580 if mkdir -p . 2>/dev/null; then
13581 as_mkdir_p='mkdir -p "$as_dir"'
13583 test -d ./-p && rmdir ./-p
13588 # as_fn_executable_p FILE
13589 # -----------------------
13590 # Test if FILE is an executable regular file.
13591 as_fn_executable_p ()
13593 test -f "$1" && test -x "$1"
13594 } # as_fn_executable_p
13595 as_test_x='test -x'
13596 as_executable_p=as_fn_executable_p
13598 # Sed expression to map a string onto a valid CPP name.
13599 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13601 # Sed expression to map a string onto a valid variable name.
13602 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13606 ## ----------------------------------- ##
13607 ## Main body of $CONFIG_STATUS script. ##
13608 ## ----------------------------------- ##
13610 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13613 # Save the log message, to keep $0 and so on meaningful, and to
13614 # report actual input values of CONFIG_FILES etc. instead of their
13615 # values after options handling.
13617 This file was extended by gsignond $as_me 1.0.3, which was
13618 generated by GNU Autoconf 2.69. Invocation command line was
13620 CONFIG_FILES = $CONFIG_FILES
13621 CONFIG_HEADERS = $CONFIG_HEADERS
13622 CONFIG_LINKS = $CONFIG_LINKS
13623 CONFIG_COMMANDS = $CONFIG_COMMANDS
13626 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13631 case $ac_config_files in *"
13632 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13635 case $ac_config_headers in *"
13636 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13641 # Files that config.status was made for.
13642 config_files="$ac_config_files"
13643 config_headers="$ac_config_headers"
13644 config_commands="$ac_config_commands"
13648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13650 \`$as_me' instantiates files and other configuration actions
13651 from templates according to the current configuration. Unless the files
13652 and actions are specified as TAGs, all are instantiated by default.
13654 Usage: $0 [OPTION]... [TAG]...
13656 -h, --help print this help, then exit
13657 -V, --version print version number and configuration settings, then exit
13658 --config print configuration, then exit
13659 -q, --quiet, --silent
13660 do not print progress messages
13661 -d, --debug don't remove temporary files
13662 --recheck update $as_me by reconfiguring in the same conditions
13663 --file=FILE[:TEMPLATE]
13664 instantiate the configuration file FILE
13665 --header=FILE[:TEMPLATE]
13666 instantiate the configuration header FILE
13668 Configuration files:
13671 Configuration headers:
13674 Configuration commands:
13677 Report bugs to the package provider.
13678 gsignond home page: <http://01.org/gsso>."
13681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13682 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13684 gsignond config.status 1.0.3
13685 configured by $0, generated by GNU Autoconf 2.69,
13686 with options \\"\$ac_cs_config\\"
13688 Copyright (C) 2012 Free Software Foundation, Inc.
13689 This config.status script is free software; the Free Software Foundation
13690 gives unlimited permission to copy, distribute and modify it."
13697 test -n "\$AWK" || AWK=awk
13700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13701 # The default lists apply if the user does not specify any file.
13707 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13708 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13712 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13724 # Handling of the options.
13725 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13727 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13728 $as_echo "$ac_cs_version"; exit ;;
13729 --config | --confi | --conf | --con | --co | --c )
13730 $as_echo "$ac_cs_config"; exit ;;
13731 --debug | --debu | --deb | --de | --d | -d )
13733 --file | --fil | --fi | --f )
13736 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13737 '') as_fn_error $? "missing file argument" ;;
13739 as_fn_append CONFIG_FILES " '$ac_optarg'"
13740 ac_need_defaults=false;;
13741 --header | --heade | --head | --hea )
13744 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13746 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13747 ac_need_defaults=false;;
13749 # Conflict between --help and --header
13750 as_fn_error $? "ambiguous option: \`$1'
13751 Try \`$0 --help' for more information.";;
13752 --help | --hel | -h )
13753 $as_echo "$ac_cs_usage"; exit ;;
13754 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13755 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13758 # This is an error.
13759 -*) as_fn_error $? "unrecognized option: \`$1'
13760 Try \`$0 --help' for more information." ;;
13762 *) as_fn_append ac_config_targets " $1"
13763 ac_need_defaults=false ;;
13769 ac_configure_extra_args=
13771 if $ac_cs_silent; then
13773 ac_configure_extra_args="$ac_configure_extra_args --silent"
13777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13778 if \$ac_cs_recheck; then
13779 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13781 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13782 CONFIG_SHELL='$SHELL'
13783 export CONFIG_SHELL
13788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13793 ## Running $as_me. ##
13799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13803 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13806 # The HP-UX ksh and POSIX shell print the target directory to stdout
13807 # if CDPATH is set.
13808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13810 sed_quote_subst='$sed_quote_subst'
13811 double_quote_subst='$double_quote_subst'
13812 delay_variable_subst='$delay_variable_subst'
13813 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13814 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13815 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13816 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13817 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13818 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13819 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13820 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13821 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13822 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13823 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13824 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13825 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13826 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13827 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13828 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13829 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13830 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13831 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13832 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13833 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13834 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13835 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13836 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13837 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13838 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13839 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13840 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13841 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13842 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13843 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13844 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13845 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13846 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13847 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13848 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13849 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13850 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13851 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13852 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13853 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13854 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13855 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13856 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13857 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13858 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13859 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13860 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13861 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13862 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13863 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13864 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13865 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13866 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13867 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13868 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13869 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"`'
13870 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13871 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13872 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13873 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13874 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13875 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13876 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13877 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13878 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13879 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13880 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13881 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13882 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13883 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13884 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13885 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13886 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13887 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13888 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13889 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13890 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13891 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13892 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13893 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13894 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13895 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13896 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13897 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13898 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13899 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13900 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13901 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13902 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13903 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13904 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13905 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13906 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13907 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13908 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13909 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13910 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13911 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13912 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13913 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13914 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13915 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13916 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13917 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13918 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13919 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13920 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13921 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13922 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13923 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13924 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13925 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13926 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13927 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13928 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13929 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13930 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13931 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13932 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13933 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13934 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13935 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13936 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13937 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13938 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13939 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13940 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13941 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13942 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13945 LTCFLAGS='$LTCFLAGS'
13946 compiler='$compiler_DEFAULT'
13948 # A function that is used when there is no print builtin or printf.
13949 func_fallback_echo ()
13951 eval 'cat <<_LTECHO_EOF
13956 # Quote evaled strings.
13971 deplibs_check_method \
13976 sharedlib_from_linklib_cmd \
13979 archiver_list_spec \
13985 lt_cv_sys_global_symbol_pipe \
13986 lt_cv_sys_global_symbol_to_cdecl \
13987 lt_cv_sys_global_symbol_to_c_name_address \
13988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13989 nm_file_list_spec \
13990 lt_prog_compiler_no_builtin_flag \
13991 lt_prog_compiler_pic \
13992 lt_prog_compiler_wl \
13993 lt_prog_compiler_static \
13994 lt_cv_prog_compiler_c_o \
14003 export_dynamic_flag_spec \
14004 whole_archive_flag_spec \
14005 compiler_needs_object \
14007 allow_undefined_flag \
14008 no_undefined_flag \
14009 hardcode_libdir_flag_spec \
14010 hardcode_libdir_separator \
14014 variables_saved_for_relink \
14016 library_names_spec \
14018 install_override_mode \
14022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14023 *[\\\\\\\`\\"\\\$]*)
14024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14032 # Double-quote double-evaled strings.
14033 for var in reload_cmds \
14034 old_postinstall_cmds \
14035 old_postuninstall_cmds \
14037 extract_expsyms_cmds \
14038 old_archive_from_new_cmds \
14039 old_archive_from_expsyms_cmds \
14041 archive_expsym_cmds \
14043 module_expsym_cmds \
14044 export_symbols_cmds \
14048 postuninstall_cmds \
14050 sys_lib_search_path_spec \
14051 sys_lib_dlsearch_path_spec; do
14052 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14053 *[\\\\\\\`\\"\\\$]*)
14054 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14057 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14062 ac_aux_dir='$ac_aux_dir'
14063 xsi_shell='$xsi_shell'
14064 lt_shell_append='$lt_shell_append'
14066 # See if we are running on zsh, and set the options which allow our
14067 # commands through without removal of \ escapes INIT.
14068 if test -n "\${ZSH_VERSION+set}" ; then
14069 setopt NO_GLOB_SUBST
14075 TIMESTAMP='$TIMESTAMP'
14084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086 # Handling of arguments.
14087 for ac_config_target in $ac_config_targets
14089 case $ac_config_target in
14090 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14091 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14092 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14093 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14094 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
14095 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
14096 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
14097 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14098 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14099 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14100 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
14101 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14102 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
14103 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14104 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
14105 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
14106 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
14107 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
14108 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
14109 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
14110 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14111 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
14112 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
14113 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
14114 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14115 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14116 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
14117 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14118 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
14119 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
14121 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14126 # If the user did not use the arguments to specify the items to instantiate,
14127 # then the envvar interface is used. Set only those that are not.
14128 # We use the long form for the default assignment because of an extremely
14129 # bizarre bug on SunOS 4.1.3.
14130 if $ac_need_defaults; then
14131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14136 # Have a temporary directory for convenience. Make it in the build tree
14137 # simply because there is no reason against having it here, and in addition,
14138 # creating and moving files from /tmp can sometimes cause problems.
14139 # Hook for its removal unless debugging.
14140 # Note that there is a small window in which the directory will not be cleaned:
14141 # after its creation but before its name has been assigned to `$tmp'.
14145 trap 'exit_status=$?
14146 : "${ac_tmp:=$tmp}"
14147 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14149 trap 'as_fn_exit 1' 1 2 13 15
14151 # Create a (secure) tmp directory for tmp files.
14154 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14158 tmp=./conf$$-$RANDOM
14159 (umask 077 && mkdir "$tmp")
14160 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14163 # Set up the scripts for CONFIG_FILES section.
14164 # No need to generate them if there are no CONFIG_FILES.
14165 # This happens for instance with `./config.status config.h'.
14166 if test -n "$CONFIG_FILES"; then
14169 ac_cr=`echo X | tr X '\015'`
14170 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14171 # But we know of no other shell where ac_cr would be empty at this
14172 # point, so we can use a bashism as a fallback.
14173 if test "x$ac_cr" = x; then
14174 eval ac_cr=\$\'\\r\'
14176 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14177 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14180 ac_cs_awk_cr=$ac_cr
14183 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14188 echo "cat >conf$$subs.awk <<_ACEOF" &&
14189 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14191 } >conf$$subs.sh ||
14192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14193 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14195 for ac_last_try in false false false false false :; do
14196 . ./conf$$subs.sh ||
14197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14199 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14200 if test $ac_delim_n = $ac_delim_num; then
14202 elif $ac_last_try; then
14203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14205 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14208 rm -f conf$$subs.sh
14210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14211 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14215 s/^/S["/; s/!.*/"]=/
14225 s/\(.\{148\}\)..*/\1/
14227 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14239 s/\(.\{148\}\)..*/\1/
14241 s/["\\]/\\&/g; s/^/"/; s/$/"/
14245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14250 ' <conf$$subs.awk | sed '
14255 ' >>$CONFIG_STATUS || ac_write_fail=1
14256 rm -f conf$$subs.awk
14257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14259 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14260 for (key in S) S_is_set[key] = 1
14266 nfields = split(line, field, "@")
14268 len = length(field[1])
14269 for (i = 2; i < nfields; i++) {
14271 keylen = length(key)
14272 if (S_is_set[key]) {
14274 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14275 len += length(value) + length(field[++i])
14286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14291 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14292 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14295 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14296 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14297 # trailing colons and then remove the whole line if VPATH becomes empty
14298 # (actually we leave an empty line to preserve line numbers).
14299 if test "x$srcdir" = x.; then
14300 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14319 fi # test -n "$CONFIG_FILES"
14321 # Set up the scripts for CONFIG_HEADERS section.
14322 # No need to generate them if there are no CONFIG_HEADERS.
14323 # This happens for instance with `./config.status Makefile'.
14324 if test -n "$CONFIG_HEADERS"; then
14325 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14329 # Transform confdefs.h into an awk script `defines.awk', embedded as
14330 # here-document in config.status, that substitutes the proper values into
14331 # config.h.in to produce config.h.
14333 # Create a delimiter string that does not exist in confdefs.h, to ease
14334 # handling of long lines.
14336 for ac_last_try in false false :; do
14337 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14338 if test -z "$ac_tt"; then
14340 elif $ac_last_try; then
14341 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14347 # For the awk script, D is an array of macro values keyed by name,
14348 # likewise P contains macro parameters if any. Preserve backslash
14349 # newline sequences.
14351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14353 s/.\{148\}/&'"$ac_delim"'/g
14356 s/^[ ]*#[ ]*define[ ][ ]*/ /
14363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14370 D["\1"]=" \3\\\\\\n"\\/p
14372 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14377 s/.\{148\}/&'"$ac_delim"'/g
14382 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14385 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14387 ' <confdefs.h | sed '
14388 s/'"$ac_delim"'/"\\\
14389 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14392 for (key in D) D_is_set[key] = 1
14395 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14397 split(line, arg, " ")
14398 if (arg[1] == "#") {
14402 defundef = substr(arg[1], 2)
14405 split(mac1, mac2, "(") #)
14407 prefix = substr(line, 1, index(line, defundef) - 1)
14408 if (D_is_set[macro]) {
14409 # Preserve the white space surrounding the "#".
14410 print prefix "define", macro P[macro] D[macro]
14413 # Replace #undef with comments. This is necessary, for example,
14414 # in the case of _POSIX_SOURCE, which is predefined and required
14415 # on some systems where configure will not decide to define it.
14416 if (defundef == "undef") {
14417 print "/*", prefix defundef, macro, "*/"
14425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14426 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14427 fi # test -n "$CONFIG_HEADERS"
14430 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14435 :[FHLC]) ac_mode=$ac_tag; continue;;
14437 case $ac_mode$ac_tag in
14439 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14440 :[FH]-) ac_tag=-:-;;
14441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14458 -) ac_f="$ac_tmp/stdin";;
14459 *) # Look for the file first in the build tree, then in the source tree
14460 # (if the path is not absolute). The absolute path cannot be DOS-style,
14461 # because $ac_f cannot contain `:'.
14465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14467 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14470 as_fn_append ac_file_inputs " '$ac_f'"
14473 # Let's still pretend it is `configure' which instantiates (i.e., don't
14474 # use $as_me), people would be surprised to read:
14475 # /* config.h. Generated by config.status. */
14476 configure_input='Generated from '`
14477 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14479 if test x"$ac_file" != x-; then
14480 configure_input="$ac_file. $configure_input"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14482 $as_echo "$as_me: creating $ac_file" >&6;}
14484 # Neutralize special characters interpreted by sed in replacement strings.
14485 case $configure_input in #(
14486 *\&* | *\|* | *\\* )
14487 ac_sed_conf_input=`$as_echo "$configure_input" |
14488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14489 *) ac_sed_conf_input=$configure_input;;
14493 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14499 ac_dir=`$as_dirname -- "$ac_file" ||
14500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501 X"$ac_file" : 'X\(//\)[^/]' \| \
14502 X"$ac_file" : 'X\(//\)$' \| \
14503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14504 $as_echo X"$ac_file" |
14505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14509 /^X\(\/\/\)[^/].*/{
14522 as_dir="$ac_dir"; as_fn_mkdir_p
14526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14529 # A ".." for each directory in $ac_dir_suffix.
14530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14531 case $ac_top_builddir_sub in
14532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14536 ac_abs_top_builddir=$ac_pwd
14537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14538 # for backward compatibility:
14539 ac_top_builddir=$ac_top_build_prefix
14542 .) # We are building in place.
14544 ac_top_srcdir=$ac_top_builddir_sub
14545 ac_abs_top_srcdir=$ac_pwd ;;
14546 [\\/]* | ?:[\\/]* ) # Absolute name.
14547 ac_srcdir=$srcdir$ac_dir_suffix;
14548 ac_top_srcdir=$srcdir
14549 ac_abs_top_srcdir=$srcdir ;;
14550 *) # Relative name.
14551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14552 ac_top_srcdir=$ac_top_build_prefix$srcdir
14553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14565 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14566 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14568 ac_MKDIR_P=$MKDIR_P
14570 [\\/$]* | ?:[\\/]* ) ;;
14571 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14576 # If the template does not know about datarootdir, expand it.
14577 # FIXME: This hack should be removed a few years after 2.60.
14578 ac_datarootdir_hack=; ac_datarootdir_seen=
14589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14590 *datarootdir*) ac_datarootdir_seen=yes;;
14591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14596 ac_datarootdir_hack='
14597 s&@datadir@&$datadir&g
14598 s&@docdir@&$docdir&g
14599 s&@infodir@&$infodir&g
14600 s&@localedir@&$localedir&g
14601 s&@mandir@&$mandir&g
14602 s&\\\${datarootdir}&$datarootdir&g' ;;
14606 # Neutralize VPATH when `$srcdir' = `.'.
14607 # Shell code in configure.ac might set extrasub.
14608 # FIXME: do we really want to maintain this feature?
14609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14610 ac_sed_extra="$ac_vpsub
14613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14616 s|@configure_input@|$ac_sed_conf_input|;t t
14617 s&@top_builddir@&$ac_top_builddir_sub&;t t
14618 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14619 s&@srcdir@&$ac_srcdir&;t t
14620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14621 s&@top_srcdir@&$ac_top_srcdir&;t t
14622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14623 s&@builddir@&$ac_builddir&;t t
14624 s&@abs_builddir@&$ac_abs_builddir&;t t
14625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14626 s&@INSTALL@&$ac_INSTALL&;t t
14627 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14628 $ac_datarootdir_hack
14630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14636 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14638 which seems to be undefined. Please make sure it is defined" >&5
14639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14640 which seems to be undefined. Please make sure it is defined" >&2;}
14642 rm -f "$ac_tmp/stdin"
14644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14653 if test x"$ac_file" != x-; then
14655 $as_echo "/* $configure_input */" \
14656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14657 } >"$ac_tmp/config.h" \
14658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14661 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14664 mv "$ac_tmp/config.h" "$ac_file" \
14665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14668 $as_echo "/* $configure_input */" \
14669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14670 || as_fn_error $? "could not create -" "$LINENO" 5
14672 # Compute "$ac_file"'s index in $config_headers.
14675 for _am_header in $config_headers :; do
14676 case $_am_header in
14677 $_am_arg | $_am_arg:* )
14680 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14683 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14684 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14685 X"$_am_arg" : 'X\(//\)[^/]' \| \
14686 X"$_am_arg" : 'X\(//\)$' \| \
14687 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14688 $as_echo X"$_am_arg" |
14689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14693 /^X\(\/\/\)[^/].*/{
14705 s/.*/./; q'`/stamp-h$_am_stamp_count
14708 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14709 $as_echo "$as_me: executing $ac_file commands" >&6;}
14714 case $ac_file$ac_mode in
14715 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14716 # Older Autoconf quotes --file arguments for eval, but not when files
14717 # are listed without --file. Let's play safe and only enable the eval
14718 # if we detect the quoting.
14719 case $CONFIG_FILES in
14720 *\'*) eval set x "$CONFIG_FILES" ;;
14721 *) set x $CONFIG_FILES ;;
14726 # Strip MF so we end up with the name of the file.
14727 mf=`echo "$mf" | sed -e 's/:.*$//'`
14728 # Check whether this is an Automake generated Makefile or not.
14729 # We used to match only the files named 'Makefile.in', but
14730 # some people rename them; so instead we look at the file content.
14731 # Grep'ing the first line is not enough: some people post-process
14732 # each Makefile.in and add a new line on top of each file to say so.
14733 # Grep'ing the whole file is not good either: AIX grep has a line
14734 # limit of 2048, but all sed's we know have understand at least 4000.
14735 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14736 dirpart=`$as_dirname -- "$mf" ||
14737 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14738 X"$mf" : 'X\(//\)[^/]' \| \
14739 X"$mf" : 'X\(//\)$' \| \
14740 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14746 /^X\(\/\/\)[^/].*/{
14762 # Extract the definition of DEPDIR, am__include, and am__quote
14763 # from the Makefile without running 'make'.
14764 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14765 test -z "$DEPDIR" && continue
14766 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14767 test -z "$am__include" && continue
14768 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14769 # Find all dependency output files, they are included files with
14770 # $(DEPDIR) in their names. We invoke sed twice because it is the
14771 # simplest approach to changing $(DEPDIR) to its actual value in the
14773 for file in `sed -n "
14774 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14775 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14776 # Make sure the directory exists.
14777 test -f "$dirpart/$file" && continue
14778 fdir=`$as_dirname -- "$file" ||
14779 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14780 X"$file" : 'X\(//\)[^/]' \| \
14781 X"$file" : 'X\(//\)$' \| \
14782 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14783 $as_echo X"$file" |
14784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14788 /^X\(\/\/\)[^/].*/{
14801 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14802 # echo "creating $dirpart/$file"
14803 echo '# dummy' > "$dirpart/$file"
14810 # See if we are running on zsh, and set the options which allow our
14811 # commands through without removal of \ escapes.
14812 if test -n "${ZSH_VERSION+set}" ; then
14813 setopt NO_GLOB_SUBST
14816 cfgfile="${ofile}T"
14817 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14820 cat <<_LT_EOF >> "$cfgfile"
14823 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14824 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14825 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14826 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14828 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14829 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14831 # Written by Gordon Matzigkeit, 1996
14833 # This file is part of GNU Libtool.
14835 # GNU Libtool is free software; you can redistribute it and/or
14836 # modify it under the terms of the GNU General Public License as
14837 # published by the Free Software Foundation; either version 2 of
14838 # the License, or (at your option) any later version.
14840 # As a special exception to the GNU General Public License,
14841 # if you distribute this file as part of a program or library that
14842 # is built using GNU Libtool, you may include this file under the
14843 # same distribution terms that you use for the rest of that program.
14845 # GNU Libtool is distributed in the hope that it will be useful,
14846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14848 # GNU General Public License for more details.
14850 # You should have received a copy of the GNU General Public License
14851 # along with GNU Libtool; see the file COPYING. If not, a copy
14852 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14853 # obtained by writing to the Free Software Foundation, Inc.,
14854 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14857 # The names of the tagged configurations supported by this script.
14860 # ### BEGIN LIBTOOL CONFIG
14862 # Which release of libtool.m4 was used?
14863 macro_version=$macro_version
14864 macro_revision=$macro_revision
14866 # Whether or not to build static libraries.
14867 build_old_libs=$enable_static
14869 # Whether or not to build shared libraries.
14870 build_libtool_libs=$enable_shared
14872 # What type of objects to build.
14875 # Whether or not to optimize for fast installation.
14876 fast_install=$enable_fast_install
14878 # Shell to use when invoking shell scripts.
14881 # An echo program that protects backslashes.
14884 # The PATH separator for the build system.
14885 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14888 host_alias=$host_alias
14892 # The build system.
14893 build_alias=$build_alias
14897 # A sed program that does not truncate output.
14900 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14901 Xsed="\$SED -e 1s/^X//"
14903 # A grep program that handles long lines.
14909 # A literal string matcher.
14912 # A BSD- or MS-compatible name lister.
14915 # Whether we need soft or hard links.
14918 # What is the maximum length of a command?
14919 max_cmd_len=$max_cmd_len
14921 # Object file suffix (normally "o").
14924 # Executable file suffix (normally "").
14927 # whether the shell understands "unset".
14930 # turn spaces into newlines.
14933 # turn newlines into spaces.
14936 # convert \$build file names to \$host format.
14937 to_host_file_cmd=$lt_cv_to_host_file_cmd
14939 # convert \$build files to toolchain format.
14940 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14942 # An object symbol dumper.
14943 OBJDUMP=$lt_OBJDUMP
14945 # Method to check whether dependent libraries are shared objects.
14946 deplibs_check_method=$lt_deplibs_check_method
14948 # Command to use when deplibs_check_method = "file_magic".
14949 file_magic_cmd=$lt_file_magic_cmd
14951 # How to find potential files when deplibs_check_method = "file_magic".
14952 file_magic_glob=$lt_file_magic_glob
14954 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14955 want_nocaseglob=$lt_want_nocaseglob
14957 # DLL creation program.
14958 DLLTOOL=$lt_DLLTOOL
14960 # Command to associate shared and link libraries.
14961 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14966 # Flags to create an archive.
14967 AR_FLAGS=$lt_AR_FLAGS
14969 # How to feed a file listing to the archiver.
14970 archiver_list_spec=$lt_archiver_list_spec
14972 # A symbol stripping program.
14975 # Commands used to install an old-style archive.
14977 old_postinstall_cmds=$lt_old_postinstall_cmds
14978 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14980 # Whether to use a lock for old archive extraction.
14981 lock_old_archive_extraction=$lock_old_archive_extraction
14986 # LTCC compiler flags.
14987 LTCFLAGS=$lt_CFLAGS
14989 # Take the output of nm and produce a listing of raw symbols and C names.
14990 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14992 # Transform the output of nm in a proper C declaration.
14993 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14995 # Transform the output of nm in a C name address pair.
14996 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14998 # Transform the output of nm in a C name address pair when lib prefix is needed.
14999 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15001 # Specify filename containing input files for \$NM.
15002 nm_file_list_spec=$lt_nm_file_list_spec
15004 # The root where to search for dependent libraries,and in which our libraries should be installed.
15005 lt_sysroot=$lt_sysroot
15007 # The name of the directory that contains temporary libtool files.
15010 # Used to examine libraries when file_magic_cmd begins with "file".
15011 MAGIC_CMD=$MAGIC_CMD
15013 # Must we lock files when doing compilation?
15014 need_locks=$lt_need_locks
15017 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15019 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15020 DSYMUTIL=$lt_DSYMUTIL
15022 # Tool to change global to local symbols on Mac OS X.
15025 # Tool to manipulate fat objects and archives on Mac OS X.
15028 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15031 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15032 OTOOL64=$lt_OTOOL64
15034 # Old archive suffix (normally "a").
15037 # Shared library suffix (normally ".so").
15038 shrext_cmds=$lt_shrext_cmds
15040 # The commands to extract the exported symbol list from a shared archive.
15041 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15043 # Variables whose values should be saved in libtool wrapper scripts and
15044 # restored at link time.
15045 variables_saved_for_relink=$lt_variables_saved_for_relink
15047 # Do we need the "lib" prefix for modules?
15048 need_lib_prefix=$need_lib_prefix
15050 # Do we need a version for libraries?
15051 need_version=$need_version
15053 # Library versioning type.
15054 version_type=$version_type
15056 # Shared library runtime path variable.
15057 runpath_var=$runpath_var
15059 # Shared library path variable.
15060 shlibpath_var=$shlibpath_var
15062 # Is shlibpath searched before the hard-coded library search path?
15063 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15065 # Format of library name prefix.
15066 libname_spec=$lt_libname_spec
15068 # List of archive names. First name is the real one, the rest are links.
15069 # The last name is the one that the linker finds with -lNAME
15070 library_names_spec=$lt_library_names_spec
15072 # The coded name of the library, if different from the real name.
15073 soname_spec=$lt_soname_spec
15075 # Permission mode override for installation of shared libraries.
15076 install_override_mode=$lt_install_override_mode
15078 # Command to use after installation of a shared archive.
15079 postinstall_cmds=$lt_postinstall_cmds
15081 # Command to use after uninstallation of a shared archive.
15082 postuninstall_cmds=$lt_postuninstall_cmds
15084 # Commands used to finish a libtool library installation in a directory.
15085 finish_cmds=$lt_finish_cmds
15087 # As "finish_cmds", except a single script fragment to be evaled but
15089 finish_eval=$lt_finish_eval
15091 # Whether we should hardcode library paths into libraries.
15092 hardcode_into_libs=$hardcode_into_libs
15094 # Compile-time system search path for libraries.
15095 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15097 # Run-time system search path for libraries.
15098 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15100 # Whether dlopen is supported.
15101 dlopen_support=$enable_dlopen
15103 # Whether dlopen of programs is supported.
15104 dlopen_self=$enable_dlopen_self
15106 # Whether dlopen of statically linked programs is supported.
15107 dlopen_self_static=$enable_dlopen_self_static
15109 # Commands to strip libraries.
15110 old_striplib=$lt_old_striplib
15111 striplib=$lt_striplib
15114 # The linker used to build libraries.
15117 # How to create reloadable object files.
15118 reload_flag=$lt_reload_flag
15119 reload_cmds=$lt_reload_cmds
15121 # Commands used to build an old-style archive.
15122 old_archive_cmds=$lt_old_archive_cmds
15124 # A language specific compiler.
15127 # Is the compiler the GNU compiler?
15130 # Compiler flag to turn off builtin functions.
15131 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15133 # Additional compiler flags for building library objects.
15134 pic_flag=$lt_lt_prog_compiler_pic
15136 # How to pass a linker flag through the compiler.
15137 wl=$lt_lt_prog_compiler_wl
15139 # Compiler flag to prevent dynamic linking.
15140 link_static_flag=$lt_lt_prog_compiler_static
15142 # Does compiler simultaneously support -c and -o options?
15143 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15145 # Whether or not to add -lc for building shared libraries.
15146 build_libtool_need_lc=$archive_cmds_need_lc
15148 # Whether or not to disallow shared libs when runtime libs are static.
15149 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15151 # Compiler flag to allow reflexive dlopens.
15152 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15154 # Compiler flag to generate shared objects directly from archives.
15155 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15157 # Whether the compiler copes with passing no objects directly.
15158 compiler_needs_object=$lt_compiler_needs_object
15160 # Create an old-style archive from a shared archive.
15161 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15163 # Create a temporary old-style archive to link instead of a shared archive.
15164 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15166 # Commands used to build a shared archive.
15167 archive_cmds=$lt_archive_cmds
15168 archive_expsym_cmds=$lt_archive_expsym_cmds
15170 # Commands used to build a loadable module if different from building
15171 # a shared archive.
15172 module_cmds=$lt_module_cmds
15173 module_expsym_cmds=$lt_module_expsym_cmds
15175 # Whether we are building with GNU ld or not.
15176 with_gnu_ld=$lt_with_gnu_ld
15178 # Flag that allows shared libraries with undefined symbols to be built.
15179 allow_undefined_flag=$lt_allow_undefined_flag
15181 # Flag that enforces no undefined symbols.
15182 no_undefined_flag=$lt_no_undefined_flag
15184 # Flag to hardcode \$libdir into a binary during linking.
15185 # This must work even if \$libdir does not exist
15186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15188 # Whether we need a single "-rpath" flag with a separated argument.
15189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15192 # DIR into the resulting binary.
15193 hardcode_direct=$hardcode_direct
15195 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15196 # DIR into the resulting binary and the resulting library dependency is
15197 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15198 # library is relocated.
15199 hardcode_direct_absolute=$hardcode_direct_absolute
15201 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15202 # into the resulting binary.
15203 hardcode_minus_L=$hardcode_minus_L
15205 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15206 # into the resulting binary.
15207 hardcode_shlibpath_var=$hardcode_shlibpath_var
15209 # Set to "yes" if building a shared library automatically hardcodes DIR
15210 # into the library and all subsequent libraries and executables linked
15212 hardcode_automatic=$hardcode_automatic
15214 # Set to yes if linker adds runtime paths of dependent libraries
15215 # to runtime path list.
15216 inherit_rpath=$inherit_rpath
15218 # Whether libtool must link a program against all its dependency libraries.
15219 link_all_deplibs=$link_all_deplibs
15221 # Set to "yes" if exported symbols are required.
15222 always_export_symbols=$always_export_symbols
15224 # The commands to list exported symbols.
15225 export_symbols_cmds=$lt_export_symbols_cmds
15227 # Symbols that should not be listed in the preloaded symbols.
15228 exclude_expsyms=$lt_exclude_expsyms
15230 # Symbols that must always be exported.
15231 include_expsyms=$lt_include_expsyms
15233 # Commands necessary for linking programs (against libraries) with templates.
15234 prelink_cmds=$lt_prelink_cmds
15236 # Commands necessary for finishing linking programs.
15237 postlink_cmds=$lt_postlink_cmds
15239 # Specify filename containing input files.
15240 file_list_spec=$lt_file_list_spec
15242 # How to hardcode a shared library path into an executable.
15243 hardcode_action=$hardcode_action
15245 # ### END LIBTOOL CONFIG
15251 cat <<\_LT_EOF >> "$cfgfile"
15252 # AIX sometimes has problems with the GCC collect2 program. For some
15253 # reason, if we set the COLLECT_NAMES environment variable, the problems
15254 # vanish in a puff of smoke.
15255 if test "X${COLLECT_NAMES+set}" != Xset; then
15257 export COLLECT_NAMES
15264 ltmain="$ac_aux_dir/ltmain.sh"
15267 # We use sed instead of cat because bash on DJGPP gets confused if
15268 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15269 # text mode, it properly converts lines to CR/LF. This bash problem
15270 # is reportedly fixed, but why not run on old versions too?
15271 sed '$q' "$ltmain" >> "$cfgfile" \
15272 || (rm -f "$cfgfile"; exit 1)
15274 if test x"$xsi_shell" = xyes; then
15275 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15279 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15280 \ * ) func_dirname_result="${3}" ;;\
15282 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15283 && mv -f "$cfgfile.tmp" "$cfgfile" \
15284 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15285 test 0 -eq $? || _lt_function_replace_fail=:
15288 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15291 \ func_basename_result="${1##*/}"\
15292 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15293 && mv -f "$cfgfile.tmp" "$cfgfile" \
15294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15295 test 0 -eq $? || _lt_function_replace_fail=:
15298 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15299 func_dirname_and_basename ()\
15302 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15303 \ * ) func_dirname_result="${3}" ;;\
15305 \ func_basename_result="${1##*/}"\
15306 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15307 && mv -f "$cfgfile.tmp" "$cfgfile" \
15308 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15309 test 0 -eq $? || _lt_function_replace_fail=:
15312 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15315 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15316 \ # positional parameters, so assign one to ordinary parameter first.\
15317 \ func_stripname_result=${3}\
15318 \ func_stripname_result=${func_stripname_result#"${1}"}\
15319 \ func_stripname_result=${func_stripname_result%"${2}"}\
15320 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15321 && mv -f "$cfgfile.tmp" "$cfgfile" \
15322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15323 test 0 -eq $? || _lt_function_replace_fail=:
15326 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15327 func_split_long_opt ()\
15329 \ func_split_long_opt_name=${1%%=*}\
15330 \ func_split_long_opt_arg=${1#*=}\
15331 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15332 && mv -f "$cfgfile.tmp" "$cfgfile" \
15333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15334 test 0 -eq $? || _lt_function_replace_fail=:
15337 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15338 func_split_short_opt ()\
15340 \ func_split_short_opt_arg=${1#??}\
15341 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15342 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15343 && mv -f "$cfgfile.tmp" "$cfgfile" \
15344 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15345 test 0 -eq $? || _lt_function_replace_fail=:
15348 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15352 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15353 \ *) func_lo2o_result=${1} ;;\
15355 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15356 && mv -f "$cfgfile.tmp" "$cfgfile" \
15357 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15358 test 0 -eq $? || _lt_function_replace_fail=:
15361 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15364 func_xform_result=${1%.*}.lo\
15365 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15366 && mv -f "$cfgfile.tmp" "$cfgfile" \
15367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15368 test 0 -eq $? || _lt_function_replace_fail=:
15371 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15374 func_arith_result=$(( $* ))\
15375 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15376 && mv -f "$cfgfile.tmp" "$cfgfile" \
15377 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15378 test 0 -eq $? || _lt_function_replace_fail=:
15381 sed -e '/^func_len ()$/,/^} # func_len /c\
15384 func_len_result=${#1}\
15385 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15386 && mv -f "$cfgfile.tmp" "$cfgfile" \
15387 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15388 test 0 -eq $? || _lt_function_replace_fail=:
15392 if test x"$lt_shell_append" = xyes; then
15393 sed -e '/^func_append ()$/,/^} # func_append /c\
15396 eval "${1}+=\\${2}"\
15397 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15398 && mv -f "$cfgfile.tmp" "$cfgfile" \
15399 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15400 test 0 -eq $? || _lt_function_replace_fail=:
15403 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15404 func_append_quoted ()\
15406 \ func_quote_for_eval "${2}"\
15407 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15408 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15409 && mv -f "$cfgfile.tmp" "$cfgfile" \
15410 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15411 test 0 -eq $? || _lt_function_replace_fail=:
15414 # Save a `func_append' function call where possible by direct use of '+='
15415 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15416 && mv -f "$cfgfile.tmp" "$cfgfile" \
15417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15418 test 0 -eq $? || _lt_function_replace_fail=:
15420 # Save a `func_append' function call even when '+=' is not available
15421 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15422 && mv -f "$cfgfile.tmp" "$cfgfile" \
15423 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15424 test 0 -eq $? || _lt_function_replace_fail=:
15427 if test x"$_lt_function_replace_fail" = x":"; then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15429 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15433 mv -f "$cfgfile" "$ofile" ||
15434 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15445 ac_clean_files=$ac_clean_files_save
15447 test $ac_write_fail = 0 ||
15448 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15451 # configure is writing to config.log, and then calls config.status.
15452 # config.status does its own redirection, appending to config.log.
15453 # Unfortunately, on DOS this fails, as config.log is still kept open
15454 # by configure, so config.status won't be able to write to it; its
15455 # output is simply discarded. So we exec the FD to /dev/null,
15456 # effectively closing config.log, so it can be properly (re)opened and
15457 # appended to by config.status. When coming back to configure, we
15458 # need to make the FD available again.
15459 if test "$no_create" != yes; then
15461 ac_config_status_args=
15462 test "$silent" = yes &&
15463 ac_config_status_args="$ac_config_status_args --quiet"
15465 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15467 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15468 # would make configure fail if this is the last instruction.
15469 $ac_cs_success || as_fn_exit 1
15471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15477 if test x$enable_dbus_type != xp2p; then
15478 ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15480 cat >confcache <<\_ACEOF
15481 # This file is a shell script that caches the results of configure
15482 # tests run on this system so they can be shared between configure
15483 # scripts and configure runs, see configure's option --config-cache.
15484 # It is not useful on other systems. If it contains results you don't
15485 # want to keep, you may remove or edit it.
15487 # config.status only pays attention to the cache file if you give it
15488 # the --recheck option to rerun configure.
15490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15492 # following values.
15496 # The following way of writing the cache mishandles newlines in values,
15497 # but we know of no workaround that is simple, portable, and efficient.
15498 # So, we kill variables containing newlines.
15499 # Ultrix sh set writes to stderr and can't be redirected directly,
15500 # and sets the high bit in the cache file unless we assign to the vars.
15502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15503 eval ac_val=\$$ac_var
15507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15511 _ | IFS | as_nl) ;; #(
15512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15513 *) { eval $ac_var=; unset $ac_var;} ;;
15519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15520 *${as_nl}ac_space=\ *)
15521 # `set' does not quote correctly, so add quotes: double-quote
15522 # substitution turns \\\\ into \\, and sed turns \\ into \.
15525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15528 # `set' quotes correctly as required by POSIX, so do not add quotes.
15529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15543 if test -w "$cache_file"; then
15544 if test "x$cache_file" != "x/dev/null"; then
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15546 $as_echo "$as_me: updating cache $cache_file" >&6;}
15547 if test ! -f "$cache_file" || test -h "$cache_file"; then
15548 cat confcache >"$cache_file"
15550 case $cache_file in #(
15552 mv -f confcache "$cache_file"$$ &&
15553 mv -f "$cache_file"$$ "$cache_file" ;; #(
15555 mv -f confcache "$cache_file" ;;
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15567 # Let make expand exec_prefix.
15568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15570 DEFS=-DHAVE_CONFIG_H
15575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15576 # 1. Remove the extension, and $U if already installed.
15577 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15578 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15579 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15580 # will be set to the directory where LIBOBJS objects are built.
15581 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15582 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15584 LIBOBJS=$ac_libobjs
15586 LTLIBOBJS=$ac_ltlibobjs
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15590 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15591 if test -n "$am_sleep_pid"; then
15592 # Hide warnings about reused PIDs.
15593 wait $am_sleep_pid 2>/dev/null
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15596 $as_echo "done" >&6; }
15597 if test -n "$EXEEXT"; then
15599 am__EXEEXT_FALSE='#'
15601 am__EXEEXT_TRUE='#'
15605 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15606 as_fn_error $? "conditional \"AMDEP\" was never defined.
15607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15609 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15610 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15613 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15614 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15617 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15618 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15621 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15622 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15625 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15626 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15629 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15630 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15633 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15634 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15637 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15638 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15641 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15642 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15645 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15646 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15649 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15650 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15653 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15654 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15657 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15658 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 : "${CONFIG_STATUS=./config.status}"
15664 ac_clean_files_save=$ac_clean_files
15665 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15667 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15669 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15671 # Generated by $as_me.
15672 # Run this file to recreate the current configuration.
15673 # Compiler output produced by configure, useful for debugging
15674 # configure, is in config.log if it exists.
15677 ac_cs_recheck=false
15680 SHELL=\${CONFIG_SHELL-$SHELL}
15683 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15684 ## -------------------- ##
15685 ## M4sh Initialization. ##
15686 ## -------------------- ##
15688 # Be more Bourne compatible
15689 DUALCASE=1; export DUALCASE # for MKS sh
15690 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15693 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15694 # is contrary to our usage. Disable this feature.
15695 alias -g '${1+"$@"}'='"$@"'
15696 setopt NO_GLOB_SUBST
15698 case `(set -o) 2>/dev/null` in #(
15710 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15711 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15712 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15714 # Prefer a ksh shell builtin over an external printf program on Solaris,
15715 # but without wasting forks for bash or zsh.
15716 if test -z "$BASH_VERSION$ZSH_VERSION" \
15717 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15718 as_echo='print -r --'
15719 as_echo_n='print -rn --'
15720 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15721 as_echo='printf %s\n'
15722 as_echo_n='printf %s'
15724 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15725 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15726 as_echo_n='/usr/ucb/echo -n'
15728 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15729 as_echo_n_body='eval
15733 expr "X$arg" : "X\\(.*\\)$as_nl";
15734 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15736 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15738 export as_echo_n_body
15739 as_echo_n='sh -c $as_echo_n_body as_echo'
15741 export as_echo_body
15742 as_echo='sh -c $as_echo_body as_echo'
15745 # The user is always right.
15746 if test "${PATH_SEPARATOR+set}" != set; then
15748 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15749 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15756 # We need space, tab and new line, in precisely that order. Quoting is
15757 # there to prevent editors from complaining about space-tab.
15758 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15759 # splitting by setting IFS to empty value.)
15762 # Find who we are. Look in the path if we contain no directory separator.
15765 *[\\/]* ) as_myself=$0 ;;
15766 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15767 for as_dir in $PATH
15770 test -z "$as_dir" && as_dir=.
15771 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15777 # We did not find ourselves, most probably we were run as `sh COMMAND'
15778 # in which case we are not to be found in the path.
15779 if test "x$as_myself" = x; then
15782 if test ! -f "$as_myself"; then
15783 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15787 # Unset variables that we do not need and which cause bugs (e.g. in
15788 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15789 # suppresses any "Segmentation fault" message there. '((' could
15790 # trigger a bug in pdksh 5.2.14.
15791 for as_var in BASH_ENV ENV MAIL MAILPATH
15792 do eval test x\${$as_var+set} = xset \
15793 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15806 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15809 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15810 # ----------------------------------------
15811 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15812 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15813 # script with STATUS, using 1 if that was 0.
15816 as_status=$1; test $as_status -eq 0 && as_status=1
15818 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15819 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15821 $as_echo "$as_me: error: $2" >&2
15822 as_fn_exit $as_status
15826 # as_fn_set_status STATUS
15827 # -----------------------
15828 # Set $? to STATUS, without forking.
15829 as_fn_set_status ()
15832 } # as_fn_set_status
15834 # as_fn_exit STATUS
15835 # -----------------
15836 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15840 as_fn_set_status $1
15846 # Portably unset VAR.
15849 { eval $1=; unset $1;}
15851 as_unset=as_fn_unset
15852 # as_fn_append VAR VALUE
15853 # ----------------------
15854 # Append the text in VALUE to the end of the definition contained in VAR. Take
15855 # advantage of any shell optimizations that allow amortized linear growth over
15856 # repeated appends, instead of the typical quadratic growth present in naive
15858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15859 eval 'as_fn_append ()
15870 # as_fn_arith ARG...
15871 # ------------------
15872 # Perform arithmetic evaluation on the ARGs, and store the result in the
15873 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15874 # must be portable across $(()) and expr.
15875 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15876 eval 'as_fn_arith ()
15883 as_val=`expr "$@" || test $? -eq 1`
15888 if expr a : '\(a\)' >/dev/null 2>&1 &&
15889 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15895 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15896 as_basename=basename
15901 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15907 as_me=`$as_basename -- "$0" ||
15908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15909 X"$0" : 'X\(//\)$' \| \
15910 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15912 sed '/^.*\/\([^/][^/]*\)\/*$/{
15926 # Avoid depending upon Character Ranges.
15927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15930 as_cr_digits='0123456789'
15931 as_cr_alnum=$as_cr_Letters$as_cr_digits
15933 ECHO_C= ECHO_N= ECHO_T=
15934 case `echo -n x` in #(((((
15936 case `echo 'xy\c'` in
15937 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15939 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15946 rm -f conf$$ conf$$.exe conf$$.file
15947 if test -d conf$$.dir; then
15948 rm -f conf$$.dir/conf$$.file
15951 mkdir conf$$.dir 2>/dev/null
15953 if (echo >conf$$.file) 2>/dev/null; then
15954 if ln -s conf$$.file conf$$ 2>/dev/null; then
15956 # ... but there are two gotchas:
15957 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15958 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15959 # In both cases, we have to default to `cp -pR'.
15960 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15962 elif ln conf$$.file conf$$ 2>/dev/null; then
15970 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15971 rmdir conf$$.dir 2>/dev/null
15976 # Create "$as_dir" as a directory, including parents if necessary.
15981 -*) as_dir=./$as_dir;;
15983 test -d "$as_dir" || eval $as_mkdir_p || {
15987 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15988 *) as_qdir=$as_dir;;
15990 as_dirs="'$as_qdir' $as_dirs"
15991 as_dir=`$as_dirname -- "$as_dir" ||
15992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15993 X"$as_dir" : 'X\(//\)[^/]' \| \
15994 X"$as_dir" : 'X\(//\)$' \| \
15995 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15996 $as_echo X"$as_dir" |
15997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16001 /^X\(\/\/\)[^/].*/{
16014 test -d "$as_dir" && break
16016 test -z "$as_dirs" || eval "mkdir $as_dirs"
16017 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16021 if mkdir -p . 2>/dev/null; then
16022 as_mkdir_p='mkdir -p "$as_dir"'
16024 test -d ./-p && rmdir ./-p
16029 # as_fn_executable_p FILE
16030 # -----------------------
16031 # Test if FILE is an executable regular file.
16032 as_fn_executable_p ()
16034 test -f "$1" && test -x "$1"
16035 } # as_fn_executable_p
16036 as_test_x='test -x'
16037 as_executable_p=as_fn_executable_p
16039 # Sed expression to map a string onto a valid CPP name.
16040 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16042 # Sed expression to map a string onto a valid variable name.
16043 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16047 ## ----------------------------------- ##
16048 ## Main body of $CONFIG_STATUS script. ##
16049 ## ----------------------------------- ##
16051 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16054 # Save the log message, to keep $0 and so on meaningful, and to
16055 # report actual input values of CONFIG_FILES etc. instead of their
16056 # values after options handling.
16058 This file was extended by gsignond $as_me 1.0.3, which was
16059 generated by GNU Autoconf 2.69. Invocation command line was
16061 CONFIG_FILES = $CONFIG_FILES
16062 CONFIG_HEADERS = $CONFIG_HEADERS
16063 CONFIG_LINKS = $CONFIG_LINKS
16064 CONFIG_COMMANDS = $CONFIG_COMMANDS
16067 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16072 case $ac_config_files in *"
16073 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16076 case $ac_config_headers in *"
16077 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16082 # Files that config.status was made for.
16083 config_files="$ac_config_files"
16084 config_headers="$ac_config_headers"
16085 config_commands="$ac_config_commands"
16089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16091 \`$as_me' instantiates files and other configuration actions
16092 from templates according to the current configuration. Unless the files
16093 and actions are specified as TAGs, all are instantiated by default.
16095 Usage: $0 [OPTION]... [TAG]...
16097 -h, --help print this help, then exit
16098 -V, --version print version number and configuration settings, then exit
16099 --config print configuration, then exit
16100 -q, --quiet, --silent
16101 do not print progress messages
16102 -d, --debug don't remove temporary files
16103 --recheck update $as_me by reconfiguring in the same conditions
16104 --file=FILE[:TEMPLATE]
16105 instantiate the configuration file FILE
16106 --header=FILE[:TEMPLATE]
16107 instantiate the configuration header FILE
16109 Configuration files:
16112 Configuration headers:
16115 Configuration commands:
16118 Report bugs to the package provider.
16119 gsignond home page: <http://01.org/gsso>."
16122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16125 gsignond config.status 1.0.3
16126 configured by $0, generated by GNU Autoconf 2.69,
16127 with options \\"\$ac_cs_config\\"
16129 Copyright (C) 2012 Free Software Foundation, Inc.
16130 This config.status script is free software; the Free Software Foundation
16131 gives unlimited permission to copy, distribute and modify it."
16138 test -n "\$AWK" || AWK=awk
16141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16142 # The default lists apply if the user does not specify any file.
16148 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16149 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16165 # Handling of the options.
16166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16169 $as_echo "$ac_cs_version"; exit ;;
16170 --config | --confi | --conf | --con | --co | --c )
16171 $as_echo "$ac_cs_config"; exit ;;
16172 --debug | --debu | --deb | --de | --d | -d )
16174 --file | --fil | --fi | --f )
16177 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16178 '') as_fn_error $? "missing file argument" ;;
16180 as_fn_append CONFIG_FILES " '$ac_optarg'"
16181 ac_need_defaults=false;;
16182 --header | --heade | --head | --hea )
16185 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16187 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16188 ac_need_defaults=false;;
16190 # Conflict between --help and --header
16191 as_fn_error $? "ambiguous option: \`$1'
16192 Try \`$0 --help' for more information.";;
16193 --help | --hel | -h )
16194 $as_echo "$ac_cs_usage"; exit ;;
16195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16196 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16199 # This is an error.
16200 -*) as_fn_error $? "unrecognized option: \`$1'
16201 Try \`$0 --help' for more information." ;;
16203 *) as_fn_append ac_config_targets " $1"
16204 ac_need_defaults=false ;;
16210 ac_configure_extra_args=
16212 if $ac_cs_silent; then
16214 ac_configure_extra_args="$ac_configure_extra_args --silent"
16218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16219 if \$ac_cs_recheck; then
16220 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16222 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16223 CONFIG_SHELL='$SHELL'
16224 export CONFIG_SHELL
16229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16233 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16234 ## Running $as_me. ##
16240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16244 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16247 # The HP-UX ksh and POSIX shell print the target directory to stdout
16248 # if CDPATH is set.
16249 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16251 sed_quote_subst='$sed_quote_subst'
16252 double_quote_subst='$double_quote_subst'
16253 delay_variable_subst='$delay_variable_subst'
16254 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16255 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16256 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16257 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16258 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16259 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16260 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16261 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16262 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16263 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16264 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16265 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16266 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16267 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16268 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16269 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16270 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16271 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16272 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16273 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16274 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16275 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16276 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16277 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16278 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16279 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16280 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16281 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16282 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16283 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16285 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16286 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16287 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16288 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16289 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16290 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16291 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16292 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16293 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16296 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16297 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16298 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16299 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16300 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16302 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16303 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16304 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16305 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16306 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16307 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16308 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16309 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16310 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"`'
16311 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16312 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16313 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16314 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16315 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16316 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16319 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16320 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16321 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16322 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16323 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16324 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16325 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16326 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16327 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16328 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16329 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16330 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16331 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16332 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16333 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16334 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16335 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16336 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16337 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16338 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16339 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16340 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16341 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16342 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16343 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16344 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16346 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16347 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16348 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16349 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16350 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16351 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16352 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16353 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16354 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16355 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16356 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16357 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16358 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16359 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16360 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16361 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16362 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16363 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16364 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16365 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16366 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16367 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16368 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16369 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16370 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16371 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16372 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16373 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16374 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16375 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16376 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16377 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16378 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16379 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16380 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16382 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16383 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16386 LTCFLAGS='$LTCFLAGS'
16387 compiler='$compiler_DEFAULT'
16389 # A function that is used when there is no print builtin or printf.
16390 func_fallback_echo ()
16392 eval 'cat <<_LTECHO_EOF
16397 # Quote evaled strings.
16412 deplibs_check_method \
16417 sharedlib_from_linklib_cmd \
16420 archiver_list_spec \
16426 lt_cv_sys_global_symbol_pipe \
16427 lt_cv_sys_global_symbol_to_cdecl \
16428 lt_cv_sys_global_symbol_to_c_name_address \
16429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16430 nm_file_list_spec \
16431 lt_prog_compiler_no_builtin_flag \
16432 lt_prog_compiler_pic \
16433 lt_prog_compiler_wl \
16434 lt_prog_compiler_static \
16435 lt_cv_prog_compiler_c_o \
16444 export_dynamic_flag_spec \
16445 whole_archive_flag_spec \
16446 compiler_needs_object \
16448 allow_undefined_flag \
16449 no_undefined_flag \
16450 hardcode_libdir_flag_spec \
16451 hardcode_libdir_separator \
16455 variables_saved_for_relink \
16457 library_names_spec \
16459 install_override_mode \
16463 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16464 *[\\\\\\\`\\"\\\$]*)
16465 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16468 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16473 # Double-quote double-evaled strings.
16474 for var in reload_cmds \
16475 old_postinstall_cmds \
16476 old_postuninstall_cmds \
16478 extract_expsyms_cmds \
16479 old_archive_from_new_cmds \
16480 old_archive_from_expsyms_cmds \
16482 archive_expsym_cmds \
16484 module_expsym_cmds \
16485 export_symbols_cmds \
16489 postuninstall_cmds \
16491 sys_lib_search_path_spec \
16492 sys_lib_dlsearch_path_spec; do
16493 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16494 *[\\\\\\\`\\"\\\$]*)
16495 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16498 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16503 ac_aux_dir='$ac_aux_dir'
16504 xsi_shell='$xsi_shell'
16505 lt_shell_append='$lt_shell_append'
16507 # See if we are running on zsh, and set the options which allow our
16508 # commands through without removal of \ escapes INIT.
16509 if test -n "\${ZSH_VERSION+set}" ; then
16510 setopt NO_GLOB_SUBST
16516 TIMESTAMP='$TIMESTAMP'
16520 ac_aux_dir='$ac_aux_dir'
16526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16528 # Handling of arguments.
16529 for ac_config_target in $ac_config_targets
16531 case $ac_config_target in
16532 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16533 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16534 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16535 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16536 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16537 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16538 "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16539 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16540 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16541 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16542 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16543 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16544 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16545 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16546 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16547 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16548 "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16549 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16550 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16551 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16552 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16553 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16554 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16555 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16556 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16557 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16558 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16559 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16560 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16561 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16562 "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16564 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16569 # If the user did not use the arguments to specify the items to instantiate,
16570 # then the envvar interface is used. Set only those that are not.
16571 # We use the long form for the default assignment because of an extremely
16572 # bizarre bug on SunOS 4.1.3.
16573 if $ac_need_defaults; then
16574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16576 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16579 # Have a temporary directory for convenience. Make it in the build tree
16580 # simply because there is no reason against having it here, and in addition,
16581 # creating and moving files from /tmp can sometimes cause problems.
16582 # Hook for its removal unless debugging.
16583 # Note that there is a small window in which the directory will not be cleaned:
16584 # after its creation but before its name has been assigned to `$tmp'.
16588 trap 'exit_status=$?
16589 : "${ac_tmp:=$tmp}"
16590 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16592 trap 'as_fn_exit 1' 1 2 13 15
16594 # Create a (secure) tmp directory for tmp files.
16597 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16601 tmp=./conf$$-$RANDOM
16602 (umask 077 && mkdir "$tmp")
16603 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16606 # Set up the scripts for CONFIG_FILES section.
16607 # No need to generate them if there are no CONFIG_FILES.
16608 # This happens for instance with `./config.status config.h'.
16609 if test -n "$CONFIG_FILES"; then
16612 ac_cr=`echo X | tr X '\015'`
16613 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16614 # But we know of no other shell where ac_cr would be empty at this
16615 # point, so we can use a bashism as a fallback.
16616 if test "x$ac_cr" = x; then
16617 eval ac_cr=\$\'\\r\'
16619 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16620 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16623 ac_cs_awk_cr=$ac_cr
16626 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16631 echo "cat >conf$$subs.awk <<_ACEOF" &&
16632 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16634 } >conf$$subs.sh ||
16635 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16636 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16638 for ac_last_try in false false false false false :; do
16639 . ./conf$$subs.sh ||
16640 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16642 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16643 if test $ac_delim_n = $ac_delim_num; then
16645 elif $ac_last_try; then
16646 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16651 rm -f conf$$subs.sh
16653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16654 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16658 s/^/S["/; s/!.*/"]=/
16668 s/\(.\{148\}\)..*/\1/
16670 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16682 s/\(.\{148\}\)..*/\1/
16684 s/["\\]/\\&/g; s/^/"/; s/$/"/
16688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16693 ' <conf$$subs.awk | sed '
16698 ' >>$CONFIG_STATUS || ac_write_fail=1
16699 rm -f conf$$subs.awk
16700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16703 for (key in S) S_is_set[key] = 1
16709 nfields = split(line, field, "@")
16711 len = length(field[1])
16712 for (i = 2; i < nfields; i++) {
16714 keylen = length(key)
16715 if (S_is_set[key]) {
16717 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16718 len += length(value) + length(field[++i])
16729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16731 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16734 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16735 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16738 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16739 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16740 # trailing colons and then remove the whole line if VPATH becomes empty
16741 # (actually we leave an empty line to preserve line numbers).
16742 if test "x$srcdir" = x.; then
16743 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16762 fi # test -n "$CONFIG_FILES"
16764 # Set up the scripts for CONFIG_HEADERS section.
16765 # No need to generate them if there are no CONFIG_HEADERS.
16766 # This happens for instance with `./config.status Makefile'.
16767 if test -n "$CONFIG_HEADERS"; then
16768 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16772 # Transform confdefs.h into an awk script `defines.awk', embedded as
16773 # here-document in config.status, that substitutes the proper values into
16774 # config.h.in to produce config.h.
16776 # Create a delimiter string that does not exist in confdefs.h, to ease
16777 # handling of long lines.
16779 for ac_last_try in false false :; do
16780 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16781 if test -z "$ac_tt"; then
16783 elif $ac_last_try; then
16784 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16786 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16790 # For the awk script, D is an array of macro values keyed by name,
16791 # likewise P contains macro parameters if any. Preserve backslash
16792 # newline sequences.
16794 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16796 s/.\{148\}/&'"$ac_delim"'/g
16799 s/^[ ]*#[ ]*define[ ][ ]*/ /
16806 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16808 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16813 D["\1"]=" \3\\\\\\n"\\/p
16815 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16820 s/.\{148\}/&'"$ac_delim"'/g
16825 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16828 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16830 ' <confdefs.h | sed '
16831 s/'"$ac_delim"'/"\\\
16832 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16835 for (key in D) D_is_set[key] = 1
16838 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16840 split(line, arg, " ")
16841 if (arg[1] == "#") {
16845 defundef = substr(arg[1], 2)
16848 split(mac1, mac2, "(") #)
16850 prefix = substr(line, 1, index(line, defundef) - 1)
16851 if (D_is_set[macro]) {
16852 # Preserve the white space surrounding the "#".
16853 print prefix "define", macro P[macro] D[macro]
16856 # Replace #undef with comments. This is necessary, for example,
16857 # in the case of _POSIX_SOURCE, which is predefined and required
16858 # on some systems where configure will not decide to define it.
16859 if (defundef == "undef") {
16860 print "/*", prefix defundef, macro, "*/"
16868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16869 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16870 fi # test -n "$CONFIG_HEADERS"
16873 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16878 :[FHLC]) ac_mode=$ac_tag; continue;;
16880 case $ac_mode$ac_tag in
16882 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16883 :[FH]-) ac_tag=-:-;;
16884 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16901 -) ac_f="$ac_tmp/stdin";;
16902 *) # Look for the file first in the build tree, then in the source tree
16903 # (if the path is not absolute). The absolute path cannot be DOS-style,
16904 # because $ac_f cannot contain `:'.
16908 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16910 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16912 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16913 as_fn_append ac_file_inputs " '$ac_f'"
16916 # Let's still pretend it is `configure' which instantiates (i.e., don't
16917 # use $as_me), people would be surprised to read:
16918 # /* config.h. Generated by config.status. */
16919 configure_input='Generated from '`
16920 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16922 if test x"$ac_file" != x-; then
16923 configure_input="$ac_file. $configure_input"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16925 $as_echo "$as_me: creating $ac_file" >&6;}
16927 # Neutralize special characters interpreted by sed in replacement strings.
16928 case $configure_input in #(
16929 *\&* | *\|* | *\\* )
16930 ac_sed_conf_input=`$as_echo "$configure_input" |
16931 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16932 *) ac_sed_conf_input=$configure_input;;
16936 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16942 ac_dir=`$as_dirname -- "$ac_file" ||
16943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944 X"$ac_file" : 'X\(//\)[^/]' \| \
16945 X"$ac_file" : 'X\(//\)$' \| \
16946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16947 $as_echo X"$ac_file" |
16948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16952 /^X\(\/\/\)[^/].*/{
16965 as_dir="$ac_dir"; as_fn_mkdir_p
16969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16971 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16972 # A ".." for each directory in $ac_dir_suffix.
16973 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16974 case $ac_top_builddir_sub in
16975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16979 ac_abs_top_builddir=$ac_pwd
16980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16981 # for backward compatibility:
16982 ac_top_builddir=$ac_top_build_prefix
16985 .) # We are building in place.
16987 ac_top_srcdir=$ac_top_builddir_sub
16988 ac_abs_top_srcdir=$ac_pwd ;;
16989 [\\/]* | ?:[\\/]* ) # Absolute name.
16990 ac_srcdir=$srcdir$ac_dir_suffix;
16991 ac_top_srcdir=$srcdir
16992 ac_abs_top_srcdir=$srcdir ;;
16993 *) # Relative name.
16994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16995 ac_top_srcdir=$ac_top_build_prefix$srcdir
16996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17008 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17009 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17011 ac_MKDIR_P=$MKDIR_P
17013 [\\/$]* | ?:[\\/]* ) ;;
17014 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17019 # If the template does not know about datarootdir, expand it.
17020 # FIXME: This hack should be removed a few years after 2.60.
17021 ac_datarootdir_hack=; ac_datarootdir_seen=
17032 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17033 *datarootdir*) ac_datarootdir_seen=yes;;
17034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17036 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17039 ac_datarootdir_hack='
17040 s&@datadir@&$datadir&g
17041 s&@docdir@&$docdir&g
17042 s&@infodir@&$infodir&g
17043 s&@localedir@&$localedir&g
17044 s&@mandir@&$mandir&g
17045 s&\\\${datarootdir}&$datarootdir&g' ;;
17049 # Neutralize VPATH when `$srcdir' = `.'.
17050 # Shell code in configure.ac might set extrasub.
17051 # FIXME: do we really want to maintain this feature?
17052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17053 ac_sed_extra="$ac_vpsub
17056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17059 s|@configure_input@|$ac_sed_conf_input|;t t
17060 s&@top_builddir@&$ac_top_builddir_sub&;t t
17061 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17062 s&@srcdir@&$ac_srcdir&;t t
17063 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17064 s&@top_srcdir@&$ac_top_srcdir&;t t
17065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17066 s&@builddir@&$ac_builddir&;t t
17067 s&@abs_builddir@&$ac_abs_builddir&;t t
17068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17069 s&@INSTALL@&$ac_INSTALL&;t t
17070 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17071 $ac_datarootdir_hack
17073 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17074 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17076 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17077 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17078 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17079 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17081 which seems to be undefined. Please make sure it is defined" >&5
17082 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17083 which seems to be undefined. Please make sure it is defined" >&2;}
17085 rm -f "$ac_tmp/stdin"
17087 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17088 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17090 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17096 if test x"$ac_file" != x-; then
17098 $as_echo "/* $configure_input */" \
17099 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17100 } >"$ac_tmp/config.h" \
17101 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17102 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17104 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17107 mv "$ac_tmp/config.h" "$ac_file" \
17108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17111 $as_echo "/* $configure_input */" \
17112 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17113 || as_fn_error $? "could not create -" "$LINENO" 5
17115 # Compute "$ac_file"'s index in $config_headers.
17118 for _am_header in $config_headers :; do
17119 case $_am_header in
17120 $_am_arg | $_am_arg:* )
17123 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17128 X"$_am_arg" : 'X\(//\)[^/]' \| \
17129 X"$_am_arg" : 'X\(//\)$' \| \
17130 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17131 $as_echo X"$_am_arg" |
17132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17136 /^X\(\/\/\)[^/].*/{
17148 s/.*/./; q'`/stamp-h$_am_stamp_count
17151 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17152 $as_echo "$as_me: executing $ac_file commands" >&6;}
17157 case $ac_file$ac_mode in
17158 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17159 # Older Autoconf quotes --file arguments for eval, but not when files
17160 # are listed without --file. Let's play safe and only enable the eval
17161 # if we detect the quoting.
17162 case $CONFIG_FILES in
17163 *\'*) eval set x "$CONFIG_FILES" ;;
17164 *) set x $CONFIG_FILES ;;
17169 # Strip MF so we end up with the name of the file.
17170 mf=`echo "$mf" | sed -e 's/:.*$//'`
17171 # Check whether this is an Automake generated Makefile or not.
17172 # We used to match only the files named 'Makefile.in', but
17173 # some people rename them; so instead we look at the file content.
17174 # Grep'ing the first line is not enough: some people post-process
17175 # each Makefile.in and add a new line on top of each file to say so.
17176 # Grep'ing the whole file is not good either: AIX grep has a line
17177 # limit of 2048, but all sed's we know have understand at least 4000.
17178 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17179 dirpart=`$as_dirname -- "$mf" ||
17180 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17181 X"$mf" : 'X\(//\)[^/]' \| \
17182 X"$mf" : 'X\(//\)$' \| \
17183 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17189 /^X\(\/\/\)[^/].*/{
17205 # Extract the definition of DEPDIR, am__include, and am__quote
17206 # from the Makefile without running 'make'.
17207 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17208 test -z "$DEPDIR" && continue
17209 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17210 test -z "$am__include" && continue
17211 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17212 # Find all dependency output files, they are included files with
17213 # $(DEPDIR) in their names. We invoke sed twice because it is the
17214 # simplest approach to changing $(DEPDIR) to its actual value in the
17216 for file in `sed -n "
17217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17219 # Make sure the directory exists.
17220 test -f "$dirpart/$file" && continue
17221 fdir=`$as_dirname -- "$file" ||
17222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17223 X"$file" : 'X\(//\)[^/]' \| \
17224 X"$file" : 'X\(//\)$' \| \
17225 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17226 $as_echo X"$file" |
17227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17231 /^X\(\/\/\)[^/].*/{
17244 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17245 # echo "creating $dirpart/$file"
17246 echo '# dummy' > "$dirpart/$file"
17253 # See if we are running on zsh, and set the options which allow our
17254 # commands through without removal of \ escapes.
17255 if test -n "${ZSH_VERSION+set}" ; then
17256 setopt NO_GLOB_SUBST
17259 cfgfile="${ofile}T"
17260 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17263 cat <<_LT_EOF >> "$cfgfile"
17266 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17267 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17268 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17269 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17271 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17272 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17274 # Written by Gordon Matzigkeit, 1996
17276 # This file is part of GNU Libtool.
17278 # GNU Libtool is free software; you can redistribute it and/or
17279 # modify it under the terms of the GNU General Public License as
17280 # published by the Free Software Foundation; either version 2 of
17281 # the License, or (at your option) any later version.
17283 # As a special exception to the GNU General Public License,
17284 # if you distribute this file as part of a program or library that
17285 # is built using GNU Libtool, you may include this file under the
17286 # same distribution terms that you use for the rest of that program.
17288 # GNU Libtool is distributed in the hope that it will be useful,
17289 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17290 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17291 # GNU General Public License for more details.
17293 # You should have received a copy of the GNU General Public License
17294 # along with GNU Libtool; see the file COPYING. If not, a copy
17295 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17296 # obtained by writing to the Free Software Foundation, Inc.,
17297 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17300 # The names of the tagged configurations supported by this script.
17303 # ### BEGIN LIBTOOL CONFIG
17305 # Which release of libtool.m4 was used?
17306 macro_version=$macro_version
17307 macro_revision=$macro_revision
17309 # Whether or not to build static libraries.
17310 build_old_libs=$enable_static
17312 # Whether or not to build shared libraries.
17313 build_libtool_libs=$enable_shared
17315 # What type of objects to build.
17318 # Whether or not to optimize for fast installation.
17319 fast_install=$enable_fast_install
17321 # Shell to use when invoking shell scripts.
17324 # An echo program that protects backslashes.
17327 # The PATH separator for the build system.
17328 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17331 host_alias=$host_alias
17335 # The build system.
17336 build_alias=$build_alias
17340 # A sed program that does not truncate output.
17343 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17344 Xsed="\$SED -e 1s/^X//"
17346 # A grep program that handles long lines.
17352 # A literal string matcher.
17355 # A BSD- or MS-compatible name lister.
17358 # Whether we need soft or hard links.
17361 # What is the maximum length of a command?
17362 max_cmd_len=$max_cmd_len
17364 # Object file suffix (normally "o").
17367 # Executable file suffix (normally "").
17370 # whether the shell understands "unset".
17373 # turn spaces into newlines.
17376 # turn newlines into spaces.
17379 # convert \$build file names to \$host format.
17380 to_host_file_cmd=$lt_cv_to_host_file_cmd
17382 # convert \$build files to toolchain format.
17383 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17385 # An object symbol dumper.
17386 OBJDUMP=$lt_OBJDUMP
17388 # Method to check whether dependent libraries are shared objects.
17389 deplibs_check_method=$lt_deplibs_check_method
17391 # Command to use when deplibs_check_method = "file_magic".
17392 file_magic_cmd=$lt_file_magic_cmd
17394 # How to find potential files when deplibs_check_method = "file_magic".
17395 file_magic_glob=$lt_file_magic_glob
17397 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17398 want_nocaseglob=$lt_want_nocaseglob
17400 # DLL creation program.
17401 DLLTOOL=$lt_DLLTOOL
17403 # Command to associate shared and link libraries.
17404 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17409 # Flags to create an archive.
17410 AR_FLAGS=$lt_AR_FLAGS
17412 # How to feed a file listing to the archiver.
17413 archiver_list_spec=$lt_archiver_list_spec
17415 # A symbol stripping program.
17418 # Commands used to install an old-style archive.
17420 old_postinstall_cmds=$lt_old_postinstall_cmds
17421 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17423 # Whether to use a lock for old archive extraction.
17424 lock_old_archive_extraction=$lock_old_archive_extraction
17429 # LTCC compiler flags.
17430 LTCFLAGS=$lt_CFLAGS
17432 # Take the output of nm and produce a listing of raw symbols and C names.
17433 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17435 # Transform the output of nm in a proper C declaration.
17436 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17438 # Transform the output of nm in a C name address pair.
17439 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17441 # Transform the output of nm in a C name address pair when lib prefix is needed.
17442 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17444 # Specify filename containing input files for \$NM.
17445 nm_file_list_spec=$lt_nm_file_list_spec
17447 # The root where to search for dependent libraries,and in which our libraries should be installed.
17448 lt_sysroot=$lt_sysroot
17450 # The name of the directory that contains temporary libtool files.
17453 # Used to examine libraries when file_magic_cmd begins with "file".
17454 MAGIC_CMD=$MAGIC_CMD
17456 # Must we lock files when doing compilation?
17457 need_locks=$lt_need_locks
17460 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17462 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17463 DSYMUTIL=$lt_DSYMUTIL
17465 # Tool to change global to local symbols on Mac OS X.
17468 # Tool to manipulate fat objects and archives on Mac OS X.
17471 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17474 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17475 OTOOL64=$lt_OTOOL64
17477 # Old archive suffix (normally "a").
17480 # Shared library suffix (normally ".so").
17481 shrext_cmds=$lt_shrext_cmds
17483 # The commands to extract the exported symbol list from a shared archive.
17484 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17486 # Variables whose values should be saved in libtool wrapper scripts and
17487 # restored at link time.
17488 variables_saved_for_relink=$lt_variables_saved_for_relink
17490 # Do we need the "lib" prefix for modules?
17491 need_lib_prefix=$need_lib_prefix
17493 # Do we need a version for libraries?
17494 need_version=$need_version
17496 # Library versioning type.
17497 version_type=$version_type
17499 # Shared library runtime path variable.
17500 runpath_var=$runpath_var
17502 # Shared library path variable.
17503 shlibpath_var=$shlibpath_var
17505 # Is shlibpath searched before the hard-coded library search path?
17506 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17508 # Format of library name prefix.
17509 libname_spec=$lt_libname_spec
17511 # List of archive names. First name is the real one, the rest are links.
17512 # The last name is the one that the linker finds with -lNAME
17513 library_names_spec=$lt_library_names_spec
17515 # The coded name of the library, if different from the real name.
17516 soname_spec=$lt_soname_spec
17518 # Permission mode override for installation of shared libraries.
17519 install_override_mode=$lt_install_override_mode
17521 # Command to use after installation of a shared archive.
17522 postinstall_cmds=$lt_postinstall_cmds
17524 # Command to use after uninstallation of a shared archive.
17525 postuninstall_cmds=$lt_postuninstall_cmds
17527 # Commands used to finish a libtool library installation in a directory.
17528 finish_cmds=$lt_finish_cmds
17530 # As "finish_cmds", except a single script fragment to be evaled but
17532 finish_eval=$lt_finish_eval
17534 # Whether we should hardcode library paths into libraries.
17535 hardcode_into_libs=$hardcode_into_libs
17537 # Compile-time system search path for libraries.
17538 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17540 # Run-time system search path for libraries.
17541 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17543 # Whether dlopen is supported.
17544 dlopen_support=$enable_dlopen
17546 # Whether dlopen of programs is supported.
17547 dlopen_self=$enable_dlopen_self
17549 # Whether dlopen of statically linked programs is supported.
17550 dlopen_self_static=$enable_dlopen_self_static
17552 # Commands to strip libraries.
17553 old_striplib=$lt_old_striplib
17554 striplib=$lt_striplib
17557 # The linker used to build libraries.
17560 # How to create reloadable object files.
17561 reload_flag=$lt_reload_flag
17562 reload_cmds=$lt_reload_cmds
17564 # Commands used to build an old-style archive.
17565 old_archive_cmds=$lt_old_archive_cmds
17567 # A language specific compiler.
17570 # Is the compiler the GNU compiler?
17573 # Compiler flag to turn off builtin functions.
17574 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17576 # Additional compiler flags for building library objects.
17577 pic_flag=$lt_lt_prog_compiler_pic
17579 # How to pass a linker flag through the compiler.
17580 wl=$lt_lt_prog_compiler_wl
17582 # Compiler flag to prevent dynamic linking.
17583 link_static_flag=$lt_lt_prog_compiler_static
17585 # Does compiler simultaneously support -c and -o options?
17586 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17588 # Whether or not to add -lc for building shared libraries.
17589 build_libtool_need_lc=$archive_cmds_need_lc
17591 # Whether or not to disallow shared libs when runtime libs are static.
17592 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17594 # Compiler flag to allow reflexive dlopens.
17595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17597 # Compiler flag to generate shared objects directly from archives.
17598 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17600 # Whether the compiler copes with passing no objects directly.
17601 compiler_needs_object=$lt_compiler_needs_object
17603 # Create an old-style archive from a shared archive.
17604 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17606 # Create a temporary old-style archive to link instead of a shared archive.
17607 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17609 # Commands used to build a shared archive.
17610 archive_cmds=$lt_archive_cmds
17611 archive_expsym_cmds=$lt_archive_expsym_cmds
17613 # Commands used to build a loadable module if different from building
17614 # a shared archive.
17615 module_cmds=$lt_module_cmds
17616 module_expsym_cmds=$lt_module_expsym_cmds
17618 # Whether we are building with GNU ld or not.
17619 with_gnu_ld=$lt_with_gnu_ld
17621 # Flag that allows shared libraries with undefined symbols to be built.
17622 allow_undefined_flag=$lt_allow_undefined_flag
17624 # Flag that enforces no undefined symbols.
17625 no_undefined_flag=$lt_no_undefined_flag
17627 # Flag to hardcode \$libdir into a binary during linking.
17628 # This must work even if \$libdir does not exist
17629 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17631 # Whether we need a single "-rpath" flag with a separated argument.
17632 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17634 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17635 # DIR into the resulting binary.
17636 hardcode_direct=$hardcode_direct
17638 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17639 # DIR into the resulting binary and the resulting library dependency is
17640 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17641 # library is relocated.
17642 hardcode_direct_absolute=$hardcode_direct_absolute
17644 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17645 # into the resulting binary.
17646 hardcode_minus_L=$hardcode_minus_L
17648 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17649 # into the resulting binary.
17650 hardcode_shlibpath_var=$hardcode_shlibpath_var
17652 # Set to "yes" if building a shared library automatically hardcodes DIR
17653 # into the library and all subsequent libraries and executables linked
17655 hardcode_automatic=$hardcode_automatic
17657 # Set to yes if linker adds runtime paths of dependent libraries
17658 # to runtime path list.
17659 inherit_rpath=$inherit_rpath
17661 # Whether libtool must link a program against all its dependency libraries.
17662 link_all_deplibs=$link_all_deplibs
17664 # Set to "yes" if exported symbols are required.
17665 always_export_symbols=$always_export_symbols
17667 # The commands to list exported symbols.
17668 export_symbols_cmds=$lt_export_symbols_cmds
17670 # Symbols that should not be listed in the preloaded symbols.
17671 exclude_expsyms=$lt_exclude_expsyms
17673 # Symbols that must always be exported.
17674 include_expsyms=$lt_include_expsyms
17676 # Commands necessary for linking programs (against libraries) with templates.
17677 prelink_cmds=$lt_prelink_cmds
17679 # Commands necessary for finishing linking programs.
17680 postlink_cmds=$lt_postlink_cmds
17682 # Specify filename containing input files.
17683 file_list_spec=$lt_file_list_spec
17685 # How to hardcode a shared library path into an executable.
17686 hardcode_action=$hardcode_action
17688 # ### END LIBTOOL CONFIG
17694 cat <<\_LT_EOF >> "$cfgfile"
17695 # AIX sometimes has problems with the GCC collect2 program. For some
17696 # reason, if we set the COLLECT_NAMES environment variable, the problems
17697 # vanish in a puff of smoke.
17698 if test "X${COLLECT_NAMES+set}" != Xset; then
17700 export COLLECT_NAMES
17707 ltmain="$ac_aux_dir/ltmain.sh"
17710 # We use sed instead of cat because bash on DJGPP gets confused if
17711 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17712 # text mode, it properly converts lines to CR/LF. This bash problem
17713 # is reportedly fixed, but why not run on old versions too?
17714 sed '$q' "$ltmain" >> "$cfgfile" \
17715 || (rm -f "$cfgfile"; exit 1)
17717 if test x"$xsi_shell" = xyes; then
17718 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17722 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17723 \ * ) func_dirname_result="${3}" ;;\
17725 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17726 && mv -f "$cfgfile.tmp" "$cfgfile" \
17727 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17728 test 0 -eq $? || _lt_function_replace_fail=:
17731 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17734 \ func_basename_result="${1##*/}"\
17735 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17736 && mv -f "$cfgfile.tmp" "$cfgfile" \
17737 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17738 test 0 -eq $? || _lt_function_replace_fail=:
17741 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17742 func_dirname_and_basename ()\
17745 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17746 \ * ) func_dirname_result="${3}" ;;\
17748 \ func_basename_result="${1##*/}"\
17749 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17750 && mv -f "$cfgfile.tmp" "$cfgfile" \
17751 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17752 test 0 -eq $? || _lt_function_replace_fail=:
17755 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17758 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17759 \ # positional parameters, so assign one to ordinary parameter first.\
17760 \ func_stripname_result=${3}\
17761 \ func_stripname_result=${func_stripname_result#"${1}"}\
17762 \ func_stripname_result=${func_stripname_result%"${2}"}\
17763 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17764 && mv -f "$cfgfile.tmp" "$cfgfile" \
17765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17766 test 0 -eq $? || _lt_function_replace_fail=:
17769 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17770 func_split_long_opt ()\
17772 \ func_split_long_opt_name=${1%%=*}\
17773 \ func_split_long_opt_arg=${1#*=}\
17774 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17775 && mv -f "$cfgfile.tmp" "$cfgfile" \
17776 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17777 test 0 -eq $? || _lt_function_replace_fail=:
17780 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17781 func_split_short_opt ()\
17783 \ func_split_short_opt_arg=${1#??}\
17784 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17785 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17786 && mv -f "$cfgfile.tmp" "$cfgfile" \
17787 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17788 test 0 -eq $? || _lt_function_replace_fail=:
17791 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17795 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17796 \ *) func_lo2o_result=${1} ;;\
17798 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17799 && mv -f "$cfgfile.tmp" "$cfgfile" \
17800 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17801 test 0 -eq $? || _lt_function_replace_fail=:
17804 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17807 func_xform_result=${1%.*}.lo\
17808 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17809 && mv -f "$cfgfile.tmp" "$cfgfile" \
17810 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17811 test 0 -eq $? || _lt_function_replace_fail=:
17814 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17817 func_arith_result=$(( $* ))\
17818 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17819 && mv -f "$cfgfile.tmp" "$cfgfile" \
17820 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17821 test 0 -eq $? || _lt_function_replace_fail=:
17824 sed -e '/^func_len ()$/,/^} # func_len /c\
17827 func_len_result=${#1}\
17828 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17829 && mv -f "$cfgfile.tmp" "$cfgfile" \
17830 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17831 test 0 -eq $? || _lt_function_replace_fail=:
17835 if test x"$lt_shell_append" = xyes; then
17836 sed -e '/^func_append ()$/,/^} # func_append /c\
17839 eval "${1}+=\\${2}"\
17840 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17841 && mv -f "$cfgfile.tmp" "$cfgfile" \
17842 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17843 test 0 -eq $? || _lt_function_replace_fail=:
17846 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17847 func_append_quoted ()\
17849 \ func_quote_for_eval "${2}"\
17850 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17851 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17852 && mv -f "$cfgfile.tmp" "$cfgfile" \
17853 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17854 test 0 -eq $? || _lt_function_replace_fail=:
17857 # Save a `func_append' function call where possible by direct use of '+='
17858 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17859 && mv -f "$cfgfile.tmp" "$cfgfile" \
17860 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17861 test 0 -eq $? || _lt_function_replace_fail=:
17863 # Save a `func_append' function call even when '+=' is not available
17864 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17865 && mv -f "$cfgfile.tmp" "$cfgfile" \
17866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17867 test 0 -eq $? || _lt_function_replace_fail=:
17870 if test x"$_lt_function_replace_fail" = x":"; then
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17872 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17876 mv -f "$cfgfile" "$ofile" ||
17877 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17888 ac_clean_files=$ac_clean_files_save
17890 test $ac_write_fail = 0 ||
17891 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17894 # configure is writing to config.log, and then calls config.status.
17895 # config.status does its own redirection, appending to config.log.
17896 # Unfortunately, on DOS this fails, as config.log is still kept open
17897 # by configure, so config.status won't be able to write to it; its
17898 # output is simply discarded. So we exec the FD to /dev/null,
17899 # effectively closing config.log, so it can be properly (re)opened and
17900 # appended to by config.status. When coming back to configure, we
17901 # need to make the FD available again.
17902 if test "$no_create" != yes; then
17904 ac_config_status_args=
17905 test "$silent" = yes &&
17906 ac_config_status_args="$ac_config_status_args --quiet"
17908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17911 # would make configure fail if this is the last instruction.
17912 $ac_cs_success || as_fn_exit 1
17914 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17916 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}