2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 0.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='0.0.3'
591 PACKAGE_STRING='gsignond 0.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
654 SET_PERMISSIONS_FALSE
664 HAVE_LIBECRYPTFS_FALSE
665 HAVE_LIBECRYPTFS_TRUE
739 INSTALL_STRIP_PROGRAM
781 program_transform_name
794 enable_option_checking
796 enable_dependency_tracking
815 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=no ;;
1207 # Obsolete; use --with-x.
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302 test "$silent" = yes && exec 6>/dev/null
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $? "pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var in $ac_precious_vars; do
1366 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_${ac_var}_value=\$${ac_var}
1368 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures gsignond 0.0.3 to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/gsignond]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442 --build=BUILD configure for building on BUILD [guessed]
1443 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive ) echo "Configuration of gsignond 0.0.3:";;
1454 --disable-option-checking ignore unrecognized --enable/--with options
1455 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1456 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1457 --enable-silent-rules less verbose build output (undo: `make V=1')
1458 --disable-silent-rules verbose build output (undo: `make V=0')
1459 --disable-dependency-tracking speeds up one-time build
1460 --enable-dependency-tracking do not reject slow dependency extractors
1461 --enable-static[=PKGS] build static libraries [default=no]
1462 --enable-shared[=PKGS] build shared libraries [default=yes]
1463 --enable-fast-install[=PKGS]
1464 optimize for fast installation [default=yes]
1465 --disable-libtool-lock avoid locking (might break parallel builds)
1466 --enable-distcheck build for distcheck target
1467 --enable-dbus-type=dbus-type specify daemon dbus type:
1468 p2p(default): uses peer to peer dbus
1469 session: uses session message bus
1470 system: uses system message bus
1471 --enable-keychain=sysctx
1472 enable keychain access with
1473 system context "sysctx"
1474 --enable-debug enable debug features
1475 --enable-sql-log enable sql log feature
1476 --enable-acltriggers enable ACL before delete triggers
1477 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1478 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1479 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1486 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1487 --with-sysroot=DIR Search for dependent libraries within DIR
1488 (or the compiler's sysroot if not specified).
1489 --with-html-dir=PATH path to installed docs
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1500 PKG_CONFIG path to pkg-config utility
1502 directories to add to pkg-config's search path
1504 path overriding pkg-config's built-in search path
1506 C compiler flags for GSIGNOND, overriding pkg-config
1508 linker flags for GSIGNOND, overriding pkg-config
1510 C compiler flags for CHECK, overriding pkg-config
1511 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1513 C compiler flags for LIBSMACK, overriding pkg-config
1515 linker flags for LIBSMACK, overriding pkg-config
1517 C compiler flags for LIBECRYPTFS, overriding pkg-config
1519 linker flags for LIBECRYPTFS, overriding pkg-config
1521 C compiler flags for GTestDBus, overriding pkg-config
1523 linker flags for GTestDBus, overriding pkg-config
1525 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1527 linker flags for GTKDOC_DEPS, overriding pkg-config
1529 Use these variables to override the choices made by `configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to the package provider.
1533 gsignond home page: <http://01.org/gsso>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 test -d "$ac_dir" ||
1542 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550 # A ".." for each directory in $ac_dir_suffix.
1551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552 case $ac_top_builddir_sub in
1553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1563 .) # We are building in place.
1565 ac_top_srcdir=$ac_top_builddir_sub
1566 ac_abs_top_srcdir=$ac_pwd ;;
1567 [\\/]* | ?:[\\/]* ) # Absolute name.
1568 ac_srcdir=$srcdir$ac_dir_suffix;
1569 ac_top_srcdir=$srcdir
1570 ac_abs_top_srcdir=$srcdir ;;
1572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 ac_top_srcdir=$ac_top_build_prefix$srcdir
1574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578 cd "$ac_dir" || { ac_status=$?; continue; }
1579 # Check for guested configure.
1580 if test -f "$ac_srcdir/configure.gnu"; then
1582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 elif test -f "$ac_srcdir/configure"; then
1585 $SHELL "$ac_srcdir/configure" --help=recursive
1587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589 cd "$ac_pwd" || { ac_status=$?; break; }
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1596 gsignond configure 0.0.3
1597 generated by GNU Autoconf 2.69
1599 Copyright (C) 2012 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1606 ## ------------------------ ##
1607 ## Autoconf initialization. ##
1608 ## ------------------------ ##
1610 # ac_fn_c_try_compile LINENO
1611 # --------------------------
1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 rm -f conftest.$ac_objext
1617 if { { ac_try="$ac_compile"
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_compile") 2>conftest.err
1626 if test -s conftest.err; then
1627 grep -v '^ *+' conftest.err >conftest.er1
1628 cat conftest.er1 >&5
1629 mv -f conftest.er1 conftest.err
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && {
1633 test -z "$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1635 } && test -s conftest.$ac_objext; then :
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1646 } # ac_fn_c_try_compile
1648 # ac_fn_c_try_link LINENO
1649 # -----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded.
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext conftest$ac_exeext
1655 if { { ac_try="$ac_link"
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_link") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest$ac_exeext && {
1674 test "$cross_compiling" = yes ||
1675 test -x conftest$ac_exeext
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1685 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1686 # interfere with the next link command; also delete a directory that is
1687 # left behind by Apple's compiler. We do this before executing the actions.
1688 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 as_fn_set_status $ac_retval
1692 } # ac_fn_c_try_link
1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1695 # -------------------------------------------------------
1696 # Tests whether HEADER exists and can be compiled using the include files in
1697 # INCLUDES, setting the cache variable VAR accordingly.
1698 ac_fn_c_check_header_compile ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1711 if ac_fn_c_try_compile "$LINENO"; then :
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723 } # ac_fn_c_check_header_compile
1725 # ac_fn_c_try_cpp LINENO
1726 # ----------------------
1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_cpp conftest.$ac_ext"
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } > conftest.i && {
1747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1762 # ac_fn_c_try_run LINENO
1763 # ----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1765 # that executables *can* be run.
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1780 { { case "(($ac_try" in
1781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782 *) ac_try_echo=$ac_try;;
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_try") 2>&5
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; }; }; then :
1792 $as_echo "$as_me: program exited with status $ac_status" >&5
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1796 ac_retval=$ac_status
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status $ac_retval
1804 # ac_fn_c_check_func LINENO FUNC VAR
1805 # ----------------------------------
1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1807 ac_fn_c_check_func ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1819 #define $2 innocuous_$2
1821 /* System header to define __stub macros and hopefully few prototypes,
1822 which can conflict with char $2 (); below.
1823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824 <limits.h> exists even on freestanding compilers. */
1827 # include <limits.h>
1829 # include <assert.h>
1834 /* Override any GCC internal prototype to avoid an error.
1835 Use char because int might match the return type of a GCC
1836 builtin and then its argument prototype would still apply. */
1841 /* The GNU C library defines this for functions which it implements
1842 to always fail with ENOSYS. Some functions are actually named
1843 something starting with __ and the normal name is an alias. */
1844 #if defined __stub_$2 || defined __stub___$2
1856 if ac_fn_c_try_link "$LINENO"; then :
1861 rm -f core conftest.err conftest.$ac_objext \
1862 conftest$ac_exeext conftest.$ac_ext
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 } # ac_fn_c_check_func
1871 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1874 # the include files in INCLUDES and setting the cache variable VAR
1876 ac_fn_c_check_header_mongrel ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if eval \${$3+:} false; then :
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1889 # Is the header compilable?
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1891 $as_echo_n "checking $2 usability... " >&6; }
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 ac_header_compiler=yes
1900 ac_header_compiler=no
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1904 $as_echo "$ac_header_compiler" >&6; }
1906 # Is the header present?
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1908 $as_echo_n "checking $2 presence... " >&6; }
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1913 if ac_fn_c_try_cpp "$LINENO"; then :
1914 ac_header_preproc=yes
1916 ac_header_preproc=no
1918 rm -f conftest.err conftest.i conftest.$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1920 $as_echo "$ac_header_preproc" >&6; }
1922 # So? What about this header?
1923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1926 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1932 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1934 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1936 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1938 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if eval \${$3+:} false; then :
1946 $as_echo_n "(cached) " >&6
1948 eval "$3=\$ac_header_compiler"
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 } # ac_fn_c_check_header_mongrel
1957 cat >config.log <<_ACEOF
1958 This file contains any messages produced by compilers while
1959 running configure, to aid debugging if configure makes a mistake.
1961 It was created by gsignond $as_me 0.0.3, which was
1962 generated by GNU Autoconf 2.69. Invocation command line was
1974 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1975 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1976 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1977 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1978 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1980 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1981 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1983 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1984 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1985 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1986 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1987 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1988 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1989 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 $as_echo "PATH: $as_dir"
2014 # Keep a trace of the command line.
2015 # Strip out --no-create and --no-recursion so they do not pile up.
2016 # Strip out --silent because we don't want to record it for future runs.
2017 # Also quote any args containing shell meta-characters.
2018 # Make two passes to allow for proper duplicate-argument suppression.
2022 ac_must_keep_next=false
2028 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030 | -silent | --silent | --silen | --sile | --sil)
2033 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2036 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2038 as_fn_append ac_configure_args1 " '$ac_arg'"
2039 if test $ac_must_keep_next = true; then
2040 ac_must_keep_next=false # Got value, back to normal.
2043 *=* | --config-cache | -C | -disable-* | --disable-* \
2044 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2045 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2046 | -with-* | --with-* | -without-* | --without-* | --x)
2047 case "$ac_configure_args0 " in
2048 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2051 -* ) ac_must_keep_next=true ;;
2054 as_fn_append ac_configure_args " '$ac_arg'"
2059 { ac_configure_args0=; unset ac_configure_args0;}
2060 { ac_configure_args1=; unset ac_configure_args1;}
2062 # When interrupted or exit'd, cleanup temporary files, and complete
2063 # config.log. We remove comments because anyway the quotes in there
2064 # would cause problems or look ugly.
2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067 trap 'exit_status=$?
2068 # Save into config.log some information that might help in debugging.
2072 $as_echo "## ---------------- ##
2073 ## Cache variables. ##
2074 ## ---------------- ##"
2076 # The following way of writing the cache mishandles newlines in values,
2078 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2079 eval ac_val=\$$ac_var
2083 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2084 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2087 _ | IFS | as_nl) ;; #(
2088 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2089 *) { eval $ac_var=; unset $ac_var;} ;;
2094 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2095 *${as_nl}ac_space=\ *)
2097 "s/'\''/'\''\\\\'\'''\''/g;
2098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2101 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2108 $as_echo "## ----------------- ##
2109 ## Output variables. ##
2110 ## ----------------- ##"
2112 for ac_var in $ac_subst_vars
2114 eval ac_val=\$$ac_var
2116 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2118 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -n "$ac_subst_files"; then
2123 $as_echo "## ------------------- ##
2124 ## File substitutions. ##
2125 ## ------------------- ##"
2127 for ac_var in $ac_subst_files
2129 eval ac_val=\$$ac_var
2131 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2133 $as_echo "$ac_var='\''$ac_val'\''"
2138 if test -s confdefs.h; then
2139 $as_echo "## ----------- ##
2146 test "$ac_signal" != 0 &&
2147 $as_echo "$as_me: caught signal $ac_signal"
2148 $as_echo "$as_me: exit $exit_status"
2150 rm -f core *.core core.conftest.* &&
2151 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2154 for ac_signal in 1 2 13 15; do
2155 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2160 rm -f -r conftest* confdefs.h
2162 $as_echo "/* confdefs.h */" > confdefs.h
2164 # Predefined preprocessor variables.
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_NAME "$PACKAGE_NAME"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_STRING "$PACKAGE_STRING"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_URL "$PACKAGE_URL"
2191 # Let the site file select an alternate cache file if it wants to.
2192 # Prefer an explicitly selected file to automatically selected ones.
2195 if test -n "$CONFIG_SITE"; then
2196 # We do not want a PATH search for config.site.
2197 case $CONFIG_SITE in #((
2198 -*) ac_site_file1=./$CONFIG_SITE;;
2199 */*) ac_site_file1=$CONFIG_SITE;;
2200 *) ac_site_file1=./$CONFIG_SITE;;
2202 elif test "x$prefix" != xNONE; then
2203 ac_site_file1=$prefix/share/config.site
2204 ac_site_file2=$prefix/etc/config.site
2206 ac_site_file1=$ac_default_prefix/share/config.site
2207 ac_site_file2=$ac_default_prefix/etc/config.site
2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2211 test "x$ac_site_file" = xNONE && continue
2212 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215 sed 's/^/| /' "$ac_site_file" >&5
2217 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $? "failed to load site script $ac_site_file
2220 See \`config.log' for more details" "$LINENO" 5; }
2224 if test -r "$cache_file"; then
2225 # Some versions of bash will fail to source /dev/null (special files
2226 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2227 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2229 $as_echo "$as_me: loading cache $cache_file" >&6;}
2231 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2232 *) . "./$cache_file";;
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2237 $as_echo "$as_me: creating cache $cache_file" >&6;}
2241 # Check that the precious variables saved in the cache have kept the same
2243 ac_cache_corrupted=false
2244 for ac_var in $ac_precious_vars; do
2245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2246 eval ac_new_set=\$ac_env_${ac_var}_set
2247 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2248 eval ac_new_val=\$ac_env_${ac_var}_value
2249 case $ac_old_set,$ac_new_set in
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2253 ac_cache_corrupted=: ;;
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2256 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2257 ac_cache_corrupted=: ;;
2260 if test "x$ac_old_val" != "x$ac_new_val"; then
2261 # differences in whitespace do not lead to failure.
2262 ac_old_val_w=`echo x $ac_old_val`
2263 ac_new_val_w=`echo x $ac_new_val`
2264 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2266 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2267 ac_cache_corrupted=:
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2270 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2271 eval $ac_var=\$ac_old_val
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2274 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2276 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2279 # Pass precious variables to config.status.
2280 if test "$ac_new_set" = set; then
2282 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2283 *) ac_arg=$ac_var=$ac_new_val ;;
2285 case " $ac_configure_args " in
2286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2287 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2291 if $ac_cache_corrupted; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2295 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2296 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2298 ## -------------------- ##
2299 ## Main body of script. ##
2300 ## -------------------- ##
2303 ac_cpp='$CPP $CPPFLAGS'
2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2310 ac_config_headers="$ac_config_headers config.h"
2313 for ac_dir in build-aux "$srcdir"/build-aux; do
2314 if test -f "$ac_dir/install-sh"; then
2316 ac_install_sh="$ac_aux_dir/install-sh -c"
2318 elif test -f "$ac_dir/install.sh"; then
2320 ac_install_sh="$ac_aux_dir/install.sh -c"
2322 elif test -f "$ac_dir/shtool"; then
2324 ac_install_sh="$ac_aux_dir/shtool install -c"
2328 if test -z "$ac_aux_dir"; then
2329 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2337 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2338 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 am__api_version='1.11'
2345 # Find a good install program. We prefer a C program (faster),
2346 # so one script is as good as another. But avoid the broken or
2347 # incompatible versions:
2348 # SysV /etc/install, /usr/sbin/install
2349 # SunOS /usr/etc/install
2350 # IRIX /sbin/install
2352 # AmigaOS /C/install, which installs bootblocks on floppy discs
2353 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2354 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2355 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2356 # OS/2's system install, which has a completely different semantic
2357 # ./install, which can be erroneously created by make from ./install.sh.
2358 # Reject install programs that cannot install multiple files.
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2360 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2361 if test -z "$INSTALL"; then
2362 if ${ac_cv_path_install+:} false; then :
2363 $as_echo_n "(cached) " >&6
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 # Account for people who put trailing slashes in PATH elements.
2371 case $as_dir/ in #((
2372 ./ | .// | /[cC]/* | \
2373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2374 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2377 # OSF1 and SCO ODT 3.0 have their own names for install.
2378 # Don't use installbsd from OSF since it installs stuff as root
2380 for ac_prog in ginstall scoinst install; do
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2383 if test $ac_prog = install &&
2384 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385 # AIX install. It has an incompatible calling convention.
2387 elif test $ac_prog = install &&
2388 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389 # program-specific install script used by HP pwplus--don't use.
2392 rm -rf conftest.one conftest.two conftest.dir
2393 echo one > conftest.one
2394 echo two > conftest.two
2396 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2397 test -s conftest.one && test -s conftest.two &&
2398 test -s conftest.dir/conftest.one &&
2399 test -s conftest.dir/conftest.two
2401 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2414 rm -rf conftest.one conftest.two conftest.dir
2417 if test "${ac_cv_path_install+set}" = set; then
2418 INSTALL=$ac_cv_path_install
2420 # As a last resort, use the slow shell script. Don't cache a
2421 # value for INSTALL within a source directory, because that will
2422 # break other packages using the cache if that directory is
2423 # removed, or if the value is a relative name.
2424 INSTALL=$ac_install_sh
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2428 $as_echo "$INSTALL" >&6; }
2430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431 # It thinks the first close brace ends the variable substitution.
2432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2439 $as_echo_n "checking whether build environment is sane... " >&6; }
2442 echo timestamp > conftest.file
2443 # Reject unsafe characters in $srcdir or the absolute working directory
2444 # name. Accept space and tab only in the latter.
2448 *[\\\"\#\$\&\'\`$am_lf]*)
2449 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2452 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2453 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2456 # Do `set' in a subshell so we don't clobber the current shell's
2457 # arguments. Must try -L first in case configure is actually a
2458 # symlink; some systems play weird games with the mod time of symlinks
2459 # (eg FreeBSD returns the mod time of the symlink's containing
2462 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2463 if test "$*" = "X"; then
2465 set X `ls -t "$srcdir/configure" conftest.file`
2468 if test "$*" != "X $srcdir/configure conftest.file" \
2469 && test "$*" != "X conftest.file $srcdir/configure"; then
2471 # If neither matched, then we have a broken ls. This can happen
2472 # if, for instance, CONFIG_SHELL is bash and it inherits a
2473 # broken ls alias from the environment. This has actually
2474 # happened. Such a system could not be considered "sane".
2475 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2476 alias in your environment" "$LINENO" 5
2479 test "$2" = conftest.file
2485 as_fn_error $? "newly created file is older than distributed files!
2486 Check your system clock" "$LINENO" 5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2489 $as_echo "yes" >&6; }
2490 test "$program_prefix" != NONE &&
2491 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2492 # Use a double $ so make ignores it.
2493 test "$program_suffix" != NONE &&
2494 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2495 # Double any \ or $.
2496 # By default was `s,x,x', remove it if useless.
2497 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2498 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2500 # expand $ac_aux_dir to an absolute path
2501 am_aux_dir=`cd $ac_aux_dir && pwd`
2503 if test x"${MISSING+set}" != xset; then
2506 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2508 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2511 # Use eval to expand $SHELL
2512 if eval "$MISSING --run true"; then
2513 am_missing_run="$MISSING --run "
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2517 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2520 if test x"${install_sh}" != xset; then
2523 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2525 install_sh="\${SHELL} $am_aux_dir/install-sh"
2529 # Installed binaries are usually stripped using `strip' when the user
2530 # run `make install-strip'. However `strip' might not be the right
2531 # tool to use in cross-compilation environments, therefore Automake
2532 # will honor the `STRIP' environment variable to overrule this program.
2533 if test "$cross_compiling" != no; then
2534 if test -n "$ac_tool_prefix"; then
2535 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2536 set dummy ${ac_tool_prefix}strip; ac_word=$2
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538 $as_echo_n "checking for $ac_word... " >&6; }
2539 if ${ac_cv_prog_STRIP+:} false; then :
2540 $as_echo_n "(cached) " >&6
2542 if test -n "$STRIP"; then
2543 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2552 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 STRIP=$ac_cv_prog_STRIP
2563 if test -n "$STRIP"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2565 $as_echo "$STRIP" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568 $as_echo "no" >&6; }
2573 if test -z "$ac_cv_prog_STRIP"; then
2575 # Extract the first word of "strip", so it can be a program name with args.
2576 set dummy strip; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$ac_ct_STRIP"; then
2583 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_ac_ct_STRIP="strip"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2603 if test -n "$ac_ct_STRIP"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2605 $as_echo "$ac_ct_STRIP" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2611 if test "x$ac_ct_STRIP" = x; then
2614 case $cross_compiling:$ac_tool_warned in
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2618 ac_tool_warned=yes ;;
2623 STRIP="$ac_cv_prog_STRIP"
2627 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2630 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2631 if test -z "$MKDIR_P"; then
2632 if ${ac_cv_path_mkdir+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2639 test -z "$as_dir" && as_dir=.
2640 for ac_prog in mkdir gmkdir; do
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2643 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2644 'mkdir (GNU coreutils) '* | \
2645 'mkdir (coreutils) '* | \
2646 'mkdir (fileutils) '4.1*)
2647 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2657 test -d ./--version && rmdir ./--version
2658 if test "${ac_cv_path_mkdir+set}" = set; then
2659 MKDIR_P="$ac_cv_path_mkdir -p"
2661 # As a last resort, use the slow shell script. Don't cache a
2662 # value for MKDIR_P within a source directory, because that will
2663 # break other packages using the cache if that directory is
2664 # removed, or if the value is a relative name.
2665 MKDIR_P="$ac_install_sh -d"
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2669 $as_echo "$MKDIR_P" >&6; }
2673 [\\/$]* | ?:[\\/]*) ;;
2674 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2677 for ac_prog in gawk mawk nawk awk
2679 # Extract the first word of "$ac_prog", so it can be a program name with args.
2680 set dummy $ac_prog; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_AWK+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$AWK"; then
2687 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_AWK="$ac_prog"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 if test -n "$AWK"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2709 $as_echo "$AWK" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2716 test -n "$AWK" && break
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2720 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2722 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2723 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 cat >conftest.make <<\_ACEOF
2729 @echo '@@@%%%=$(MAKE)=@@@%%%'
2731 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2732 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2734 eval ac_cv_prog_make_${ac_make}_set=yes;;
2736 eval ac_cv_prog_make_${ac_make}_set=no;;
2740 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2742 $as_echo "yes" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2747 SET_MAKE="MAKE=${MAKE-make}"
2750 rm -rf .tst 2>/dev/null
2751 mkdir .tst 2>/dev/null
2752 if test -d .tst; then
2757 rmdir .tst 2>/dev/null
2759 # Check whether --enable-silent-rules was given.
2760 if test "${enable_silent_rules+set}" = set; then :
2761 enableval=$enable_silent_rules;
2764 case $enable_silent_rules in
2765 yes) AM_DEFAULT_VERBOSITY=0;;
2766 no) AM_DEFAULT_VERBOSITY=1;;
2767 *) AM_DEFAULT_VERBOSITY=1;;
2769 am_make=${MAKE-make}
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2771 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2772 if ${am_cv_make_support_nested_variables+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if $as_echo 'TRUE=$(BAR$(V))
2781 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2782 am_cv_make_support_nested_variables=yes
2784 am_cv_make_support_nested_variables=no
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2788 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2789 if test $am_cv_make_support_nested_variables = yes; then
2791 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2793 AM_V=$AM_DEFAULT_VERBOSITY
2794 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2798 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2799 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2800 # is not polluted with repeated "-I."
2801 am__isrc=' -I$(srcdir)'
2802 # test to see if srcdir already configured
2803 if test -f $srcdir/config.status; then
2804 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2808 # test whether we have cygpath
2809 if test -z "$CYGPATH_W"; then
2810 if (cygpath --version) >/dev/null 2>/dev/null; then
2811 CYGPATH_W='cygpath -w'
2818 # Define the identity of the package.
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE "$PACKAGE"
2828 cat >>confdefs.h <<_ACEOF
2829 #define VERSION "$VERSION"
2832 # Some tools Automake needs.
2834 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2837 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2840 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2843 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2846 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2848 # We need awk for the "check" target. The system "awk" is bad on
2850 # Always define AMTAR for backward compatibility. Yes, it's still used
2851 # in the wild :-( We should find a proper way to deprecate it ...
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2856 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2857 # Loop over all known methods to create a tar archive until one works.
2858 _am_tools='gnutar pax cpio none'
2859 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2860 # Do not fold the above two line into one, because Tru64 sh and
2861 # Solaris sh will not grok spaces in the rhs of `-'.
2862 for _am_tool in $_am_tools
2866 for _am_tar in tar gnutar gtar;
2868 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2869 ($_am_tar --version) >&5 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } && break
2874 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2875 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2876 am__untar="$_am_tar -xf -"
2879 # Must skip GNU tar: if it does not support --format= it doesn't create
2880 # ustar tarball either.
2881 (tar --version) >/dev/null 2>&1 && continue
2882 am__tar='tar chf - "$$tardir"'
2883 am__tar_='tar chf - "$tardir"'
2884 am__untar='tar xf -'
2887 am__tar='pax -L -x pax -w "$$tardir"'
2888 am__tar_='pax -L -x pax -w "$tardir"'
2892 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2893 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2894 am__untar='cpio -i -H pax -d'
2903 # If the value was cached, stop now. We just wanted to have am__tar
2904 # and am__untar set.
2905 test -n "${am_cv_prog_tar_pax}" && break
2907 # tar/untar a dummy directory, and stop if the command works
2910 echo GrepMe > conftest.dir/file
2911 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2912 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2917 if test -s conftest.tar; then
2918 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2919 ($am__untar <conftest.tar) >&5 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }
2923 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2928 if ${am_cv_prog_tar_pax+:} false; then :
2929 $as_echo_n "(cached) " >&6
2931 am_cv_prog_tar_pax=$_am_tool
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2935 $as_echo "$am_cv_prog_tar_pax" >&6; }
2942 # Checks for programs.
2944 ac_cpp='$CPP $CPPFLAGS'
2945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2948 if test -n "$ac_tool_prefix"; then
2949 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2950 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$CC"; then
2957 ac_cv_prog_CC="$CC" # Let the user override the test.
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2987 if test -z "$ac_cv_prog_CC"; then
2989 # Extract the first word of "gcc", so it can be a program name with args.
2990 set dummy gcc; ac_word=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2994 $as_echo_n "(cached) " >&6
2996 if test -n "$ac_ct_CC"; then
2997 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 ac_cv_prog_ac_ct_CC="gcc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3017 if test -n "$ac_ct_CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3019 $as_echo "$ac_ct_CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3025 if test "x$ac_ct_CC" = x; then
3028 case $cross_compiling:$ac_tool_warned in
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3032 ac_tool_warned=yes ;;
3040 if test -z "$CC"; then
3041 if test -n "$ac_tool_prefix"; then
3042 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3043 set dummy ${ac_tool_prefix}cc; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_prog_CC+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$CC"; then
3050 ac_cv_prog_CC="$CC" # Let the user override the test.
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir=.
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 ac_cv_prog_CC="${ac_tool_prefix}cc"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 if test -n "$CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 # Extract the first word of "cc", so it can be a program name with args.
3083 set dummy cc; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_CC+:} false; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$CC"; then
3090 ac_cv_prog_CC="$CC" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3101 ac_prog_rejected=yes
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test $ac_prog_rejected = yes; then
3113 # We found a bogon in the path, so make sure we never use it.
3114 set dummy $ac_cv_prog_CC
3116 if test $# != 0; then
3117 # We chose a different compiler from the bogus one.
3118 # However, it has the same basename, so the bogon will be chosen
3119 # first if we set CC to just the basename; use the full file name.
3121 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3127 if test -n "$CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3129 $as_echo "$CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3137 if test -z "$CC"; then
3138 if test -n "$ac_tool_prefix"; then
3139 for ac_prog in cl.exe
3141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if ${ac_cv_prog_CC+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 if test -n "$CC"; then
3149 ac_cv_prog_CC="$CC" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3178 test -n "$CC" && break
3181 if test -z "$CC"; then
3183 for ac_prog in cl.exe
3185 # Extract the first word of "$ac_prog", so it can be a program name with args.
3186 set dummy $ac_prog; ac_word=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$ac_ct_CC"; then
3193 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 test -z "$as_dir" && as_dir=.
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3202 ac_cv_prog_ac_ct_CC="$ac_prog"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3213 if test -n "$ac_ct_CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3215 $as_echo "$ac_ct_CC" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3222 test -n "$ac_ct_CC" && break
3225 if test "x$ac_ct_CC" = x; then
3228 case $cross_compiling:$ac_tool_warned in
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3232 ac_tool_warned=yes ;;
3241 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $? "no acceptable C compiler found in \$PATH
3244 See \`config.log' for more details" "$LINENO" 5; }
3246 # Provide some information about the compiler.
3247 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3250 for ac_option in --version -v -V -qversion; do
3251 { { ac_try="$ac_compiler $ac_option >&5"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3260 if test -s conftest.err; then
3262 ... rest of stderr output deleted ...
3263 10q' conftest.err >conftest.er1
3264 cat conftest.er1 >&5
3266 rm -f conftest.er1 conftest.err
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3282 ac_clean_files_save=$ac_clean_files
3283 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3284 # Try to create an executable without -o first, disregard a.out.
3285 # It will help us diagnose broken compilers, and finding out an intuition
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3288 $as_echo_n "checking whether the C compiler works... " >&6; }
3289 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3291 # The possible output files:
3292 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3295 for ac_file in $ac_files
3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3299 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3304 if { { ac_try="$ac_link_default"
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_link_default") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }; then :
3315 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3316 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3317 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3318 # so that the user can short-circuit this test for compilers unknown to
3320 for ac_file in $ac_files ''
3322 test -f "$ac_file" || continue
3324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3327 # We found the default executable, but exeext='' is most
3331 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3333 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335 # We set ac_cv_exeext here because the later test for it is not
3336 # safe: cross compilers may not add the suffix if given an `-o'
3337 # argument, so we may need to know it at that point already.
3338 # Even if this section looks crufty: it has the advantage of
3345 test "$ac_cv_exeext" = no && ac_cv_exeext=
3350 if test -z "$ac_file"; then :
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3353 $as_echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error 77 "C compiler cannot create executables
3359 See \`config.log' for more details" "$LINENO" 5; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3362 $as_echo "yes" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3365 $as_echo_n "checking for C compiler default output file name... " >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3367 $as_echo "$ac_file" >&6; }
3368 ac_exeext=$ac_cv_exeext
3370 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3371 ac_clean_files=$ac_clean_files_save
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3373 $as_echo_n "checking for suffix of executables... " >&6; }
3374 if { { ac_try="$ac_link"
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }; then :
3385 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3386 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3387 # work properly (i.e., refer to `conftest.exe'), while it won't with
3389 for ac_file in conftest.exe conftest conftest.*; do
3390 test -f "$ac_file" || continue
3392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3393 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3402 See \`config.log' for more details" "$LINENO" 5; }
3404 rm -f conftest conftest$ac_cv_exeext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3406 $as_echo "$ac_cv_exeext" >&6; }
3408 rm -f conftest.$ac_ext
3409 EXEEXT=$ac_cv_exeext
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3417 FILE *f = fopen ("conftest.out", "w");
3418 return ferror (f) || fclose (f) != 0;
3424 ac_clean_files="$ac_clean_files conftest.out"
3425 # Check that the compiler produces executables we can run. If not, either
3426 # the compiler is broken, or we cross compile.
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3428 $as_echo_n "checking whether we are cross compiling... " >&6; }
3429 if test "$cross_compiling" != yes; then
3430 { { ac_try="$ac_link"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437 (eval "$ac_link") 2>&5
3439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440 test $ac_status = 0; }
3441 if { ac_try='./conftest$ac_cv_exeext'
3442 { { case "(($ac_try" in
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_try") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; }; then
3454 if test "$cross_compiling" = maybe; then
3457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "cannot run C compiled programs.
3460 If you meant to cross compile, use \`--host'.
3461 See \`config.log' for more details" "$LINENO" 5; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3466 $as_echo "$cross_compiling" >&6; }
3468 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3469 ac_clean_files=$ac_clean_files_save
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3471 $as_echo_n "checking for suffix of object files... " >&6; }
3472 if ${ac_cv_objext+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3486 rm -f conftest.o conftest.obj
3487 if { { ac_try="$ac_compile"
3489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494 (eval "$ac_compile") 2>&5
3496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497 test $ac_status = 0; }; then :
3498 for ac_file in conftest.o conftest.obj conftest.*; do
3499 test -f "$ac_file" || continue;
3501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3502 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3507 $as_echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512 as_fn_error $? "cannot compute suffix of object files: cannot compile
3513 See \`config.log' for more details" "$LINENO" 5; }
3515 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3518 $as_echo "$ac_cv_objext" >&6; }
3519 OBJEXT=$ac_cv_objext
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3522 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3523 if ${ac_cv_c_compiler_gnu+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3540 if ac_fn_c_try_compile "$LINENO"; then :
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3550 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3551 if test $ac_compiler_gnu = yes; then
3556 ac_test_CFLAGS=${CFLAGS+set}
3557 ac_save_CFLAGS=$CFLAGS
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3559 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3560 if ${ac_cv_prog_cc_g+:} false; then :
3561 $as_echo_n "(cached) " >&6
3563 ac_save_c_werror_flag=$ac_c_werror_flag
3564 ac_c_werror_flag=yes
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3578 if ac_fn_c_try_compile "$LINENO"; then :
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3593 if ac_fn_c_try_compile "$LINENO"; then :
3596 ac_c_werror_flag=$ac_save_c_werror_flag
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 if ac_fn_c_try_compile "$LINENO"; then :
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 ac_c_werror_flag=$ac_save_c_werror_flag
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3620 $as_echo "$ac_cv_prog_cc_g" >&6; }
3621 if test "$ac_test_CFLAGS" = set; then
3622 CFLAGS=$ac_save_CFLAGS
3623 elif test $ac_cv_prog_cc_g = yes; then
3624 if test "$GCC" = yes; then
3630 if test "$GCC" = yes; then
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3637 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3638 if ${ac_cv_prog_cc_c89+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_cv_prog_cc_c89=no
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3649 struct buf { int x; };
3650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3651 static char *e (p, i)
3657 static char *f (char * (*g) (char **, int), char **p, ...)
3662 s = g (p, va_arg (v,int));
3667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3668 function prototypes and stuff, but not '\xHH' hex character constants.
3669 These don't provoke an error unfortunately, instead are silently treated
3670 as 'x'. The following induces an error, until -std is added to get
3671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3672 array size at least. It's necessary to write '\x00'==0 to get something
3673 that's true only with -std. */
3674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3677 inside strings and character constants. */
3679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3681 int test (int i, double x);
3682 struct s1 {int (*f) (int a);};
3683 struct s2 {int (*f) (double a);};
3684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3698 CC="$ac_save_CC $ac_arg"
3699 if ac_fn_c_try_compile "$LINENO"; then :
3700 ac_cv_prog_cc_c89=$ac_arg
3702 rm -f core conftest.err conftest.$ac_objext
3703 test "x$ac_cv_prog_cc_c89" != "xno" && break
3705 rm -f conftest.$ac_ext
3710 case "x$ac_cv_prog_cc_c89" in
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3713 $as_echo "none needed" >&6; } ;;
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3716 $as_echo "unsupported" >&6; } ;;
3718 CC="$CC $ac_cv_prog_cc_c89"
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3720 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3722 if test "x$ac_cv_prog_cc_c89" != xno; then :
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3731 DEPDIR="${am__leading_dot}deps"
3733 ac_config_commands="$ac_config_commands depfiles"
3736 am_make=${MAKE-make}
3737 cat > confinc << 'END'
3739 @echo this is the am__doit target
3742 # If we don't find an include directive, just comment out the code.
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3744 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3748 # First try GNU make style include.
3749 echo "include confinc" > confmf
3750 # Ignore all kinds of additional output from `make'.
3751 case `$am_make -s -f confmf 2> /dev/null` in #(
3752 *the\ am__doit\ target*)
3758 # Now try BSD make style include.
3759 if test "$am__include" = "#"; then
3760 echo '.include "confinc"' > confmf
3761 case `$am_make -s -f confmf 2> /dev/null` in #(
3762 *the\ am__doit\ target*)
3763 am__include=.include
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3772 $as_echo "$_am_result" >&6; }
3773 rm -f confinc confmf
3775 # Check whether --enable-dependency-tracking was given.
3776 if test "${enable_dependency_tracking+set}" = set; then :
3777 enableval=$enable_dependency_tracking;
3780 if test "x$enable_dependency_tracking" != xno; then
3781 am_depcomp="$ac_aux_dir/depcomp"
3785 if test "x$enable_dependency_tracking" != xno; then
3795 depcc="$CC" am_compiler_list=
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
3799 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3803 # We make a subdir and do the tests there. Otherwise we can end up
3804 # making bogus files that we don't know about and never remove. For
3805 # instance it was reported that on HP-UX the gcc test will end up
3806 # making a dummy file named `D' -- because `-MD' means `put the output
3810 # Copy depcomp to subdir because otherwise we won't find it if we're
3811 # using a relative directory.
3812 cp "$am_depcomp" conftest.dir
3814 # We will build objects and dependencies in a subdirectory because
3815 # it helps to detect inapplicable dependency modes. For instance
3816 # both Tru64's cc and ICC support -MD to output dependencies as a
3817 # side effect of compilation, but ICC will put the dependencies in
3818 # the current directory while Tru64 will put them in the object
3822 am_cv_CC_dependencies_compiler_type=none
3823 if test "$am_compiler_list" = ""; then
3824 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3827 case " $depcc " in #(
3828 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3831 for depmode in $am_compiler_list; do
3832 # Setup a source with many dependencies, because some compilers
3833 # like to wrap large dependency lists on column 80 (with \), and
3834 # we should not choose a depcomp mode which is confused by this.
3836 # We need to recreate these files for each test, as the compiler may
3837 # overwrite some of them when testing with obscure command lines.
3838 # This happens at least with the AIX C compiler.
3840 for i in 1 2 3 4 5 6; do
3841 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843 # Solaris 8's {/usr,}/bin/sh.
3844 touch sub/conftst$i.h
3846 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3849 # mode. It turns out that the SunPro C++ compiler does not properly
3850 # handle `-M -o', and we need to detect this. Also, some Intel
3851 # versions had trouble with output in subdirs
3852 am__obj=sub/conftest.${OBJEXT-o}
3853 am__minus_obj="-o $am__obj"
3856 # This depmode causes a compiler race in universal mode.
3857 test "$am__universal" = false || continue
3860 # after this tag, mechanisms are not by side-effect, so they'll
3861 # only be used when explicitly requested
3862 if test "x$enable_dependency_tracking" = xyes; then
3868 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3869 # This compiler won't grok `-c -o', but also, the minuso test has
3870 # not run yet. These depmodes are late enough in the game, and
3871 # so weak that their functioning should not be impacted.
3872 am__obj=conftest.${OBJEXT-o}
3877 if depmode=$depmode \
3878 source=sub/conftest.c object=$am__obj \
3879 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3881 >/dev/null 2>conftest.err &&
3882 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3883 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3884 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3885 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3886 # icc doesn't choke on unknown options, it will just issue warnings
3887 # or remarks (even with -Werror). So we grep stderr for any message
3888 # that says an option was ignored or not supported.
3889 # When given -MP, icc 7.0 and 7.1 complain thusly:
3890 # icc: Command line warning: ignoring option '-M'; no argument required
3891 # The diagnosis changed in icc 8.0:
3892 # icc: Command line remark: option '-MP' not supported
3893 if (grep 'ignoring option' conftest.err ||
3894 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3895 am_cv_CC_dependencies_compiler_type=$depmode
3904 am_cv_CC_dependencies_compiler_type=none
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3910 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3913 test "x$enable_dependency_tracking" != xno \
3914 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3916 am__fastdepCC_FALSE='#'
3918 am__fastdepCC_TRUE='#'
3919 am__fastdepCC_FALSE=
3924 if test -n "$ac_tool_prefix"; then
3925 for ac_prog in ar lib "link -lib"
3927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_AR+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$AR"; then
3935 ac_cv_prog_AR="$AR" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 if test -n "$AR"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3957 $as_echo "$AR" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3964 test -n "$AR" && break
3967 if test -z "$AR"; then
3969 for ac_prog in ar lib "link -lib"
3971 # Extract the first word of "$ac_prog", so it can be a program name with args.
3972 set dummy $ac_prog; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 if test -n "$ac_ct_AR"; then
3979 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_ac_ct_AR="$ac_prog"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3999 if test -n "$ac_ct_AR"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4001 $as_echo "$ac_ct_AR" >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4008 test -n "$ac_ct_AR" && break
4011 if test "x$ac_ct_AR" = x; then
4014 case $cross_compiling:$ac_tool_warned in
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018 ac_tool_warned=yes ;;
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4027 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4028 if ${am_cv_ar_interface+:} false; then :
4029 $as_echo_n "(cached) " >&6
4031 am_cv_ar_interface=ar
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4034 int some_variable = 0;
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4038 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4039 (eval $am_ar_try) 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }
4043 if test "$ac_status" -eq 0; then
4044 am_cv_ar_interface=ar
4046 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4047 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4048 (eval $am_ar_try) 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }
4052 if test "$ac_status" -eq 0; then
4053 am_cv_ar_interface=lib
4055 am_cv_ar_interface=unknown
4058 rm -f conftest.lib libconftest.a
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4065 $as_echo "$am_cv_ar_interface" >&6; }
4067 case $am_cv_ar_interface in
4071 # Microsoft lib, so override with the ar-lib wrapper script.
4072 # FIXME: It is wrong to rewrite AR.
4073 # But if we don't then we get into trouble of one sort or another.
4074 # A longer-term fix would be to have automake use am__AR in this case,
4075 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4077 AR="$am_aux_dir/ar-lib $AR"
4080 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4085 $as_echo_n "checking for GNU make... " >&6; }
4086 if ${_cv_gnu_make_command+:} false; then :
4087 $as_echo_n "(cached) " >&6
4089 _cv_gnu_make_command='' ;
4090 for a in "$MAKE" make gmake gnumake ; do
4091 if test -z "$a" ; then continue ; fi ;
4092 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4093 _cv_gnu_make_command=$a ;
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4100 $as_echo "$_cv_gnu_make_command" >&6; } ;
4101 if test "x$_cv_gnu_make_command" != "x" ; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4106 $as_echo "\"Not found\"" >&6; };
4110 if test "x$ifGNUmake" = "x#" ; then
4111 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4119 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4124 macro_version='2.4.2'
4125 macro_revision='1.3337'
4139 ltmain="$ac_aux_dir/ltmain.sh"
4141 # Make sure we can run config.sub.
4142 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4143 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4146 $as_echo_n "checking build system type... " >&6; }
4147 if ${ac_cv_build+:} false; then :
4148 $as_echo_n "(cached) " >&6
4150 ac_build_alias=$build_alias
4151 test "x$ac_build_alias" = x &&
4152 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4153 test "x$ac_build_alias" = x &&
4154 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4155 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4156 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4160 $as_echo "$ac_cv_build" >&6; }
4161 case $ac_cv_build in
4163 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4166 ac_save_IFS=$IFS; IFS='-'
4172 # Remember, the first character of IFS is used to create $*,
4173 # except with old shells:
4176 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4180 $as_echo_n "checking host system type... " >&6; }
4181 if ${ac_cv_host+:} false; then :
4182 $as_echo_n "(cached) " >&6
4184 if test "x$host_alias" = x; then
4185 ac_cv_host=$ac_cv_build
4187 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4193 $as_echo "$ac_cv_host" >&6; }
4196 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4199 ac_save_IFS=$IFS; IFS='-'
4205 # Remember, the first character of IFS is used to create $*,
4206 # except with old shells:
4209 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4212 # Backslashify metacharacters that are still active within
4213 # double-quoted strings.
4214 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4216 # Same as above, but do not quote variable references.
4217 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4219 # Sed substitution to delay expansion of an escaped shell variable in a
4220 # double_quote_subst'ed string.
4221 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4223 # Sed substitution to delay expansion of an escaped single quote.
4224 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4226 # Sed substitution to avoid accidental globbing in evaled expressions
4227 no_glob_subst='s/\*/\\\*/g'
4229 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4230 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4231 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4234 $as_echo_n "checking how to print strings... " >&6; }
4235 # Test print first, because it will be a builtin if present.
4236 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4237 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4239 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4242 # Use this function as a fallback that always works.
4243 func_fallback_echo ()
4245 eval 'cat <<_LTECHO_EOF
4249 ECHO='func_fallback_echo'
4252 # func_echo_all arg...
4253 # Invoke $ECHO with all args, space-separated.
4260 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4261 $as_echo "printf" >&6; } ;;
4262 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4263 $as_echo "print -r" >&6; } ;;
4264 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4265 $as_echo "cat" >&6; } ;;
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4282 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4283 if ${ac_cv_path_SED+:} false; then :
4284 $as_echo_n "(cached) " >&6
4286 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4287 for ac_i in 1 2 3 4 5 6 7; do
4288 ac_script="$ac_script$as_nl$ac_script"
4290 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4291 { ac_script=; unset ac_script;}
4292 if test -z "$SED"; then
4293 ac_path_SED_found=false
4294 # Loop through the user's path and test for each of PROGNAME-LIST
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir=.
4300 for ac_prog in sed gsed; do
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4303 as_fn_executable_p "$ac_path_SED" || continue
4304 # Check for GNU ac_path_SED and select it if it is found.
4305 # Check for GNU $ac_path_SED
4306 case `"$ac_path_SED" --version 2>&1` in
4308 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4311 $as_echo_n 0123456789 >"conftest.in"
4314 cat "conftest.in" "conftest.in" >"conftest.tmp"
4315 mv "conftest.tmp" "conftest.in"
4316 cp "conftest.in" "conftest.nl"
4317 $as_echo '' >> "conftest.nl"
4318 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4320 as_fn_arith $ac_count + 1 && ac_count=$as_val
4321 if test $ac_count -gt ${ac_path_SED_max-0}; then
4322 # Best one so far, save it but keep looking for a better one
4323 ac_cv_path_SED="$ac_path_SED"
4324 ac_path_SED_max=$ac_count
4326 # 10*(2^10) chars as input seems more than enough
4327 test $ac_count -gt 10 && break
4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332 $ac_path_SED_found && break 3
4337 if test -z "$ac_cv_path_SED"; then
4338 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4346 $as_echo "$ac_cv_path_SED" >&6; }
4347 SED="$ac_cv_path_SED"
4350 test -z "$SED" && SED=sed
4351 Xsed="$SED -e 1s/^X//"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4364 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4365 if ${ac_cv_path_GREP+:} false; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -z "$GREP"; then
4369 ac_path_GREP_found=false
4370 # Loop through the user's path and test for each of PROGNAME-LIST
4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4375 test -z "$as_dir" && as_dir=.
4376 for ac_prog in grep ggrep; do
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4379 as_fn_executable_p "$ac_path_GREP" || continue
4380 # Check for GNU ac_path_GREP and select it if it is found.
4381 # Check for GNU $ac_path_GREP
4382 case `"$ac_path_GREP" --version 2>&1` in
4384 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4387 $as_echo_n 0123456789 >"conftest.in"
4390 cat "conftest.in" "conftest.in" >"conftest.tmp"
4391 mv "conftest.tmp" "conftest.in"
4392 cp "conftest.in" "conftest.nl"
4393 $as_echo 'GREP' >> "conftest.nl"
4394 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4396 as_fn_arith $ac_count + 1 && ac_count=$as_val
4397 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4398 # Best one so far, save it but keep looking for a better one
4399 ac_cv_path_GREP="$ac_path_GREP"
4400 ac_path_GREP_max=$ac_count
4402 # 10*(2^10) chars as input seems more than enough
4403 test $ac_count -gt 10 && break
4405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4408 $ac_path_GREP_found && break 3
4413 if test -z "$ac_cv_path_GREP"; then
4414 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4417 ac_cv_path_GREP=$GREP
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4422 $as_echo "$ac_cv_path_GREP" >&6; }
4423 GREP="$ac_cv_path_GREP"
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4427 $as_echo_n "checking for egrep... " >&6; }
4428 if ${ac_cv_path_EGREP+:} false; then :
4429 $as_echo_n "(cached) " >&6
4431 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4432 then ac_cv_path_EGREP="$GREP -E"
4434 if test -z "$EGREP"; then
4435 ac_path_EGREP_found=false
4436 # Loop through the user's path and test for each of PROGNAME-LIST
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4441 test -z "$as_dir" && as_dir=.
4442 for ac_prog in egrep; do
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4445 as_fn_executable_p "$ac_path_EGREP" || continue
4446 # Check for GNU ac_path_EGREP and select it if it is found.
4447 # Check for GNU $ac_path_EGREP
4448 case `"$ac_path_EGREP" --version 2>&1` in
4450 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4453 $as_echo_n 0123456789 >"conftest.in"
4456 cat "conftest.in" "conftest.in" >"conftest.tmp"
4457 mv "conftest.tmp" "conftest.in"
4458 cp "conftest.in" "conftest.nl"
4459 $as_echo 'EGREP' >> "conftest.nl"
4460 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4461 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4462 as_fn_arith $ac_count + 1 && ac_count=$as_val
4463 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4464 # Best one so far, save it but keep looking for a better one
4465 ac_cv_path_EGREP="$ac_path_EGREP"
4466 ac_path_EGREP_max=$ac_count
4468 # 10*(2^10) chars as input seems more than enough
4469 test $ac_count -gt 10 && break
4471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4474 $ac_path_EGREP_found && break 3
4479 if test -z "$ac_cv_path_EGREP"; then
4480 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4483 ac_cv_path_EGREP=$EGREP
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4489 $as_echo "$ac_cv_path_EGREP" >&6; }
4490 EGREP="$ac_cv_path_EGREP"
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4494 $as_echo_n "checking for fgrep... " >&6; }
4495 if ${ac_cv_path_FGREP+:} false; then :
4496 $as_echo_n "(cached) " >&6
4498 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4499 then ac_cv_path_FGREP="$GREP -F"
4501 if test -z "$FGREP"; then
4502 ac_path_FGREP_found=false
4503 # Loop through the user's path and test for each of PROGNAME-LIST
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4508 test -z "$as_dir" && as_dir=.
4509 for ac_prog in fgrep; do
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4512 as_fn_executable_p "$ac_path_FGREP" || continue
4513 # Check for GNU ac_path_FGREP and select it if it is found.
4514 # Check for GNU $ac_path_FGREP
4515 case `"$ac_path_FGREP" --version 2>&1` in
4517 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4520 $as_echo_n 0123456789 >"conftest.in"
4523 cat "conftest.in" "conftest.in" >"conftest.tmp"
4524 mv "conftest.tmp" "conftest.in"
4525 cp "conftest.in" "conftest.nl"
4526 $as_echo 'FGREP' >> "conftest.nl"
4527 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4529 as_fn_arith $ac_count + 1 && ac_count=$as_val
4530 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4531 # Best one so far, save it but keep looking for a better one
4532 ac_cv_path_FGREP="$ac_path_FGREP"
4533 ac_path_FGREP_max=$ac_count
4535 # 10*(2^10) chars as input seems more than enough
4536 test $ac_count -gt 10 && break
4538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4541 $ac_path_FGREP_found && break 3
4546 if test -z "$ac_cv_path_FGREP"; then
4547 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4550 ac_cv_path_FGREP=$FGREP
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4556 $as_echo "$ac_cv_path_FGREP" >&6; }
4557 FGREP="$ac_cv_path_FGREP"
4560 test -z "$GREP" && GREP=grep
4580 # Check whether --with-gnu-ld was given.
4581 if test "${with_gnu_ld+set}" = set; then :
4582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4588 if test "$GCC" = yes; then
4589 # Check if gcc -print-prog-name=ld gives a path.
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4591 $as_echo_n "checking for ld used by $CC... " >&6; }
4594 # gcc leaves a trailing carriage return which upsets mingw
4595 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4597 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4600 # Accept absolute paths.
4602 re_direlt='/[^/][^/]*/\.\./'
4603 # Canonicalize the pathname of ld
4604 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4605 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4606 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4608 test -z "$LD" && LD="$ac_prog"
4611 # If it fails, then pretend we aren't using GCC.
4615 # If it is relative, then search for the first ld in PATH.
4619 elif test "$with_gnu_ld" = yes; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4621 $as_echo_n "checking for GNU ld... " >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4624 $as_echo_n "checking for non-GNU ld... " >&6; }
4626 if ${lt_cv_path_LD+:} false; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -z "$LD"; then
4630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4631 for ac_dir in $PATH; do
4633 test -z "$ac_dir" && ac_dir=.
4634 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4635 lt_cv_path_LD="$ac_dir/$ac_prog"
4636 # Check to see if the program is GNU ld. I'd rather use --version,
4637 # but apparently some variants of GNU ld only accept -v.
4638 # Break only if it was the GNU/non-GNU ld that we prefer.
4639 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4640 *GNU* | *'with BFD'*)
4641 test "$with_gnu_ld" != no && break
4644 test "$with_gnu_ld" != yes && break
4651 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4656 if test -n "$LD"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4658 $as_echo "$LD" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4663 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4665 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4666 if ${lt_cv_prog_gnu_ld+:} false; then :
4667 $as_echo_n "(cached) " >&6
4669 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4670 case `$LD -v 2>&1 </dev/null` in
4671 *GNU* | *'with BFD'*)
4672 lt_cv_prog_gnu_ld=yes
4675 lt_cv_prog_gnu_ld=no
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4680 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4681 with_gnu_ld=$lt_cv_prog_gnu_ld
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4692 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4693 if ${lt_cv_path_NM+:} false; then :
4694 $as_echo_n "(cached) " >&6
4696 if test -n "$NM"; then
4697 # Let the user override the test.
4700 lt_nm_to_check="${ac_tool_prefix}nm"
4701 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4702 lt_nm_to_check="$lt_nm_to_check nm"
4704 for lt_tmp_nm in $lt_nm_to_check; do
4705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4706 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4708 test -z "$ac_dir" && ac_dir=.
4709 tmp_nm="$ac_dir/$lt_tmp_nm"
4710 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4711 # Check to see if the nm accepts a BSD-compat flag.
4712 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4713 # nm: unknown option "B" ignored
4714 # Tru64's nm complains that /dev/null is an invalid object file
4715 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4716 */dev/null* | *'Invalid file or object type'*)
4717 lt_cv_path_NM="$tmp_nm -B"
4721 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4723 lt_cv_path_NM="$tmp_nm -p"
4727 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4728 continue # so that we can try to find one that supports BSD flags
4737 : ${lt_cv_path_NM=no}
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4741 $as_echo "$lt_cv_path_NM" >&6; }
4742 if test "$lt_cv_path_NM" != "no"; then
4745 # Didn't find any BSD compatible name lister, look for dumpbin.
4746 if test -n "$DUMPBIN"; then :
4747 # Let the user override the test.
4749 if test -n "$ac_tool_prefix"; then
4750 for ac_prog in dumpbin "link -dump"
4752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_prog_DUMPBIN+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 if test -n "$DUMPBIN"; then
4760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 DUMPBIN=$ac_cv_prog_DUMPBIN
4780 if test -n "$DUMPBIN"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4782 $as_echo "$DUMPBIN" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4789 test -n "$DUMPBIN" && break
4792 if test -z "$DUMPBIN"; then
4793 ac_ct_DUMPBIN=$DUMPBIN
4794 for ac_prog in dumpbin "link -dump"
4796 # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy $ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -n "$ac_ct_DUMPBIN"; then
4804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4824 if test -n "$ac_ct_DUMPBIN"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4826 $as_echo "$ac_ct_DUMPBIN" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 test -n "$ac_ct_DUMPBIN" && break
4836 if test "x$ac_ct_DUMPBIN" = x; then
4839 case $cross_compiling:$ac_tool_warned in
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4843 ac_tool_warned=yes ;;
4845 DUMPBIN=$ac_ct_DUMPBIN
4849 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4851 DUMPBIN="$DUMPBIN -symbols"
4859 if test "$DUMPBIN" != ":"; then
4863 test -z "$NM" && NM=nm
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4872 if ${lt_cv_nm_interface+:} false; then :
4873 $as_echo_n "(cached) " >&6
4875 lt_cv_nm_interface="BSD nm"
4876 echo "int some_variable = 0;" > conftest.$ac_ext
4877 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4878 (eval "$ac_compile" 2>conftest.err)
4879 cat conftest.err >&5
4880 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4881 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4882 cat conftest.err >&5
4883 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4884 cat conftest.out >&5
4885 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4886 lt_cv_nm_interface="MS dumpbin"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4891 $as_echo "$lt_cv_nm_interface" >&6; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4894 $as_echo_n "checking whether ln -s works... " >&6; }
4896 if test "$LN_S" = "ln -s"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898 $as_echo "yes" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4901 $as_echo "no, using $LN_S" >&6; }
4904 # find the maximum length of command line arguments
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4906 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4907 if ${lt_cv_sys_max_cmd_len+:} false; then :
4908 $as_echo_n "(cached) " >&6
4915 # On DJGPP, this test can blow up pretty badly due to problems in libc
4916 # (any single argument exceeding 2000 bytes causes a buffer overrun
4917 # during glob expansion). Even if it were fixed, the result of this
4918 # check would be larger than it should be.
4919 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4923 # Under GNU Hurd, this test is not required because there is
4924 # no limit to the length of command line arguments.
4925 # Libtool will interpret -1 as no limit whatsoever
4926 lt_cv_sys_max_cmd_len=-1;
4929 cygwin* | mingw* | cegcc*)
4930 # On Win9x/ME, this test blows up -- it succeeds, but takes
4931 # about 5 minutes as the teststring grows exponentially.
4932 # Worse, since 9x/ME are not pre-emptively multitasking,
4933 # you end up with a "frozen" computer, even though with patience
4934 # the test eventually succeeds (with a max line length of 256k).
4935 # Instead, let's just punt: use the minimum linelength reported by
4936 # all of the supported platforms: 8192 (on NT/2K/XP).
4937 lt_cv_sys_max_cmd_len=8192;
4941 # On MiNT this can take a long time and run out of memory.
4942 lt_cv_sys_max_cmd_len=8192;
4946 # On AmigaOS with pdksh, this test takes hours, literally.
4947 # So we just punt and use a minimum line length of 8192.
4948 lt_cv_sys_max_cmd_len=8192;
4951 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4952 # This has been around since 386BSD, at least. Likely further.
4953 if test -x /sbin/sysctl; then
4954 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4955 elif test -x /usr/sbin/sysctl; then
4956 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4958 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4960 # And add a safety zone
4961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4962 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4966 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4967 lt_cv_sys_max_cmd_len=196608
4971 # The test takes a long time on OS/2.
4972 lt_cv_sys_max_cmd_len=8192
4976 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4977 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4978 # nice to cause kernel panics so lets avoid the loop below.
4979 # First set a reasonable default.
4980 lt_cv_sys_max_cmd_len=16384
4982 if test -x /sbin/sysconfig; then
4983 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4984 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4989 lt_cv_sys_max_cmd_len=102400
4991 sysv5* | sco5v6* | sysv4.2uw2*)
4992 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4993 if test -n "$kargmax"; then
4994 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4996 lt_cv_sys_max_cmd_len=32768
5000 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5001 if test -n "$lt_cv_sys_max_cmd_len"; then
5002 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5005 # Make teststring a little bigger before we do anything with it.
5006 # a 1K string should be a reasonable start.
5007 for i in 1 2 3 4 5 6 7 8 ; do
5008 teststring=$teststring$teststring
5010 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5011 # If test is not a shell built-in, we'll probably end up computing a
5012 # maximum length that is only half of the actual maximum length, but
5014 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5015 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5016 test $i != 17 # 1/2 MB should be enough
5019 teststring=$teststring$teststring
5021 # Only check the string length outside the loop.
5022 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5024 # Add a significant safety factor because C++ compilers can tack on
5025 # massive amounts of additional arguments before passing them to the
5026 # linker. It appears as though 1/2 is a usable value.
5027 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5034 if test -n $lt_cv_sys_max_cmd_len ; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5036 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5039 $as_echo "none" >&6; }
5041 max_cmd_len=$lt_cv_sys_max_cmd_len
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5053 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5054 # Try some XSI features
5057 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5059 && eval 'test $(( 1 + 1 )) -eq 2 \
5060 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5063 $as_echo "$xsi_shell" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5067 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5069 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5071 && lt_shell_append=yes
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5073 $as_echo "$lt_shell_append" >&6; }
5076 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5086 # test EBCDIC or ASCII
5087 case `echo X|tr X '\101'` in
5088 A) # ASCII based system
5089 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5090 lt_SP2NL='tr \040 \012'
5091 lt_NL2SP='tr \015\012 \040\040'
5093 *) # EBCDIC based system
5094 lt_SP2NL='tr \100 \n'
5095 lt_NL2SP='tr \r\n \100\100'
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5108 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5109 if ${lt_cv_to_host_file_cmd+:} false; then :
5110 $as_echo_n "(cached) " >&6
5115 *-*-mingw* ) # actually msys
5116 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5119 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5121 * ) # otherwise, assume *nix
5122 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5128 *-*-mingw* ) # actually msys
5129 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5132 lt_cv_to_host_file_cmd=func_convert_file_noop
5134 * ) # otherwise, assume *nix
5135 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5139 * ) # unhandled hosts (and "normal" native builds)
5140 lt_cv_to_host_file_cmd=func_convert_file_noop
5146 to_host_file_cmd=$lt_cv_to_host_file_cmd
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5148 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5155 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5156 if ${lt_cv_to_tool_file_cmd+:} false; then :
5157 $as_echo_n "(cached) " >&6
5159 #assume ordinary cross tools, or native build.
5160 lt_cv_to_tool_file_cmd=func_convert_file_noop
5164 *-*-mingw* ) # actually msys
5165 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5175 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5182 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5183 if ${lt_cv_ld_reload_flag+:} false; then :
5184 $as_echo_n "(cached) " >&6
5186 lt_cv_ld_reload_flag='-r'
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5189 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5190 reload_flag=$lt_cv_ld_reload_flag
5191 case $reload_flag in
5193 *) reload_flag=" $reload_flag" ;;
5195 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5197 cygwin* | mingw* | pw32* | cegcc*)
5198 if test "$GCC" != yes; then
5203 if test "$GCC" = yes; then
5204 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5206 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if ${ac_cv_prog_OBJDUMP+:} false; then :
5225 $as_echo_n "(cached) " >&6
5227 if test -n "$OBJDUMP"; then
5228 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 OBJDUMP=$ac_cv_prog_OBJDUMP
5248 if test -n "$OBJDUMP"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5250 $as_echo "$OBJDUMP" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5258 if test -z "$ac_cv_prog_OBJDUMP"; then
5259 ac_ct_OBJDUMP=$OBJDUMP
5260 # Extract the first word of "objdump", so it can be a program name with args.
5261 set dummy objdump; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5265 $as_echo_n "(cached) " >&6
5267 if test -n "$ac_ct_OBJDUMP"; then
5268 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5288 if test -n "$ac_ct_OBJDUMP"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5290 $as_echo "$ac_ct_OBJDUMP" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5296 if test "x$ac_ct_OBJDUMP" = x; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5305 OBJDUMP=$ac_ct_OBJDUMP
5308 OBJDUMP="$ac_cv_prog_OBJDUMP"
5311 test -z "$OBJDUMP" && OBJDUMP=objdump
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5322 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5323 if ${lt_cv_deplibs_check_method+:} false; then :
5324 $as_echo_n "(cached) " >&6
5326 lt_cv_file_magic_cmd='$MAGIC_CMD'
5327 lt_cv_file_magic_test_file=
5328 lt_cv_deplibs_check_method='unknown'
5329 # Need to set the preceding variable on all platforms that support
5330 # interlibrary dependencies.
5331 # 'none' -- dependencies not supported.
5332 # `unknown' -- same as none, but documents that we really don't know.
5333 # 'pass_all' -- all dependencies passed with no checks.
5334 # 'test_compile' -- check by making test program.
5335 # 'file_magic [[regex]]' -- check by looking for files in library path
5336 # which responds to the $file_magic_cmd with a given extended regex.
5337 # If you have `file' or equivalent on your system and you're not sure
5338 # whether `pass_all' will *always* work, you probably want this one.
5342 lt_cv_deplibs_check_method=pass_all
5346 lt_cv_deplibs_check_method=pass_all
5350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5351 lt_cv_file_magic_cmd='/usr/bin/file -L'
5352 lt_cv_file_magic_test_file=/shlib/libc.so
5356 # func_win32_libid is a shell function defined in ltmain.sh
5357 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5358 lt_cv_file_magic_cmd='func_win32_libid'
5362 # Base MSYS/MinGW do not provide the 'file' command needed by
5363 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5364 # unless we find 'file', for example because we are cross-compiling.
5365 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5366 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5367 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5368 lt_cv_file_magic_cmd='func_win32_libid'
5370 # Keep this pattern in sync with the one in func_win32_libid.
5371 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5372 lt_cv_file_magic_cmd='$OBJDUMP -f'
5377 # use the weaker test based on 'objdump'. See mingw*.
5378 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5379 lt_cv_file_magic_cmd='$OBJDUMP -f'
5382 darwin* | rhapsody*)
5383 lt_cv_deplibs_check_method=pass_all
5386 freebsd* | dragonfly*)
5387 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5390 # Not sure whether the presence of OpenBSD here was a mistake.
5391 # Let's accept both of them until this is cleared up.
5392 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5393 lt_cv_file_magic_cmd=/usr/bin/file
5394 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5398 lt_cv_deplibs_check_method=pass_all
5403 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_deplibs_check_method=pass_all
5410 hpux10.20* | hpux11*)
5411 lt_cv_file_magic_cmd=/usr/bin/file
5414 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5415 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5418 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]'
5419 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5422 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5423 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5429 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5433 irix5* | irix6* | nonstopux*)
5435 *-32|*"-32 ") libmagic=32-bit;;
5436 *-n32|*"-n32 ") libmagic=N32;;
5437 *-64|*"-64 ") libmagic=64-bit;;
5438 *) libmagic=never-match;;
5440 lt_cv_deplibs_check_method=pass_all
5443 # This must be glibc/ELF.
5444 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5445 lt_cv_deplibs_check_method=pass_all
5448 netbsd* | netbsdelf*-gnu)
5449 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5450 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5452 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5458 lt_cv_file_magic_cmd=/usr/bin/file
5459 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5463 lt_cv_deplibs_check_method=pass_all
5467 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5470 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5474 osf3* | osf4* | osf5*)
5475 lt_cv_deplibs_check_method=pass_all
5479 lt_cv_deplibs_check_method=pass_all
5483 lt_cv_deplibs_check_method=pass_all
5486 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5487 lt_cv_deplibs_check_method=pass_all
5491 case $host_vendor in
5493 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]'
5494 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5497 lt_cv_deplibs_check_method=pass_all
5500 lt_cv_file_magic_cmd='/bin/file'
5501 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5504 lt_cv_file_magic_cmd='/bin/file'
5505 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5506 lt_cv_file_magic_test_file=/lib/libc.so
5509 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5518 lt_cv_deplibs_check_method=pass_all
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5524 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5528 if test "$build" = "$host"; then
5531 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5534 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5540 file_magic_cmd=$lt_cv_file_magic_cmd
5541 deplibs_check_method=$lt_cv_deplibs_check_method
5542 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_DLLTOOL+:} false; then :
5571 $as_echo_n "(cached) " >&6
5573 if test -n "$DLLTOOL"; then
5574 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 DLLTOOL=$ac_cv_prog_DLLTOOL
5594 if test -n "$DLLTOOL"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5596 $as_echo "$DLLTOOL" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5604 if test -z "$ac_cv_prog_DLLTOOL"; then
5605 ac_ct_DLLTOOL=$DLLTOOL
5606 # Extract the first word of "dlltool", so it can be a program name with args.
5607 set dummy dlltool; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$ac_ct_DLLTOOL"; then
5614 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5634 if test -n "$ac_ct_DLLTOOL"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5636 $as_echo "$ac_ct_DLLTOOL" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5642 if test "x$ac_ct_DLLTOOL" = x; then
5645 case $cross_compiling:$ac_tool_warned in
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5651 DLLTOOL=$ac_ct_DLLTOOL
5654 DLLTOOL="$ac_cv_prog_DLLTOOL"
5657 test -z "$DLLTOOL" && DLLTOOL=dlltool
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5669 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5670 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5671 $as_echo_n "(cached) " >&6
5673 lt_cv_sharedlib_from_linklib_cmd='unknown'
5676 cygwin* | mingw* | pw32* | cegcc*)
5677 # two different shell functions defined in ltmain.sh
5678 # decide which to use based on capabilities of $DLLTOOL
5679 case `$DLLTOOL --help 2>&1` in
5680 *--identify-strict*)
5681 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5684 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5689 # fallback: assume linklib IS sharedlib
5690 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5696 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5697 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5698 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5706 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_AR+:} false; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$AR"; then
5717 ac_cv_prog_AR="$AR" # Let the user override the test.
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 if test -n "$AR"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5739 $as_echo "$AR" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$AR" && break
5749 if test -z "$AR"; then
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$ac_ct_AR"; then
5761 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_ac_ct_AR="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5781 if test -n "$ac_ct_AR"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5783 $as_echo "$ac_ct_AR" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$ac_ct_AR" && break
5793 if test "x$ac_ct_AR" = x; then
5796 case $cross_compiling:$ac_tool_warned in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5820 $as_echo_n "checking for archiver @FILE support... " >&6; }
5821 if ${lt_cv_ar_at_file+:} false; then :
5822 $as_echo_n "(cached) " >&6
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5836 if ac_fn_c_try_compile "$LINENO"; then :
5837 echo conftest.$ac_objext > conftest.lst
5838 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5839 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5840 (eval $lt_ar_try) 2>&5
5842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5843 test $ac_status = 0; }
5844 if test "$ac_status" -eq 0; then
5845 # Ensure the archiver fails upon bogus file names.
5846 rm -f conftest.$ac_objext libconftest.a
5847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5848 (eval $lt_ar_try) 2>&5
5850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5851 test $ac_status = 0; }
5852 if test "$ac_status" -ne 0; then
5856 rm -f conftest.* libconftest.a
5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5863 $as_echo "$lt_cv_ar_at_file" >&6; }
5865 if test "x$lt_cv_ar_at_file" = xno; then
5868 archiver_list_spec=$lt_cv_ar_at_file
5877 if test -n "$ac_tool_prefix"; then
5878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}strip; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_STRIP+:} false; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$STRIP"; then
5886 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 STRIP=$ac_cv_prog_STRIP
5906 if test -n "$STRIP"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5908 $as_echo "$STRIP" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5916 if test -z "$ac_cv_prog_STRIP"; then
5918 # Extract the first word of "strip", so it can be a program name with args.
5919 set dummy strip; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$ac_ct_STRIP"; then
5926 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_ac_ct_STRIP="strip"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5946 if test -n "$ac_ct_STRIP"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5948 $as_echo "$ac_ct_STRIP" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5954 if test "x$ac_ct_STRIP" = x; then
5957 case $cross_compiling:$ac_tool_warned in
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961 ac_tool_warned=yes ;;
5966 STRIP="$ac_cv_prog_STRIP"
5969 test -z "$STRIP" && STRIP=:
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_RANLIB+:} false; then :
5982 $as_echo_n "(cached) " >&6
5984 if test -n "$RANLIB"; then
5985 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 RANLIB=$ac_cv_prog_RANLIB
6005 if test -n "$RANLIB"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6007 $as_echo "$RANLIB" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6015 if test -z "$ac_cv_prog_RANLIB"; then
6016 ac_ct_RANLIB=$RANLIB
6017 # Extract the first word of "ranlib", so it can be a program name with args.
6018 set dummy ranlib; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$ac_ct_RANLIB"; then
6025 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_ac_ct_RANLIB="ranlib"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6045 if test -n "$ac_ct_RANLIB"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6047 $as_echo "$ac_ct_RANLIB" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6053 if test "x$ac_ct_RANLIB" = x; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6062 RANLIB=$ac_ct_RANLIB
6065 RANLIB="$ac_cv_prog_RANLIB"
6068 test -z "$RANLIB" && RANLIB=:
6075 # Determine commands to create old-style static archives.
6076 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6077 old_postinstall_cmds='chmod 644 $oldlib'
6078 old_postuninstall_cmds=
6080 if test -n "$RANLIB"; then
6083 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6086 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6089 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6094 lock_old_archive_extraction=yes ;;
6096 lock_old_archive_extraction=no ;;
6137 # If no C compiler was specified, use CC.
6140 # If no C compiler flags were specified, use CFLAGS.
6141 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6143 # Allow CC to be a program name with arguments.
6147 # Check for command to grab the raw symbol name followed by C symbol from nm.
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6149 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6150 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6151 $as_echo_n "(cached) " >&6
6154 # These are sane defaults that work on at least a few old systems.
6155 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6157 # Character class describing NM global symbol codes.
6158 symcode='[BCDEGRST]'
6160 # Regexp to match symbols that can be accessed directly from C.
6161 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6163 # Define system-specific variables.
6168 cygwin* | mingw* | pw32* | cegcc*)
6169 symcode='[ABCDGISTW]'
6172 if test "$host_cpu" = ia64; then
6173 symcode='[ABCDEGRST]'
6177 symcode='[BCDEGRST]'
6180 symcode='[BCDEGQRST]'
6191 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6199 # If we're using GNU nm, then use its standard symbol codes.
6200 case `$NM -V 2>&1` in
6201 *GNU* | *'with BFD'*)
6202 symcode='[ABCDGIRSTW]' ;;
6205 # Transform an extracted symbol line into a proper C declaration.
6206 # Some systems (esp. on ia64) link data and code symbols differently,
6207 # so use this general approach.
6208 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6210 # Transform an extracted symbol line into symbol name and symbol address
6211 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6212 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'"
6214 # Handle CRLF in mingw tool chain
6218 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6222 # Try without a prefix underscore, then with it.
6223 for ac_symprfx in "" "_"; do
6225 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6226 symxfrm="\\1 $ac_symprfx\\2 \\2"
6228 # Write the raw and C identifiers.
6229 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6230 # Fake it for dumpbin and say T for any non-static function
6231 # and D for any global variable.
6232 # Also find C++ and __fastcall symbols from MSVC++,
6233 # which start with @ or ?.
6234 lt_cv_sys_global_symbol_pipe="$AWK '"\
6235 " {last_section=section; section=\$ 3};"\
6236 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6237 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6238 " \$ 0!~/External *\|/{next};"\
6239 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6240 " {if(hide[section]) next};"\
6241 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6242 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6243 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6244 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6245 " ' prfx=^$ac_symprfx"
6247 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6249 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6251 # Check to see that the pipe works correctly.
6255 cat > conftest.$ac_ext <<_LT_EOF
6260 void nm_test_func(void);
6261 void nm_test_func(void){}
6265 int main(){nm_test_var='a';nm_test_func();return(0);}
6268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6269 (eval $ac_compile) 2>&5
6271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6272 test $ac_status = 0; }; then
6273 # Now try to grab the symbols.
6275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6276 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6279 test $ac_status = 0; } && test -s "$nlist"; then
6280 # Try sorting and uniquifying the output.
6281 if sort "$nlist" | uniq > "$nlist"T; then
6282 mv -f "$nlist"T "$nlist"
6287 # Make sure that we snagged all the symbols we need.
6288 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6289 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6290 cat <<_LT_EOF > conftest.$ac_ext
6291 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6292 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6293 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6294 relocations are performed -- see ld's documentation on pseudo-relocs. */
6295 # define LT_DLSYM_CONST
6296 #elif defined(__osf__)
6297 /* This system does not cope well with relocations in const data. */
6298 # define LT_DLSYM_CONST
6300 # define LT_DLSYM_CONST const
6308 # Now generate the symbol file.
6309 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6311 cat <<_LT_EOF >> conftest.$ac_ext
6313 /* The mapping between symbol names and symbols. */
6314 LT_DLSYM_CONST struct {
6318 lt__PROGRAM__LTX_preloaded_symbols[] =
6320 { "@PROGRAM@", (void *) 0 },
6322 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6323 cat <<\_LT_EOF >> conftest.$ac_ext
6327 /* This works around a problem in FreeBSD linker */
6328 #ifdef FREEBSD_WORKAROUND
6329 static const void *lt_preloaded_setup() {
6330 return lt__PROGRAM__LTX_preloaded_symbols;
6338 # Now try linking the two files.
6339 mv conftest.$ac_objext conftstm.$ac_objext
6340 lt_globsym_save_LIBS=$LIBS
6341 lt_globsym_save_CFLAGS=$CFLAGS
6342 LIBS="conftstm.$ac_objext"
6343 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6345 (eval $ac_link) 2>&5
6347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6348 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6351 LIBS=$lt_globsym_save_LIBS
6352 CFLAGS=$lt_globsym_save_CFLAGS
6354 echo "cannot find nm_test_func in $nlist" >&5
6357 echo "cannot find nm_test_var in $nlist" >&5
6360 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6363 echo "$progname: failed program was:" >&5
6364 cat conftest.$ac_ext >&5
6366 rm -rf conftest* conftst*
6368 # Do not use the global_symbol_pipe unless it works.
6369 if test "$pipe_works" = yes; then
6372 lt_cv_sys_global_symbol_pipe=
6378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6379 lt_cv_sys_global_symbol_to_cdecl=
6381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6383 $as_echo "failed" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6386 $as_echo "ok" >&6; }
6389 # Response file support.
6390 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6391 nm_file_list_spec='@'
6392 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6393 nm_file_list_spec='@'
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6423 $as_echo_n "checking for sysroot... " >&6; }
6425 # Check whether --with-sysroot was given.
6426 if test "${with_sysroot+set}" = set; then :
6427 withval=$with_sysroot;
6434 case ${with_sysroot} in #(
6436 if test "$GCC" = yes; then
6437 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6441 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6447 $as_echo "${with_sysroot}" >&6; }
6448 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6453 $as_echo "${lt_sysroot:-no}" >&6; }
6459 # Check whether --enable-libtool-lock was given.
6460 if test "${enable_libtool_lock+set}" = set; then :
6461 enableval=$enable_libtool_lock;
6464 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6466 # Some flags need to be propagated to the compiler or linker for good
6470 # Find out which ABI we are using.
6471 echo 'int i;' > conftest.$ac_ext
6472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6473 (eval $ac_compile) 2>&5
6475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6476 test $ac_status = 0; }; then
6477 case `/usr/bin/file conftest.$ac_objext` in
6489 # Find out which ABI we are using.
6490 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6492 (eval $ac_compile) 2>&5
6494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6495 test $ac_status = 0; }; then
6496 if test "$lt_cv_prog_gnu_ld" = yes; then
6497 case `/usr/bin/file conftest.$ac_objext` in
6499 LD="${LD-ld} -melf32bsmip"
6502 LD="${LD-ld} -melf32bmipn32"
6505 LD="${LD-ld} -melf64bmip"
6509 case `/usr/bin/file conftest.$ac_objext` in
6525 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6526 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6527 # Find out which ABI we are using.
6528 echo 'int i;' > conftest.$ac_ext
6529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6530 (eval $ac_compile) 2>&5
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533 test $ac_status = 0; }; then
6534 case `/usr/bin/file conftest.o` in
6537 x86_64-*kfreebsd*-gnu)
6538 LD="${LD-ld} -m elf_i386_fbsd"
6541 LD="${LD-ld} -m elf_i386"
6543 ppc64-*linux*|powerpc64-*linux*)
6544 LD="${LD-ld} -m elf32ppclinux"
6547 LD="${LD-ld} -m elf_s390"
6550 LD="${LD-ld} -m elf32_sparc"
6556 x86_64-*kfreebsd*-gnu)
6557 LD="${LD-ld} -m elf_x86_64_fbsd"
6560 LD="${LD-ld} -m elf_x86_64"
6562 ppc*-*linux*|powerpc*-*linux*)
6563 LD="${LD-ld} -m elf64ppc"
6565 s390*-*linux*|s390*-*tpf*)
6566 LD="${LD-ld} -m elf64_s390"
6569 LD="${LD-ld} -m elf64_sparc"
6579 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6580 SAVE_CFLAGS="$CFLAGS"
6581 CFLAGS="$CFLAGS -belf"
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6583 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6584 if ${lt_cv_cc_needs_belf+:} false; then :
6585 $as_echo_n "(cached) " >&6
6588 ac_cpp='$CPP $CPPFLAGS'
6589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6604 if ac_fn_c_try_link "$LINENO"; then :
6605 lt_cv_cc_needs_belf=yes
6607 lt_cv_cc_needs_belf=no
6609 rm -f core conftest.err conftest.$ac_objext \
6610 conftest$ac_exeext conftest.$ac_ext
6612 ac_cpp='$CPP $CPPFLAGS'
6613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6619 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6620 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6621 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6622 CFLAGS="$SAVE_CFLAGS"
6626 # Find out which ABI we are using.
6627 echo 'int i;' > conftest.$ac_ext
6628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6629 (eval $ac_compile) 2>&5
6631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6632 test $ac_status = 0; }; then
6633 case `/usr/bin/file conftest.o` in
6635 case $lt_cv_prog_gnu_ld in
6639 LD="${LD-ld} -m elf_x86_64"
6642 LD="${LD-ld} -m elf64_sparc"
6645 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6646 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6651 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6663 need_locks="$enable_libtool_lock"
6665 if test -n "$ac_tool_prefix"; then
6666 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6667 set dummy ${ac_tool_prefix}mt; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6671 $as_echo_n "(cached) " >&6
6673 if test -n "$MANIFEST_TOOL"; then
6674 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6694 if test -n "$MANIFEST_TOOL"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6696 $as_echo "$MANIFEST_TOOL" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6704 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6705 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6706 # Extract the first word of "mt", so it can be a program name with args.
6707 set dummy mt; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6711 $as_echo_n "(cached) " >&6
6713 if test -n "$ac_ct_MANIFEST_TOOL"; then
6714 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6734 if test -n "$ac_ct_MANIFEST_TOOL"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6736 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6742 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6745 case $cross_compiling:$ac_tool_warned in
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749 ac_tool_warned=yes ;;
6751 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6754 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6757 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6759 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6760 if ${lt_cv_path_mainfest_tool+:} false; then :
6761 $as_echo_n "(cached) " >&6
6763 lt_cv_path_mainfest_tool=no
6764 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6765 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6766 cat conftest.err >&5
6767 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6768 lt_cv_path_mainfest_tool=yes
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6773 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6774 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6784 rhapsody* | darwin*)
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$DSYMUTIL"; then
6794 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir=.
6801 for ac_exec_ext in '' $ac_executable_extensions; do
6802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6814 if test -n "$DSYMUTIL"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6816 $as_echo "$DSYMUTIL" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6824 if test -z "$ac_cv_prog_DSYMUTIL"; then
6825 ac_ct_DSYMUTIL=$DSYMUTIL
6826 # Extract the first word of "dsymutil", so it can be a program name with args.
6827 set dummy dsymutil; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$ac_ct_DSYMUTIL"; then
6834 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir=.
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6854 if test -n "$ac_ct_DSYMUTIL"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6856 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6862 if test "x$ac_ct_DSYMUTIL" = x; then
6865 case $cross_compiling:$ac_tool_warned in
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6869 ac_tool_warned=yes ;;
6871 DSYMUTIL=$ac_ct_DSYMUTIL
6874 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_NMEDIT+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$NMEDIT"; then
6886 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 NMEDIT=$ac_cv_prog_NMEDIT
6906 if test -n "$NMEDIT"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6908 $as_echo "$NMEDIT" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6916 if test -z "$ac_cv_prog_NMEDIT"; then
6917 ac_ct_NMEDIT=$NMEDIT
6918 # Extract the first word of "nmedit", so it can be a program name with args.
6919 set dummy nmedit; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$ac_ct_NMEDIT"; then
6926 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6946 if test -n "$ac_ct_NMEDIT"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6948 $as_echo "$ac_ct_NMEDIT" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6954 if test "x$ac_ct_NMEDIT" = x; then
6957 case $cross_compiling:$ac_tool_warned in
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6963 NMEDIT=$ac_ct_NMEDIT
6966 NMEDIT="$ac_cv_prog_NMEDIT"
6969 if test -n "$ac_tool_prefix"; then
6970 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if ${ac_cv_prog_LIPO+:} false; then :
6975 $as_echo_n "(cached) " >&6
6977 if test -n "$LIPO"; then
6978 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir=.
6985 for ac_exec_ext in '' $ac_executable_extensions; do
6986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 LIPO=$ac_cv_prog_LIPO
6998 if test -n "$LIPO"; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7000 $as_echo "$LIPO" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7008 if test -z "$ac_cv_prog_LIPO"; then
7010 # Extract the first word of "lipo", so it can be a program name with args.
7011 set dummy lipo; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$ac_ct_LIPO"; then
7018 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_ac_ct_LIPO="lipo"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7038 if test -n "$ac_ct_LIPO"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7040 $as_echo "$ac_ct_LIPO" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7046 if test "x$ac_ct_LIPO" = x; then
7049 case $cross_compiling:$ac_tool_warned in
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned=yes ;;
7058 LIPO="$ac_cv_prog_LIPO"
7061 if test -n "$ac_tool_prefix"; then
7062 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}otool; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_prog_OTOOL+:} false; then :
7067 $as_echo_n "(cached) " >&6
7069 if test -n "$OTOOL"; then
7070 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 OTOOL=$ac_cv_prog_OTOOL
7090 if test -n "$OTOOL"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7092 $as_echo "$OTOOL" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7100 if test -z "$ac_cv_prog_OTOOL"; then
7102 # Extract the first word of "otool", so it can be a program name with args.
7103 set dummy otool; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 if test -n "$ac_ct_OTOOL"; then
7110 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_ac_ct_OTOOL="otool"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7130 if test -n "$ac_ct_OTOOL"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7132 $as_echo "$ac_ct_OTOOL" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7138 if test "x$ac_ct_OTOOL" = x; then
7141 case $cross_compiling:$ac_tool_warned in
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7145 ac_tool_warned=yes ;;
7150 OTOOL="$ac_cv_prog_OTOOL"
7153 if test -n "$ac_tool_prefix"; then
7154 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7155 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if ${ac_cv_prog_OTOOL64+:} false; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$OTOOL64"; then
7162 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir=.
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 OTOOL64=$ac_cv_prog_OTOOL64
7182 if test -n "$OTOOL64"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7184 $as_echo "$OTOOL64" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7192 if test -z "$ac_cv_prog_OTOOL64"; then
7193 ac_ct_OTOOL64=$OTOOL64
7194 # Extract the first word of "otool64", so it can be a program name with args.
7195 set dummy otool64; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$ac_ct_OTOOL64"; then
7202 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_ac_ct_OTOOL64="otool64"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7222 if test -n "$ac_ct_OTOOL64"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7224 $as_echo "$ac_ct_OTOOL64" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7230 if test "x$ac_ct_OTOOL64" = x; then
7233 case $cross_compiling:$ac_tool_warned in
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned=yes ;;
7239 OTOOL64=$ac_ct_OTOOL64
7242 OTOOL64="$ac_cv_prog_OTOOL64"
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7272 $as_echo_n "checking for -single_module linker flag... " >&6; }
7273 if ${lt_cv_apple_cc_single_mod+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 lt_cv_apple_cc_single_mod=no
7277 if test -z "${LT_MULTI_MODULE}"; then
7278 # By default we will add the -single_module flag. You can override
7279 # by either setting the environment variable LT_MULTI_MODULE
7280 # non-empty at configure time, or by adding -multi_module to the
7282 rm -rf libconftest.dylib*
7283 echo "int foo(void){return 1;}" > conftest.c
7284 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7285 -dynamiclib -Wl,-single_module conftest.c" >&5
7286 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7287 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7289 # If there is a non-empty error log, and "single_module"
7290 # appears in it, assume the flag caused a linker warning
7291 if test -s conftest.err && $GREP single_module conftest.err; then
7292 cat conftest.err >&5
7293 # Otherwise, if the output was created with a 0 exit code from
7294 # the compiler, it worked.
7295 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7296 lt_cv_apple_cc_single_mod=yes
7298 cat conftest.err >&5
7300 rm -rf libconftest.dylib*
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7305 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7308 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7309 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7310 $as_echo_n "(cached) " >&6
7312 lt_cv_ld_exported_symbols_list=no
7313 save_LDFLAGS=$LDFLAGS
7314 echo "_main" > conftest.sym
7315 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7327 if ac_fn_c_try_link "$LINENO"; then :
7328 lt_cv_ld_exported_symbols_list=yes
7330 lt_cv_ld_exported_symbols_list=no
7332 rm -f core conftest.err conftest.$ac_objext \
7333 conftest$ac_exeext conftest.$ac_ext
7334 LDFLAGS="$save_LDFLAGS"
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7338 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7341 $as_echo_n "checking for -force_load linker flag... " >&6; }
7342 if ${lt_cv_ld_force_load+:} false; then :
7343 $as_echo_n "(cached) " >&6
7345 lt_cv_ld_force_load=no
7346 cat > conftest.c << _LT_EOF
7347 int forced_loaded() { return 2;}
7349 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7350 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7351 echo "$AR cru libconftest.a conftest.o" >&5
7352 $AR cru libconftest.a conftest.o 2>&5
7353 echo "$RANLIB libconftest.a" >&5
7354 $RANLIB libconftest.a 2>&5
7355 cat > conftest.c << _LT_EOF
7356 int main() { return 0;}
7358 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7359 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7361 if test -s conftest.err && $GREP force_load conftest.err; then
7362 cat conftest.err >&5
7363 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7364 lt_cv_ld_force_load=yes
7366 cat conftest.err >&5
7368 rm -f conftest.err libconftest.a conftest conftest.c
7369 rm -rf conftest.dSYM
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7373 $as_echo "$lt_cv_ld_force_load" >&6; }
7375 rhapsody* | darwin1.[012])
7376 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7378 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7379 darwin*) # darwin 5.x on
7380 # if running on 10.5 or later, the deployment target defaults
7381 # to the OS version, if on x86, and 10.4, the deployment
7382 # target defaults to 10.4. Don't you love it?
7383 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7384 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7385 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7387 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7389 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7393 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7394 _lt_dar_single_mod='$single_module'
7396 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7397 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7399 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7401 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7402 _lt_dsymutil='~$DSYMUTIL $lib || :'
7410 ac_cpp='$CPP $CPPFLAGS'
7411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7415 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7416 # On Suns, sometimes $CPP names a directory.
7417 if test -n "$CPP" && test -d "$CPP"; then
7420 if test -z "$CPP"; then
7421 if ${ac_cv_prog_CPP+:} false; then :
7422 $as_echo_n "(cached) " >&6
7424 # Double quotes because CPP needs to be expanded
7425 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7428 for ac_c_preproc_warn_flag in '' yes
7430 # Use a header file that comes with gcc, so configuring glibc
7431 # with a fresh cross-compiler works.
7432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7433 # <limits.h> exists even on freestanding compilers.
7434 # On the NeXT, cc -E runs the code through the compiler's parser,
7435 # not just through cpp. "Syntax error" is here to catch this case.
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7439 # include <limits.h>
7441 # include <assert.h>
7445 if ac_fn_c_try_cpp "$LINENO"; then :
7448 # Broken: fails on valid input.
7451 rm -f conftest.err conftest.i conftest.$ac_ext
7453 # OK, works on sane cases. Now check whether nonexistent headers
7454 # can be detected and how.
7455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h. */
7457 #include <ac_nonexistent.h>
7459 if ac_fn_c_try_cpp "$LINENO"; then :
7460 # Broken: success on invalid input.
7463 # Passes both tests.
7467 rm -f conftest.err conftest.i conftest.$ac_ext
7470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7471 rm -f conftest.i conftest.err conftest.$ac_ext
7472 if $ac_preproc_ok; then :
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7485 $as_echo "$CPP" >&6; }
7487 for ac_c_preproc_warn_flag in '' yes
7489 # Use a header file that comes with gcc, so configuring glibc
7490 # with a fresh cross-compiler works.
7491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7492 # <limits.h> exists even on freestanding compilers.
7493 # On the NeXT, cc -E runs the code through the compiler's parser,
7494 # not just through cpp. "Syntax error" is here to catch this case.
7495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 /* end confdefs.h. */
7498 # include <limits.h>
7500 # include <assert.h>
7504 if ac_fn_c_try_cpp "$LINENO"; then :
7507 # Broken: fails on valid input.
7510 rm -f conftest.err conftest.i conftest.$ac_ext
7512 # OK, works on sane cases. Now check whether nonexistent headers
7513 # can be detected and how.
7514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h. */
7516 #include <ac_nonexistent.h>
7518 if ac_fn_c_try_cpp "$LINENO"; then :
7519 # Broken: success on invalid input.
7522 # Passes both tests.
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7530 rm -f conftest.i conftest.err conftest.$ac_ext
7531 if $ac_preproc_ok; then :
7534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7536 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7537 See \`config.log' for more details" "$LINENO" 5; }
7541 ac_cpp='$CPP $CPPFLAGS'
7542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7548 $as_echo_n "checking for ANSI C header files... " >&6; }
7549 if ${ac_cv_header_stdc+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7567 if ac_fn_c_try_compile "$LINENO"; then :
7568 ac_cv_header_stdc=yes
7570 ac_cv_header_stdc=no
7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574 if test $ac_cv_header_stdc = yes; then
7575 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7582 $EGREP "memchr" >/dev/null 2>&1; then :
7585 ac_cv_header_stdc=no
7591 if test $ac_cv_header_stdc = yes; then
7592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7599 $EGREP "free" >/dev/null 2>&1; then :
7602 ac_cv_header_stdc=no
7608 if test $ac_cv_header_stdc = yes; then
7609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7610 if test "$cross_compiling" = yes; then :
7613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h. */
7617 #if ((' ' & 0x0FF) == 0x020)
7618 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7619 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7621 # define ISLOWER(c) \
7622 (('a' <= (c) && (c) <= 'i') \
7623 || ('j' <= (c) && (c) <= 'r') \
7624 || ('s' <= (c) && (c) <= 'z'))
7625 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7628 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7633 for (i = 0; i < 256; i++)
7634 if (XOR (islower (i), ISLOWER (i))
7635 || toupper (i) != TOUPPER (i))
7640 if ac_fn_c_try_run "$LINENO"; then :
7643 ac_cv_header_stdc=no
7645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7646 conftest.$ac_objext conftest.beam conftest.$ac_ext
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7652 $as_echo "$ac_cv_header_stdc" >&6; }
7653 if test $ac_cv_header_stdc = yes; then
7655 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7660 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7661 inttypes.h stdint.h unistd.h
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7676 for ac_header in dlfcn.h
7678 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7680 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_DLFCN_H 1
7694 # Check whether --enable-static was given.
7695 if test "${enable_static+set}" = set; then :
7696 enableval=$enable_static; p=${PACKAGE-default}
7698 yes) enable_static=yes ;;
7699 no) enable_static=no ;;
7702 # Look at the argument we got. We use all the common list separators.
7703 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7704 for pkg in $enableval; do
7706 if test "X$pkg" = "X$p"; then
7732 # Check whether --enable-shared was given.
7733 if test "${enable_shared+set}" = set; then :
7734 enableval=$enable_shared; p=${PACKAGE-default}
7736 yes) enable_shared=yes ;;
7737 no) enable_shared=no ;;
7740 # Look at the argument we got. We use all the common list separators.
7741 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7742 for pkg in $enableval; do
7744 if test "X$pkg" = "X$p"; then
7765 # Check whether --with-pic was given.
7766 if test "${with_pic+set}" = set; then :
7767 withval=$with_pic; lt_p=${PACKAGE-default}
7769 yes|no) pic_mode=$withval ;;
7772 # Look at the argument we got. We use all the common list separators.
7773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7774 for lt_pkg in $withval; do
7776 if test "X$lt_pkg" = "X$lt_p"; then
7788 test -z "$pic_mode" && pic_mode=default
7796 # Check whether --enable-fast-install was given.
7797 if test "${enable_fast_install+set}" = set; then :
7798 enableval=$enable_fast_install; p=${PACKAGE-default}
7800 yes) enable_fast_install=yes ;;
7801 no) enable_fast_install=no ;;
7803 enable_fast_install=no
7804 # Look at the argument we got. We use all the common list separators.
7805 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7806 for pkg in $enableval; do
7808 if test "X$pkg" = "X$p"; then
7809 enable_fast_install=yes
7816 enable_fast_install=yes
7829 # This can be used to rebuild libtool when needed
7830 LIBTOOL_DEPS="$ltmain"
7832 # Always use our own libtool.
7833 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7864 test -z "$LN_S" && LN_S="ln -s"
7879 if test -n "${ZSH_VERSION+set}" ; then
7880 setopt NO_GLOB_SUBST
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7884 $as_echo_n "checking for objdir... " >&6; }
7885 if ${lt_cv_objdir+:} false; then :
7886 $as_echo_n "(cached) " >&6
7888 rm -f .libs 2>/dev/null
7889 mkdir .libs 2>/dev/null
7890 if test -d .libs; then
7893 # MS-DOS does not allow filenames that begin with a dot.
7896 rmdir .libs 2>/dev/null
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7899 $as_echo "$lt_cv_objdir" >&6; }
7900 objdir=$lt_cv_objdir
7906 cat >>confdefs.h <<_ACEOF
7907 #define LT_OBJDIR "$lt_cv_objdir/"
7915 # AIX sometimes has problems with the GCC collect2 program. For some
7916 # reason, if we set the COLLECT_NAMES environment variable, the problems
7917 # vanish in a puff of smoke.
7918 if test "X${COLLECT_NAMES+set}" != Xset; then
7920 export COLLECT_NAMES
7927 can_build_shared=yes
7929 # All known linkers require a `.a' archive for static linking (except MSVC,
7930 # which needs '.lib').
7933 with_gnu_ld="$lt_cv_prog_gnu_ld"
7936 old_CFLAGS="$CFLAGS"
7938 # Set sane defaults for various variables
7939 test -z "$CC" && CC=cc
7940 test -z "$LTCC" && LTCC=$CC
7941 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7942 test -z "$LD" && LD=ld
7943 test -z "$ac_objext" && ac_objext=o
7945 for cc_temp in $compiler""; do
7947 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7948 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7953 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7956 # Only perform the check for file, if the check method requires it
7957 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7958 case $deplibs_check_method in
7960 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7962 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7963 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7964 $as_echo_n "(cached) " >&6
7968 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7971 lt_save_MAGIC_CMD="$MAGIC_CMD"
7972 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7973 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7974 for ac_dir in $ac_dummy; do
7976 test -z "$ac_dir" && ac_dir=.
7977 if test -f $ac_dir/${ac_tool_prefix}file; then
7978 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7979 if test -n "$file_magic_test_file"; then
7980 case $deplibs_check_method in
7982 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7984 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7985 $EGREP "$file_magic_regex" > /dev/null; then
7990 *** Warning: the command libtool uses to detect shared libraries,
7991 *** $file_magic_cmd, produces output that libtool cannot recognize.
7992 *** The result is that libtool may fail to recognize shared libraries
7993 *** as such. This will affect the creation of libtool libraries that
7994 *** depend on shared libraries, but programs linked with such libtool
7995 *** libraries will work regardless of this problem. Nevertheless, you
7996 *** may want to report the problem to your system manager and/or to
7997 *** bug-libtool@gnu.org
8007 MAGIC_CMD="$lt_save_MAGIC_CMD"
8012 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8013 if test -n "$MAGIC_CMD"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8015 $as_echo "$MAGIC_CMD" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8025 if test -z "$lt_cv_path_MAGIC_CMD"; then
8026 if test -n "$ac_tool_prefix"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8028 $as_echo_n "checking for file... " >&6; }
8029 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8030 $as_echo_n "(cached) " >&6
8034 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8037 lt_save_MAGIC_CMD="$MAGIC_CMD"
8038 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8039 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8040 for ac_dir in $ac_dummy; do
8042 test -z "$ac_dir" && ac_dir=.
8043 if test -f $ac_dir/file; then
8044 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8045 if test -n "$file_magic_test_file"; then
8046 case $deplibs_check_method in
8048 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8049 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8050 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8051 $EGREP "$file_magic_regex" > /dev/null; then
8056 *** Warning: the command libtool uses to detect shared libraries,
8057 *** $file_magic_cmd, produces output that libtool cannot recognize.
8058 *** The result is that libtool may fail to recognize shared libraries
8059 *** as such. This will affect the creation of libtool libraries that
8060 *** depend on shared libraries, but programs linked with such libtool
8061 *** libraries will work regardless of this problem. Nevertheless, you
8062 *** may want to report the problem to your system manager and/or to
8063 *** bug-libtool@gnu.org
8073 MAGIC_CMD="$lt_save_MAGIC_CMD"
8078 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8079 if test -n "$MAGIC_CMD"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8081 $as_echo "$MAGIC_CMD" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8097 # Use C for the default configuration in the libtool script
8101 ac_cpp='$CPP $CPPFLAGS'
8102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8107 # Source file extension for C test sources.
8110 # Object file extension for compiled C test sources.
8114 # Code to be used in simple compile tests
8115 lt_simple_compile_test_code="int some_variable = 0;"
8117 # Code to be used in simple link tests
8118 lt_simple_link_test_code='int main(){return(0);}'
8126 # If no C compiler was specified, use CC.
8129 # If no C compiler flags were specified, use CFLAGS.
8130 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8132 # Allow CC to be a program name with arguments.
8135 # Save the default compiler, since it gets overwritten when the other
8136 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8137 compiler_DEFAULT=$CC
8139 # save warnings/boilerplate of simple test code
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8143 _lt_compiler_boilerplate=`cat conftest.err`
8146 ac_outfile=conftest.$ac_objext
8147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8149 _lt_linker_boilerplate=`cat conftest.err`
8154 ## There is no encapsulation within the following macros, do not change
8155 ## the running order or otherwise move them around unless you know exactly
8156 ## what you are doing...
8157 if test -n "$compiler"; then
8159 lt_prog_compiler_no_builtin_flag=
8161 if test "$GCC" = yes; then
8162 case $cc_basename in
8164 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8166 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8170 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8171 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8172 $as_echo_n "(cached) " >&6
8174 lt_cv_prog_compiler_rtti_exceptions=no
8175 ac_outfile=conftest.$ac_objext
8176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8177 lt_compiler_flag="-fno-rtti -fno-exceptions"
8178 # Insert the option either (1) after the last *FLAGS variable, or
8179 # (2) before a word containing "conftest.", or (3) at the end.
8180 # Note that $ac_compile itself does not contain backslashes and begins
8181 # with a dollar sign (not a hyphen), so the echo should work correctly.
8182 # The option is referenced via a variable to avoid confusing sed.
8183 lt_compile=`echo "$ac_compile" | $SED \
8184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8186 -e 's:$: $lt_compiler_flag:'`
8187 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8188 (eval "$lt_compile" 2>conftest.err)
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 if (exit $ac_status) && test -s "$ac_outfile"; then
8193 # The compiler can only warn and ignore the option if not recognized
8194 # So say no if there are warnings other than the usual output.
8195 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8196 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8197 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8198 lt_cv_prog_compiler_rtti_exceptions=yes
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8205 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8207 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8208 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8220 lt_prog_compiler_wl=
8221 lt_prog_compiler_pic=
8222 lt_prog_compiler_static=
8225 if test "$GCC" = yes; then
8226 lt_prog_compiler_wl='-Wl,'
8227 lt_prog_compiler_static='-static'
8231 # All AIX code is PIC.
8232 if test "$host_cpu" = ia64; then
8233 # AIX 5 now supports IA64 processor
8234 lt_prog_compiler_static='-Bstatic'
8241 # see comment about AmigaOS4 .so support
8242 lt_prog_compiler_pic='-fPIC'
8245 # FIXME: we need at least 68020 code to build shared libraries, but
8246 # adding the `-m68020' flag to GCC prevents building anything better,
8248 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8253 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8254 # PIC is the default for these OSes.
8257 mingw* | cygwin* | pw32* | os2* | cegcc*)
8258 # This hack is so that the source file can tell whether it is being
8259 # built for inclusion in a dll (and should export symbols for example).
8260 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8261 # (--disable-auto-import) libraries
8262 lt_prog_compiler_pic='-DDLL_EXPORT'
8265 darwin* | rhapsody*)
8266 # PIC is the default on this platform
8267 # Common symbols not allowed in MH_DYLIB files
8268 lt_prog_compiler_pic='-fno-common'
8272 # PIC is the default for Haiku.
8273 # The "-static" flag exists, but is broken.
8274 lt_prog_compiler_static=
8278 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8279 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8280 # sets the default TLS model and affects inlining.
8286 lt_prog_compiler_pic='-fPIC'
8292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8293 # Instead, we relocate shared libraries at runtime.
8297 # Just because we use GCC doesn't mean we suddenly get shared libraries
8298 # on systems that don't support them.
8299 lt_prog_compiler_can_build_shared=no
8304 # QNX uses GNU C++, but need to define -shared option too, otherwise
8306 lt_prog_compiler_pic='-fPIC -shared'
8310 if test -d /usr/nec; then
8311 lt_prog_compiler_pic=-Kconform_pic
8316 lt_prog_compiler_pic='-fPIC'
8320 case $cc_basename in
8321 nvcc*) # Cuda Compiler Driver 2.2
8322 lt_prog_compiler_wl='-Xlinker '
8323 if test -n "$lt_prog_compiler_pic"; then
8324 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8329 # PORTME Check for flag to pass linker flags through the system compiler.
8332 lt_prog_compiler_wl='-Wl,'
8333 if test "$host_cpu" = ia64; then
8334 # AIX 5 now supports IA64 processor
8335 lt_prog_compiler_static='-Bstatic'
8337 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8341 mingw* | cygwin* | pw32* | os2* | cegcc*)
8342 # This hack is so that the source file can tell whether it is being
8343 # built for inclusion in a dll (and should export symbols for example).
8344 lt_prog_compiler_pic='-DDLL_EXPORT'
8347 hpux9* | hpux10* | hpux11*)
8348 lt_prog_compiler_wl='-Wl,'
8349 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8356 lt_prog_compiler_pic='+Z'
8359 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8360 lt_prog_compiler_static='${wl}-a ${wl}archive'
8363 irix5* | irix6* | nonstopux*)
8364 lt_prog_compiler_wl='-Wl,'
8365 # PIC (with -KPIC) is the default.
8366 lt_prog_compiler_static='-non_shared'
8369 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8370 case $cc_basename in
8371 # old Intel for x86_64 which still supported -KPIC.
8373 lt_prog_compiler_wl='-Wl,'
8374 lt_prog_compiler_pic='-KPIC'
8375 lt_prog_compiler_static='-static'
8377 # icc used to be incompatible with GCC.
8378 # ICC 10 doesn't accept -KPIC any more.
8380 lt_prog_compiler_wl='-Wl,'
8381 lt_prog_compiler_pic='-fPIC'
8382 lt_prog_compiler_static='-static'
8384 # Lahey Fortran 8.1.
8386 lt_prog_compiler_wl='-Wl,'
8387 lt_prog_compiler_pic='--shared'
8388 lt_prog_compiler_static='--static'
8391 # NAG Fortran compiler
8392 lt_prog_compiler_wl='-Wl,-Wl,,'
8393 lt_prog_compiler_pic='-PIC'
8394 lt_prog_compiler_static='-Bstatic'
8396 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8397 # Portland Group compilers (*not* the Pentium gcc compiler,
8398 # which looks to be a dead project)
8399 lt_prog_compiler_wl='-Wl,'
8400 lt_prog_compiler_pic='-fpic'
8401 lt_prog_compiler_static='-Bstatic'
8404 lt_prog_compiler_wl='-Wl,'
8405 # All Alpha code is PIC.
8406 lt_prog_compiler_static='-non_shared'
8408 xl* | bgxl* | bgf* | mpixl*)
8409 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8410 lt_prog_compiler_wl='-Wl,'
8411 lt_prog_compiler_pic='-qpic'
8412 lt_prog_compiler_static='-qstaticlink'
8415 case `$CC -V 2>&1 | sed 5q` in
8416 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8417 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8418 lt_prog_compiler_pic='-KPIC'
8419 lt_prog_compiler_static='-Bstatic'
8420 lt_prog_compiler_wl=''
8422 *Sun\ F* | *Sun*Fortran*)
8423 lt_prog_compiler_pic='-KPIC'
8424 lt_prog_compiler_static='-Bstatic'
8425 lt_prog_compiler_wl='-Qoption ld '
8429 lt_prog_compiler_pic='-KPIC'
8430 lt_prog_compiler_static='-Bstatic'
8431 lt_prog_compiler_wl='-Wl,'
8433 *Intel*\ [CF]*Compiler*)
8434 lt_prog_compiler_wl='-Wl,'
8435 lt_prog_compiler_pic='-fPIC'
8436 lt_prog_compiler_static='-static'
8439 lt_prog_compiler_wl='-Wl,'
8440 lt_prog_compiler_pic='-fpic'
8441 lt_prog_compiler_static='-Bstatic'
8449 lt_prog_compiler_pic='-KPIC'
8450 lt_prog_compiler_static='-Bstatic'
8454 # QNX uses GNU C++, but need to define -shared option too, otherwise
8456 lt_prog_compiler_pic='-fPIC -shared'
8459 osf3* | osf4* | osf5*)
8460 lt_prog_compiler_wl='-Wl,'
8461 # All OSF/1 code is PIC.
8462 lt_prog_compiler_static='-non_shared'
8466 lt_prog_compiler_static='-non_shared'
8470 lt_prog_compiler_pic='-KPIC'
8471 lt_prog_compiler_static='-Bstatic'
8472 case $cc_basename in
8473 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8474 lt_prog_compiler_wl='-Qoption ld ';;
8476 lt_prog_compiler_wl='-Wl,';;
8481 lt_prog_compiler_wl='-Qoption ld '
8482 lt_prog_compiler_pic='-PIC'
8483 lt_prog_compiler_static='-Bstatic'
8486 sysv4 | sysv4.2uw2* | sysv4.3*)
8487 lt_prog_compiler_wl='-Wl,'
8488 lt_prog_compiler_pic='-KPIC'
8489 lt_prog_compiler_static='-Bstatic'
8493 if test -d /usr/nec ;then
8494 lt_prog_compiler_pic='-Kconform_pic'
8495 lt_prog_compiler_static='-Bstatic'
8499 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_pic='-KPIC'
8502 lt_prog_compiler_static='-Bstatic'
8506 lt_prog_compiler_wl='-Wl,'
8507 lt_prog_compiler_can_build_shared=no
8511 lt_prog_compiler_pic='-pic'
8512 lt_prog_compiler_static='-Bstatic'
8516 lt_prog_compiler_can_build_shared=no
8522 # For platforms which do not support PIC, -DPIC is meaningless:
8524 lt_prog_compiler_pic=
8527 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8532 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8533 if ${lt_cv_prog_compiler_pic+:} false; then :
8534 $as_echo_n "(cached) " >&6
8536 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8539 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8540 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8543 # Check to make sure the PIC flag actually works.
8545 if test -n "$lt_prog_compiler_pic"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8547 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8548 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8549 $as_echo_n "(cached) " >&6
8551 lt_cv_prog_compiler_pic_works=no
8552 ac_outfile=conftest.$ac_objext
8553 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8554 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8555 # Insert the option either (1) after the last *FLAGS variable, or
8556 # (2) before a word containing "conftest.", or (3) at the end.
8557 # Note that $ac_compile itself does not contain backslashes and begins
8558 # with a dollar sign (not a hyphen), so the echo should work correctly.
8559 # The option is referenced via a variable to avoid confusing sed.
8560 lt_compile=`echo "$ac_compile" | $SED \
8561 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8563 -e 's:$: $lt_compiler_flag:'`
8564 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8565 (eval "$lt_compile" 2>conftest.err)
8567 cat conftest.err >&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 if (exit $ac_status) && test -s "$ac_outfile"; then
8570 # The compiler can only warn and ignore the option if not recognized
8571 # So say no if there are warnings other than the usual output.
8572 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8573 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8574 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8575 lt_cv_prog_compiler_pic_works=yes
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8582 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8584 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8585 case $lt_prog_compiler_pic in
8587 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8590 lt_prog_compiler_pic=
8591 lt_prog_compiler_can_build_shared=no
8607 # Check to make sure the static flag actually works.
8609 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8611 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8612 if ${lt_cv_prog_compiler_static_works+:} false; then :
8613 $as_echo_n "(cached) " >&6
8615 lt_cv_prog_compiler_static_works=no
8616 save_LDFLAGS="$LDFLAGS"
8617 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8618 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8619 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8620 # The linker can only warn and ignore the option if not recognized
8621 # So say no if there are warnings
8622 if test -s conftest.err; then
8623 # Append any errors to the config.log.
8624 cat conftest.err 1>&5
8625 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8626 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8627 if diff conftest.exp conftest.er2 >/dev/null; then
8628 lt_cv_prog_compiler_static_works=yes
8631 lt_cv_prog_compiler_static_works=yes
8635 LDFLAGS="$save_LDFLAGS"
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8639 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8641 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8644 lt_prog_compiler_static=
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8654 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8655 if ${lt_cv_prog_compiler_c_o+:} false; then :
8656 $as_echo_n "(cached) " >&6
8658 lt_cv_prog_compiler_c_o=no
8659 $RM -r conftest 2>/dev/null
8663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8665 lt_compiler_flag="-o out/conftest2.$ac_objext"
8666 # Insert the option either (1) after the last *FLAGS variable, or
8667 # (2) before a word containing "conftest.", or (3) at the end.
8668 # Note that $ac_compile itself does not contain backslashes and begins
8669 # with a dollar sign (not a hyphen), so the echo should work correctly.
8670 lt_compile=`echo "$ac_compile" | $SED \
8671 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8673 -e 's:$: $lt_compiler_flag:'`
8674 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8675 (eval "$lt_compile" 2>out/conftest.err)
8677 cat out/conftest.err >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8681 # The compiler can only warn and ignore the option if not recognized
8682 # So say no if there are warnings
8683 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8684 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8685 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8686 lt_cv_prog_compiler_c_o=yes
8691 # SGI C++ compiler will create directory out/ii_files/ for
8692 # template instantiation
8693 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8694 $RM out/* && rmdir out
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8701 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8709 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8710 if ${lt_cv_prog_compiler_c_o+:} false; then :
8711 $as_echo_n "(cached) " >&6
8713 lt_cv_prog_compiler_c_o=no
8714 $RM -r conftest 2>/dev/null
8718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8720 lt_compiler_flag="-o out/conftest2.$ac_objext"
8721 # Insert the option either (1) after the last *FLAGS variable, or
8722 # (2) before a word containing "conftest.", or (3) at the end.
8723 # Note that $ac_compile itself does not contain backslashes and begins
8724 # with a dollar sign (not a hyphen), so the echo should work correctly.
8725 lt_compile=`echo "$ac_compile" | $SED \
8726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8728 -e 's:$: $lt_compiler_flag:'`
8729 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8730 (eval "$lt_compile" 2>out/conftest.err)
8732 cat out/conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8736 # The compiler can only warn and ignore the option if not recognized
8737 # So say no if there are warnings
8738 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8741 lt_cv_prog_compiler_c_o=yes
8746 # SGI C++ compiler will create directory out/ii_files/ for
8747 # template instantiation
8748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8749 $RM out/* && rmdir out
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8756 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8761 hard_links="nottested"
8762 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8763 # do not overwrite the value of need_locks provided by the user
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8765 $as_echo_n "checking if we can lock with hard links... " >&6; }
8768 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8770 ln conftest.a conftest.b 2>&5 || hard_links=no
8771 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8773 $as_echo "$hard_links" >&6; }
8774 if test "$hard_links" = no; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8776 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8789 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8792 allow_undefined_flag=
8793 always_export_symbols=no
8795 archive_expsym_cmds=
8796 compiler_needs_object=no
8797 enable_shared_with_static_runtimes=no
8798 export_dynamic_flag_spec=
8799 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8800 hardcode_automatic=no
8802 hardcode_direct_absolute=no
8803 hardcode_libdir_flag_spec=
8804 hardcode_libdir_separator=
8806 hardcode_shlibpath_var=unsupported
8808 link_all_deplibs=unknown
8811 old_archive_from_new_cmds=
8812 old_archive_from_expsyms_cmds=
8813 thread_safe_flag_spec=
8814 whole_archive_flag_spec=
8815 # include_expsyms should be a list of space-separated symbols to be *always*
8816 # included in the symbol list
8818 # exclude_expsyms can be an extended regexp of symbols to exclude
8819 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8820 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8821 # as well as any symbol that contains `d'.
8822 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8823 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8824 # platforms (ab)use it in PIC code, but their linkers get confused if
8825 # the symbol is explicitly referenced. Since portable code cannot
8826 # rely on this symbol name, it's probably fine to never include it in
8827 # preloaded symbol tables.
8828 # Exclude shared library initialization/finalization symbols.
8829 extract_expsyms_cmds=
8832 cygwin* | mingw* | pw32* | cegcc*)
8833 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8834 # When not using gcc, we currently assume that we are using
8835 # Microsoft Visual C++.
8836 if test "$GCC" != yes; then
8841 # we just hope/assume this is gcc and not c89 (= MSVC++)
8847 linux* | k*bsd*-gnu | gnu*)
8854 # On some targets, GNU ld is compatible enough with the native linker
8855 # that we're better off using the native interface for both.
8856 lt_use_gnu_ld_interface=no
8857 if test "$with_gnu_ld" = yes; then
8860 # The AIX port of GNU ld has always aspired to compatibility
8861 # with the native linker. However, as the warning in the GNU ld
8862 # block says, versions before 2.19.5* couldn't really create working
8863 # shared libraries, regardless of the interface used.
8864 case `$LD -v 2>&1` in
8865 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8866 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8867 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8869 lt_use_gnu_ld_interface=yes
8874 lt_use_gnu_ld_interface=yes
8879 if test "$lt_use_gnu_ld_interface" = yes; then
8880 # If archive_cmds runs LD, not CC, wlarc should be empty
8883 # Set some defaults for GNU ld with shared library support. These
8884 # are reset later if shared libraries are not supported. Putting them
8885 # here allows them to be overridden if necessary.
8886 runpath_var=LD_RUN_PATH
8887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8888 export_dynamic_flag_spec='${wl}--export-dynamic'
8889 # ancient GNU ld didn't support --whole-archive et. al.
8890 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8891 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8893 whole_archive_flag_spec=
8895 supports_anon_versioning=no
8896 case `$LD -v 2>&1` in
8897 *GNU\ gold*) supports_anon_versioning=yes ;;
8898 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8899 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8900 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8901 *\ 2.11.*) ;; # other 2.11 versions
8902 *) supports_anon_versioning=yes ;;
8905 # See if GNU ld supports shared libraries.
8908 # On AIX/PPC, the GNU linker is very broken
8909 if test "$host_cpu" != ia64; then
8913 *** Warning: the GNU linker, at least up to release 2.19, is reported
8914 *** to be unable to reliably create shared libraries on AIX.
8915 *** Therefore, libtool is disabling shared libraries support. If you
8916 *** really care for shared libraries, you may want to install binutils
8917 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8918 *** You will then need to restart the configuration process.
8927 # see comment about AmigaOS4 .so support
8928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929 archive_expsym_cmds=''
8932 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)'
8933 hardcode_libdir_flag_spec='-L$libdir'
8934 hardcode_minus_L=yes
8940 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8941 allow_undefined_flag=unsupported
8942 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8943 # support --undefined. This deserves some investigation. FIXME
8944 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8950 cygwin* | mingw* | pw32* | cegcc*)
8951 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8952 # as there is no search path for DLLs.
8953 hardcode_libdir_flag_spec='-L$libdir'
8954 export_dynamic_flag_spec='${wl}--export-all-symbols'
8955 allow_undefined_flag=unsupported
8956 always_export_symbols=no
8957 enable_shared_with_static_runtimes=yes
8958 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'
8959 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8961 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8962 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8963 # If the export-symbols file already is a .def file (1st line
8964 # is EXPORTS), use it as is; otherwise, prepend...
8965 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8966 cp $export_symbols $output_objdir/$soname.def;
8968 echo EXPORTS > $output_objdir/$soname.def;
8969 cat $export_symbols >> $output_objdir/$soname.def;
8971 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8978 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979 link_all_deplibs=yes
8984 hardcode_shlibpath_var=no
8985 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8986 export_dynamic_flag_spec='${wl}-E'
8987 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8988 # Instead, shared libraries are loaded at an image base (0x10000000 by
8989 # default) and relocated if they conflict, which is a slow very memory
8990 # consuming and fragmenting process. To avoid this, we pick a random,
8991 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8992 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8993 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8994 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'
8997 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8999 if test "$host_os" = linux-dietlibc; then
9000 case $cc_basename in
9001 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9004 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9005 && test "$tmp_diet" = no
9007 tmp_addflag=' $pic_flag'
9008 tmp_sharedflag='-shared'
9009 case $cc_basename,$host_cpu in
9010 pgcc*) # Portland Group C compiler
9011 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'
9012 tmp_addflag=' $pic_flag'
9014 pgf77* | pgf90* | pgf95* | pgfortran*)
9015 # Portland Group f77 and f90 compilers
9016 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'
9017 tmp_addflag=' $pic_flag -Mnomain' ;;
9018 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9019 tmp_addflag=' -i_dynamic' ;;
9020 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9021 tmp_addflag=' -i_dynamic -nofor_main' ;;
9022 ifc* | ifort*) # Intel Fortran compiler
9023 tmp_addflag=' -nofor_main' ;;
9024 lf95*) # Lahey Fortran 8.1
9025 whole_archive_flag_spec=
9026 tmp_sharedflag='--shared' ;;
9027 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9028 tmp_sharedflag='-qmkshrobj'
9030 nvcc*) # Cuda Compiler Driver 2.2
9031 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'
9032 compiler_needs_object=yes
9035 case `$CC -V 2>&1 | sed 5q` in
9036 *Sun\ C*) # Sun C 5.9
9037 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'
9038 compiler_needs_object=yes
9039 tmp_sharedflag='-G' ;;
9040 *Sun\ F*) # Sun Fortran 8.3
9041 tmp_sharedflag='-G' ;;
9043 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045 if test "x$supports_anon_versioning" = xyes; then
9046 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9047 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9048 echo "local: *; };" >> $output_objdir/$libname.ver~
9049 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9052 case $cc_basename in
9053 xlf* | bgf* | bgxlf* | mpixlf*)
9054 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9055 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9057 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9058 if test "x$supports_anon_versioning" = xyes; then
9059 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9060 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9061 echo "local: *; };" >> $output_objdir/$libname.ver~
9062 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9071 netbsd* | netbsdelf*-gnu)
9072 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9073 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9076 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9082 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9086 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9087 *** create shared libraries on Solaris systems. Therefore, libtool
9088 *** is disabling shared libraries support. We urge you to upgrade GNU
9089 *** binutils to release 2.9.1 or newer. Another option is to modify
9090 *** your PATH or compiler configuration so that the native linker is
9091 *** used, and then restart.
9094 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9096 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9102 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9103 case `$LD -v 2>&1` in
9104 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9108 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9109 *** reliably create shared libraries on SCO systems. Therefore, libtool
9110 *** is disabling shared libraries support. We urge you to upgrade GNU
9111 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9112 *** your PATH or compiler configuration so that the native linker is
9113 *** used, and then restart.
9118 # For security reasons, it is highly recommended that you always
9119 # use absolute paths for naming shared libraries, and exclude the
9120 # DT_RUNPATH tag from executables and libraries. But doing so
9121 # requires that you compile everything twice, which is a pain.
9122 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9123 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9124 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9125 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9134 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9137 hardcode_shlibpath_var=no
9141 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9142 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9150 if test "$ld_shlibs" = no; then
9152 hardcode_libdir_flag_spec=
9153 export_dynamic_flag_spec=
9154 whole_archive_flag_spec=
9157 # PORTME fill in a description of your system's linker (not GNU ld)
9160 allow_undefined_flag=unsupported
9161 always_export_symbols=yes
9162 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'
9163 # Note: this linker hardcodes the directories in LIBPATH if there
9164 # are no directories specified by -L.
9165 hardcode_minus_L=yes
9166 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9167 # Neither direct hardcoding nor static linking is supported with a
9169 hardcode_direct=unsupported
9174 if test "$host_cpu" = ia64; then
9175 # On IA64, the linker does run time linking by default, so we don't
9176 # have to do anything special.
9177 aix_use_runtimelinking=no
9178 exp_sym_flag='-Bexport'
9181 # If we're using GNU nm, then we don't want the "-C" option.
9182 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9183 # Also, AIX nm treats weak defined symbols like other global
9184 # defined symbols, whereas GNU nm marks them as "W".
9185 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9186 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'
9188 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'
9190 aix_use_runtimelinking=no
9192 # Test if we are trying to use run time linking or normal
9193 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9194 # need to do runtime linking.
9195 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9196 for ld_flag in $LDFLAGS; do
9197 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9198 aix_use_runtimelinking=yes
9205 exp_sym_flag='-bexport'
9206 no_entry_flag='-bnoentry'
9209 # When large executables or shared objects are built, AIX ld can
9210 # have problems creating the table of contents. If linking a library
9211 # or program results in "error TOC overflow" add -mminimal-toc to
9212 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9213 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9217 hardcode_direct_absolute=yes
9218 hardcode_libdir_separator=':'
9219 link_all_deplibs=yes
9220 file_list_spec='${wl}-f,'
9222 if test "$GCC" = yes; then
9223 case $host_os in aix4.[012]|aix4.[012].*)
9224 # We only want to do this on AIX 4.2 and lower, the check
9225 # below for broken collect2 doesn't work under 4.3+
9226 collect2name=`${CC} -print-prog-name=collect2`
9227 if test -f "$collect2name" &&
9228 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9230 # We have reworked collect2
9233 # We have old collect2
9234 hardcode_direct=unsupported
9235 # It fails to find uninstalled libraries when the uninstalled
9236 # path is not listed in the libpath. Setting hardcode_minus_L
9237 # to unsupported forces relinking
9238 hardcode_minus_L=yes
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 hardcode_libdir_separator=
9244 shared_flag='-shared'
9245 if test "$aix_use_runtimelinking" = yes; then
9246 shared_flag="$shared_flag "'${wl}-G'
9251 if test "$host_cpu" = ia64; then
9252 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9253 # chokes on -Wl,-G. The following line is correct:
9256 if test "$aix_use_runtimelinking" = yes; then
9257 shared_flag='${wl}-G'
9259 shared_flag='${wl}-bM:SRE'
9264 export_dynamic_flag_spec='${wl}-bexpall'
9265 # It seems that -bexpall does not export symbols beginning with
9266 # underscore (_), so it is better to generate a list of symbols to export.
9267 always_export_symbols=yes
9268 if test "$aix_use_runtimelinking" = yes; then
9269 # Warning - without using the other runtime loading flags (-brtl),
9270 # -berok will link without error, but may produce a broken library.
9271 allow_undefined_flag='-berok'
9272 # Determine the default libpath from the value encoded in an
9274 if test "${lt_cv_aix_libpath+set}" = set; then
9275 aix_libpath=$lt_cv_aix_libpath
9277 if ${lt_cv_aix_libpath_+:} false; then :
9278 $as_echo_n "(cached) " >&6
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9291 if ac_fn_c_try_link "$LINENO"; then :
9293 lt_aix_libpath_sed='
9294 /Import File Strings/,/^$/ {
9296 s/^0 *\([^ ]*\) *$/\1/
9300 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9301 # Check for a 64-bit object if we didn't find anything.
9302 if test -z "$lt_cv_aix_libpath_"; then
9303 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 if test -z "$lt_cv_aix_libpath_"; then
9309 lt_cv_aix_libpath_="/usr/lib:/lib"
9314 aix_libpath=$lt_cv_aix_libpath_
9317 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9318 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"
9320 if test "$host_cpu" = ia64; then
9321 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9322 allow_undefined_flag="-z nodefs"
9323 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"
9325 # Determine the default libpath from the value encoded in an
9327 if test "${lt_cv_aix_libpath+set}" = set; then
9328 aix_libpath=$lt_cv_aix_libpath
9330 if ${lt_cv_aix_libpath_+:} false; then :
9331 $as_echo_n "(cached) " >&6
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9344 if ac_fn_c_try_link "$LINENO"; then :
9346 lt_aix_libpath_sed='
9347 /Import File Strings/,/^$/ {
9349 s/^0 *\([^ ]*\) *$/\1/
9353 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354 # Check for a 64-bit object if we didn't find anything.
9355 if test -z "$lt_cv_aix_libpath_"; then
9356 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 if test -z "$lt_cv_aix_libpath_"; then
9362 lt_cv_aix_libpath_="/usr/lib:/lib"
9367 aix_libpath=$lt_cv_aix_libpath_
9370 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371 # Warning - without using the other run time loading flags,
9372 # -berok will link without error, but may produce a broken library.
9373 no_undefined_flag=' ${wl}-bernotok'
9374 allow_undefined_flag=' ${wl}-berok'
9375 if test "$with_gnu_ld" = yes; then
9376 # We only use this code for GNU lds that support --whole-archive.
9377 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9379 # Exported symbols can be pulled into shared objects from archives
9380 whole_archive_flag_spec='$convenience'
9382 archive_cmds_need_lc=yes
9383 # This is similar to how AIX traditionally builds its shared libraries.
9384 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'
9392 # see comment about AmigaOS4 .so support
9393 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 archive_expsym_cmds=''
9397 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)'
9398 hardcode_libdir_flag_spec='-L$libdir'
9399 hardcode_minus_L=yes
9405 export_dynamic_flag_spec=-rdynamic
9408 cygwin* | mingw* | pw32* | cegcc*)
9409 # When not using gcc, we currently assume that we are using
9410 # Microsoft Visual C++.
9411 # hardcode_libdir_flag_spec is actually meaningless, as there is
9412 # no search path for DLLs.
9413 case $cc_basename in
9416 hardcode_libdir_flag_spec=' '
9417 allow_undefined_flag=unsupported
9418 always_export_symbols=yes
9420 # Tell ltmain to make .lib files, not .a files.
9422 # Tell ltmain to make .dll files, not .so files.
9424 # FIXME: Setting linknames here is a bad hack.
9425 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9426 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9427 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9429 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9431 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9433 # The linker will not automatically build a static lib if we build a DLL.
9434 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9435 enable_shared_with_static_runtimes=yes
9436 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9437 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9439 old_postinstall_cmds='chmod 644 $oldlib'
9440 postlink_cmds='lt_outputfile="@OUTPUT@"~
9441 lt_tool_outputfile="@TOOL_OUTPUT@"~
9442 case $lt_outputfile in
9445 lt_outputfile="$lt_outputfile.exe"
9446 lt_tool_outputfile="$lt_tool_outputfile.exe"
9449 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9450 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9451 $RM "$lt_outputfile.manifest";
9455 # Assume MSVC wrapper
9456 hardcode_libdir_flag_spec=' '
9457 allow_undefined_flag=unsupported
9458 # Tell ltmain to make .lib files, not .a files.
9460 # Tell ltmain to make .dll files, not .so files.
9462 # FIXME: Setting linknames here is a bad hack.
9463 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9464 # The linker will automatically build a .lib file if we build a DLL.
9465 old_archive_from_new_cmds='true'
9466 # FIXME: Should let the user specify the lib program.
9467 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9468 enable_shared_with_static_runtimes=yes
9473 darwin* | rhapsody*)
9476 archive_cmds_need_lc=no
9478 hardcode_automatic=yes
9479 hardcode_shlibpath_var=unsupported
9480 if test "$lt_cv_ld_force_load" = "yes"; then
9481 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\"`'
9484 whole_archive_flag_spec=''
9486 link_all_deplibs=yes
9487 allow_undefined_flag="$_lt_dar_allow_undefined"
9488 case $cc_basename in
9489 ifort*) _lt_dar_can_shared=yes ;;
9490 *) _lt_dar_can_shared=$GCC ;;
9492 if test "$_lt_dar_can_shared" = "yes"; then
9493 output_verbose_link_cmd=func_echo_all
9494 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9495 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9496 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}"
9497 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}"
9506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507 hardcode_libdir_flag_spec='-L$libdir'
9508 hardcode_shlibpath_var=no
9511 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9512 # support. Future versions do this automatically, but an explicit c++rt0.o
9513 # does not break anything, and helps significantly (at the cost of a little
9516 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9517 hardcode_libdir_flag_spec='-R$libdir'
9519 hardcode_shlibpath_var=no
9522 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9524 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9526 hardcode_minus_L=yes
9527 hardcode_shlibpath_var=no
9530 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9531 freebsd* | dragonfly*)
9532 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9533 hardcode_libdir_flag_spec='-R$libdir'
9535 hardcode_shlibpath_var=no
9539 if test "$GCC" = yes; then
9540 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'
9542 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'
9544 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9545 hardcode_libdir_separator=:
9548 # hardcode_minus_L: Not really in the search PATH,
9549 # but as the default location of the library.
9550 hardcode_minus_L=yes
9551 export_dynamic_flag_spec='${wl}-E'
9555 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9556 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9560 if test "$with_gnu_ld" = no; then
9561 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9562 hardcode_libdir_separator=:
9564 hardcode_direct_absolute=yes
9565 export_dynamic_flag_spec='${wl}-E'
9566 # hardcode_minus_L: Not really in the search PATH,
9567 # but as the default location of the library.
9568 hardcode_minus_L=yes
9573 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9576 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9588 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9591 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9595 # Older versions of the 11.00 compiler do not understand -b yet
9596 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9598 $as_echo_n "checking if $CC understands -b... " >&6; }
9599 if ${lt_cv_prog_compiler__b+:} false; then :
9600 $as_echo_n "(cached) " >&6
9602 lt_cv_prog_compiler__b=no
9603 save_LDFLAGS="$LDFLAGS"
9604 LDFLAGS="$LDFLAGS -b"
9605 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9606 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9607 # The linker can only warn and ignore the option if not recognized
9608 # So say no if there are warnings
9609 if test -s conftest.err; then
9610 # Append any errors to the config.log.
9611 cat conftest.err 1>&5
9612 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9613 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9614 if diff conftest.exp conftest.er2 >/dev/null; then
9615 lt_cv_prog_compiler__b=yes
9618 lt_cv_prog_compiler__b=yes
9622 LDFLAGS="$save_LDFLAGS"
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9626 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9628 if test x"$lt_cv_prog_compiler__b" = xyes; then
9629 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9631 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9637 if test "$with_gnu_ld" = no; then
9638 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9639 hardcode_libdir_separator=:
9644 hardcode_shlibpath_var=no
9648 hardcode_direct_absolute=yes
9649 export_dynamic_flag_spec='${wl}-E'
9651 # hardcode_minus_L: Not really in the search PATH,
9652 # but as the default location of the library.
9653 hardcode_minus_L=yes
9659 irix5* | irix6* | nonstopux*)
9660 if test "$GCC" = yes; then
9661 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'
9662 # Try to use the -exported_symbol ld option, if it does not
9663 # work, assume that -exports_file does not work either and
9664 # implicitly export all symbols.
9665 # This should be the same for all languages, so no per-tag cache variable.
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9667 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9668 if ${lt_cv_irix_exported_symbol+:} false; then :
9669 $as_echo_n "(cached) " >&6
9671 save_LDFLAGS="$LDFLAGS"
9672 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675 int foo (void) { return 0; }
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 lt_cv_irix_exported_symbol=yes
9680 lt_cv_irix_exported_symbol=no
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 LDFLAGS="$save_LDFLAGS"
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9687 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9688 if test "$lt_cv_irix_exported_symbol" = yes; then
9689 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'
9692 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'
9693 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'
9695 archive_cmds_need_lc='no'
9696 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9697 hardcode_libdir_separator=:
9699 link_all_deplibs=yes
9702 netbsd* | netbsdelf*-gnu)
9703 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9706 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9708 hardcode_libdir_flag_spec='-R$libdir'
9710 hardcode_shlibpath_var=no
9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9717 hardcode_libdir_separator=:
9718 hardcode_shlibpath_var=no
9725 if test -f /usr/libexec/ld.so; then
9727 hardcode_shlibpath_var=no
9728 hardcode_direct_absolute=yes
9729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9731 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9732 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9733 export_dynamic_flag_spec='${wl}-E'
9736 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9737 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_libdir_flag_spec='-R$libdir'
9741 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9742 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9752 hardcode_libdir_flag_spec='-L$libdir'
9753 hardcode_minus_L=yes
9754 allow_undefined_flag=unsupported
9755 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'
9756 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9760 if test "$GCC" = yes; then
9761 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9762 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'
9764 allow_undefined_flag=' -expect_unresolved \*'
9765 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'
9767 archive_cmds_need_lc='no'
9768 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9769 hardcode_libdir_separator=:
9772 osf4* | osf5*) # as osf3* with the addition of -msym flag
9773 if test "$GCC" = yes; then
9774 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9775 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'
9776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9778 allow_undefined_flag=' -expect_unresolved \*'
9779 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'
9780 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~
9781 $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'
9783 # Both c and cxx compiler support -rpath directly
9784 hardcode_libdir_flag_spec='-rpath $libdir'
9786 archive_cmds_need_lc='no'
9787 hardcode_libdir_separator=:
9791 no_undefined_flag=' -z defs'
9792 if test "$GCC" = yes; then
9794 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9796 $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'
9798 case `$CC -V 2>&1` in
9801 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9802 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9803 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9807 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9809 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9813 hardcode_libdir_flag_spec='-R$libdir'
9814 hardcode_shlibpath_var=no
9816 solaris2.[0-5] | solaris2.[0-5].*) ;;
9818 # The compiler driver will combine and reorder linker options,
9819 # but understands `-z linker_flag'. GCC discards it without `$wl',
9820 # but is careful enough not to reorder.
9821 # Supported since Solaris 2.6 (maybe 2.5.1?)
9822 if test "$GCC" = yes; then
9823 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9825 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9829 link_all_deplibs=yes
9833 if test "x$host_vendor" = xsequent; then
9834 # Use $CC to link under sequent, because it throws in some extra .o
9835 # files that make .init and .fini sections work.
9836 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9840 hardcode_libdir_flag_spec='-L$libdir'
9842 hardcode_minus_L=yes
9843 hardcode_shlibpath_var=no
9847 case $host_vendor in
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_direct=yes # is this really true???
9853 ## LD is ld it makes a PLAMLIB
9854 ## CC just makes a GrossModule.
9855 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9856 reload_cmds='$CC -r -o $output$reload_objs'
9860 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9864 runpath_var='LD_RUN_PATH'
9865 hardcode_shlibpath_var=no
9869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870 hardcode_shlibpath_var=no
9871 export_dynamic_flag_spec='-Bexport'
9875 if test -d /usr/nec; then
9876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_shlibpath_var=no
9878 runpath_var=LD_RUN_PATH
9879 hardcode_runpath_var=yes
9884 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9885 no_undefined_flag='${wl}-z,text'
9886 archive_cmds_need_lc=no
9887 hardcode_shlibpath_var=no
9888 runpath_var='LD_RUN_PATH'
9890 if test "$GCC" = yes; then
9891 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 sysv5* | sco3.2v5* | sco5v6*)
9900 # Note: We can NOT use -z defs as we might desire, because we do not
9901 # link with -lc, and that would cause any symbols used from libc to
9902 # always be unresolved, which means just about no library would
9903 # ever link correctly. If we're not using GNU ld we use -z text
9904 # though, which does catch some bad symbols but isn't as heavy-handed
9906 no_undefined_flag='${wl}-z,text'
9907 allow_undefined_flag='${wl}-z,nodefs'
9908 archive_cmds_need_lc=no
9909 hardcode_shlibpath_var=no
9910 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9911 hardcode_libdir_separator=':'
9912 link_all_deplibs=yes
9913 export_dynamic_flag_spec='${wl}-Bexport'
9914 runpath_var='LD_RUN_PATH'
9916 if test "$GCC" = yes; then
9917 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_libdir_flag_spec='-L$libdir'
9928 hardcode_shlibpath_var=no
9936 if test x$host_vendor = xsni; then
9938 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9939 export_dynamic_flag_spec='${wl}-Blargedynsym'
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9946 $as_echo "$ld_shlibs" >&6; }
9947 test "$ld_shlibs" = no && can_build_shared=no
9949 with_gnu_ld=$with_gnu_ld
9966 # Do we need to explicitly link libc?
9968 case "x$archive_cmds_need_lc" in
9970 # Assume -lc should be added
9971 archive_cmds_need_lc=yes
9973 if test "$enable_shared" = yes && test "$GCC" = yes; then
9974 case $archive_cmds in
9976 # FIXME: we may have to deal with multi-command sequences.
9979 # Test whether the compiler implicitly links with -lc since on some
9980 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9981 # to ld, don't add -lc before -lgcc.
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9983 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9984 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9985 $as_echo_n "(cached) " >&6
9988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9991 (eval $ac_compile) 2>&5
9993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9994 test $ac_status = 0; } 2>conftest.err; then
9997 libobjs=conftest.$ac_objext
9999 wl=$lt_prog_compiler_wl
10000 pic_flag=$lt_prog_compiler_pic
10006 lt_save_allow_undefined_flag=$allow_undefined_flag
10007 allow_undefined_flag=
10008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10009 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10012 test $ac_status = 0; }
10014 lt_cv_archive_cmds_need_lc=no
10016 lt_cv_archive_cmds_need_lc=yes
10018 allow_undefined_flag=$lt_save_allow_undefined_flag
10020 cat conftest.err 1>&5
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10026 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10027 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10186 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10188 if test "$GCC" = yes; then
10190 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10191 *) lt_awk_arg="/^libraries:/" ;;
10194 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10195 *) lt_sed_strip_eq="s,=/,/,g" ;;
10197 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10198 case $lt_search_path_spec in
10200 # if the path contains ";" then we assume it to be the separator
10201 # otherwise default to the standard path separator (i.e. ":") - it is
10202 # assumed that no part of a normal pathname contains ";" but that should
10203 # okay in the real world where ";" in dirpaths is itself problematic.
10204 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10207 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10210 # Ok, now we have the path, separated by spaces, we can step through it
10211 # and add multilib dir if necessary.
10212 lt_tmp_lt_search_path_spec=
10213 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10214 for lt_sys_path in $lt_search_path_spec; do
10215 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10216 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10218 test -d "$lt_sys_path" && \
10219 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10222 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10223 BEGIN {RS=" "; FS="/|\n";} {
10226 for (lt_i = NF; lt_i > 0; lt_i--) {
10227 if ($lt_i != "" && $lt_i != ".") {
10228 if ($lt_i == "..") {
10231 if (lt_count == 0) {
10232 lt_foo="/" $lt_i lt_foo;
10239 if (lt_foo != "") { lt_freq[lt_foo]++; }
10240 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10242 # AWK program above erroneously prepends '/' to C:/dos/paths
10245 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10246 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10248 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10250 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10252 library_names_spec=
10253 libname_spec='lib$name'
10257 postuninstall_cmds=
10261 shlibpath_overrides_runpath=unknown
10263 dynamic_linker="$host_os ld.so"
10264 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10265 need_lib_prefix=unknown
10266 hardcode_into_libs=no
10268 # when you set need_version to no, make sure it does not cause -set_version
10269 # flags to be left without arguments
10270 need_version=unknown
10274 version_type=linux # correct to gnu/linux during the next big refactor
10275 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10276 shlibpath_var=LIBPATH
10278 # AIX 3 has no versioning support, so we append a major version to the name.
10279 soname_spec='${libname}${release}${shared_ext}$major'
10283 version_type=linux # correct to gnu/linux during the next big refactor
10286 hardcode_into_libs=yes
10287 if test "$host_cpu" = ia64; then
10288 # AIX 5 supports IA64
10289 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10290 shlibpath_var=LD_LIBRARY_PATH
10292 # With GCC up to 2.95.x, collect2 would create an import file
10293 # for dependence libraries. The import file would start with
10294 # the line `#! .'. This would cause the generated library to
10295 # depend on `.', always an invalid library. This was fixed in
10296 # development snapshots of GCC prior to 3.0.
10298 aix4 | aix4.[01] | aix4.[01].*)
10299 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10301 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10304 can_build_shared=no
10308 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10309 # soname into executable. Probably we can add versioning support to
10310 # collect2, so additional links can be useful in future.
10311 if test "$aix_use_runtimelinking" = yes; then
10312 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10313 # instead of lib<name>.a to let people know that these are not
10314 # typical AIX shared libraries.
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 # We preserve .a as extension for shared libraries through AIX4.2
10318 # and later when we are not doing run time linking.
10319 library_names_spec='${libname}${release}.a $libname.a'
10320 soname_spec='${libname}${release}${shared_ext}$major'
10322 shlibpath_var=LIBPATH
10329 # Since July 2007 AmigaOS4 officially supports .so libraries.
10330 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10334 library_names_spec='$libname.ixlibrary $libname.a'
10335 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10336 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'
10342 library_names_spec='${libname}${shared_ext}'
10343 dynamic_linker="$host_os ld.so"
10344 shlibpath_var=LIBRARY_PATH
10348 version_type=linux # correct to gnu/linux during the next big refactor
10350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 soname_spec='${libname}${release}${shared_ext}$major'
10352 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10353 shlibpath_var=LD_LIBRARY_PATH
10354 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10355 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10356 # the default ld.so.conf also contains /usr/contrib/lib and
10357 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10358 # libtool to hard-code these into programs
10361 cygwin* | mingw* | pw32* | cegcc*)
10362 version_type=windows
10367 case $GCC,$cc_basename in
10370 library_names_spec='$libname.dll.a'
10371 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10372 postinstall_cmds='base_file=`basename \${file}`~
10373 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10374 dldir=$destdir/`dirname \$dlpath`~
10375 test -d \$dldir || mkdir -p \$dldir~
10376 $install_prog $dir/$dlname \$dldir/$dlname~
10377 chmod a+x \$dldir/$dlname~
10378 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10379 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10381 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10382 dlpath=$dir/\$dldll~
10384 shlibpath_overrides_runpath=yes
10388 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10389 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10391 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10394 # MinGW DLLs use traditional 'lib' prefix
10395 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10398 # pw32 DLLs use 'pw' prefix rather than 'lib'
10399 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10402 dynamic_linker='Win32 ld.exe'
10407 libname_spec='$name'
10408 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409 library_names_spec='${libname}.dll.lib'
10413 sys_lib_search_path_spec=
10416 for lt_path in $LIB
10419 # Let DOS variable expansion print the short 8.3 style file name.
10420 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10421 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10424 # Convert to MSYS style.
10425 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10428 # Convert to unix form, then to dos form, then back to unix form
10429 # but this time dos style (no spaces!) so that the unix form looks
10430 # like /cygdrive/c/PROGRA~1:/cygdr...
10431 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10432 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10433 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10436 sys_lib_search_path_spec="$LIB"
10437 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10438 # It is most probably a Windows format PATH.
10439 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10443 # FIXME: find the short name or the path components, as spaces are
10444 # common. (e.g. "Program Files" -> "PROGRA~1")
10448 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10449 postinstall_cmds='base_file=`basename \${file}`~
10450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10451 dldir=$destdir/`dirname \$dlpath`~
10452 test -d \$dldir || mkdir -p \$dldir~
10453 $install_prog $dir/$dlname \$dldir/$dlname'
10454 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10455 dlpath=$dir/\$dldll~
10457 shlibpath_overrides_runpath=yes
10458 dynamic_linker='Win32 link.exe'
10462 # Assume MSVC wrapper
10463 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10464 dynamic_linker='Win32 ld.exe'
10467 # FIXME: first we should search . and the directory the executable is in
10471 darwin* | rhapsody*)
10472 dynamic_linker="$host_os dyld"
10473 version_type=darwin
10476 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10477 soname_spec='${libname}${release}${major}$shared_ext'
10478 shlibpath_overrides_runpath=yes
10479 shlibpath_var=DYLD_LIBRARY_PATH
10480 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10482 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10483 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10487 version_type=linux # correct to gnu/linux during the next big refactor
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10492 shlibpath_var=LD_LIBRARY_PATH
10495 freebsd* | dragonfly*)
10496 # DragonFly does not have aout. When/if they implement a new
10497 # versioning mechanism, adjust this.
10498 if test -x /usr/bin/objformat; then
10499 objformat=`/usr/bin/objformat`
10502 freebsd[23].*) objformat=aout ;;
10503 *) objformat=elf ;;
10506 version_type=freebsd-$objformat
10507 case $version_type in
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10514 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10518 shlibpath_var=LD_LIBRARY_PATH
10521 shlibpath_overrides_runpath=yes
10523 freebsd3.[01]* | freebsdelf3.[01]*)
10524 shlibpath_overrides_runpath=yes
10525 hardcode_into_libs=yes
10527 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10528 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10529 shlibpath_overrides_runpath=no
10530 hardcode_into_libs=yes
10532 *) # from 4.6 on, and DragonFly
10533 shlibpath_overrides_runpath=yes
10534 hardcode_into_libs=yes
10540 version_type=linux # correct to gnu/linux during the next big refactor
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 shlibpath_var=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath=no
10547 hardcode_into_libs=yes
10551 version_type=linux # correct to gnu/linux during the next big refactor
10554 dynamic_linker="$host_os runtime_loader"
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10556 soname_spec='${libname}${release}${shared_ext}$major'
10557 shlibpath_var=LIBRARY_PATH
10558 shlibpath_overrides_runpath=yes
10559 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10560 hardcode_into_libs=yes
10563 hpux9* | hpux10* | hpux11*)
10564 # Give a soname corresponding to the major version so that dld.sl refuses to
10565 # link against other versions.
10572 hardcode_into_libs=yes
10573 dynamic_linker="$host_os dld.so"
10574 shlibpath_var=LD_LIBRARY_PATH
10575 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 if test "X$HPUX_IA64_MODE" = X32; then
10579 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10581 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10583 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587 hardcode_into_libs=yes
10588 dynamic_linker="$host_os dld.sl"
10589 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10590 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 soname_spec='${libname}${release}${shared_ext}$major'
10593 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10598 dynamic_linker="$host_os dld.sl"
10599 shlibpath_var=SHLIB_PATH
10600 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10605 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10606 postinstall_cmds='chmod 555 $lib'
10607 # or fails outright, so override atomically:
10608 install_override_mode=555
10612 version_type=linux # correct to gnu/linux during the next big refactor
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10616 soname_spec='${libname}${release}${shared_ext}$major'
10617 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10618 shlibpath_var=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath=no
10620 hardcode_into_libs=yes
10623 irix5* | irix6* | nonstopux*)
10625 nonstopux*) version_type=nonstopux ;;
10627 if test "$lt_cv_prog_gnu_ld" = yes; then
10628 version_type=linux # correct to gnu/linux during the next big refactor
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10638 irix5* | nonstopux*)
10639 libsuff= shlibsuff=
10642 case $LD in # libtool.m4 will add one of these switches to LD
10643 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10644 libsuff= shlibsuff= libmagic=32-bit;;
10645 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10646 libsuff=32 shlibsuff=N32 libmagic=N32;;
10647 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10648 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10649 *) libsuff= shlibsuff= libmagic=never-match;;
10653 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10654 shlibpath_overrides_runpath=no
10655 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10656 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10657 hardcode_into_libs=yes
10660 # No shared lib support for Linux oldld, aout, or coff.
10661 linux*oldld* | linux*aout* | linux*coff*)
10665 # This must be glibc/ELF.
10666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10667 version_type=linux # correct to gnu/linux during the next big refactor
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 shlibpath_overrides_runpath=no
10676 # Some binutils ld are patched to set DT_RUNPATH
10677 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10678 $as_echo_n "(cached) " >&6
10680 lt_cv_shlibpath_overrides_runpath=no
10681 save_LDFLAGS=$LDFLAGS
10682 save_libdir=$libdir
10683 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10684 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10698 lt_cv_shlibpath_overrides_runpath=yes
10701 rm -f core conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LDFLAGS=$save_LDFLAGS
10704 libdir=$save_libdir
10708 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10710 # This implies no fast_install, which is unacceptable.
10711 # Some rework will be needed to allow for fast_install
10712 # before this can be enabled.
10713 hardcode_into_libs=yes
10715 # Append ld.so.conf contents to the search path
10716 if test -f /etc/ld.so.conf; then
10717 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' ' '`
10718 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10721 # We used to test for /lib/ld.so.1 and disable shared libraries on
10722 # powerpc, because MkLinux only supported shared libraries with the
10723 # GNU dynamic linker. Since this was broken with cross compilers,
10724 # most powerpc-linux boxes support dynamic linking these days and
10725 # people can always --disable-shared, the test was removed, and we
10726 # assume the GNU/Linux dynamic linker is in use.
10727 dynamic_linker='GNU/Linux ld.so'
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10739 dynamic_linker='NetBSD ld.elf_so'
10746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10748 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10749 dynamic_linker='NetBSD (a.out) ld.so'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 dynamic_linker='NetBSD ld.elf_so'
10755 shlibpath_var=LD_LIBRARY_PATH
10756 shlibpath_overrides_runpath=yes
10757 hardcode_into_libs=yes
10761 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 shlibpath_var=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath=yes
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath=no
10775 hardcode_into_libs=yes
10776 dynamic_linker='ldqnx.so'
10781 sys_lib_dlsearch_path_spec="/usr/lib"
10783 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10785 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10786 *) need_version=no ;;
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10789 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10790 shlibpath_var=LD_LIBRARY_PATH
10791 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10793 openbsd2.[89] | openbsd2.[89].*)
10794 shlibpath_overrides_runpath=no
10797 shlibpath_overrides_runpath=yes
10801 shlibpath_overrides_runpath=yes
10806 libname_spec='$name'
10809 library_names_spec='$libname${shared_ext} $libname.a'
10810 dynamic_linker='OS/2 ld.exe'
10811 shlibpath_var=LIBPATH
10814 osf3* | osf4* | osf5*)
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10822 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10830 version_type=linux # correct to gnu/linux during the next big refactor
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 soname_spec='${libname}${release}${shared_ext}$major'
10835 shlibpath_var=LD_LIBRARY_PATH
10836 shlibpath_overrides_runpath=yes
10837 hardcode_into_libs=yes
10838 # ldd complains unless libraries are executable
10839 postinstall_cmds='chmod +x $lib'
10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10845 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10846 shlibpath_var=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath=yes
10848 if test "$with_gnu_ld" = yes; then
10855 version_type=linux # correct to gnu/linux during the next big refactor
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10857 soname_spec='${libname}${release}${shared_ext}$major'
10858 shlibpath_var=LD_LIBRARY_PATH
10859 case $host_vendor in
10861 shlibpath_overrides_runpath=no
10863 runpath_var=LD_RUN_PATH
10871 shlibpath_overrides_runpath=no
10872 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10878 if test -d /usr/nec ;then
10879 version_type=linux # correct to gnu/linux during the next big refactor
10880 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10881 soname_spec='$libname${shared_ext}.$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10886 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10887 version_type=freebsd-elf
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 shlibpath_var=LD_LIBRARY_PATH
10893 shlibpath_overrides_runpath=yes
10894 hardcode_into_libs=yes
10895 if test "$with_gnu_ld" = yes; then
10896 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10898 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10901 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10905 sys_lib_dlsearch_path_spec='/usr/lib'
10909 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10910 version_type=linux # correct to gnu/linux during the next big refactor
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath=no
10916 hardcode_into_libs=yes
10920 version_type=linux # correct to gnu/linux during the next big refactor
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 shlibpath_var=LD_LIBRARY_PATH
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10931 $as_echo "$dynamic_linker" >&6; }
10932 test "$dynamic_linker" = no && can_build_shared=no
10934 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10935 if test "$GCC" = yes; then
10936 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10939 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10940 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10942 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10943 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11038 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11040 if test -n "$hardcode_libdir_flag_spec" ||
11041 test -n "$runpath_var" ||
11042 test "X$hardcode_automatic" = "Xyes" ; then
11044 # We can hardcode non-existent directories.
11045 if test "$hardcode_direct" != no &&
11046 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11047 # have to relink, otherwise we might link with an installed library
11048 # when we should be linking with a yet-to-be-installed one
11049 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11050 test "$hardcode_minus_L" != no; then
11051 # Linking always hardcodes the temporary library directory.
11052 hardcode_action=relink
11054 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11055 hardcode_action=immediate
11058 # We cannot hardcode anything, or else we can only hardcode existing
11060 hardcode_action=unsupported
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11063 $as_echo "$hardcode_action" >&6; }
11065 if test "$hardcode_action" = relink ||
11066 test "$inherit_rpath" = yes; then
11067 # Fast installation is not supported
11068 enable_fast_install=no
11069 elif test "$shlibpath_overrides_runpath" = yes ||
11070 test "$enable_shared" = no; then
11071 # Fast installation is not necessary
11072 enable_fast_install=needless
11080 if test "x$enable_dlopen" != xyes; then
11081 enable_dlopen=unknown
11082 enable_dlopen_self=unknown
11083 enable_dlopen_self_static=unknown
11090 lt_cv_dlopen="load_add_on"
11092 lt_cv_dlopen_self=yes
11095 mingw* | pw32* | cegcc*)
11096 lt_cv_dlopen="LoadLibrary"
11101 lt_cv_dlopen="dlopen"
11106 # if libdl is installed we need to link against it
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11108 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11109 if ${ac_cv_lib_dl_dlopen+:} false; then :
11110 $as_echo_n "(cached) " >&6
11112 ac_check_lib_save_LIBS=$LIBS
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_dl_dlopen=yes
11135 ac_cv_lib_dl_dlopen=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11142 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11143 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11144 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11147 lt_cv_dlopen="dyld"
11149 lt_cv_dlopen_self=yes
11156 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11157 if test "x$ac_cv_func_shl_load" = xyes; then :
11158 lt_cv_dlopen="shl_load"
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11161 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11162 if ${ac_cv_lib_dld_shl_load+:} false; then :
11163 $as_echo_n "(cached) " >&6
11165 ac_check_lib_save_LIBS=$LIBS
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11180 return shl_load ();
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 ac_cv_lib_dld_shl_load=yes
11188 ac_cv_lib_dld_shl_load=no
11190 rm -f core conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11195 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11196 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11197 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11199 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11200 if test "x$ac_cv_func_dlopen" = xyes; then :
11201 lt_cv_dlopen="dlopen"
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11205 if ${ac_cv_lib_dl_dlopen+:} false; then :
11206 $as_echo_n "(cached) " >&6
11208 ac_check_lib_save_LIBS=$LIBS
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11228 if ac_fn_c_try_link "$LINENO"; then :
11229 ac_cv_lib_dl_dlopen=yes
11231 ac_cv_lib_dl_dlopen=no
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11238 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11239 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11240 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11243 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11244 if ${ac_cv_lib_svld_dlopen+:} false; then :
11245 $as_echo_n "(cached) " >&6
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lsvld $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 ac_cv_lib_svld_dlopen=yes
11270 ac_cv_lib_svld_dlopen=no
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11277 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11278 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11279 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11282 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11283 if ${ac_cv_lib_dld_dld_link+:} false; then :
11284 $as_echo_n "(cached) " >&6
11286 ac_check_lib_save_LIBS=$LIBS
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11301 return dld_link ();
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 ac_cv_lib_dld_dld_link=yes
11309 ac_cv_lib_dld_dld_link=no
11311 rm -f core conftest.err conftest.$ac_objext \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11316 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11317 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11318 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11339 if test "x$lt_cv_dlopen" != xno; then
11345 case $lt_cv_dlopen in
11347 save_CPPFLAGS="$CPPFLAGS"
11348 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11350 save_LDFLAGS="$LDFLAGS"
11351 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11354 LIBS="$lt_cv_dlopen_libs $LIBS"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11357 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11358 if ${lt_cv_dlopen_self+:} false; then :
11359 $as_echo_n "(cached) " >&6
11361 if test "$cross_compiling" = yes; then :
11362 lt_cv_dlopen_self=cross
11364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11365 lt_status=$lt_dlunknown
11366 cat > conftest.$ac_ext <<_LT_EOF
11367 #line $LINENO "configure"
11368 #include "confdefs.h"
11377 # define LT_DLGLOBAL RTLD_GLOBAL
11380 # define LT_DLGLOBAL DL_GLOBAL
11382 # define LT_DLGLOBAL 0
11386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11387 find out it does not work in some platform. */
11388 #ifndef LT_DLLAZY_OR_NOW
11390 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11393 # define LT_DLLAZY_OR_NOW DL_LAZY
11396 # define LT_DLLAZY_OR_NOW RTLD_NOW
11399 # define LT_DLLAZY_OR_NOW DL_NOW
11401 # define LT_DLLAZY_OR_NOW 0
11408 /* When -fvisbility=hidden is used, assume the code has been annotated
11409 correspondingly for the symbols needed. */
11410 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11411 int fnord () __attribute__((visibility("default")));
11414 int fnord () { return 42; }
11417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11418 int status = $lt_dlunknown;
11422 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11425 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11426 else puts (dlerror ());
11428 /* dlclose (self); */
11436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11437 (eval $ac_link) 2>&5
11439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11440 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11441 (./conftest; exit; ) >&5 2>/dev/null
11443 case x$lt_status in
11444 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11445 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11446 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11449 # compilation failed
11450 lt_cv_dlopen_self=no
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11458 $as_echo "$lt_cv_dlopen_self" >&6; }
11460 if test "x$lt_cv_dlopen_self" = xyes; then
11461 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11463 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11464 if ${lt_cv_dlopen_self_static+:} false; then :
11465 $as_echo_n "(cached) " >&6
11467 if test "$cross_compiling" = yes; then :
11468 lt_cv_dlopen_self_static=cross
11470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471 lt_status=$lt_dlunknown
11472 cat > conftest.$ac_ext <<_LT_EOF
11473 #line $LINENO "configure"
11474 #include "confdefs.h"
11483 # define LT_DLGLOBAL RTLD_GLOBAL
11486 # define LT_DLGLOBAL DL_GLOBAL
11488 # define LT_DLGLOBAL 0
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493 find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11499 # define LT_DLLAZY_OR_NOW DL_LAZY
11502 # define LT_DLLAZY_OR_NOW RTLD_NOW
11505 # define LT_DLLAZY_OR_NOW DL_NOW
11507 # define LT_DLLAZY_OR_NOW 0
11514 /* When -fvisbility=hidden is used, assume the code has been annotated
11515 correspondingly for the symbols needed. */
11516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11517 int fnord () __attribute__((visibility("default")));
11520 int fnord () { return 42; }
11523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11524 int status = $lt_dlunknown;
11528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11532 else puts (dlerror ());
11534 /* dlclose (self); */
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543 (eval $ac_link) 2>&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547 (./conftest; exit; ) >&5 2>/dev/null
11549 case x$lt_status in
11550 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11551 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11552 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11555 # compilation failed
11556 lt_cv_dlopen_self_static=no
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11564 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11567 CPPFLAGS="$save_CPPFLAGS"
11568 LDFLAGS="$save_LDFLAGS"
11573 case $lt_cv_dlopen_self in
11574 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11575 *) enable_dlopen_self=unknown ;;
11578 case $lt_cv_dlopen_self_static in
11579 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11580 *) enable_dlopen_self_static=unknown ;;
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11603 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11604 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11605 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11606 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11610 # FIXME - insert some real tests, host_os isn't really good enough
11613 if test -n "$STRIP" ; then
11614 striplib="$STRIP -x"
11615 old_striplib="$STRIP -S"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 $as_echo "no" >&6; }
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11625 $as_echo "no" >&6; }
11641 # Report which library types will actually be built
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11643 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11645 $as_echo "$can_build_shared" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11648 $as_echo_n "checking whether to build shared libraries... " >&6; }
11649 test "$can_build_shared" = "no" && enable_shared=no
11651 # On AIX, shared libraries and static libraries use the same namespace, and
11652 # are all built from PIC.
11655 test "$enable_shared" = yes && enable_static=no
11656 if test -n "$RANLIB"; then
11657 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11658 postinstall_cmds='$RANLIB $lib'
11663 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11664 test "$enable_shared" = yes && enable_static=no
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11669 $as_echo "$enable_shared" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11672 $as_echo_n "checking whether to build static libraries... " >&6; }
11673 # Make sure either enable_shared or enable_static is yes.
11674 test "$enable_shared" = yes || enable_static=yes
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11676 $as_echo "$enable_static" >&6; }
11683 ac_cpp='$CPP $CPPFLAGS'
11684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11704 ac_config_commands="$ac_config_commands libtool"
11709 # Only expand once:
11713 # Checks for libraries.
11721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11722 if test -n "$ac_tool_prefix"; then
11723 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11726 $as_echo_n "checking for $ac_word... " >&6; }
11727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11728 $as_echo_n "(cached) " >&6
11730 case $PKG_CONFIG in
11732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11739 test -z "$as_dir" && as_dir=.
11740 for ac_exec_ext in '' $ac_executable_extensions; do
11741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11754 if test -n "$PKG_CONFIG"; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11756 $as_echo "$PKG_CONFIG" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11764 if test -z "$ac_cv_path_PKG_CONFIG"; then
11765 ac_pt_PKG_CONFIG=$PKG_CONFIG
11766 # Extract the first word of "pkg-config", so it can be a program name with args.
11767 set dummy pkg-config; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11771 $as_echo_n "(cached) " >&6
11773 case $ac_pt_PKG_CONFIG in
11775 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11782 test -z "$as_dir" && as_dir=.
11783 for ac_exec_ext in '' $ac_executable_extensions; do
11784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11785 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11797 if test -n "$ac_pt_PKG_CONFIG"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11805 if test "x$ac_pt_PKG_CONFIG" = x; then
11808 case $cross_compiling:$ac_tool_warned in
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11812 ac_tool_warned=yes ;;
11814 PKG_CONFIG=$ac_pt_PKG_CONFIG
11817 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11821 if test -n "$PKG_CONFIG"; then
11822 _pkg_min_version=0.9.0
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11825 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11827 $as_echo "yes" >&6; }
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11837 $as_echo_n "checking for GSIGNOND... " >&6; }
11839 if test -n "$GSIGNOND_CFLAGS"; then
11840 pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11841 elif test -n "$PKG_CONFIG"; then
11842 if test -n "$PKG_CONFIG" && \
11843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11848 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11855 test $ac_status = 0; }; then
11856 pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11860 sqlite3" 2>/dev/null`
11861 test "x$?" != "x0" && pkg_failed=yes
11868 if test -n "$GSIGNOND_LIBS"; then
11869 pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11870 elif test -n "$PKG_CONFIG"; then
11871 if test -n "$PKG_CONFIG" && \
11872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11877 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11884 test $ac_status = 0; }; then
11885 pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11889 sqlite3" 2>/dev/null`
11890 test "x$?" != "x0" && pkg_failed=yes
11900 if test $pkg_failed = yes; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11904 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11905 _pkg_short_errors_supported=yes
11907 _pkg_short_errors_supported=no
11909 if test $_pkg_short_errors_supported = yes; then
11910 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11916 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11922 # Put the nasty error message in config.log where it belongs
11923 echo "$GSIGNOND_PKG_ERRORS" >&5
11925 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11929 sqlite3) were not met:
11931 $GSIGNOND_PKG_ERRORS
11933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11934 installed software in a non-standard prefix.
11936 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11937 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11938 See the pkg-config man page for more details." "$LINENO" 5
11939 elif test $pkg_failed = untried; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11944 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11945 is in your PATH or set the PKG_CONFIG environment variable to the full
11946 path to pkg-config.
11948 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11949 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11950 See the pkg-config man page for more details.
11952 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11953 See \`config.log' for more details" "$LINENO" 5; }
11955 GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11956 GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11958 $as_echo "yes" >&6; }
11965 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11969 $as_echo_n "checking for CHECK... " >&6; }
11971 if test -n "$CHECK_CFLAGS"; then
11972 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11973 elif test -n "$PKG_CONFIG"; then
11974 if test -n "$PKG_CONFIG" && \
11975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11976 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11979 test $ac_status = 0; }; then
11980 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11981 test "x$?" != "x0" && pkg_failed=yes
11988 if test -n "$CHECK_LIBS"; then
11989 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11990 elif test -n "$PKG_CONFIG"; then
11991 if test -n "$PKG_CONFIG" && \
11992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11993 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11996 test $ac_status = 0; }; then
11997 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11998 test "x$?" != "x0" && pkg_failed=yes
12008 if test $pkg_failed = yes; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12013 _pkg_short_errors_supported=yes
12015 _pkg_short_errors_supported=no
12017 if test $_pkg_short_errors_supported = yes; then
12018 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12020 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12022 # Put the nasty error message in config.log where it belongs
12023 echo "$CHECK_PKG_ERRORS" >&5
12026 elif test $pkg_failed = untried; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12031 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12032 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12034 $as_echo "yes" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12043 $as_echo_n "checking for LIBSMACK... " >&6; }
12045 if test -n "$LIBSMACK_CFLAGS"; then
12046 pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12047 elif test -n "$PKG_CONFIG"; then
12048 if test -n "$PKG_CONFIG" && \
12049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12050 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12053 test $ac_status = 0; }; then
12054 pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12055 test "x$?" != "x0" && pkg_failed=yes
12062 if test -n "$LIBSMACK_LIBS"; then
12063 pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12064 elif test -n "$PKG_CONFIG"; then
12065 if test -n "$PKG_CONFIG" && \
12066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12067 ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12070 test $ac_status = 0; }; then
12071 pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12072 test "x$?" != "x0" && pkg_failed=yes
12082 if test $pkg_failed = yes; then
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12084 $as_echo "no" >&6; }
12086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12087 _pkg_short_errors_supported=yes
12089 _pkg_short_errors_supported=no
12091 if test $_pkg_short_errors_supported = yes; then
12092 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12094 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12096 # Put the nasty error message in config.log where it belongs
12097 echo "$LIBSMACK_PKG_ERRORS" >&5
12100 elif test $pkg_failed = untried; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12105 LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12106 LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12108 $as_echo "yes" >&6; }
12111 if test x$libsmack = xyes; then
12112 HAVE_LIBSMACK_TRUE=
12113 HAVE_LIBSMACK_FALSE='#'
12115 HAVE_LIBSMACK_TRUE='#'
12116 HAVE_LIBSMACK_FALSE=
12119 if test "x$libsmack" = xyes; then
12121 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12128 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12130 if test -n "$LIBECRYPTFS_CFLAGS"; then
12131 pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12132 elif test -n "$PKG_CONFIG"; then
12133 if test -n "$PKG_CONFIG" && \
12134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12135 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138 test $ac_status = 0; }; then
12139 pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12140 test "x$?" != "x0" && pkg_failed=yes
12147 if test -n "$LIBECRYPTFS_LIBS"; then
12148 pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12149 elif test -n "$PKG_CONFIG"; then
12150 if test -n "$PKG_CONFIG" && \
12151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12152 ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12155 test $ac_status = 0; }; then
12156 pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12157 test "x$?" != "x0" && pkg_failed=yes
12167 if test $pkg_failed = yes; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12169 $as_echo "no" >&6; }
12171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12172 _pkg_short_errors_supported=yes
12174 _pkg_short_errors_supported=no
12176 if test $_pkg_short_errors_supported = yes; then
12177 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12179 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12181 # Put the nasty error message in config.log where it belongs
12182 echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12185 elif test $pkg_failed = untried; then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12187 $as_echo "no" >&6; }
12190 LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12191 LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12193 $as_echo "yes" >&6; }
12196 if test x$libecryptfs = xyes; then
12197 HAVE_LIBECRYPTFS_TRUE=
12198 HAVE_LIBECRYPTFS_FALSE='#'
12200 HAVE_LIBECRYPTFS_TRUE='#'
12201 HAVE_LIBECRYPTFS_FALSE=
12204 if test "x$libecryptfs" = xes; then
12206 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12210 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12211 set dummy glib-mkenums; ac_word=$2
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12213 $as_echo_n "checking for $ac_word... " >&6; }
12214 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12215 $as_echo_n "(cached) " >&6
12217 case $GLIB_MKENUMS in
12219 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223 for as_dir in $PATH
12226 test -z "$as_dir" && as_dir=.
12227 for ac_exec_ext in '' $ac_executable_extensions; do
12228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12229 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12240 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12241 if test -n "$GLIB_MKENUMS"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12243 $as_echo "$GLIB_MKENUMS" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12251 # allow fake installations for "distcheck"
12252 # Check whether --enable-distcheck was given.
12253 if test "${enable_distcheck+set}" = set; then :
12254 enableval=$enable_distcheck; enable_distcheck=yes
12256 enable_distcheck=no
12259 echo -n "running distcheck... "
12260 echo $enable_distcheck
12262 # Check whether --enable-dbus-type was given.
12263 if test "${enable_dbus_type+set}" = set; then :
12264 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12266 enable_dbus_type=p2p
12269 echo "----------------------"
12270 echo " DBUS TYPE : '$enable_dbus_type'"
12271 echo "----------------------"
12272 if test "x$enable_dbus_type" = "xp2p" ; then
12274 $as_echo "#define USE_P2P 1" >>confdefs.h
12276 elif test "x$enable_dbus_type" = "xsession" ; then
12278 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12280 if test "x$enable_distcheck" = "xyes" ; then
12281 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12283 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12289 $as_echo_n "checking for GTestDBus... " >&6; }
12291 if test -n "$GTestDBus_CFLAGS"; then
12292 pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12293 elif test -n "$PKG_CONFIG"; then
12294 if test -n "$PKG_CONFIG" && \
12295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12296 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299 test $ac_status = 0; }; then
12300 pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12301 test "x$?" != "x0" && pkg_failed=yes
12308 if test -n "$GTestDBus_LIBS"; then
12309 pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12310 elif test -n "$PKG_CONFIG"; then
12311 if test -n "$PKG_CONFIG" && \
12312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12313 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316 test $ac_status = 0; }; then
12317 pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12318 test "x$?" != "x0" && pkg_failed=yes
12328 if test $pkg_failed = yes; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12333 _pkg_short_errors_supported=yes
12335 _pkg_short_errors_supported=no
12337 if test $_pkg_short_errors_supported = yes; then
12338 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12340 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12342 # Put the nasty error message in config.log where it belongs
12343 echo "$GTestDBus_PKG_ERRORS" >&5
12346 elif test $pkg_failed = untried; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12348 $as_echo "no" >&6; }
12351 GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12352 GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12354 $as_echo "yes" >&6; }
12357 if test "x$gtestdbus" = xyes; then
12359 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12362 elif test "x$enable_dbus_type" = "xsystem" ; then
12364 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12366 if test "x$enable_distcheck" = "xyes" ; then
12367 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12369 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12372 if test "x$enable_dbus_type" != "xp2p" ; then
12373 if test "x$enable_distcheck" = "xyes" ; then
12374 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12376 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12380 # Check whether --enable-keychain was given.
12381 if test "${enable_keychain+set}" = set; then :
12382 enableval=$enable_keychain; enable_keychain=$enableval
12385 if test "x$enable_keychain" != "x" ; then
12387 cat >>confdefs.h <<_ACEOF
12388 #define KEYCHAIN_SYSCTX "$enable_keychain"
12393 # Check whether --enable-debug was given.
12394 if test "${enable_debug+set}" = set; then :
12395 enableval=$enable_debug; enable_debug=yes
12400 echo -n "enable debug features... "
12402 if test "x$enable_debug" = "xyes" ; then
12404 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12406 # Check whether --enable-sql-log was given.
12407 if test "${enable_sql_log+set}" = set; then :
12408 enableval=$enable_sql_log; enable_sql_log=yes
12413 echo -n "enable sql log feature... "
12414 echo $enable_sql_log
12415 if test "x$enable_sql_log" = "xyes" ; then
12417 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12422 # Check whether --enable-acltriggers was given.
12423 if test "${enable_acltriggers+set}" = set; then :
12424 enableval=$enable_acltriggers; enable_acl_triggers=yes
12426 enable_acl_triggers=no
12429 if test "x$enable_acl_triggers" = "xyes" ; then
12431 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12435 if test x$gtestdbus = xyes; then
12436 USE_GTESTDBUS_TRUE=
12437 USE_GTESTDBUS_FALSE='#'
12439 USE_GTESTDBUS_TRUE='#'
12440 USE_GTESTDBUS_FALSE=
12443 MESSAGE_BUS_TYPE=$enable_dbus_type
12446 if test x$enable_debug = xyes; then
12448 HAVE_DEBUG_FALSE='#'
12450 HAVE_DEBUG_TRUE='#'
12454 if test x$enable_distcheck != xyes; then
12455 SET_PERMISSIONS_TRUE=
12456 SET_PERMISSIONS_FALSE='#'
12458 SET_PERMISSIONS_TRUE='#'
12459 SET_PERMISSIONS_FALSE=
12470 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12471 set dummy gtkdoc-check; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12473 $as_echo_n "checking for $ac_word... " >&6; }
12474 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12475 $as_echo_n "(cached) " >&6
12477 case $GTKDOC_CHECK in
12479 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12489 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12501 if test -n "$GTKDOC_CHECK"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12503 $as_echo "$GTKDOC_CHECK" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12510 for ac_prog in gtkdoc-rebase
12512 # Extract the first word of "$ac_prog", so it can be a program name with args.
12513 set dummy $ac_prog; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12517 $as_echo_n "(cached) " >&6
12519 case $GTKDOC_REBASE in
12521 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12525 for as_dir in $PATH
12528 test -z "$as_dir" && as_dir=.
12529 for ac_exec_ext in '' $ac_executable_extensions; do
12530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12531 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12543 if test -n "$GTKDOC_REBASE"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12545 $as_echo "$GTKDOC_REBASE" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12552 test -n "$GTKDOC_REBASE" && break
12554 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12556 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12557 set dummy gtkdoc-mkpdf; ac_word=$2
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12559 $as_echo_n "checking for $ac_word... " >&6; }
12560 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12561 $as_echo_n "(cached) " >&6
12563 case $GTKDOC_MKPDF in
12565 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12569 for as_dir in $PATH
12572 test -z "$as_dir" && as_dir=.
12573 for ac_exec_ext in '' $ac_executable_extensions; do
12574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12575 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12586 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12587 if test -n "$GTKDOC_MKPDF"; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12589 $as_echo "$GTKDOC_MKPDF" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592 $as_echo "no" >&6; }
12598 # Check whether --with-html-dir was given.
12599 if test "${with_html_dir+set}" = set; then :
12600 withval=$with_html_dir;
12602 with_html_dir='${datadir}/gtk-doc/html'
12605 HTML_DIR="$with_html_dir"
12608 # Check whether --enable-gtk-doc was given.
12609 if test "${enable_gtk_doc+set}" = set; then :
12610 enableval=$enable_gtk_doc;
12616 if test x$enable_gtk_doc = xyes; then
12617 if test -n "$PKG_CONFIG" && \
12618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
12619 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
12621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12622 test $ac_status = 0; }; then
12625 as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
12627 if test "x$PACKAGE_NAME" != "xglib"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12631 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12633 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12634 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12635 elif test -n "$PKG_CONFIG"; then
12636 if test -n "$PKG_CONFIG" && \
12637 { { $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
12638 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12641 test $ac_status = 0; }; then
12642 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12643 test "x$?" != "x0" && pkg_failed=yes
12650 if test -n "$GTKDOC_DEPS_LIBS"; then
12651 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12652 elif test -n "$PKG_CONFIG"; then
12653 if test -n "$PKG_CONFIG" && \
12654 { { $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
12655 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12658 test $ac_status = 0; }; then
12659 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12660 test "x$?" != "x0" && pkg_failed=yes
12670 if test $pkg_failed = yes; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12675 _pkg_short_errors_supported=yes
12677 _pkg_short_errors_supported=no
12679 if test $_pkg_short_errors_supported = yes; then
12680 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`
12682 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12684 # Put the nasty error message in config.log where it belongs
12685 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12688 elif test $pkg_failed = untried; then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12690 $as_echo "no" >&6; }
12693 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12694 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12703 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12705 $as_echo "$enable_gtk_doc" >&6; }
12707 # Check whether --enable-gtk-doc-html was given.
12708 if test "${enable_gtk_doc_html+set}" = set; then :
12709 enableval=$enable_gtk_doc_html;
12711 enable_gtk_doc_html=yes
12714 # Check whether --enable-gtk-doc-pdf was given.
12715 if test "${enable_gtk_doc_pdf+set}" = set; then :
12716 enableval=$enable_gtk_doc_pdf;
12718 enable_gtk_doc_pdf=no
12722 if test -z "$GTKDOC_MKPDF"; then
12723 enable_gtk_doc_pdf=no
12726 if test -z "$AM_DEFAULT_VERBOSITY"; then
12727 AM_DEFAULT_VERBOSITY=1
12731 if test x$enable_gtk_doc = xyes; then
12732 ENABLE_GTK_DOC_TRUE=
12733 ENABLE_GTK_DOC_FALSE='#'
12735 ENABLE_GTK_DOC_TRUE='#'
12736 ENABLE_GTK_DOC_FALSE=
12739 if test x$enable_gtk_doc_html = xyes; then
12740 GTK_DOC_BUILD_HTML_TRUE=
12741 GTK_DOC_BUILD_HTML_FALSE='#'
12743 GTK_DOC_BUILD_HTML_TRUE='#'
12744 GTK_DOC_BUILD_HTML_FALSE=
12747 if test x$enable_gtk_doc_pdf = xyes; then
12748 GTK_DOC_BUILD_PDF_TRUE=
12749 GTK_DOC_BUILD_PDF_FALSE='#'
12751 GTK_DOC_BUILD_PDF_TRUE='#'
12752 GTK_DOC_BUILD_PDF_FALSE=
12755 if test -n "$LIBTOOL"; then
12756 GTK_DOC_USE_LIBTOOL_TRUE=
12757 GTK_DOC_USE_LIBTOOL_FALSE='#'
12759 GTK_DOC_USE_LIBTOOL_TRUE='#'
12760 GTK_DOC_USE_LIBTOOL_FALSE=
12763 if test -n "$GTKDOC_REBASE"; then
12764 GTK_DOC_USE_REBASE_TRUE=
12765 GTK_DOC_USE_REBASE_FALSE='#'
12767 GTK_DOC_USE_REBASE_TRUE='#'
12768 GTK_DOC_USE_REBASE_FALSE=
12773 # Checks for header files.
12774 for ac_header in string.h
12776 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12777 if test "x$ac_cv_header_string_h" = xyes; then :
12778 cat >>confdefs.h <<_ACEOF
12779 #define HAVE_STRING_H 1
12787 # Enable feature sets
12788 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12790 # Checks for typedefs, structures, and compiler characteristics.
12791 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -Werror -DG_LOG_DOMAIN=\\\"gsignond\\\""
12792 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12794 # Checks for library functions.
12796 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc 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/daemon/plugins/plugind/Makefile src/extensions/Makefile src/extensions/test/Makefile src/extensions/tizen/Makefile src/plugins/Makefile src/plugins/password/Makefile src/plugins/ssotest/Makefile src/plugins/digest/Makefile test/Makefile test/common/Makefile test/db/Makefile test/daemon/Makefile test/daemon/gsignond-dbus.conf test/plugins/Makefile"
12798 cat >confcache <<\_ACEOF
12799 # This file is a shell script that caches the results of configure
12800 # tests run on this system so they can be shared between configure
12801 # scripts and configure runs, see configure's option --config-cache.
12802 # It is not useful on other systems. If it contains results you don't
12803 # want to keep, you may remove or edit it.
12805 # config.status only pays attention to the cache file if you give it
12806 # the --recheck option to rerun configure.
12808 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12809 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12810 # following values.
12814 # The following way of writing the cache mishandles newlines in values,
12815 # but we know of no workaround that is simple, portable, and efficient.
12816 # So, we kill variables containing newlines.
12817 # Ultrix sh set writes to stderr and can't be redirected directly,
12818 # and sets the high bit in the cache file unless we assign to the vars.
12820 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12821 eval ac_val=\$$ac_var
12825 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12829 _ | IFS | as_nl) ;; #(
12830 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12831 *) { eval $ac_var=; unset $ac_var;} ;;
12837 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12838 *${as_nl}ac_space=\ *)
12839 # `set' does not quote correctly, so add quotes: double-quote
12840 # substitution turns \\\\ into \\, and sed turns \\ into \.
12843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12846 # `set' quotes correctly as required by POSIX, so do not add quotes.
12847 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12856 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12858 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12860 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12861 if test -w "$cache_file"; then
12862 if test "x$cache_file" != "x/dev/null"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12864 $as_echo "$as_me: updating cache $cache_file" >&6;}
12865 if test ! -f "$cache_file" || test -h "$cache_file"; then
12866 cat confcache >"$cache_file"
12868 case $cache_file in #(
12870 mv -f confcache "$cache_file"$$ &&
12871 mv -f "$cache_file"$$ "$cache_file" ;; #(
12873 mv -f confcache "$cache_file" ;;
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12885 # Let make expand exec_prefix.
12886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12888 DEFS=-DHAVE_CONFIG_H
12893 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12894 # 1. Remove the extension, and $U if already installed.
12895 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12896 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12897 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12898 # will be set to the directory where LIBOBJS objects are built.
12899 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12900 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12902 LIBOBJS=$ac_libobjs
12904 LTLIBOBJS=$ac_ltlibobjs
12907 if test -n "$EXEEXT"; then
12909 am__EXEEXT_FALSE='#'
12911 am__EXEEXT_TRUE='#'
12915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12916 as_fn_error $? "conditional \"AMDEP\" was never defined.
12917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12920 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12923 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
12924 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
12925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12927 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
12928 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
12929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12931 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
12932 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
12933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12935 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
12936 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
12937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12939 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
12940 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
12941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12943 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12944 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12947 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12948 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12951 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12952 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12955 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12956 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12959 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12960 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12964 : "${CONFIG_STATUS=./config.status}"
12966 ac_clean_files_save=$ac_clean_files
12967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12969 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12971 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12973 # Generated by $as_me.
12974 # Run this file to recreate the current configuration.
12975 # Compiler output produced by configure, useful for debugging
12976 # configure, is in config.log if it exists.
12979 ac_cs_recheck=false
12982 SHELL=\${CONFIG_SHELL-$SHELL}
12985 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12986 ## -------------------- ##
12987 ## M4sh Initialization. ##
12988 ## -------------------- ##
12990 # Be more Bourne compatible
12991 DUALCASE=1; export DUALCASE # for MKS sh
12992 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12995 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12996 # is contrary to our usage. Disable this feature.
12997 alias -g '${1+"$@"}'='"$@"'
12998 setopt NO_GLOB_SUBST
13000 case `(set -o) 2>/dev/null` in #(
13012 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13013 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13014 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13015 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13016 # Prefer a ksh shell builtin over an external printf program on Solaris,
13017 # but without wasting forks for bash or zsh.
13018 if test -z "$BASH_VERSION$ZSH_VERSION" \
13019 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13020 as_echo='print -r --'
13021 as_echo_n='print -rn --'
13022 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13023 as_echo='printf %s\n'
13024 as_echo_n='printf %s'
13026 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13027 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13028 as_echo_n='/usr/ucb/echo -n'
13030 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13031 as_echo_n_body='eval
13035 expr "X$arg" : "X\\(.*\\)$as_nl";
13036 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13038 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13040 export as_echo_n_body
13041 as_echo_n='sh -c $as_echo_n_body as_echo'
13043 export as_echo_body
13044 as_echo='sh -c $as_echo_body as_echo'
13047 # The user is always right.
13048 if test "${PATH_SEPARATOR+set}" != set; then
13050 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13051 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13058 # We need space, tab and new line, in precisely that order. Quoting is
13059 # there to prevent editors from complaining about space-tab.
13060 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13061 # splitting by setting IFS to empty value.)
13064 # Find who we are. Look in the path if we contain no directory separator.
13067 *[\\/]* ) as_myself=$0 ;;
13068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13072 test -z "$as_dir" && as_dir=.
13073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13079 # We did not find ourselves, most probably we were run as `sh COMMAND'
13080 # in which case we are not to be found in the path.
13081 if test "x$as_myself" = x; then
13084 if test ! -f "$as_myself"; then
13085 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13089 # Unset variables that we do not need and which cause bugs (e.g. in
13090 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13091 # suppresses any "Segmentation fault" message there. '((' could
13092 # trigger a bug in pdksh 5.2.14.
13093 for as_var in BASH_ENV ENV MAIL MAILPATH
13094 do eval test x\${$as_var+set} = xset \
13095 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13111 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13112 # ----------------------------------------
13113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13115 # script with STATUS, using 1 if that was 0.
13118 as_status=$1; test $as_status -eq 0 && as_status=1
13120 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13121 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13123 $as_echo "$as_me: error: $2" >&2
13124 as_fn_exit $as_status
13128 # as_fn_set_status STATUS
13129 # -----------------------
13130 # Set $? to STATUS, without forking.
13131 as_fn_set_status ()
13134 } # as_fn_set_status
13136 # as_fn_exit STATUS
13137 # -----------------
13138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13142 as_fn_set_status $1
13148 # Portably unset VAR.
13151 { eval $1=; unset $1;}
13153 as_unset=as_fn_unset
13154 # as_fn_append VAR VALUE
13155 # ----------------------
13156 # Append the text in VALUE to the end of the definition contained in VAR. Take
13157 # advantage of any shell optimizations that allow amortized linear growth over
13158 # repeated appends, instead of the typical quadratic growth present in naive
13160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13161 eval 'as_fn_append ()
13172 # as_fn_arith ARG...
13173 # ------------------
13174 # Perform arithmetic evaluation on the ARGs, and store the result in the
13175 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13176 # must be portable across $(()) and expr.
13177 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13178 eval 'as_fn_arith ()
13185 as_val=`expr "$@" || test $? -eq 1`
13190 if expr a : '\(a\)' >/dev/null 2>&1 &&
13191 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13197 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13198 as_basename=basename
13203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13209 as_me=`$as_basename -- "$0" ||
13210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13211 X"$0" : 'X\(//\)$' \| \
13212 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13214 sed '/^.*\/\([^/][^/]*\)\/*$/{
13228 # Avoid depending upon Character Ranges.
13229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13232 as_cr_digits='0123456789'
13233 as_cr_alnum=$as_cr_Letters$as_cr_digits
13235 ECHO_C= ECHO_N= ECHO_T=
13236 case `echo -n x` in #(((((
13238 case `echo 'xy\c'` in
13239 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13241 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13248 rm -f conf$$ conf$$.exe conf$$.file
13249 if test -d conf$$.dir; then
13250 rm -f conf$$.dir/conf$$.file
13253 mkdir conf$$.dir 2>/dev/null
13255 if (echo >conf$$.file) 2>/dev/null; then
13256 if ln -s conf$$.file conf$$ 2>/dev/null; then
13258 # ... but there are two gotchas:
13259 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13260 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13261 # In both cases, we have to default to `cp -pR'.
13262 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13264 elif ln conf$$.file conf$$ 2>/dev/null; then
13272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13273 rmdir conf$$.dir 2>/dev/null
13278 # Create "$as_dir" as a directory, including parents if necessary.
13283 -*) as_dir=./$as_dir;;
13285 test -d "$as_dir" || eval $as_mkdir_p || {
13289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13290 *) as_qdir=$as_dir;;
13292 as_dirs="'$as_qdir' $as_dirs"
13293 as_dir=`$as_dirname -- "$as_dir" ||
13294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13295 X"$as_dir" : 'X\(//\)[^/]' \| \
13296 X"$as_dir" : 'X\(//\)$' \| \
13297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13298 $as_echo X"$as_dir" |
13299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13303 /^X\(\/\/\)[^/].*/{
13316 test -d "$as_dir" && break
13318 test -z "$as_dirs" || eval "mkdir $as_dirs"
13319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13323 if mkdir -p . 2>/dev/null; then
13324 as_mkdir_p='mkdir -p "$as_dir"'
13326 test -d ./-p && rmdir ./-p
13331 # as_fn_executable_p FILE
13332 # -----------------------
13333 # Test if FILE is an executable regular file.
13334 as_fn_executable_p ()
13336 test -f "$1" && test -x "$1"
13337 } # as_fn_executable_p
13338 as_test_x='test -x'
13339 as_executable_p=as_fn_executable_p
13341 # Sed expression to map a string onto a valid CPP name.
13342 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13344 # Sed expression to map a string onto a valid variable name.
13345 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13349 ## ----------------------------------- ##
13350 ## Main body of $CONFIG_STATUS script. ##
13351 ## ----------------------------------- ##
13353 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13356 # Save the log message, to keep $0 and so on meaningful, and to
13357 # report actual input values of CONFIG_FILES etc. instead of their
13358 # values after options handling.
13360 This file was extended by gsignond $as_me 0.0.3, which was
13361 generated by GNU Autoconf 2.69. Invocation command line was
13363 CONFIG_FILES = $CONFIG_FILES
13364 CONFIG_HEADERS = $CONFIG_HEADERS
13365 CONFIG_LINKS = $CONFIG_LINKS
13366 CONFIG_COMMANDS = $CONFIG_COMMANDS
13369 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13374 case $ac_config_files in *"
13375 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13378 case $ac_config_headers in *"
13379 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13384 # Files that config.status was made for.
13385 config_files="$ac_config_files"
13386 config_headers="$ac_config_headers"
13387 config_commands="$ac_config_commands"
13391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13393 \`$as_me' instantiates files and other configuration actions
13394 from templates according to the current configuration. Unless the files
13395 and actions are specified as TAGs, all are instantiated by default.
13397 Usage: $0 [OPTION]... [TAG]...
13399 -h, --help print this help, then exit
13400 -V, --version print version number and configuration settings, then exit
13401 --config print configuration, then exit
13402 -q, --quiet, --silent
13403 do not print progress messages
13404 -d, --debug don't remove temporary files
13405 --recheck update $as_me by reconfiguring in the same conditions
13406 --file=FILE[:TEMPLATE]
13407 instantiate the configuration file FILE
13408 --header=FILE[:TEMPLATE]
13409 instantiate the configuration header FILE
13411 Configuration files:
13414 Configuration headers:
13417 Configuration commands:
13420 Report bugs to the package provider.
13421 gsignond home page: <http://01.org/gsso>."
13424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13427 gsignond config.status 0.0.3
13428 configured by $0, generated by GNU Autoconf 2.69,
13429 with options \\"\$ac_cs_config\\"
13431 Copyright (C) 2012 Free Software Foundation, Inc.
13432 This config.status script is free software; the Free Software Foundation
13433 gives unlimited permission to copy, distribute and modify it."
13440 test -n "\$AWK" || AWK=awk
13443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13444 # The default lists apply if the user does not specify any file.
13450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13455 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13467 # Handling of the options.
13468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13470 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13471 $as_echo "$ac_cs_version"; exit ;;
13472 --config | --confi | --conf | --con | --co | --c )
13473 $as_echo "$ac_cs_config"; exit ;;
13474 --debug | --debu | --deb | --de | --d | -d )
13476 --file | --fil | --fi | --f )
13479 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13480 '') as_fn_error $? "missing file argument" ;;
13482 as_fn_append CONFIG_FILES " '$ac_optarg'"
13483 ac_need_defaults=false;;
13484 --header | --heade | --head | --hea )
13487 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13489 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13490 ac_need_defaults=false;;
13492 # Conflict between --help and --header
13493 as_fn_error $? "ambiguous option: \`$1'
13494 Try \`$0 --help' for more information.";;
13495 --help | --hel | -h )
13496 $as_echo "$ac_cs_usage"; exit ;;
13497 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13498 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13501 # This is an error.
13502 -*) as_fn_error $? "unrecognized option: \`$1'
13503 Try \`$0 --help' for more information." ;;
13505 *) as_fn_append ac_config_targets " $1"
13506 ac_need_defaults=false ;;
13512 ac_configure_extra_args=
13514 if $ac_cs_silent; then
13516 ac_configure_extra_args="$ac_configure_extra_args --silent"
13520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13521 if \$ac_cs_recheck; then
13522 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13524 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13525 CONFIG_SHELL='$SHELL'
13526 export CONFIG_SHELL
13531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13535 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13536 ## Running $as_me. ##
13542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13546 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13549 # The HP-UX ksh and POSIX shell print the target directory to stdout
13550 # if CDPATH is set.
13551 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13553 sed_quote_subst='$sed_quote_subst'
13554 double_quote_subst='$double_quote_subst'
13555 delay_variable_subst='$delay_variable_subst'
13556 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13557 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13558 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13559 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13560 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13561 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13562 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13563 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13564 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13565 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13566 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13567 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13568 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13569 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13570 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13571 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13572 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13573 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13574 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13575 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13576 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13577 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13578 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13579 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13580 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13581 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13582 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13583 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13584 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13585 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13586 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13587 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13588 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13589 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13590 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13591 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13592 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13593 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13594 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13595 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13596 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13597 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13598 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13599 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13600 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13601 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13602 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13603 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13604 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13605 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13606 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13607 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13608 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13609 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13610 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13611 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13612 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"`'
13613 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13614 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13615 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13616 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13617 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13618 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13619 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13620 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13621 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13622 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13623 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13624 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13625 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13626 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13627 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13628 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13629 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13630 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13631 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13632 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13633 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13634 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13635 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13636 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13637 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13638 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13639 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13640 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13641 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13642 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13643 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13644 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13645 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13646 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13647 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13648 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13649 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13650 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13651 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13652 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13653 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13654 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13655 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13656 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13657 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13658 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13659 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13660 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13661 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13662 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13663 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13664 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13665 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13666 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13667 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13668 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13669 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13670 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13671 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13672 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13673 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13674 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13675 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13676 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13677 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13678 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13679 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13680 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13681 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13682 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13683 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13684 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13685 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13688 LTCFLAGS='$LTCFLAGS'
13689 compiler='$compiler_DEFAULT'
13691 # A function that is used when there is no print builtin or printf.
13692 func_fallback_echo ()
13694 eval 'cat <<_LTECHO_EOF
13699 # Quote evaled strings.
13714 deplibs_check_method \
13719 sharedlib_from_linklib_cmd \
13722 archiver_list_spec \
13728 lt_cv_sys_global_symbol_pipe \
13729 lt_cv_sys_global_symbol_to_cdecl \
13730 lt_cv_sys_global_symbol_to_c_name_address \
13731 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13732 nm_file_list_spec \
13733 lt_prog_compiler_no_builtin_flag \
13734 lt_prog_compiler_pic \
13735 lt_prog_compiler_wl \
13736 lt_prog_compiler_static \
13737 lt_cv_prog_compiler_c_o \
13746 export_dynamic_flag_spec \
13747 whole_archive_flag_spec \
13748 compiler_needs_object \
13750 allow_undefined_flag \
13751 no_undefined_flag \
13752 hardcode_libdir_flag_spec \
13753 hardcode_libdir_separator \
13757 variables_saved_for_relink \
13759 library_names_spec \
13761 install_override_mode \
13765 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13766 *[\\\\\\\`\\"\\\$]*)
13767 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13770 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13775 # Double-quote double-evaled strings.
13776 for var in reload_cmds \
13777 old_postinstall_cmds \
13778 old_postuninstall_cmds \
13780 extract_expsyms_cmds \
13781 old_archive_from_new_cmds \
13782 old_archive_from_expsyms_cmds \
13784 archive_expsym_cmds \
13786 module_expsym_cmds \
13787 export_symbols_cmds \
13791 postuninstall_cmds \
13793 sys_lib_search_path_spec \
13794 sys_lib_dlsearch_path_spec; do
13795 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13796 *[\\\\\\\`\\"\\\$]*)
13797 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13800 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13805 ac_aux_dir='$ac_aux_dir'
13806 xsi_shell='$xsi_shell'
13807 lt_shell_append='$lt_shell_append'
13809 # See if we are running on zsh, and set the options which allow our
13810 # commands through without removal of \ escapes INIT.
13811 if test -n "\${ZSH_VERSION+set}" ; then
13812 setopt NO_GLOB_SUBST
13818 TIMESTAMP='$TIMESTAMP'
13827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13829 # Handling of arguments.
13830 for ac_config_target in $ac_config_targets
13832 case $ac_config_target in
13833 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13834 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13835 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13836 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13837 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13838 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13839 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13840 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13841 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13842 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13843 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13844 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13845 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13846 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13847 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13848 "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
13849 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13850 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13851 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13852 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13853 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13854 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13855 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13856 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13857 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13858 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13859 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13860 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13861 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13863 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13868 # If the user did not use the arguments to specify the items to instantiate,
13869 # then the envvar interface is used. Set only those that are not.
13870 # We use the long form for the default assignment because of an extremely
13871 # bizarre bug on SunOS 4.1.3.
13872 if $ac_need_defaults; then
13873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13874 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13875 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13878 # Have a temporary directory for convenience. Make it in the build tree
13879 # simply because there is no reason against having it here, and in addition,
13880 # creating and moving files from /tmp can sometimes cause problems.
13881 # Hook for its removal unless debugging.
13882 # Note that there is a small window in which the directory will not be cleaned:
13883 # after its creation but before its name has been assigned to `$tmp'.
13887 trap 'exit_status=$?
13888 : "${ac_tmp:=$tmp}"
13889 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13891 trap 'as_fn_exit 1' 1 2 13 15
13893 # Create a (secure) tmp directory for tmp files.
13896 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13900 tmp=./conf$$-$RANDOM
13901 (umask 077 && mkdir "$tmp")
13902 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13905 # Set up the scripts for CONFIG_FILES section.
13906 # No need to generate them if there are no CONFIG_FILES.
13907 # This happens for instance with `./config.status config.h'.
13908 if test -n "$CONFIG_FILES"; then
13911 ac_cr=`echo X | tr X '\015'`
13912 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13913 # But we know of no other shell where ac_cr would be empty at this
13914 # point, so we can use a bashism as a fallback.
13915 if test "x$ac_cr" = x; then
13916 eval ac_cr=\$\'\\r\'
13918 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13919 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13922 ac_cs_awk_cr=$ac_cr
13925 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13930 echo "cat >conf$$subs.awk <<_ACEOF" &&
13931 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13933 } >conf$$subs.sh ||
13934 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13935 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13937 for ac_last_try in false false false false false :; do
13938 . ./conf$$subs.sh ||
13939 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13941 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13942 if test $ac_delim_n = $ac_delim_num; then
13944 elif $ac_last_try; then
13945 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13950 rm -f conf$$subs.sh
13952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13953 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13957 s/^/S["/; s/!.*/"]=/
13967 s/\(.\{148\}\)..*/\1/
13969 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13981 s/\(.\{148\}\)..*/\1/
13983 s/["\\]/\\&/g; s/^/"/; s/$/"/
13987 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13992 ' <conf$$subs.awk | sed '
13997 ' >>$CONFIG_STATUS || ac_write_fail=1
13998 rm -f conf$$subs.awk
13999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14001 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14002 for (key in S) S_is_set[key] = 1
14008 nfields = split(line, field, "@")
14010 len = length(field[1])
14011 for (i = 2; i < nfields; i++) {
14013 keylen = length(key)
14014 if (S_is_set[key]) {
14016 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14017 len += length(value) + length(field[++i])
14028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14029 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14030 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14033 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14034 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14037 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14038 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14039 # trailing colons and then remove the whole line if VPATH becomes empty
14040 # (actually we leave an empty line to preserve line numbers).
14041 if test "x$srcdir" = x.; then
14042 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14061 fi # test -n "$CONFIG_FILES"
14063 # Set up the scripts for CONFIG_HEADERS section.
14064 # No need to generate them if there are no CONFIG_HEADERS.
14065 # This happens for instance with `./config.status Makefile'.
14066 if test -n "$CONFIG_HEADERS"; then
14067 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14071 # Transform confdefs.h into an awk script `defines.awk', embedded as
14072 # here-document in config.status, that substitutes the proper values into
14073 # config.h.in to produce config.h.
14075 # Create a delimiter string that does not exist in confdefs.h, to ease
14076 # handling of long lines.
14078 for ac_last_try in false false :; do
14079 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14080 if test -z "$ac_tt"; then
14082 elif $ac_last_try; then
14083 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14089 # For the awk script, D is an array of macro values keyed by name,
14090 # likewise P contains macro parameters if any. Preserve backslash
14091 # newline sequences.
14093 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14095 s/.\{148\}/&'"$ac_delim"'/g
14098 s/^[ ]*#[ ]*define[ ][ ]*/ /
14105 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14107 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14111 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14112 D["\1"]=" \3\\\\\\n"\\/p
14114 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14119 s/.\{148\}/&'"$ac_delim"'/g
14124 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14127 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14129 ' <confdefs.h | sed '
14130 s/'"$ac_delim"'/"\\\
14131 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14134 for (key in D) D_is_set[key] = 1
14137 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14139 split(line, arg, " ")
14140 if (arg[1] == "#") {
14144 defundef = substr(arg[1], 2)
14147 split(mac1, mac2, "(") #)
14149 prefix = substr(line, 1, index(line, defundef) - 1)
14150 if (D_is_set[macro]) {
14151 # Preserve the white space surrounding the "#".
14152 print prefix "define", macro P[macro] D[macro]
14155 # Replace #undef with comments. This is necessary, for example,
14156 # in the case of _POSIX_SOURCE, which is predefined and required
14157 # on some systems where configure will not decide to define it.
14158 if (defundef == "undef") {
14159 print "/*", prefix defundef, macro, "*/"
14167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14168 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14169 fi # test -n "$CONFIG_HEADERS"
14172 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14177 :[FHLC]) ac_mode=$ac_tag; continue;;
14179 case $ac_mode$ac_tag in
14181 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14182 :[FH]-) ac_tag=-:-;;
14183 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14200 -) ac_f="$ac_tmp/stdin";;
14201 *) # Look for the file first in the build tree, then in the source tree
14202 # (if the path is not absolute). The absolute path cannot be DOS-style,
14203 # because $ac_f cannot contain `:'.
14207 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14209 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14211 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14212 as_fn_append ac_file_inputs " '$ac_f'"
14215 # Let's still pretend it is `configure' which instantiates (i.e., don't
14216 # use $as_me), people would be surprised to read:
14217 # /* config.h. Generated by config.status. */
14218 configure_input='Generated from '`
14219 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14221 if test x"$ac_file" != x-; then
14222 configure_input="$ac_file. $configure_input"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14224 $as_echo "$as_me: creating $ac_file" >&6;}
14226 # Neutralize special characters interpreted by sed in replacement strings.
14227 case $configure_input in #(
14228 *\&* | *\|* | *\\* )
14229 ac_sed_conf_input=`$as_echo "$configure_input" |
14230 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14231 *) ac_sed_conf_input=$configure_input;;
14235 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14241 ac_dir=`$as_dirname -- "$ac_file" ||
14242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14243 X"$ac_file" : 'X\(//\)[^/]' \| \
14244 X"$ac_file" : 'X\(//\)$' \| \
14245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14246 $as_echo X"$ac_file" |
14247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14251 /^X\(\/\/\)[^/].*/{
14264 as_dir="$ac_dir"; as_fn_mkdir_p
14268 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14270 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14271 # A ".." for each directory in $ac_dir_suffix.
14272 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14273 case $ac_top_builddir_sub in
14274 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14275 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14278 ac_abs_top_builddir=$ac_pwd
14279 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14280 # for backward compatibility:
14281 ac_top_builddir=$ac_top_build_prefix
14284 .) # We are building in place.
14286 ac_top_srcdir=$ac_top_builddir_sub
14287 ac_abs_top_srcdir=$ac_pwd ;;
14288 [\\/]* | ?:[\\/]* ) # Absolute name.
14289 ac_srcdir=$srcdir$ac_dir_suffix;
14290 ac_top_srcdir=$srcdir
14291 ac_abs_top_srcdir=$srcdir ;;
14292 *) # Relative name.
14293 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14294 ac_top_srcdir=$ac_top_build_prefix$srcdir
14295 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14297 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14307 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14308 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14310 ac_MKDIR_P=$MKDIR_P
14312 [\\/$]* | ?:[\\/]* ) ;;
14313 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318 # If the template does not know about datarootdir, expand it.
14319 # FIXME: This hack should be removed a few years after 2.60.
14320 ac_datarootdir_hack=; ac_datarootdir_seen=
14331 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14332 *datarootdir*) ac_datarootdir_seen=yes;;
14333 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14335 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14338 ac_datarootdir_hack='
14339 s&@datadir@&$datadir&g
14340 s&@docdir@&$docdir&g
14341 s&@infodir@&$infodir&g
14342 s&@localedir@&$localedir&g
14343 s&@mandir@&$mandir&g
14344 s&\\\${datarootdir}&$datarootdir&g' ;;
14348 # Neutralize VPATH when `$srcdir' = `.'.
14349 # Shell code in configure.ac might set extrasub.
14350 # FIXME: do we really want to maintain this feature?
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 ac_sed_extra="$ac_vpsub
14355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14358 s|@configure_input@|$ac_sed_conf_input|;t t
14359 s&@top_builddir@&$ac_top_builddir_sub&;t t
14360 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14361 s&@srcdir@&$ac_srcdir&;t t
14362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14363 s&@top_srcdir@&$ac_top_srcdir&;t t
14364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14365 s&@builddir@&$ac_builddir&;t t
14366 s&@abs_builddir@&$ac_abs_builddir&;t t
14367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14368 s&@INSTALL@&$ac_INSTALL&;t t
14369 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14370 $ac_datarootdir_hack
14372 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14373 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14375 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14376 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14377 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14378 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14380 which seems to be undefined. Please make sure it is defined" >&5
14381 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14382 which seems to be undefined. Please make sure it is defined" >&2;}
14384 rm -f "$ac_tmp/stdin"
14386 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14387 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14389 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14395 if test x"$ac_file" != x-; then
14397 $as_echo "/* $configure_input */" \
14398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14399 } >"$ac_tmp/config.h" \
14400 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14401 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14403 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14406 mv "$ac_tmp/config.h" "$ac_file" \
14407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14410 $as_echo "/* $configure_input */" \
14411 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14412 || as_fn_error $? "could not create -" "$LINENO" 5
14414 # Compute "$ac_file"'s index in $config_headers.
14417 for _am_header in $config_headers :; do
14418 case $_am_header in
14419 $_am_arg | $_am_arg:* )
14422 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14425 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14426 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14427 X"$_am_arg" : 'X\(//\)[^/]' \| \
14428 X"$_am_arg" : 'X\(//\)$' \| \
14429 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14430 $as_echo X"$_am_arg" |
14431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14435 /^X\(\/\/\)[^/].*/{
14447 s/.*/./; q'`/stamp-h$_am_stamp_count
14450 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14451 $as_echo "$as_me: executing $ac_file commands" >&6;}
14456 case $ac_file$ac_mode in
14457 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14458 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14459 # are listed without --file. Let's play safe and only enable the eval
14460 # if we detect the quoting.
14461 case $CONFIG_FILES in
14462 *\'*) eval set x "$CONFIG_FILES" ;;
14463 *) set x $CONFIG_FILES ;;
14468 # Strip MF so we end up with the name of the file.
14469 mf=`echo "$mf" | sed -e 's/:.*$//'`
14470 # Check whether this is an Automake generated Makefile or not.
14471 # We used to match only the files named `Makefile.in', but
14472 # some people rename them; so instead we look at the file content.
14473 # Grep'ing the first line is not enough: some people post-process
14474 # each Makefile.in and add a new line on top of each file to say so.
14475 # Grep'ing the whole file is not good either: AIX grep has a line
14476 # limit of 2048, but all sed's we know have understand at least 4000.
14477 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14478 dirpart=`$as_dirname -- "$mf" ||
14479 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14480 X"$mf" : 'X\(//\)[^/]' \| \
14481 X"$mf" : 'X\(//\)$' \| \
14482 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14488 /^X\(\/\/\)[^/].*/{
14504 # Extract the definition of DEPDIR, am__include, and am__quote
14505 # from the Makefile without running `make'.
14506 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14507 test -z "$DEPDIR" && continue
14508 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14509 test -z "am__include" && continue
14510 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14511 # When using ansi2knr, U may be empty or an underscore; expand it
14512 U=`sed -n 's/^U = //p' < "$mf"`
14513 # Find all dependency output files, they are included files with
14514 # $(DEPDIR) in their names. We invoke sed twice because it is the
14515 # simplest approach to changing $(DEPDIR) to its actual value in the
14517 for file in `sed -n "
14518 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14519 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14520 # Make sure the directory exists.
14521 test -f "$dirpart/$file" && continue
14522 fdir=`$as_dirname -- "$file" ||
14523 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14524 X"$file" : 'X\(//\)[^/]' \| \
14525 X"$file" : 'X\(//\)$' \| \
14526 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14527 $as_echo X"$file" |
14528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14532 /^X\(\/\/\)[^/].*/{
14545 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14546 # echo "creating $dirpart/$file"
14547 echo '# dummy' > "$dirpart/$file"
14554 # See if we are running on zsh, and set the options which allow our
14555 # commands through without removal of \ escapes.
14556 if test -n "${ZSH_VERSION+set}" ; then
14557 setopt NO_GLOB_SUBST
14560 cfgfile="${ofile}T"
14561 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14564 cat <<_LT_EOF >> "$cfgfile"
14567 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14568 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14572 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14573 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14575 # Written by Gordon Matzigkeit, 1996
14577 # This file is part of GNU Libtool.
14579 # GNU Libtool is free software; you can redistribute it and/or
14580 # modify it under the terms of the GNU General Public License as
14581 # published by the Free Software Foundation; either version 2 of
14582 # the License, or (at your option) any later version.
14584 # As a special exception to the GNU General Public License,
14585 # if you distribute this file as part of a program or library that
14586 # is built using GNU Libtool, you may include this file under the
14587 # same distribution terms that you use for the rest of that program.
14589 # GNU Libtool is distributed in the hope that it will be useful,
14590 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14592 # GNU General Public License for more details.
14594 # You should have received a copy of the GNU General Public License
14595 # along with GNU Libtool; see the file COPYING. If not, a copy
14596 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14597 # obtained by writing to the Free Software Foundation, Inc.,
14598 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14601 # The names of the tagged configurations supported by this script.
14604 # ### BEGIN LIBTOOL CONFIG
14606 # Which release of libtool.m4 was used?
14607 macro_version=$macro_version
14608 macro_revision=$macro_revision
14610 # Whether or not to build static libraries.
14611 build_old_libs=$enable_static
14613 # Whether or not to build shared libraries.
14614 build_libtool_libs=$enable_shared
14616 # What type of objects to build.
14619 # Whether or not to optimize for fast installation.
14620 fast_install=$enable_fast_install
14622 # Shell to use when invoking shell scripts.
14625 # An echo program that protects backslashes.
14628 # The PATH separator for the build system.
14629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14632 host_alias=$host_alias
14636 # The build system.
14637 build_alias=$build_alias
14641 # A sed program that does not truncate output.
14644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14645 Xsed="\$SED -e 1s/^X//"
14647 # A grep program that handles long lines.
14653 # A literal string matcher.
14656 # A BSD- or MS-compatible name lister.
14659 # Whether we need soft or hard links.
14662 # What is the maximum length of a command?
14663 max_cmd_len=$max_cmd_len
14665 # Object file suffix (normally "o").
14668 # Executable file suffix (normally "").
14671 # whether the shell understands "unset".
14674 # turn spaces into newlines.
14677 # turn newlines into spaces.
14680 # convert \$build file names to \$host format.
14681 to_host_file_cmd=$lt_cv_to_host_file_cmd
14683 # convert \$build files to toolchain format.
14684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14686 # An object symbol dumper.
14687 OBJDUMP=$lt_OBJDUMP
14689 # Method to check whether dependent libraries are shared objects.
14690 deplibs_check_method=$lt_deplibs_check_method
14692 # Command to use when deplibs_check_method = "file_magic".
14693 file_magic_cmd=$lt_file_magic_cmd
14695 # How to find potential files when deplibs_check_method = "file_magic".
14696 file_magic_glob=$lt_file_magic_glob
14698 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14699 want_nocaseglob=$lt_want_nocaseglob
14701 # DLL creation program.
14702 DLLTOOL=$lt_DLLTOOL
14704 # Command to associate shared and link libraries.
14705 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14710 # Flags to create an archive.
14711 AR_FLAGS=$lt_AR_FLAGS
14713 # How to feed a file listing to the archiver.
14714 archiver_list_spec=$lt_archiver_list_spec
14716 # A symbol stripping program.
14719 # Commands used to install an old-style archive.
14721 old_postinstall_cmds=$lt_old_postinstall_cmds
14722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14724 # Whether to use a lock for old archive extraction.
14725 lock_old_archive_extraction=$lock_old_archive_extraction
14730 # LTCC compiler flags.
14731 LTCFLAGS=$lt_CFLAGS
14733 # Take the output of nm and produce a listing of raw symbols and C names.
14734 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14736 # Transform the output of nm in a proper C declaration.
14737 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14739 # Transform the output of nm in a C name address pair.
14740 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14742 # Transform the output of nm in a C name address pair when lib prefix is needed.
14743 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14745 # Specify filename containing input files for \$NM.
14746 nm_file_list_spec=$lt_nm_file_list_spec
14748 # The root where to search for dependent libraries,and in which our libraries should be installed.
14749 lt_sysroot=$lt_sysroot
14751 # The name of the directory that contains temporary libtool files.
14754 # Used to examine libraries when file_magic_cmd begins with "file".
14755 MAGIC_CMD=$MAGIC_CMD
14757 # Must we lock files when doing compilation?
14758 need_locks=$lt_need_locks
14761 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14763 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14764 DSYMUTIL=$lt_DSYMUTIL
14766 # Tool to change global to local symbols on Mac OS X.
14769 # Tool to manipulate fat objects and archives on Mac OS X.
14772 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14775 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14776 OTOOL64=$lt_OTOOL64
14778 # Old archive suffix (normally "a").
14781 # Shared library suffix (normally ".so").
14782 shrext_cmds=$lt_shrext_cmds
14784 # The commands to extract the exported symbol list from a shared archive.
14785 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14787 # Variables whose values should be saved in libtool wrapper scripts and
14788 # restored at link time.
14789 variables_saved_for_relink=$lt_variables_saved_for_relink
14791 # Do we need the "lib" prefix for modules?
14792 need_lib_prefix=$need_lib_prefix
14794 # Do we need a version for libraries?
14795 need_version=$need_version
14797 # Library versioning type.
14798 version_type=$version_type
14800 # Shared library runtime path variable.
14801 runpath_var=$runpath_var
14803 # Shared library path variable.
14804 shlibpath_var=$shlibpath_var
14806 # Is shlibpath searched before the hard-coded library search path?
14807 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14809 # Format of library name prefix.
14810 libname_spec=$lt_libname_spec
14812 # List of archive names. First name is the real one, the rest are links.
14813 # The last name is the one that the linker finds with -lNAME
14814 library_names_spec=$lt_library_names_spec
14816 # The coded name of the library, if different from the real name.
14817 soname_spec=$lt_soname_spec
14819 # Permission mode override for installation of shared libraries.
14820 install_override_mode=$lt_install_override_mode
14822 # Command to use after installation of a shared archive.
14823 postinstall_cmds=$lt_postinstall_cmds
14825 # Command to use after uninstallation of a shared archive.
14826 postuninstall_cmds=$lt_postuninstall_cmds
14828 # Commands used to finish a libtool library installation in a directory.
14829 finish_cmds=$lt_finish_cmds
14831 # As "finish_cmds", except a single script fragment to be evaled but
14833 finish_eval=$lt_finish_eval
14835 # Whether we should hardcode library paths into libraries.
14836 hardcode_into_libs=$hardcode_into_libs
14838 # Compile-time system search path for libraries.
14839 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14841 # Run-time system search path for libraries.
14842 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14844 # Whether dlopen is supported.
14845 dlopen_support=$enable_dlopen
14847 # Whether dlopen of programs is supported.
14848 dlopen_self=$enable_dlopen_self
14850 # Whether dlopen of statically linked programs is supported.
14851 dlopen_self_static=$enable_dlopen_self_static
14853 # Commands to strip libraries.
14854 old_striplib=$lt_old_striplib
14855 striplib=$lt_striplib
14858 # The linker used to build libraries.
14861 # How to create reloadable object files.
14862 reload_flag=$lt_reload_flag
14863 reload_cmds=$lt_reload_cmds
14865 # Commands used to build an old-style archive.
14866 old_archive_cmds=$lt_old_archive_cmds
14868 # A language specific compiler.
14871 # Is the compiler the GNU compiler?
14874 # Compiler flag to turn off builtin functions.
14875 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14877 # Additional compiler flags for building library objects.
14878 pic_flag=$lt_lt_prog_compiler_pic
14880 # How to pass a linker flag through the compiler.
14881 wl=$lt_lt_prog_compiler_wl
14883 # Compiler flag to prevent dynamic linking.
14884 link_static_flag=$lt_lt_prog_compiler_static
14886 # Does compiler simultaneously support -c and -o options?
14887 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14889 # Whether or not to add -lc for building shared libraries.
14890 build_libtool_need_lc=$archive_cmds_need_lc
14892 # Whether or not to disallow shared libs when runtime libs are static.
14893 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14895 # Compiler flag to allow reflexive dlopens.
14896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14898 # Compiler flag to generate shared objects directly from archives.
14899 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14901 # Whether the compiler copes with passing no objects directly.
14902 compiler_needs_object=$lt_compiler_needs_object
14904 # Create an old-style archive from a shared archive.
14905 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14907 # Create a temporary old-style archive to link instead of a shared archive.
14908 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14910 # Commands used to build a shared archive.
14911 archive_cmds=$lt_archive_cmds
14912 archive_expsym_cmds=$lt_archive_expsym_cmds
14914 # Commands used to build a loadable module if different from building
14915 # a shared archive.
14916 module_cmds=$lt_module_cmds
14917 module_expsym_cmds=$lt_module_expsym_cmds
14919 # Whether we are building with GNU ld or not.
14920 with_gnu_ld=$lt_with_gnu_ld
14922 # Flag that allows shared libraries with undefined symbols to be built.
14923 allow_undefined_flag=$lt_allow_undefined_flag
14925 # Flag that enforces no undefined symbols.
14926 no_undefined_flag=$lt_no_undefined_flag
14928 # Flag to hardcode \$libdir into a binary during linking.
14929 # This must work even if \$libdir does not exist
14930 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14932 # Whether we need a single "-rpath" flag with a separated argument.
14933 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14936 # DIR into the resulting binary.
14937 hardcode_direct=$hardcode_direct
14939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14940 # DIR into the resulting binary and the resulting library dependency is
14941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14942 # library is relocated.
14943 hardcode_direct_absolute=$hardcode_direct_absolute
14945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14946 # into the resulting binary.
14947 hardcode_minus_L=$hardcode_minus_L
14949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14950 # into the resulting binary.
14951 hardcode_shlibpath_var=$hardcode_shlibpath_var
14953 # Set to "yes" if building a shared library automatically hardcodes DIR
14954 # into the library and all subsequent libraries and executables linked
14956 hardcode_automatic=$hardcode_automatic
14958 # Set to yes if linker adds runtime paths of dependent libraries
14959 # to runtime path list.
14960 inherit_rpath=$inherit_rpath
14962 # Whether libtool must link a program against all its dependency libraries.
14963 link_all_deplibs=$link_all_deplibs
14965 # Set to "yes" if exported symbols are required.
14966 always_export_symbols=$always_export_symbols
14968 # The commands to list exported symbols.
14969 export_symbols_cmds=$lt_export_symbols_cmds
14971 # Symbols that should not be listed in the preloaded symbols.
14972 exclude_expsyms=$lt_exclude_expsyms
14974 # Symbols that must always be exported.
14975 include_expsyms=$lt_include_expsyms
14977 # Commands necessary for linking programs (against libraries) with templates.
14978 prelink_cmds=$lt_prelink_cmds
14980 # Commands necessary for finishing linking programs.
14981 postlink_cmds=$lt_postlink_cmds
14983 # Specify filename containing input files.
14984 file_list_spec=$lt_file_list_spec
14986 # How to hardcode a shared library path into an executable.
14987 hardcode_action=$hardcode_action
14989 # ### END LIBTOOL CONFIG
14995 cat <<\_LT_EOF >> "$cfgfile"
14996 # AIX sometimes has problems with the GCC collect2 program. For some
14997 # reason, if we set the COLLECT_NAMES environment variable, the problems
14998 # vanish in a puff of smoke.
14999 if test "X${COLLECT_NAMES+set}" != Xset; then
15001 export COLLECT_NAMES
15008 ltmain="$ac_aux_dir/ltmain.sh"
15011 # We use sed instead of cat because bash on DJGPP gets confused if
15012 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15013 # text mode, it properly converts lines to CR/LF. This bash problem
15014 # is reportedly fixed, but why not run on old versions too?
15015 sed '$q' "$ltmain" >> "$cfgfile" \
15016 || (rm -f "$cfgfile"; exit 1)
15018 if test x"$xsi_shell" = xyes; then
15019 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15023 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15024 \ * ) func_dirname_result="${3}" ;;\
15026 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15027 && mv -f "$cfgfile.tmp" "$cfgfile" \
15028 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15029 test 0 -eq $? || _lt_function_replace_fail=:
15032 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15035 \ func_basename_result="${1##*/}"\
15036 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15037 && mv -f "$cfgfile.tmp" "$cfgfile" \
15038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15039 test 0 -eq $? || _lt_function_replace_fail=:
15042 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15043 func_dirname_and_basename ()\
15046 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15047 \ * ) func_dirname_result="${3}" ;;\
15049 \ func_basename_result="${1##*/}"\
15050 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15051 && mv -f "$cfgfile.tmp" "$cfgfile" \
15052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15053 test 0 -eq $? || _lt_function_replace_fail=:
15056 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15059 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15060 \ # positional parameters, so assign one to ordinary parameter first.\
15061 \ func_stripname_result=${3}\
15062 \ func_stripname_result=${func_stripname_result#"${1}"}\
15063 \ func_stripname_result=${func_stripname_result%"${2}"}\
15064 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15065 && mv -f "$cfgfile.tmp" "$cfgfile" \
15066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15067 test 0 -eq $? || _lt_function_replace_fail=:
15070 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15071 func_split_long_opt ()\
15073 \ func_split_long_opt_name=${1%%=*}\
15074 \ func_split_long_opt_arg=${1#*=}\
15075 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15076 && mv -f "$cfgfile.tmp" "$cfgfile" \
15077 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15078 test 0 -eq $? || _lt_function_replace_fail=:
15081 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15082 func_split_short_opt ()\
15084 \ func_split_short_opt_arg=${1#??}\
15085 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15086 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15087 && mv -f "$cfgfile.tmp" "$cfgfile" \
15088 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15089 test 0 -eq $? || _lt_function_replace_fail=:
15092 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15096 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15097 \ *) func_lo2o_result=${1} ;;\
15099 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15100 && mv -f "$cfgfile.tmp" "$cfgfile" \
15101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15102 test 0 -eq $? || _lt_function_replace_fail=:
15105 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15108 func_xform_result=${1%.*}.lo\
15109 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15110 && mv -f "$cfgfile.tmp" "$cfgfile" \
15111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15112 test 0 -eq $? || _lt_function_replace_fail=:
15115 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15118 func_arith_result=$(( $* ))\
15119 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15120 && mv -f "$cfgfile.tmp" "$cfgfile" \
15121 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15122 test 0 -eq $? || _lt_function_replace_fail=:
15125 sed -e '/^func_len ()$/,/^} # func_len /c\
15128 func_len_result=${#1}\
15129 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15130 && mv -f "$cfgfile.tmp" "$cfgfile" \
15131 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15132 test 0 -eq $? || _lt_function_replace_fail=:
15136 if test x"$lt_shell_append" = xyes; then
15137 sed -e '/^func_append ()$/,/^} # func_append /c\
15140 eval "${1}+=\\${2}"\
15141 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15142 && mv -f "$cfgfile.tmp" "$cfgfile" \
15143 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15144 test 0 -eq $? || _lt_function_replace_fail=:
15147 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15148 func_append_quoted ()\
15150 \ func_quote_for_eval "${2}"\
15151 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15152 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15153 && mv -f "$cfgfile.tmp" "$cfgfile" \
15154 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15155 test 0 -eq $? || _lt_function_replace_fail=:
15158 # Save a `func_append' function call where possible by direct use of '+='
15159 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15160 && mv -f "$cfgfile.tmp" "$cfgfile" \
15161 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15162 test 0 -eq $? || _lt_function_replace_fail=:
15164 # Save a `func_append' function call even when '+=' is not available
15165 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15166 && mv -f "$cfgfile.tmp" "$cfgfile" \
15167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15168 test 0 -eq $? || _lt_function_replace_fail=:
15171 if test x"$_lt_function_replace_fail" = x":"; then
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15173 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15177 mv -f "$cfgfile" "$ofile" ||
15178 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15189 ac_clean_files=$ac_clean_files_save
15191 test $ac_write_fail = 0 ||
15192 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15195 # configure is writing to config.log, and then calls config.status.
15196 # config.status does its own redirection, appending to config.log.
15197 # Unfortunately, on DOS this fails, as config.log is still kept open
15198 # by configure, so config.status won't be able to write to it; its
15199 # output is simply discarded. So we exec the FD to /dev/null,
15200 # effectively closing config.log, so it can be properly (re)opened and
15201 # appended to by config.status. When coming back to configure, we
15202 # need to make the FD available again.
15203 if test "$no_create" != yes; then
15205 ac_config_status_args=
15206 test "$silent" = yes &&
15207 ac_config_status_args="$ac_config_status_args --quiet"
15209 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15211 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15212 # would make configure fail if this is the last instruction.
15213 $ac_cs_success || as_fn_exit 1
15215 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15217 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15221 if test x$enable_dbus_type != xp2p; then
15222 ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15224 cat >confcache <<\_ACEOF
15225 # This file is a shell script that caches the results of configure
15226 # tests run on this system so they can be shared between configure
15227 # scripts and configure runs, see configure's option --config-cache.
15228 # It is not useful on other systems. If it contains results you don't
15229 # want to keep, you may remove or edit it.
15231 # config.status only pays attention to the cache file if you give it
15232 # the --recheck option to rerun configure.
15234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15236 # following values.
15240 # The following way of writing the cache mishandles newlines in values,
15241 # but we know of no workaround that is simple, portable, and efficient.
15242 # So, we kill variables containing newlines.
15243 # Ultrix sh set writes to stderr and can't be redirected directly,
15244 # and sets the high bit in the cache file unless we assign to the vars.
15246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15247 eval ac_val=\$$ac_var
15251 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15255 _ | IFS | as_nl) ;; #(
15256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15257 *) { eval $ac_var=; unset $ac_var;} ;;
15263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15264 *${as_nl}ac_space=\ *)
15265 # `set' does not quote correctly, so add quotes: double-quote
15266 # substitution turns \\\\ into \\, and sed turns \\ into \.
15269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15272 # `set' quotes correctly as required by POSIX, so do not add quotes.
15273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15287 if test -w "$cache_file"; then
15288 if test "x$cache_file" != "x/dev/null"; then
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15290 $as_echo "$as_me: updating cache $cache_file" >&6;}
15291 if test ! -f "$cache_file" || test -h "$cache_file"; then
15292 cat confcache >"$cache_file"
15294 case $cache_file in #(
15296 mv -f confcache "$cache_file"$$ &&
15297 mv -f "$cache_file"$$ "$cache_file" ;; #(
15299 mv -f confcache "$cache_file" ;;
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15305 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15311 # Let make expand exec_prefix.
15312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15314 DEFS=-DHAVE_CONFIG_H
15319 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15320 # 1. Remove the extension, and $U if already installed.
15321 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15322 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15323 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15324 # will be set to the directory where LIBOBJS objects are built.
15325 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15326 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15328 LIBOBJS=$ac_libobjs
15330 LTLIBOBJS=$ac_ltlibobjs
15333 if test -n "$EXEEXT"; then
15335 am__EXEEXT_FALSE='#'
15337 am__EXEEXT_TRUE='#'
15341 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15342 as_fn_error $? "conditional \"AMDEP\" was never defined.
15343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15346 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15349 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15350 as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15353 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15354 as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15357 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15358 as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15361 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15362 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15365 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15366 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15369 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15370 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15373 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15374 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15377 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15378 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15381 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15382 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15385 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15386 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15389 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15390 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15394 : "${CONFIG_STATUS=./config.status}"
15396 ac_clean_files_save=$ac_clean_files
15397 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15399 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15401 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15403 # Generated by $as_me.
15404 # Run this file to recreate the current configuration.
15405 # Compiler output produced by configure, useful for debugging
15406 # configure, is in config.log if it exists.
15409 ac_cs_recheck=false
15412 SHELL=\${CONFIG_SHELL-$SHELL}
15415 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15416 ## -------------------- ##
15417 ## M4sh Initialization. ##
15418 ## -------------------- ##
15420 # Be more Bourne compatible
15421 DUALCASE=1; export DUALCASE # for MKS sh
15422 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15425 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15426 # is contrary to our usage. Disable this feature.
15427 alias -g '${1+"$@"}'='"$@"'
15428 setopt NO_GLOB_SUBST
15430 case `(set -o) 2>/dev/null` in #(
15442 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15443 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15446 # Prefer a ksh shell builtin over an external printf program on Solaris,
15447 # but without wasting forks for bash or zsh.
15448 if test -z "$BASH_VERSION$ZSH_VERSION" \
15449 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15450 as_echo='print -r --'
15451 as_echo_n='print -rn --'
15452 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15453 as_echo='printf %s\n'
15454 as_echo_n='printf %s'
15456 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15457 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15458 as_echo_n='/usr/ucb/echo -n'
15460 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15461 as_echo_n_body='eval
15465 expr "X$arg" : "X\\(.*\\)$as_nl";
15466 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15468 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15470 export as_echo_n_body
15471 as_echo_n='sh -c $as_echo_n_body as_echo'
15473 export as_echo_body
15474 as_echo='sh -c $as_echo_body as_echo'
15477 # The user is always right.
15478 if test "${PATH_SEPARATOR+set}" != set; then
15480 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15481 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15488 # We need space, tab and new line, in precisely that order. Quoting is
15489 # there to prevent editors from complaining about space-tab.
15490 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15491 # splitting by setting IFS to empty value.)
15494 # Find who we are. Look in the path if we contain no directory separator.
15497 *[\\/]* ) as_myself=$0 ;;
15498 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15499 for as_dir in $PATH
15502 test -z "$as_dir" && as_dir=.
15503 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15509 # We did not find ourselves, most probably we were run as `sh COMMAND'
15510 # in which case we are not to be found in the path.
15511 if test "x$as_myself" = x; then
15514 if test ! -f "$as_myself"; then
15515 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15519 # Unset variables that we do not need and which cause bugs (e.g. in
15520 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15521 # suppresses any "Segmentation fault" message there. '((' could
15522 # trigger a bug in pdksh 5.2.14.
15523 for as_var in BASH_ENV ENV MAIL MAILPATH
15524 do eval test x\${$as_var+set} = xset \
15525 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15541 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15542 # ----------------------------------------
15543 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15544 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15545 # script with STATUS, using 1 if that was 0.
15548 as_status=$1; test $as_status -eq 0 && as_status=1
15550 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15551 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15553 $as_echo "$as_me: error: $2" >&2
15554 as_fn_exit $as_status
15558 # as_fn_set_status STATUS
15559 # -----------------------
15560 # Set $? to STATUS, without forking.
15561 as_fn_set_status ()
15564 } # as_fn_set_status
15566 # as_fn_exit STATUS
15567 # -----------------
15568 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15572 as_fn_set_status $1
15578 # Portably unset VAR.
15581 { eval $1=; unset $1;}
15583 as_unset=as_fn_unset
15584 # as_fn_append VAR VALUE
15585 # ----------------------
15586 # Append the text in VALUE to the end of the definition contained in VAR. Take
15587 # advantage of any shell optimizations that allow amortized linear growth over
15588 # repeated appends, instead of the typical quadratic growth present in naive
15590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15591 eval 'as_fn_append ()
15602 # as_fn_arith ARG...
15603 # ------------------
15604 # Perform arithmetic evaluation on the ARGs, and store the result in the
15605 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15606 # must be portable across $(()) and expr.
15607 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15608 eval 'as_fn_arith ()
15615 as_val=`expr "$@" || test $? -eq 1`
15620 if expr a : '\(a\)' >/dev/null 2>&1 &&
15621 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15627 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15628 as_basename=basename
15633 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15639 as_me=`$as_basename -- "$0" ||
15640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15641 X"$0" : 'X\(//\)$' \| \
15642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15644 sed '/^.*\/\([^/][^/]*\)\/*$/{
15658 # Avoid depending upon Character Ranges.
15659 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15660 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15661 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15662 as_cr_digits='0123456789'
15663 as_cr_alnum=$as_cr_Letters$as_cr_digits
15665 ECHO_C= ECHO_N= ECHO_T=
15666 case `echo -n x` in #(((((
15668 case `echo 'xy\c'` in
15669 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15671 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15678 rm -f conf$$ conf$$.exe conf$$.file
15679 if test -d conf$$.dir; then
15680 rm -f conf$$.dir/conf$$.file
15683 mkdir conf$$.dir 2>/dev/null
15685 if (echo >conf$$.file) 2>/dev/null; then
15686 if ln -s conf$$.file conf$$ 2>/dev/null; then
15688 # ... but there are two gotchas:
15689 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15690 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15691 # In both cases, we have to default to `cp -pR'.
15692 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15694 elif ln conf$$.file conf$$ 2>/dev/null; then
15702 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15703 rmdir conf$$.dir 2>/dev/null
15708 # Create "$as_dir" as a directory, including parents if necessary.
15713 -*) as_dir=./$as_dir;;
15715 test -d "$as_dir" || eval $as_mkdir_p || {
15719 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15720 *) as_qdir=$as_dir;;
15722 as_dirs="'$as_qdir' $as_dirs"
15723 as_dir=`$as_dirname -- "$as_dir" ||
15724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15725 X"$as_dir" : 'X\(//\)[^/]' \| \
15726 X"$as_dir" : 'X\(//\)$' \| \
15727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15728 $as_echo X"$as_dir" |
15729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15733 /^X\(\/\/\)[^/].*/{
15746 test -d "$as_dir" && break
15748 test -z "$as_dirs" || eval "mkdir $as_dirs"
15749 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15753 if mkdir -p . 2>/dev/null; then
15754 as_mkdir_p='mkdir -p "$as_dir"'
15756 test -d ./-p && rmdir ./-p
15761 # as_fn_executable_p FILE
15762 # -----------------------
15763 # Test if FILE is an executable regular file.
15764 as_fn_executable_p ()
15766 test -f "$1" && test -x "$1"
15767 } # as_fn_executable_p
15768 as_test_x='test -x'
15769 as_executable_p=as_fn_executable_p
15771 # Sed expression to map a string onto a valid CPP name.
15772 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15774 # Sed expression to map a string onto a valid variable name.
15775 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15779 ## ----------------------------------- ##
15780 ## Main body of $CONFIG_STATUS script. ##
15781 ## ----------------------------------- ##
15783 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15786 # Save the log message, to keep $0 and so on meaningful, and to
15787 # report actual input values of CONFIG_FILES etc. instead of their
15788 # values after options handling.
15790 This file was extended by gsignond $as_me 0.0.3, which was
15791 generated by GNU Autoconf 2.69. Invocation command line was
15793 CONFIG_FILES = $CONFIG_FILES
15794 CONFIG_HEADERS = $CONFIG_HEADERS
15795 CONFIG_LINKS = $CONFIG_LINKS
15796 CONFIG_COMMANDS = $CONFIG_COMMANDS
15799 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15804 case $ac_config_files in *"
15805 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15808 case $ac_config_headers in *"
15809 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15814 # Files that config.status was made for.
15815 config_files="$ac_config_files"
15816 config_headers="$ac_config_headers"
15817 config_commands="$ac_config_commands"
15821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15823 \`$as_me' instantiates files and other configuration actions
15824 from templates according to the current configuration. Unless the files
15825 and actions are specified as TAGs, all are instantiated by default.
15827 Usage: $0 [OPTION]... [TAG]...
15829 -h, --help print this help, then exit
15830 -V, --version print version number and configuration settings, then exit
15831 --config print configuration, then exit
15832 -q, --quiet, --silent
15833 do not print progress messages
15834 -d, --debug don't remove temporary files
15835 --recheck update $as_me by reconfiguring in the same conditions
15836 --file=FILE[:TEMPLATE]
15837 instantiate the configuration file FILE
15838 --header=FILE[:TEMPLATE]
15839 instantiate the configuration header FILE
15841 Configuration files:
15844 Configuration headers:
15847 Configuration commands:
15850 Report bugs to the package provider.
15851 gsignond home page: <http://01.org/gsso>."
15854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15857 gsignond config.status 0.0.3
15858 configured by $0, generated by GNU Autoconf 2.69,
15859 with options \\"\$ac_cs_config\\"
15861 Copyright (C) 2012 Free Software Foundation, Inc.
15862 This config.status script is free software; the Free Software Foundation
15863 gives unlimited permission to copy, distribute and modify it."
15870 test -n "\$AWK" || AWK=awk
15873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15874 # The default lists apply if the user does not specify any file.
15880 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15881 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15885 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15897 # Handling of the options.
15898 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15900 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15901 $as_echo "$ac_cs_version"; exit ;;
15902 --config | --confi | --conf | --con | --co | --c )
15903 $as_echo "$ac_cs_config"; exit ;;
15904 --debug | --debu | --deb | --de | --d | -d )
15906 --file | --fil | --fi | --f )
15909 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15910 '') as_fn_error $? "missing file argument" ;;
15912 as_fn_append CONFIG_FILES " '$ac_optarg'"
15913 ac_need_defaults=false;;
15914 --header | --heade | --head | --hea )
15917 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15919 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15920 ac_need_defaults=false;;
15922 # Conflict between --help and --header
15923 as_fn_error $? "ambiguous option: \`$1'
15924 Try \`$0 --help' for more information.";;
15925 --help | --hel | -h )
15926 $as_echo "$ac_cs_usage"; exit ;;
15927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15928 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15931 # This is an error.
15932 -*) as_fn_error $? "unrecognized option: \`$1'
15933 Try \`$0 --help' for more information." ;;
15935 *) as_fn_append ac_config_targets " $1"
15936 ac_need_defaults=false ;;
15942 ac_configure_extra_args=
15944 if $ac_cs_silent; then
15946 ac_configure_extra_args="$ac_configure_extra_args --silent"
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 if \$ac_cs_recheck; then
15952 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15954 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15955 CONFIG_SHELL='$SHELL'
15956 export CONFIG_SHELL
15961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15965 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15966 ## Running $as_me. ##
15972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15979 # The HP-UX ksh and POSIX shell print the target directory to stdout
15980 # if CDPATH is set.
15981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15983 sed_quote_subst='$sed_quote_subst'
15984 double_quote_subst='$double_quote_subst'
15985 delay_variable_subst='$delay_variable_subst'
15986 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15987 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15988 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15989 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15990 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15991 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15992 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15993 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15994 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15995 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15996 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15997 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15998 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15999 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16000 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16001 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16002 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16003 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16004 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16005 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16006 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16007 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16008 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16009 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16010 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16011 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16012 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16013 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16014 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16015 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16016 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16017 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16018 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16019 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16020 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16021 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16022 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16023 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16024 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16025 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16026 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16027 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16028 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16029 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16030 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16031 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16032 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16033 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16034 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16035 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16036 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16037 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16038 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16039 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16040 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16041 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16042 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"`'
16043 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16044 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16045 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16046 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16047 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16048 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16049 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16050 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16051 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16052 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16053 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16054 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16055 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16056 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16057 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16058 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16059 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16060 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16061 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16062 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16063 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16064 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16065 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16066 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16067 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16068 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16069 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16070 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16071 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16072 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16073 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16074 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16075 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16076 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16077 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16078 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16079 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16080 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16081 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16082 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16083 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16084 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16085 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16086 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16087 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16088 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16089 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16090 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16091 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16092 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16093 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16094 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16095 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16096 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16097 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16098 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16099 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16100 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16101 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16102 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16103 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16104 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16105 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16106 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16107 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16108 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16109 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16110 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16111 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16112 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16113 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16114 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16115 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16118 LTCFLAGS='$LTCFLAGS'
16119 compiler='$compiler_DEFAULT'
16121 # A function that is used when there is no print builtin or printf.
16122 func_fallback_echo ()
16124 eval 'cat <<_LTECHO_EOF
16129 # Quote evaled strings.
16144 deplibs_check_method \
16149 sharedlib_from_linklib_cmd \
16152 archiver_list_spec \
16158 lt_cv_sys_global_symbol_pipe \
16159 lt_cv_sys_global_symbol_to_cdecl \
16160 lt_cv_sys_global_symbol_to_c_name_address \
16161 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16162 nm_file_list_spec \
16163 lt_prog_compiler_no_builtin_flag \
16164 lt_prog_compiler_pic \
16165 lt_prog_compiler_wl \
16166 lt_prog_compiler_static \
16167 lt_cv_prog_compiler_c_o \
16176 export_dynamic_flag_spec \
16177 whole_archive_flag_spec \
16178 compiler_needs_object \
16180 allow_undefined_flag \
16181 no_undefined_flag \
16182 hardcode_libdir_flag_spec \
16183 hardcode_libdir_separator \
16187 variables_saved_for_relink \
16189 library_names_spec \
16191 install_override_mode \
16195 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16196 *[\\\\\\\`\\"\\\$]*)
16197 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16200 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16205 # Double-quote double-evaled strings.
16206 for var in reload_cmds \
16207 old_postinstall_cmds \
16208 old_postuninstall_cmds \
16210 extract_expsyms_cmds \
16211 old_archive_from_new_cmds \
16212 old_archive_from_expsyms_cmds \
16214 archive_expsym_cmds \
16216 module_expsym_cmds \
16217 export_symbols_cmds \
16221 postuninstall_cmds \
16223 sys_lib_search_path_spec \
16224 sys_lib_dlsearch_path_spec; do
16225 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16226 *[\\\\\\\`\\"\\\$]*)
16227 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16230 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16235 ac_aux_dir='$ac_aux_dir'
16236 xsi_shell='$xsi_shell'
16237 lt_shell_append='$lt_shell_append'
16239 # See if we are running on zsh, and set the options which allow our
16240 # commands through without removal of \ escapes INIT.
16241 if test -n "\${ZSH_VERSION+set}" ; then
16242 setopt NO_GLOB_SUBST
16248 TIMESTAMP='$TIMESTAMP'
16252 ac_aux_dir='$ac_aux_dir'
16258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16260 # Handling of arguments.
16261 for ac_config_target in $ac_config_targets
16263 case $ac_config_target in
16264 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16265 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16266 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16267 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16268 "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16269 "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16270 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16271 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16272 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16273 "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16274 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16275 "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16276 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16277 "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16278 "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16279 "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
16280 "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16281 "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16282 "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16283 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16284 "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16285 "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16286 "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16287 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16288 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16289 "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16290 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16291 "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16292 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16293 "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16295 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16300 # If the user did not use the arguments to specify the items to instantiate,
16301 # then the envvar interface is used. Set only those that are not.
16302 # We use the long form for the default assignment because of an extremely
16303 # bizarre bug on SunOS 4.1.3.
16304 if $ac_need_defaults; then
16305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16310 # Have a temporary directory for convenience. Make it in the build tree
16311 # simply because there is no reason against having it here, and in addition,
16312 # creating and moving files from /tmp can sometimes cause problems.
16313 # Hook for its removal unless debugging.
16314 # Note that there is a small window in which the directory will not be cleaned:
16315 # after its creation but before its name has been assigned to `$tmp'.
16319 trap 'exit_status=$?
16320 : "${ac_tmp:=$tmp}"
16321 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16323 trap 'as_fn_exit 1' 1 2 13 15
16325 # Create a (secure) tmp directory for tmp files.
16328 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16332 tmp=./conf$$-$RANDOM
16333 (umask 077 && mkdir "$tmp")
16334 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16337 # Set up the scripts for CONFIG_FILES section.
16338 # No need to generate them if there are no CONFIG_FILES.
16339 # This happens for instance with `./config.status config.h'.
16340 if test -n "$CONFIG_FILES"; then
16343 ac_cr=`echo X | tr X '\015'`
16344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16345 # But we know of no other shell where ac_cr would be empty at this
16346 # point, so we can use a bashism as a fallback.
16347 if test "x$ac_cr" = x; then
16348 eval ac_cr=\$\'\\r\'
16350 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16354 ac_cs_awk_cr=$ac_cr
16357 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16362 echo "cat >conf$$subs.awk <<_ACEOF" &&
16363 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16365 } >conf$$subs.sh ||
16366 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16367 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16369 for ac_last_try in false false false false false :; do
16370 . ./conf$$subs.sh ||
16371 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16373 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16374 if test $ac_delim_n = $ac_delim_num; then
16376 elif $ac_last_try; then
16377 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16382 rm -f conf$$subs.sh
16384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16389 s/^/S["/; s/!.*/"]=/
16399 s/\(.\{148\}\)..*/\1/
16401 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16413 s/\(.\{148\}\)..*/\1/
16415 s/["\\]/\\&/g; s/^/"/; s/$/"/
16419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16424 ' <conf$$subs.awk | sed '
16429 ' >>$CONFIG_STATUS || ac_write_fail=1
16430 rm -f conf$$subs.awk
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16434 for (key in S) S_is_set[key] = 1
16440 nfields = split(line, field, "@")
16442 len = length(field[1])
16443 for (i = 2; i < nfields; i++) {
16445 keylen = length(key)
16446 if (S_is_set[key]) {
16448 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16449 len += length(value) + length(field[++i])
16460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16461 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16462 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16465 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16466 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16469 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16470 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16471 # trailing colons and then remove the whole line if VPATH becomes empty
16472 # (actually we leave an empty line to preserve line numbers).
16473 if test "x$srcdir" = x.; then
16474 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 fi # test -n "$CONFIG_FILES"
16495 # Set up the scripts for CONFIG_HEADERS section.
16496 # No need to generate them if there are no CONFIG_HEADERS.
16497 # This happens for instance with `./config.status Makefile'.
16498 if test -n "$CONFIG_HEADERS"; then
16499 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16503 # Transform confdefs.h into an awk script `defines.awk', embedded as
16504 # here-document in config.status, that substitutes the proper values into
16505 # config.h.in to produce config.h.
16507 # Create a delimiter string that does not exist in confdefs.h, to ease
16508 # handling of long lines.
16510 for ac_last_try in false false :; do
16511 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16512 if test -z "$ac_tt"; then
16514 elif $ac_last_try; then
16515 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16517 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16521 # For the awk script, D is an array of macro values keyed by name,
16522 # likewise P contains macro parameters if any. Preserve backslash
16523 # newline sequences.
16525 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16527 s/.\{148\}/&'"$ac_delim"'/g
16530 s/^[ ]*#[ ]*define[ ][ ]*/ /
16537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16543 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16544 D["\1"]=" \3\\\\\\n"\\/p
16546 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16551 s/.\{148\}/&'"$ac_delim"'/g
16556 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16559 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16561 ' <confdefs.h | sed '
16562 s/'"$ac_delim"'/"\\\
16563 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 for (key in D) D_is_set[key] = 1
16569 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16571 split(line, arg, " ")
16572 if (arg[1] == "#") {
16576 defundef = substr(arg[1], 2)
16579 split(mac1, mac2, "(") #)
16581 prefix = substr(line, 1, index(line, defundef) - 1)
16582 if (D_is_set[macro]) {
16583 # Preserve the white space surrounding the "#".
16584 print prefix "define", macro P[macro] D[macro]
16587 # Replace #undef with comments. This is necessary, for example,
16588 # in the case of _POSIX_SOURCE, which is predefined and required
16589 # on some systems where configure will not decide to define it.
16590 if (defundef == "undef") {
16591 print "/*", prefix defundef, macro, "*/"
16599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16601 fi # test -n "$CONFIG_HEADERS"
16604 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16609 :[FHLC]) ac_mode=$ac_tag; continue;;
16611 case $ac_mode$ac_tag in
16613 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16614 :[FH]-) ac_tag=-:-;;
16615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16632 -) ac_f="$ac_tmp/stdin";;
16633 *) # Look for the file first in the build tree, then in the source tree
16634 # (if the path is not absolute). The absolute path cannot be DOS-style,
16635 # because $ac_f cannot contain `:'.
16639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16641 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16643 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16644 as_fn_append ac_file_inputs " '$ac_f'"
16647 # Let's still pretend it is `configure' which instantiates (i.e., don't
16648 # use $as_me), people would be surprised to read:
16649 # /* config.h. Generated by config.status. */
16650 configure_input='Generated from '`
16651 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16653 if test x"$ac_file" != x-; then
16654 configure_input="$ac_file. $configure_input"
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16656 $as_echo "$as_me: creating $ac_file" >&6;}
16658 # Neutralize special characters interpreted by sed in replacement strings.
16659 case $configure_input in #(
16660 *\&* | *\|* | *\\* )
16661 ac_sed_conf_input=`$as_echo "$configure_input" |
16662 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16663 *) ac_sed_conf_input=$configure_input;;
16667 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16673 ac_dir=`$as_dirname -- "$ac_file" ||
16674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16675 X"$ac_file" : 'X\(//\)[^/]' \| \
16676 X"$ac_file" : 'X\(//\)$' \| \
16677 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16678 $as_echo X"$ac_file" |
16679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16683 /^X\(\/\/\)[^/].*/{
16696 as_dir="$ac_dir"; as_fn_mkdir_p
16700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16703 # A ".." for each directory in $ac_dir_suffix.
16704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16705 case $ac_top_builddir_sub in
16706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16710 ac_abs_top_builddir=$ac_pwd
16711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16712 # for backward compatibility:
16713 ac_top_builddir=$ac_top_build_prefix
16716 .) # We are building in place.
16718 ac_top_srcdir=$ac_top_builddir_sub
16719 ac_abs_top_srcdir=$ac_pwd ;;
16720 [\\/]* | ?:[\\/]* ) # Absolute name.
16721 ac_srcdir=$srcdir$ac_dir_suffix;
16722 ac_top_srcdir=$srcdir
16723 ac_abs_top_srcdir=$srcdir ;;
16724 *) # Relative name.
16725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16726 ac_top_srcdir=$ac_top_build_prefix$srcdir
16727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16739 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16740 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16742 ac_MKDIR_P=$MKDIR_P
16744 [\\/$]* | ?:[\\/]* ) ;;
16745 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16750 # If the template does not know about datarootdir, expand it.
16751 # FIXME: This hack should be removed a few years after 2.60.
16752 ac_datarootdir_hack=; ac_datarootdir_seen=
16763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16764 *datarootdir*) ac_datarootdir_seen=yes;;
16765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770 ac_datarootdir_hack='
16771 s&@datadir@&$datadir&g
16772 s&@docdir@&$docdir&g
16773 s&@infodir@&$infodir&g
16774 s&@localedir@&$localedir&g
16775 s&@mandir@&$mandir&g
16776 s&\\\${datarootdir}&$datarootdir&g' ;;
16780 # Neutralize VPATH when `$srcdir' = `.'.
16781 # Shell code in configure.ac might set extrasub.
16782 # FIXME: do we really want to maintain this feature?
16783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 ac_sed_extra="$ac_vpsub
16787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16790 s|@configure_input@|$ac_sed_conf_input|;t t
16791 s&@top_builddir@&$ac_top_builddir_sub&;t t
16792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16793 s&@srcdir@&$ac_srcdir&;t t
16794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16795 s&@top_srcdir@&$ac_top_srcdir&;t t
16796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16797 s&@builddir@&$ac_builddir&;t t
16798 s&@abs_builddir@&$ac_abs_builddir&;t t
16799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16800 s&@INSTALL@&$ac_INSTALL&;t t
16801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16802 $ac_datarootdir_hack
16804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16805 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16808 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16810 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16812 which seems to be undefined. Please make sure it is defined" >&5
16813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16814 which seems to be undefined. Please make sure it is defined" >&2;}
16816 rm -f "$ac_tmp/stdin"
16818 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16819 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16827 if test x"$ac_file" != x-; then
16829 $as_echo "/* $configure_input */" \
16830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16831 } >"$ac_tmp/config.h" \
16832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16838 mv "$ac_tmp/config.h" "$ac_file" \
16839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16842 $as_echo "/* $configure_input */" \
16843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16844 || as_fn_error $? "could not create -" "$LINENO" 5
16846 # Compute "$ac_file"'s index in $config_headers.
16849 for _am_header in $config_headers :; do
16850 case $_am_header in
16851 $_am_arg | $_am_arg:* )
16854 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16857 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16858 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16859 X"$_am_arg" : 'X\(//\)[^/]' \| \
16860 X"$_am_arg" : 'X\(//\)$' \| \
16861 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16862 $as_echo X"$_am_arg" |
16863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16867 /^X\(\/\/\)[^/].*/{
16879 s/.*/./; q'`/stamp-h$_am_stamp_count
16882 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16883 $as_echo "$as_me: executing $ac_file commands" >&6;}
16888 case $ac_file$ac_mode in
16889 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16890 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16891 # are listed without --file. Let's play safe and only enable the eval
16892 # if we detect the quoting.
16893 case $CONFIG_FILES in
16894 *\'*) eval set x "$CONFIG_FILES" ;;
16895 *) set x $CONFIG_FILES ;;
16900 # Strip MF so we end up with the name of the file.
16901 mf=`echo "$mf" | sed -e 's/:.*$//'`
16902 # Check whether this is an Automake generated Makefile or not.
16903 # We used to match only the files named `Makefile.in', but
16904 # some people rename them; so instead we look at the file content.
16905 # Grep'ing the first line is not enough: some people post-process
16906 # each Makefile.in and add a new line on top of each file to say so.
16907 # Grep'ing the whole file is not good either: AIX grep has a line
16908 # limit of 2048, but all sed's we know have understand at least 4000.
16909 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16910 dirpart=`$as_dirname -- "$mf" ||
16911 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912 X"$mf" : 'X\(//\)[^/]' \| \
16913 X"$mf" : 'X\(//\)$' \| \
16914 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16920 /^X\(\/\/\)[^/].*/{
16936 # Extract the definition of DEPDIR, am__include, and am__quote
16937 # from the Makefile without running `make'.
16938 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16939 test -z "$DEPDIR" && continue
16940 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16941 test -z "am__include" && continue
16942 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16943 # When using ansi2knr, U may be empty or an underscore; expand it
16944 U=`sed -n 's/^U = //p' < "$mf"`
16945 # Find all dependency output files, they are included files with
16946 # $(DEPDIR) in their names. We invoke sed twice because it is the
16947 # simplest approach to changing $(DEPDIR) to its actual value in the
16949 for file in `sed -n "
16950 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16951 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16952 # Make sure the directory exists.
16953 test -f "$dirpart/$file" && continue
16954 fdir=`$as_dirname -- "$file" ||
16955 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956 X"$file" : 'X\(//\)[^/]' \| \
16957 X"$file" : 'X\(//\)$' \| \
16958 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$file" |
16960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16964 /^X\(\/\/\)[^/].*/{
16977 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16978 # echo "creating $dirpart/$file"
16979 echo '# dummy' > "$dirpart/$file"
16986 # See if we are running on zsh, and set the options which allow our
16987 # commands through without removal of \ escapes.
16988 if test -n "${ZSH_VERSION+set}" ; then
16989 setopt NO_GLOB_SUBST
16992 cfgfile="${ofile}T"
16993 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16996 cat <<_LT_EOF >> "$cfgfile"
16999 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17000 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17001 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17002 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17004 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17005 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17007 # Written by Gordon Matzigkeit, 1996
17009 # This file is part of GNU Libtool.
17011 # GNU Libtool is free software; you can redistribute it and/or
17012 # modify it under the terms of the GNU General Public License as
17013 # published by the Free Software Foundation; either version 2 of
17014 # the License, or (at your option) any later version.
17016 # As a special exception to the GNU General Public License,
17017 # if you distribute this file as part of a program or library that
17018 # is built using GNU Libtool, you may include this file under the
17019 # same distribution terms that you use for the rest of that program.
17021 # GNU Libtool is distributed in the hope that it will be useful,
17022 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17023 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17024 # GNU General Public License for more details.
17026 # You should have received a copy of the GNU General Public License
17027 # along with GNU Libtool; see the file COPYING. If not, a copy
17028 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17029 # obtained by writing to the Free Software Foundation, Inc.,
17030 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17033 # The names of the tagged configurations supported by this script.
17036 # ### BEGIN LIBTOOL CONFIG
17038 # Which release of libtool.m4 was used?
17039 macro_version=$macro_version
17040 macro_revision=$macro_revision
17042 # Whether or not to build static libraries.
17043 build_old_libs=$enable_static
17045 # Whether or not to build shared libraries.
17046 build_libtool_libs=$enable_shared
17048 # What type of objects to build.
17051 # Whether or not to optimize for fast installation.
17052 fast_install=$enable_fast_install
17054 # Shell to use when invoking shell scripts.
17057 # An echo program that protects backslashes.
17060 # The PATH separator for the build system.
17061 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17064 host_alias=$host_alias
17068 # The build system.
17069 build_alias=$build_alias
17073 # A sed program that does not truncate output.
17076 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17077 Xsed="\$SED -e 1s/^X//"
17079 # A grep program that handles long lines.
17085 # A literal string matcher.
17088 # A BSD- or MS-compatible name lister.
17091 # Whether we need soft or hard links.
17094 # What is the maximum length of a command?
17095 max_cmd_len=$max_cmd_len
17097 # Object file suffix (normally "o").
17100 # Executable file suffix (normally "").
17103 # whether the shell understands "unset".
17106 # turn spaces into newlines.
17109 # turn newlines into spaces.
17112 # convert \$build file names to \$host format.
17113 to_host_file_cmd=$lt_cv_to_host_file_cmd
17115 # convert \$build files to toolchain format.
17116 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17118 # An object symbol dumper.
17119 OBJDUMP=$lt_OBJDUMP
17121 # Method to check whether dependent libraries are shared objects.
17122 deplibs_check_method=$lt_deplibs_check_method
17124 # Command to use when deplibs_check_method = "file_magic".
17125 file_magic_cmd=$lt_file_magic_cmd
17127 # How to find potential files when deplibs_check_method = "file_magic".
17128 file_magic_glob=$lt_file_magic_glob
17130 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17131 want_nocaseglob=$lt_want_nocaseglob
17133 # DLL creation program.
17134 DLLTOOL=$lt_DLLTOOL
17136 # Command to associate shared and link libraries.
17137 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17142 # Flags to create an archive.
17143 AR_FLAGS=$lt_AR_FLAGS
17145 # How to feed a file listing to the archiver.
17146 archiver_list_spec=$lt_archiver_list_spec
17148 # A symbol stripping program.
17151 # Commands used to install an old-style archive.
17153 old_postinstall_cmds=$lt_old_postinstall_cmds
17154 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17156 # Whether to use a lock for old archive extraction.
17157 lock_old_archive_extraction=$lock_old_archive_extraction
17162 # LTCC compiler flags.
17163 LTCFLAGS=$lt_CFLAGS
17165 # Take the output of nm and produce a listing of raw symbols and C names.
17166 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17168 # Transform the output of nm in a proper C declaration.
17169 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17171 # Transform the output of nm in a C name address pair.
17172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17174 # Transform the output of nm in a C name address pair when lib prefix is needed.
17175 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17177 # Specify filename containing input files for \$NM.
17178 nm_file_list_spec=$lt_nm_file_list_spec
17180 # The root where to search for dependent libraries,and in which our libraries should be installed.
17181 lt_sysroot=$lt_sysroot
17183 # The name of the directory that contains temporary libtool files.
17186 # Used to examine libraries when file_magic_cmd begins with "file".
17187 MAGIC_CMD=$MAGIC_CMD
17189 # Must we lock files when doing compilation?
17190 need_locks=$lt_need_locks
17193 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17195 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17196 DSYMUTIL=$lt_DSYMUTIL
17198 # Tool to change global to local symbols on Mac OS X.
17201 # Tool to manipulate fat objects and archives on Mac OS X.
17204 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17207 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17208 OTOOL64=$lt_OTOOL64
17210 # Old archive suffix (normally "a").
17213 # Shared library suffix (normally ".so").
17214 shrext_cmds=$lt_shrext_cmds
17216 # The commands to extract the exported symbol list from a shared archive.
17217 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17219 # Variables whose values should be saved in libtool wrapper scripts and
17220 # restored at link time.
17221 variables_saved_for_relink=$lt_variables_saved_for_relink
17223 # Do we need the "lib" prefix for modules?
17224 need_lib_prefix=$need_lib_prefix
17226 # Do we need a version for libraries?
17227 need_version=$need_version
17229 # Library versioning type.
17230 version_type=$version_type
17232 # Shared library runtime path variable.
17233 runpath_var=$runpath_var
17235 # Shared library path variable.
17236 shlibpath_var=$shlibpath_var
17238 # Is shlibpath searched before the hard-coded library search path?
17239 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17241 # Format of library name prefix.
17242 libname_spec=$lt_libname_spec
17244 # List of archive names. First name is the real one, the rest are links.
17245 # The last name is the one that the linker finds with -lNAME
17246 library_names_spec=$lt_library_names_spec
17248 # The coded name of the library, if different from the real name.
17249 soname_spec=$lt_soname_spec
17251 # Permission mode override for installation of shared libraries.
17252 install_override_mode=$lt_install_override_mode
17254 # Command to use after installation of a shared archive.
17255 postinstall_cmds=$lt_postinstall_cmds
17257 # Command to use after uninstallation of a shared archive.
17258 postuninstall_cmds=$lt_postuninstall_cmds
17260 # Commands used to finish a libtool library installation in a directory.
17261 finish_cmds=$lt_finish_cmds
17263 # As "finish_cmds", except a single script fragment to be evaled but
17265 finish_eval=$lt_finish_eval
17267 # Whether we should hardcode library paths into libraries.
17268 hardcode_into_libs=$hardcode_into_libs
17270 # Compile-time system search path for libraries.
17271 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17273 # Run-time system search path for libraries.
17274 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17276 # Whether dlopen is supported.
17277 dlopen_support=$enable_dlopen
17279 # Whether dlopen of programs is supported.
17280 dlopen_self=$enable_dlopen_self
17282 # Whether dlopen of statically linked programs is supported.
17283 dlopen_self_static=$enable_dlopen_self_static
17285 # Commands to strip libraries.
17286 old_striplib=$lt_old_striplib
17287 striplib=$lt_striplib
17290 # The linker used to build libraries.
17293 # How to create reloadable object files.
17294 reload_flag=$lt_reload_flag
17295 reload_cmds=$lt_reload_cmds
17297 # Commands used to build an old-style archive.
17298 old_archive_cmds=$lt_old_archive_cmds
17300 # A language specific compiler.
17303 # Is the compiler the GNU compiler?
17306 # Compiler flag to turn off builtin functions.
17307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17309 # Additional compiler flags for building library objects.
17310 pic_flag=$lt_lt_prog_compiler_pic
17312 # How to pass a linker flag through the compiler.
17313 wl=$lt_lt_prog_compiler_wl
17315 # Compiler flag to prevent dynamic linking.
17316 link_static_flag=$lt_lt_prog_compiler_static
17318 # Does compiler simultaneously support -c and -o options?
17319 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17321 # Whether or not to add -lc for building shared libraries.
17322 build_libtool_need_lc=$archive_cmds_need_lc
17324 # Whether or not to disallow shared libs when runtime libs are static.
17325 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17327 # Compiler flag to allow reflexive dlopens.
17328 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17330 # Compiler flag to generate shared objects directly from archives.
17331 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17333 # Whether the compiler copes with passing no objects directly.
17334 compiler_needs_object=$lt_compiler_needs_object
17336 # Create an old-style archive from a shared archive.
17337 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17339 # Create a temporary old-style archive to link instead of a shared archive.
17340 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17342 # Commands used to build a shared archive.
17343 archive_cmds=$lt_archive_cmds
17344 archive_expsym_cmds=$lt_archive_expsym_cmds
17346 # Commands used to build a loadable module if different from building
17347 # a shared archive.
17348 module_cmds=$lt_module_cmds
17349 module_expsym_cmds=$lt_module_expsym_cmds
17351 # Whether we are building with GNU ld or not.
17352 with_gnu_ld=$lt_with_gnu_ld
17354 # Flag that allows shared libraries with undefined symbols to be built.
17355 allow_undefined_flag=$lt_allow_undefined_flag
17357 # Flag that enforces no undefined symbols.
17358 no_undefined_flag=$lt_no_undefined_flag
17360 # Flag to hardcode \$libdir into a binary during linking.
17361 # This must work even if \$libdir does not exist
17362 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17364 # Whether we need a single "-rpath" flag with a separated argument.
17365 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17367 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17368 # DIR into the resulting binary.
17369 hardcode_direct=$hardcode_direct
17371 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17372 # DIR into the resulting binary and the resulting library dependency is
17373 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17374 # library is relocated.
17375 hardcode_direct_absolute=$hardcode_direct_absolute
17377 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17378 # into the resulting binary.
17379 hardcode_minus_L=$hardcode_minus_L
17381 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17382 # into the resulting binary.
17383 hardcode_shlibpath_var=$hardcode_shlibpath_var
17385 # Set to "yes" if building a shared library automatically hardcodes DIR
17386 # into the library and all subsequent libraries and executables linked
17388 hardcode_automatic=$hardcode_automatic
17390 # Set to yes if linker adds runtime paths of dependent libraries
17391 # to runtime path list.
17392 inherit_rpath=$inherit_rpath
17394 # Whether libtool must link a program against all its dependency libraries.
17395 link_all_deplibs=$link_all_deplibs
17397 # Set to "yes" if exported symbols are required.
17398 always_export_symbols=$always_export_symbols
17400 # The commands to list exported symbols.
17401 export_symbols_cmds=$lt_export_symbols_cmds
17403 # Symbols that should not be listed in the preloaded symbols.
17404 exclude_expsyms=$lt_exclude_expsyms
17406 # Symbols that must always be exported.
17407 include_expsyms=$lt_include_expsyms
17409 # Commands necessary for linking programs (against libraries) with templates.
17410 prelink_cmds=$lt_prelink_cmds
17412 # Commands necessary for finishing linking programs.
17413 postlink_cmds=$lt_postlink_cmds
17415 # Specify filename containing input files.
17416 file_list_spec=$lt_file_list_spec
17418 # How to hardcode a shared library path into an executable.
17419 hardcode_action=$hardcode_action
17421 # ### END LIBTOOL CONFIG
17427 cat <<\_LT_EOF >> "$cfgfile"
17428 # AIX sometimes has problems with the GCC collect2 program. For some
17429 # reason, if we set the COLLECT_NAMES environment variable, the problems
17430 # vanish in a puff of smoke.
17431 if test "X${COLLECT_NAMES+set}" != Xset; then
17433 export COLLECT_NAMES
17440 ltmain="$ac_aux_dir/ltmain.sh"
17443 # We use sed instead of cat because bash on DJGPP gets confused if
17444 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17445 # text mode, it properly converts lines to CR/LF. This bash problem
17446 # is reportedly fixed, but why not run on old versions too?
17447 sed '$q' "$ltmain" >> "$cfgfile" \
17448 || (rm -f "$cfgfile"; exit 1)
17450 if test x"$xsi_shell" = xyes; then
17451 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17455 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17456 \ * ) func_dirname_result="${3}" ;;\
17458 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17459 && mv -f "$cfgfile.tmp" "$cfgfile" \
17460 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17461 test 0 -eq $? || _lt_function_replace_fail=:
17464 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17467 \ func_basename_result="${1##*/}"\
17468 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17469 && mv -f "$cfgfile.tmp" "$cfgfile" \
17470 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17471 test 0 -eq $? || _lt_function_replace_fail=:
17474 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17475 func_dirname_and_basename ()\
17478 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17479 \ * ) func_dirname_result="${3}" ;;\
17481 \ func_basename_result="${1##*/}"\
17482 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17483 && mv -f "$cfgfile.tmp" "$cfgfile" \
17484 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17485 test 0 -eq $? || _lt_function_replace_fail=:
17488 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17491 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17492 \ # positional parameters, so assign one to ordinary parameter first.\
17493 \ func_stripname_result=${3}\
17494 \ func_stripname_result=${func_stripname_result#"${1}"}\
17495 \ func_stripname_result=${func_stripname_result%"${2}"}\
17496 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17497 && mv -f "$cfgfile.tmp" "$cfgfile" \
17498 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17499 test 0 -eq $? || _lt_function_replace_fail=:
17502 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17503 func_split_long_opt ()\
17505 \ func_split_long_opt_name=${1%%=*}\
17506 \ func_split_long_opt_arg=${1#*=}\
17507 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17508 && mv -f "$cfgfile.tmp" "$cfgfile" \
17509 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17510 test 0 -eq $? || _lt_function_replace_fail=:
17513 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17514 func_split_short_opt ()\
17516 \ func_split_short_opt_arg=${1#??}\
17517 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17518 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17519 && mv -f "$cfgfile.tmp" "$cfgfile" \
17520 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17521 test 0 -eq $? || _lt_function_replace_fail=:
17524 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17528 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17529 \ *) func_lo2o_result=${1} ;;\
17531 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17532 && mv -f "$cfgfile.tmp" "$cfgfile" \
17533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17534 test 0 -eq $? || _lt_function_replace_fail=:
17537 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17540 func_xform_result=${1%.*}.lo\
17541 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17542 && mv -f "$cfgfile.tmp" "$cfgfile" \
17543 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17544 test 0 -eq $? || _lt_function_replace_fail=:
17547 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17550 func_arith_result=$(( $* ))\
17551 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17552 && mv -f "$cfgfile.tmp" "$cfgfile" \
17553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17554 test 0 -eq $? || _lt_function_replace_fail=:
17557 sed -e '/^func_len ()$/,/^} # func_len /c\
17560 func_len_result=${#1}\
17561 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17562 && mv -f "$cfgfile.tmp" "$cfgfile" \
17563 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17564 test 0 -eq $? || _lt_function_replace_fail=:
17568 if test x"$lt_shell_append" = xyes; then
17569 sed -e '/^func_append ()$/,/^} # func_append /c\
17572 eval "${1}+=\\${2}"\
17573 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17574 && mv -f "$cfgfile.tmp" "$cfgfile" \
17575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail=:
17579 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17580 func_append_quoted ()\
17582 \ func_quote_for_eval "${2}"\
17583 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17584 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17585 && mv -f "$cfgfile.tmp" "$cfgfile" \
17586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17590 # Save a `func_append' function call where possible by direct use of '+='
17591 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17592 && mv -f "$cfgfile.tmp" "$cfgfile" \
17593 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17594 test 0 -eq $? || _lt_function_replace_fail=:
17596 # Save a `func_append' function call even when '+=' is not available
17597 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17598 && mv -f "$cfgfile.tmp" "$cfgfile" \
17599 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17600 test 0 -eq $? || _lt_function_replace_fail=:
17603 if test x"$_lt_function_replace_fail" = x":"; then
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17605 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17609 mv -f "$cfgfile" "$ofile" ||
17610 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17621 ac_clean_files=$ac_clean_files_save
17623 test $ac_write_fail = 0 ||
17624 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17627 # configure is writing to config.log, and then calls config.status.
17628 # config.status does its own redirection, appending to config.log.
17629 # Unfortunately, on DOS this fails, as config.log is still kept open
17630 # by configure, so config.status won't be able to write to it; its
17631 # output is simply discarded. So we exec the FD to /dev/null,
17632 # effectively closing config.log, so it can be properly (re)opened and
17633 # appended to by config.status. When coming back to configure, we
17634 # need to make the FD available again.
17635 if test "$no_create" != yes; then
17637 ac_config_status_args=
17638 test "$silent" = yes &&
17639 ac_config_status_args="$ac_config_status_args --quiet"
17641 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17643 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17644 # would make configure fail if this is the last instruction.
17645 $ac_cs_success || as_fn_exit 1
17647 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17649 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}