2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tlm 0.0.2.
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.
589 PACKAGE_TARNAME='tlm'
590 PACKAGE_VERSION='0.0.2'
591 PACKAGE_STRING='tlm 0.0.2'
595 ac_unique_file="src/daemon/tlm-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
643 ENABLE_EXAMPLES_FALSE
651 HAVE_LIBTLM_NFC_FALSE
662 GTK_DOC_USE_REBASE_FALSE
663 GTK_DOC_USE_REBASE_TRUE
664 GTK_DOC_USE_LIBTOOL_FALSE
665 GTK_DOC_USE_LIBTOOL_TRUE
666 GTK_DOC_BUILD_PDF_FALSE
667 GTK_DOC_BUILD_PDF_TRUE
668 GTK_DOC_BUILD_HTML_FALSE
669 GTK_DOC_BUILD_HTML_TRUE
743 INSTALL_STRIP_PROGRAM
785 program_transform_name
798 enable_option_checking
804 enable_dependency_tracking
818 ac_precious_vars='build_alias
848 # Initialize some variables set by options.
850 ac_init_version=false
851 ac_unrecognized_opts=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
862 program_transform_name=s,x,x,
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\$ac_option
908 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir | --bindir | --bindi | --bind | --bin | --bi)
921 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
924 -build | --build | --buil | --bui | --bu)
925 ac_prev=build_alias ;;
926 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927 build_alias=$ac_optarg ;;
929 -cache-file | --cache-file | --cache-fil | --cache-fi \
930 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931 ac_prev=cache_file ;;
932 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934 cache_file=$ac_optarg ;;
937 cache_file=config.cache ;;
939 -datadir | --datadir | --datadi | --datad)
941 -datadir=* | --datadir=* | --datadi=* | --datad=*)
942 datadir=$ac_optarg ;;
944 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945 | --dataroo | --dataro | --datar)
946 ac_prev=datarootdir ;;
947 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949 datarootdir=$ac_optarg ;;
951 -disable-* | --disable-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 as_fn_error $? "invalid feature name: $ac_useropt"
956 ac_useropt_orig=$ac_useropt
957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep=', ';;
965 eval enable_$ac_useropt=no ;;
967 -docdir | --docdir | --docdi | --doc | --do)
969 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
972 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
974 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
977 -enable-* | --enable-*)
978 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981 as_fn_error $? "invalid feature name: $ac_useropt"
982 ac_useropt_orig=$ac_useropt
983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep=', ';;
991 eval enable_$ac_useropt=\$ac_optarg ;;
993 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995 | --exec | --exe | --ex)
996 ac_prev=exec_prefix ;;
997 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999 | --exec=* | --exe=* | --ex=*)
1000 exec_prefix=$ac_optarg ;;
1002 -gas | --gas | --ga | --g)
1003 # Obsolete; use --with-gas.
1006 -help | --help | --hel | --he | -h)
1007 ac_init_help=long ;;
1008 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009 ac_init_help=recursive ;;
1010 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011 ac_init_help=short ;;
1013 -host | --host | --hos | --ho)
1014 ac_prev=host_alias ;;
1015 -host=* | --host=* | --hos=* | --ho=*)
1016 host_alias=$ac_optarg ;;
1018 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1020 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1022 htmldir=$ac_optarg ;;
1024 -includedir | --includedir | --includedi | --included | --include \
1025 | --includ | --inclu | --incl | --inc)
1026 ac_prev=includedir ;;
1027 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028 | --includ=* | --inclu=* | --incl=* | --inc=*)
1029 includedir=$ac_optarg ;;
1031 -infodir | --infodir | --infodi | --infod | --info | --inf)
1033 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034 infodir=$ac_optarg ;;
1036 -libdir | --libdir | --libdi | --libd)
1038 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039 libdir=$ac_optarg ;;
1041 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042 | --libexe | --libex | --libe)
1043 ac_prev=libexecdir ;;
1044 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045 | --libexe=* | --libex=* | --libe=*)
1046 libexecdir=$ac_optarg ;;
1048 -localedir | --localedir | --localedi | --localed | --locale)
1049 ac_prev=localedir ;;
1050 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051 localedir=$ac_optarg ;;
1053 -localstatedir | --localstatedir | --localstatedi | --localstated \
1054 | --localstate | --localstat | --localsta | --localst | --locals)
1055 ac_prev=localstatedir ;;
1056 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058 localstatedir=$ac_optarg ;;
1060 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1062 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063 mandir=$ac_optarg ;;
1065 -nfp | --nfp | --nf)
1066 # Obsolete; use --without-fp.
1069 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070 | --no-cr | --no-c | -n)
1073 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079 | --oldin | --oldi | --old | --ol | --o)
1080 ac_prev=oldincludedir ;;
1081 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084 oldincludedir=$ac_optarg ;;
1086 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1088 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089 prefix=$ac_optarg ;;
1091 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092 | --program-pre | --program-pr | --program-p)
1093 ac_prev=program_prefix ;;
1094 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096 program_prefix=$ac_optarg ;;
1098 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099 | --program-suf | --program-su | --program-s)
1100 ac_prev=program_suffix ;;
1101 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103 program_suffix=$ac_optarg ;;
1105 -program-transform-name | --program-transform-name \
1106 | --program-transform-nam | --program-transform-na \
1107 | --program-transform-n | --program-transform- \
1108 | --program-transform | --program-transfor \
1109 | --program-transfo | --program-transf \
1110 | --program-trans | --program-tran \
1111 | --progr-tra | --program-tr | --program-t)
1112 ac_prev=program_transform_name ;;
1113 -program-transform-name=* | --program-transform-name=* \
1114 | --program-transform-nam=* | --program-transform-na=* \
1115 | --program-transform-n=* | --program-transform-=* \
1116 | --program-transform=* | --program-transfor=* \
1117 | --program-transfo=* | --program-transf=* \
1118 | --program-trans=* | --program-tran=* \
1119 | --progr-tra=* | --program-tr=* | --program-t=*)
1120 program_transform_name=$ac_optarg ;;
1122 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1124 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125 pdfdir=$ac_optarg ;;
1127 -psdir | --psdir | --psdi | --psd | --ps)
1129 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133 | -silent | --silent | --silen | --sile | --sil)
1136 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1138 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1140 sbindir=$ac_optarg ;;
1142 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144 | --sharedst | --shareds | --shared | --share | --shar \
1146 ac_prev=sharedstatedir ;;
1147 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1151 sharedstatedir=$ac_optarg ;;
1153 -site | --site | --sit)
1155 -site=* | --site=* | --sit=*)
1158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161 srcdir=$ac_optarg ;;
1163 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164 | --syscon | --sysco | --sysc | --sys | --sy)
1165 ac_prev=sysconfdir ;;
1166 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168 sysconfdir=$ac_optarg ;;
1170 -target | --target | --targe | --targ | --tar | --ta | --t)
1171 ac_prev=target_alias ;;
1172 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173 target_alias=$ac_optarg ;;
1175 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178 -version | --version | --versio | --versi | --vers | -V)
1179 ac_init_version=: ;;
1182 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=\$ac_optarg ;;
1197 -without-* | --without-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 as_fn_error $? "invalid package name: $ac_useropt"
1202 ac_useropt_orig=$ac_useropt
1203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209 ac_unrecognized_sep=', ';;
1211 eval with_$ac_useropt=no ;;
1214 # Obsolete; use --with-x.
1217 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218 | --x-incl | --x-inc | --x-in | --x-i)
1219 ac_prev=x_includes ;;
1220 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222 x_includes=$ac_optarg ;;
1224 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226 ac_prev=x_libraries ;;
1227 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229 x_libraries=$ac_optarg ;;
1231 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1236 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237 # Reject names that are not valid shell variable names.
1238 case $ac_envvar in #(
1239 '' | [0-9]* | *[!_$as_cr_alnum]* )
1240 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1242 eval $ac_envvar=\$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1256 if test -n "$ac_prev"; then
1257 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258 as_fn_error $? "missing argument to $ac_option"
1261 if test -n "$ac_unrecognized_opts"; then
1262 case $enable_option_checking in
1264 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 # Check all directory arguments for consistency.
1270 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271 datadir sysconfdir sharedstatedir localstatedir includedir \
1272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273 libdir localedir mandir
1275 eval ac_val=\$$ac_var
1276 # Remove trailing slashes.
1279 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280 eval $ac_var=\$ac_val;;
1282 # Be sure to have absolute directory names.
1284 [\\/$]* | ?:[\\/]* ) continue;;
1285 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1287 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299 if test "x$build_alias" = x; then
1300 cross_compiling=maybe
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309 test "$silent" = yes && exec 6>/dev/null
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error $? "pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var in $ac_precious_vars; do
1373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_${ac_var}_value=\$${ac_var}
1375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures tlm 0.0.2 to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/tlm]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --program-prefix=PREFIX prepend PREFIX to installed program names
1445 --program-suffix=SUFFIX append SUFFIX to installed program names
1446 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1449 --build=BUILD configure for building on BUILD [guessed]
1450 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1454 if test -n "$ac_init_help"; then
1455 case $ac_init_help in
1456 short | recursive ) echo "Configuration of tlm 0.0.2:";;
1461 --disable-option-checking ignore unrecognized --enable/--with options
1462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-static[=PKGS] build static libraries [default=no]
1467 --enable-shared[=PKGS] build shared libraries [default=yes]
1468 --enable-fast-install[=PKGS]
1469 optimize for fast installation [default=yes]
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --disable-libtool-lock avoid locking (might break parallel builds)
1475 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1476 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1477 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1478 --enable-debug enable debug features
1479 --enable-tests build unit tests
1480 --enable-examples enable examples
1481 --enable-sockets-path=path enable dbus sockets path at location'
1482 "path" instead of default "/var/run/tlm"
1483 --enable-gum build for gumd plugin
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1491 --with-sysroot=DIR Search for dependent libraries within DIR
1492 (or the compiler's sysroot if not specified).
1493 --with-html-dir=PATH path to installed docs
1495 Some influential environment variables:
1496 CC C compiler command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1499 nonstandard directory <lib dir>
1500 LIBS libraries to pass to the linker, e.g. -l<library>
1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502 you have headers in a nonstandard directory <include dir>
1504 PKG_CONFIG path to pkg-config utility
1506 directories to add to pkg-config's search path
1508 path overriding pkg-config's built-in search path
1510 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1512 linker flags for GTKDOC_DEPS, overriding pkg-config
1513 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1514 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1515 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1516 GIO_LIBS linker flags for GIO, overriding pkg-config
1518 C compiler flags for GMODULE, overriding pkg-config
1520 linker flags for GMODULE, overriding pkg-config
1522 C compiler flags for LIBTLM_NFC, overriding pkg-config
1524 linker flags for LIBTLM_NFC, overriding pkg-config
1526 C compiler flags for CHECK, overriding pkg-config
1527 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1529 C compiler flags for ELEMENTARY, overriding pkg-config
1531 linker flags for ELEMENTARY, overriding pkg-config
1533 C compiler flags for LIBGUM, overriding pkg-config
1534 LIBGUM_LIBS linker flags for LIBGUM, overriding pkg-config
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1539 Report bugs to the package provider.
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1569 .) # We are building in place.
1571 ac_top_srcdir=$ac_top_builddir_sub
1572 ac_abs_top_srcdir=$ac_pwd ;;
1573 [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir=$srcdir
1576 ac_abs_top_srcdir=$srcdir ;;
1578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584 cd "$ac_dir" || { ac_status=$?; continue; }
1585 # Check for guested configure.
1586 if test -f "$ac_srcdir/configure.gnu"; then
1588 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589 elif test -f "$ac_srcdir/configure"; then
1591 $SHELL "$ac_srcdir/configure" --help=recursive
1593 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 cd "$ac_pwd" || { ac_status=$?; break; }
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1603 generated by GNU Autoconf 2.69
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_compile
1654 # ac_fn_c_try_link LINENO
1655 # -----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext conftest$ac_exeext
1661 if { { ac_try="$ac_link"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest$ac_exeext && {
1680 test "$cross_compiling" = yes ||
1681 test -x conftest$ac_exeext
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692 # interfere with the next link command; also delete a directory that is
1693 # left behind by Apple's compiler. We do this before executing the actions.
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1698 } # ac_fn_c_try_link
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1717 if ac_fn_c_try_compile "$LINENO"; then :
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 } # ac_fn_c_check_header_compile
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_cpp conftest.$ac_ext"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } > conftest.i && {
1753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if { { ac_try="$ac_link"
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>&5
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786 { { case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_try") 2>&5
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; }; }; then :
1798 $as_echo "$as_me: program exited with status $ac_status" >&5
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1802 ac_retval=$ac_status
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status $ac_retval
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1825 #define $2 innocuous_$2
1827 /* System header to define __stub macros and hopefully few prototypes,
1828 which can conflict with char $2 (); below.
1829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830 <limits.h> exists even on freestanding compilers. */
1833 # include <limits.h>
1835 # include <assert.h>
1840 /* Override any GCC internal prototype to avoid an error.
1841 Use char because int might match the return type of a GCC
1842 builtin and then its argument prototype would still apply. */
1847 /* The GNU C library defines this for functions which it implements
1848 to always fail with ENOSYS. Some functions are actually named
1849 something starting with __ and the normal name is an alias. */
1850 #if defined __stub_$2 || defined __stub___$2
1862 if ac_fn_c_try_link "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext \
1868 conftest$ac_exeext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_func
1877 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1878 # -------------------------------------------------------
1879 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1880 # the include files in INCLUDES and setting the cache variable VAR
1882 ac_fn_c_check_header_mongrel ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 if eval \${$3+:} false; then :
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1895 # Is the header compilable?
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1897 $as_echo_n "checking $2 usability... " >&6; }
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904 ac_header_compiler=yes
1906 ac_header_compiler=no
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1910 $as_echo "$ac_header_compiler" >&6; }
1912 # Is the header present?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1914 $as_echo_n "checking $2 presence... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1919 if ac_fn_c_try_cpp "$LINENO"; then :
1920 ac_header_preproc=yes
1922 ac_header_preproc=no
1924 rm -f conftest.err conftest.i conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1926 $as_echo "$ac_header_preproc" >&6; }
1928 # So? What about this header?
1929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1932 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1938 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1940 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1942 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1944 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if eval \${$3+:} false; then :
1952 $as_echo_n "(cached) " >&6
1954 eval "$3=\$ac_header_compiler"
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 } # ac_fn_c_check_header_mongrel
1963 cat >config.log <<_ACEOF
1964 This file contains any messages produced by compilers while
1965 running configure, to aid debugging if configure makes a mistake.
1967 It was created by tlm $as_me 0.0.2, which was
1968 generated by GNU Autoconf 2.69. Invocation command line was
1980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1992 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 $as_echo "PATH: $as_dir"
2020 # Keep a trace of the command line.
2021 # Strip out --no-create and --no-recursion so they do not pile up.
2022 # Strip out --silent because we don't want to record it for future runs.
2023 # Also quote any args containing shell meta-characters.
2024 # Make two passes to allow for proper duplicate-argument suppression.
2028 ac_must_keep_next=false
2034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2036 | -silent | --silent | --silen | --sile | --sil)
2039 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2044 as_fn_append ac_configure_args1 " '$ac_arg'"
2045 if test $ac_must_keep_next = true; then
2046 ac_must_keep_next=false # Got value, back to normal.
2049 *=* | --config-cache | -C | -disable-* | --disable-* \
2050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2052 | -with-* | --with-* | -without-* | --without-* | --x)
2053 case "$ac_configure_args0 " in
2054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2057 -* ) ac_must_keep_next=true ;;
2060 as_fn_append ac_configure_args " '$ac_arg'"
2065 { ac_configure_args0=; unset ac_configure_args0;}
2066 { ac_configure_args1=; unset ac_configure_args1;}
2068 # When interrupted or exit'd, cleanup temporary files, and complete
2069 # config.log. We remove comments because anyway the quotes in there
2070 # would cause problems or look ugly.
2071 # WARNING: Use '\'' to represent an apostrophe within the trap.
2072 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2073 trap 'exit_status=$?
2074 # Save into config.log some information that might help in debugging.
2078 $as_echo "## ---------------- ##
2079 ## Cache variables. ##
2080 ## ---------------- ##"
2082 # The following way of writing the cache mishandles newlines in values,
2084 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2085 eval ac_val=\$$ac_var
2089 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2093 _ | IFS | as_nl) ;; #(
2094 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2095 *) { eval $ac_var=; unset $ac_var;} ;;
2100 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2101 *${as_nl}ac_space=\ *)
2103 "s/'\''/'\''\\\\'\'''\''/g;
2104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2107 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2114 $as_echo "## ----------------- ##
2115 ## Output variables. ##
2116 ## ----------------- ##"
2118 for ac_var in $ac_subst_vars
2120 eval ac_val=\$$ac_var
2122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124 $as_echo "$ac_var='\''$ac_val'\''"
2128 if test -n "$ac_subst_files"; then
2129 $as_echo "## ------------------- ##
2130 ## File substitutions. ##
2131 ## ------------------- ##"
2133 for ac_var in $ac_subst_files
2135 eval ac_val=\$$ac_var
2137 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139 $as_echo "$ac_var='\''$ac_val'\''"
2144 if test -s confdefs.h; then
2145 $as_echo "## ----------- ##
2152 test "$ac_signal" != 0 &&
2153 $as_echo "$as_me: caught signal $ac_signal"
2154 $as_echo "$as_me: exit $exit_status"
2156 rm -f core *.core core.conftest.* &&
2157 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2160 for ac_signal in 1 2 13 15; do
2161 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2166 rm -f -r conftest* confdefs.h
2168 $as_echo "/* confdefs.h */" > confdefs.h
2170 # Predefined preprocessor variables.
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_NAME "$PACKAGE_NAME"
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2184 cat >>confdefs.h <<_ACEOF
2185 #define PACKAGE_STRING "$PACKAGE_STRING"
2188 cat >>confdefs.h <<_ACEOF
2189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2192 cat >>confdefs.h <<_ACEOF
2193 #define PACKAGE_URL "$PACKAGE_URL"
2197 # Let the site file select an alternate cache file if it wants to.
2198 # Prefer an explicitly selected file to automatically selected ones.
2201 if test -n "$CONFIG_SITE"; then
2202 # We do not want a PATH search for config.site.
2203 case $CONFIG_SITE in #((
2204 -*) ac_site_file1=./$CONFIG_SITE;;
2205 */*) ac_site_file1=$CONFIG_SITE;;
2206 *) ac_site_file1=./$CONFIG_SITE;;
2208 elif test "x$prefix" != xNONE; then
2209 ac_site_file1=$prefix/share/config.site
2210 ac_site_file2=$prefix/etc/config.site
2212 ac_site_file1=$ac_default_prefix/share/config.site
2213 ac_site_file2=$ac_default_prefix/etc/config.site
2215 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2217 test "x$ac_site_file" = xNONE && continue
2218 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2220 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2221 sed 's/^/| /' "$ac_site_file" >&5
2223 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2225 as_fn_error $? "failed to load site script $ac_site_file
2226 See \`config.log' for more details" "$LINENO" 5; }
2230 if test -r "$cache_file"; then
2231 # Some versions of bash will fail to source /dev/null (special files
2232 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2233 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2235 $as_echo "$as_me: loading cache $cache_file" >&6;}
2237 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2238 *) . "./$cache_file";;
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2243 $as_echo "$as_me: creating cache $cache_file" >&6;}
2247 # Check that the precious variables saved in the cache have kept the same
2249 ac_cache_corrupted=false
2250 for ac_var in $ac_precious_vars; do
2251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2252 eval ac_new_set=\$ac_env_${ac_var}_set
2253 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2254 eval ac_new_val=\$ac_env_${ac_var}_value
2255 case $ac_old_set,$ac_new_set in
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2258 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2259 ac_cache_corrupted=: ;;
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2262 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2263 ac_cache_corrupted=: ;;
2266 if test "x$ac_old_val" != "x$ac_new_val"; then
2267 # differences in whitespace do not lead to failure.
2268 ac_old_val_w=`echo x $ac_old_val`
2269 ac_new_val_w=`echo x $ac_new_val`
2270 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2272 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2273 ac_cache_corrupted=:
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2276 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2277 eval $ac_var=\$ac_old_val
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2280 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2282 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2285 # Pass precious variables to config.status.
2286 if test "$ac_new_set" = set; then
2288 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2289 *) ac_arg=$ac_var=$ac_new_val ;;
2291 case " $ac_configure_args " in
2292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2293 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2297 if $ac_cache_corrupted; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2301 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2302 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2304 ## -------------------- ##
2305 ## Main body of script. ##
2306 ## -------------------- ##
2309 ac_cpp='$CPP $CPPFLAGS'
2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2316 ac_config_headers="$ac_config_headers config.h"
2320 am__api_version='1.14'
2323 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2324 if test -f "$ac_dir/install-sh"; then
2326 ac_install_sh="$ac_aux_dir/install-sh -c"
2328 elif test -f "$ac_dir/install.sh"; then
2330 ac_install_sh="$ac_aux_dir/install.sh -c"
2332 elif test -f "$ac_dir/shtool"; then
2334 ac_install_sh="$ac_aux_dir/shtool install -c"
2338 if test -z "$ac_aux_dir"; then
2339 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2342 # These three variables are undocumented and unsupported,
2343 # and are intended to be withdrawn in a future Autoconf release.
2344 # They can cause serious problems if a builder's source tree is in a directory
2345 # whose full name contains unusual characters.
2346 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2347 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2348 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2351 # Find a good install program. We prefer a C program (faster),
2352 # so one script is as good as another. But avoid the broken or
2353 # incompatible versions:
2354 # SysV /etc/install, /usr/sbin/install
2355 # SunOS /usr/etc/install
2356 # IRIX /sbin/install
2358 # AmigaOS /C/install, which installs bootblocks on floppy discs
2359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2362 # OS/2's system install, which has a completely different semantic
2363 # ./install, which can be erroneously created by make from ./install.sh.
2364 # Reject install programs that cannot install multiple files.
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2366 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2367 if test -z "$INSTALL"; then
2368 if ${ac_cv_path_install+:} false; then :
2369 $as_echo_n "(cached) " >&6
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 # Account for people who put trailing slashes in PATH elements.
2377 case $as_dir/ in #((
2378 ./ | .// | /[cC]/* | \
2379 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2380 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2383 # OSF1 and SCO ODT 3.0 have their own names for install.
2384 # Don't use installbsd from OSF since it installs stuff as root
2386 for ac_prog in ginstall scoinst install; do
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2389 if test $ac_prog = install &&
2390 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391 # AIX install. It has an incompatible calling convention.
2393 elif test $ac_prog = install &&
2394 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395 # program-specific install script used by HP pwplus--don't use.
2398 rm -rf conftest.one conftest.two conftest.dir
2399 echo one > conftest.one
2400 echo two > conftest.two
2402 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2403 test -s conftest.one && test -s conftest.two &&
2404 test -s conftest.dir/conftest.one &&
2405 test -s conftest.dir/conftest.two
2407 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420 rm -rf conftest.one conftest.two conftest.dir
2423 if test "${ac_cv_path_install+set}" = set; then
2424 INSTALL=$ac_cv_path_install
2426 # As a last resort, use the slow shell script. Don't cache a
2427 # value for INSTALL within a source directory, because that will
2428 # break other packages using the cache if that directory is
2429 # removed, or if the value is a relative name.
2430 INSTALL=$ac_install_sh
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2434 $as_echo "$INSTALL" >&6; }
2436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2437 # It thinks the first close brace ends the variable substitution.
2438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2442 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2445 $as_echo_n "checking whether build environment is sane... " >&6; }
2446 # Reject unsafe characters in $srcdir or the absolute working directory
2447 # name. Accept space and tab only in the latter.
2451 *[\\\"\#\$\&\'\`$am_lf]*)
2452 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2456 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2459 # Do 'set' in a subshell so we don't clobber the current shell's
2460 # arguments. Must try -L first in case configure is actually a
2461 # symlink; some systems play weird games with the mod time of symlinks
2462 # (eg FreeBSD returns the mod time of the symlink's containing
2466 for am_try in 1 2; do
2467 echo "timestamp, slept: $am_has_slept" > conftest.file
2468 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2469 if test "$*" = "X"; then
2471 set X `ls -t "$srcdir/configure" conftest.file`
2473 if test "$*" != "X $srcdir/configure conftest.file" \
2474 && test "$*" != "X conftest.file $srcdir/configure"; then
2476 # If neither matched, then we have a broken ls. This can happen
2477 # if, for instance, CONFIG_SHELL is bash and it inherits a
2478 # broken ls alias from the environment. This has actually
2479 # happened. Such a system could not be considered "sane".
2480 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2481 alias in your environment" "$LINENO" 5
2483 if test "$2" = conftest.file || test $am_try -eq 2; then
2490 test "$2" = conftest.file
2496 as_fn_error $? "newly created file is older than distributed files!
2497 Check your system clock" "$LINENO" 5
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2500 $as_echo "yes" >&6; }
2501 # If we didn't sleep, we still need to ensure time stamps of config.status and
2502 # generated files are strictly newer.
2504 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2511 test "$program_prefix" != NONE &&
2512 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2513 # Use a double $ so make ignores it.
2514 test "$program_suffix" != NONE &&
2515 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2516 # Double any \ or $.
2517 # By default was `s,x,x', remove it if useless.
2518 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2519 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2521 # expand $ac_aux_dir to an absolute path
2522 am_aux_dir=`cd $ac_aux_dir && pwd`
2524 if test x"${MISSING+set}" != xset; then
2527 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2529 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2532 # Use eval to expand $SHELL
2533 if eval "$MISSING --is-lightweight"; then
2534 am_missing_run="$MISSING "
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2538 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2541 if test x"${install_sh}" != xset; then
2544 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2546 install_sh="\${SHELL} $am_aux_dir/install-sh"
2550 # Installed binaries are usually stripped using 'strip' when the user
2551 # run "make install-strip". However 'strip' might not be the right
2552 # tool to use in cross-compilation environments, therefore Automake
2553 # will honor the 'STRIP' environment variable to overrule this program.
2554 if test "$cross_compiling" != no; then
2555 if test -n "$ac_tool_prefix"; then
2556 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}strip; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_prog_STRIP+:} false; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$STRIP"; then
2564 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 STRIP=$ac_cv_prog_STRIP
2584 if test -n "$STRIP"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2586 $as_echo "$STRIP" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2594 if test -z "$ac_cv_prog_STRIP"; then
2596 # Extract the first word of "strip", so it can be a program name with args.
2597 set dummy strip; ac_word=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2601 $as_echo_n "(cached) " >&6
2603 if test -n "$ac_ct_STRIP"; then
2604 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir=.
2611 for ac_exec_ext in '' $ac_executable_extensions; do
2612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_ac_ct_STRIP="strip"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2624 if test -n "$ac_ct_STRIP"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2626 $as_echo "$ac_ct_STRIP" >&6; }
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2632 if test "x$ac_ct_STRIP" = x; then
2635 case $cross_compiling:$ac_tool_warned in
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2639 ac_tool_warned=yes ;;
2644 STRIP="$ac_cv_prog_STRIP"
2648 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2651 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2652 if test -z "$MKDIR_P"; then
2653 if ${ac_cv_path_mkdir+:} false; then :
2654 $as_echo_n "(cached) " >&6
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2660 test -z "$as_dir" && as_dir=.
2661 for ac_prog in mkdir gmkdir; do
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2664 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2665 'mkdir (GNU coreutils) '* | \
2666 'mkdir (coreutils) '* | \
2667 'mkdir (fileutils) '4.1*)
2668 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2678 test -d ./--version && rmdir ./--version
2679 if test "${ac_cv_path_mkdir+set}" = set; then
2680 MKDIR_P="$ac_cv_path_mkdir -p"
2682 # As a last resort, use the slow shell script. Don't cache a
2683 # value for MKDIR_P within a source directory, because that will
2684 # break other packages using the cache if that directory is
2685 # removed, or if the value is a relative name.
2686 MKDIR_P="$ac_install_sh -d"
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2690 $as_echo "$MKDIR_P" >&6; }
2692 for ac_prog in gawk mawk nawk awk
2694 # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$AWK"; then
2702 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_AWK="$ac_prog"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test -n "$AWK"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2731 test -n "$AWK" && break
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 cat >conftest.make <<\_ACEOF
2744 @echo '@@@%%%=$(MAKE)=@@@%%%'
2746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2749 eval ac_cv_prog_make_${ac_make}_set=yes;;
2751 eval ac_cv_prog_make_${ac_make}_set=no;;
2755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762 SET_MAKE="MAKE=${MAKE-make}"
2765 rm -rf .tst 2>/dev/null
2766 mkdir .tst 2>/dev/null
2767 if test -d .tst; then
2772 rmdir .tst 2>/dev/null
2774 # Check whether --enable-silent-rules was given.
2775 if test "${enable_silent_rules+set}" = set; then :
2776 enableval=$enable_silent_rules;
2779 case $enable_silent_rules in # (((
2780 yes) AM_DEFAULT_VERBOSITY=0;;
2781 no) AM_DEFAULT_VERBOSITY=1;;
2782 *) AM_DEFAULT_VERBOSITY=1;;
2784 am_make=${MAKE-make}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2787 if ${am_cv_make_support_nested_variables+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if $as_echo 'TRUE=$(BAR$(V))
2796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2797 am_cv_make_support_nested_variables=yes
2799 am_cv_make_support_nested_variables=no
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2804 if test $am_cv_make_support_nested_variables = yes; then
2806 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2808 AM_V=$AM_DEFAULT_VERBOSITY
2809 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815 # is not polluted with repeated "-I."
2816 am__isrc=' -I$(srcdir)'
2817 # test to see if srcdir already configured
2818 if test -f $srcdir/config.status; then
2819 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825 if (cygpath --version) >/dev/null 2>/dev/null; then
2826 CYGPATH_W='cygpath -w'
2833 # Define the identity of the package.
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2847 # Some tools Automake needs.
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2863 # For better backward compatibility. To be removed once Automake 1.9.x
2864 # dies out for good. For more background, see:
2865 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2866 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2867 mkdir_p='$(MKDIR_P)'
2869 # We need awk for the "check" target. The system "awk" is bad on
2871 # Always define AMTAR for backward compatibility. Yes, it's still used
2872 # in the wild :-( We should find a proper way to deprecate it ...
2876 # We'll loop over all known methods to create a tar archive until one works.
2877 _am_tools='gnutar pax cpio none'
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2882 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2884 # Go ahead even if we have the value already cached. We do so because we
2885 # need to set the values for the 'am__tar' and 'am__untar' variables.
2886 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2888 for _am_tool in $_am_tools; do
2891 for _am_tar in tar gnutar gtar; do
2892 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2893 ($_am_tar --version) >&5 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } && break
2898 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2899 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2900 am__untar="$_am_tar -xf -"
2903 # Must skip GNU tar: if it does not support --format= it doesn't create
2904 # ustar tarball either.
2905 (tar --version) >/dev/null 2>&1 && continue
2906 am__tar='tar chf - "$$tardir"'
2907 am__tar_='tar chf - "$tardir"'
2908 am__untar='tar xf -'
2911 am__tar='pax -L -x pax -w "$$tardir"'
2912 am__tar_='pax -L -x pax -w "$tardir"'
2916 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2917 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2918 am__untar='cpio -i -H pax -d'
2927 # If the value was cached, stop now. We just wanted to have am__tar
2928 # and am__untar set.
2929 test -n "${am_cv_prog_tar_pax}" && break
2931 # tar/untar a dummy directory, and stop if the command works.
2934 echo GrepMe > conftest.dir/file
2935 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2936 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2941 if test -s conftest.tar; then
2942 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2943 ($am__untar <conftest.tar) >&5 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }
2947 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2948 (cat conftest.dir/file) >&5 2>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }
2952 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2957 if ${am_cv_prog_tar_pax+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 am_cv_prog_tar_pax=$_am_tool
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2964 $as_echo "$am_cv_prog_tar_pax" >&6; }
2971 # POSIX will say in a future version that running "rm -f" with no argument
2972 # is OK; and we want to be able to make that assumption in our Makefile
2973 # recipes. So use an aggressive probe to check that the usage we want is
2974 # actually supported "in the wild" to an acceptable degree.
2975 # See automake bug#10828.
2976 # To make any issue more visible, cause the running configure to be aborted
2977 # by default if the 'rm' program in use doesn't match our expectations; the
2978 # user can still override this though.
2979 if rm -f && rm -fr && rm -rf; then : OK; else
2983 Your 'rm' program seems unable to run without file operands specified
2984 on the command line, even when the '-f' option is present. This is contrary
2985 to the behaviour of most rm programs out there, and not conforming with
2986 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2988 Please tell bug-automake@gnu.org about your system, including the value
2989 of your $PATH and any error possibly output before this message. This
2990 can help us improve future automake versions.
2993 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2994 echo 'Configuration will proceed anyway, since you have set the' >&2
2995 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2999 Aborting the configuration process, to ensure you take notice of the issue.
3001 You can download and install GNU coreutils to get an 'rm' implementation
3002 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3004 If you want to complete the configuration process using your problematic
3005 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3006 to "yes", and re-run configure.
3009 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3019 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3024 macro_version='2.4.2'
3025 macro_revision='1.3337'
3039 ltmain="$ac_aux_dir/ltmain.sh"
3041 # Make sure we can run config.sub.
3042 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3043 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3046 $as_echo_n "checking build system type... " >&6; }
3047 if ${ac_cv_build+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 ac_build_alias=$build_alias
3051 test "x$ac_build_alias" = x &&
3052 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3053 test "x$ac_build_alias" = x &&
3054 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3055 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3056 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3060 $as_echo "$ac_cv_build" >&6; }
3061 case $ac_cv_build in
3063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3066 ac_save_IFS=$IFS; IFS='-'
3072 # Remember, the first character of IFS is used to create $*,
3073 # except with old shells:
3076 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3080 $as_echo_n "checking host system type... " >&6; }
3081 if ${ac_cv_host+:} false; then :
3082 $as_echo_n "(cached) " >&6
3084 if test "x$host_alias" = x; then
3085 ac_cv_host=$ac_cv_build
3087 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3088 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3093 $as_echo "$ac_cv_host" >&6; }
3096 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3099 ac_save_IFS=$IFS; IFS='-'
3105 # Remember, the first character of IFS is used to create $*,
3106 # except with old shells:
3109 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3112 # Backslashify metacharacters that are still active within
3113 # double-quoted strings.
3114 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3116 # Same as above, but do not quote variable references.
3117 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3119 # Sed substitution to delay expansion of an escaped shell variable in a
3120 # double_quote_subst'ed string.
3121 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3123 # Sed substitution to delay expansion of an escaped single quote.
3124 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3126 # Sed substitution to avoid accidental globbing in evaled expressions
3127 no_glob_subst='s/\*/\\\*/g'
3129 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3130 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3131 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3134 $as_echo_n "checking how to print strings... " >&6; }
3135 # Test print first, because it will be a builtin if present.
3136 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3137 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3139 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3142 # Use this function as a fallback that always works.
3143 func_fallback_echo ()
3145 eval 'cat <<_LTECHO_EOF
3149 ECHO='func_fallback_echo'
3152 # func_echo_all arg...
3153 # Invoke $ECHO with all args, space-separated.
3160 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3161 $as_echo "printf" >&6; } ;;
3162 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3163 $as_echo "print -r" >&6; } ;;
3164 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3165 $as_echo "cat" >&6; } ;;
3181 DEPDIR="${am__leading_dot}deps"
3183 ac_config_commands="$ac_config_commands depfiles"
3186 am_make=${MAKE-make}
3187 cat > confinc << 'END'
3189 @echo this is the am__doit target
3192 # If we don't find an include directive, just comment out the code.
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3194 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3198 # First try GNU make style include.
3199 echo "include confinc" > confmf
3200 # Ignore all kinds of additional output from 'make'.
3201 case `$am_make -s -f confmf 2> /dev/null` in #(
3202 *the\ am__doit\ target*)
3208 # Now try BSD make style include.
3209 if test "$am__include" = "#"; then
3210 echo '.include "confinc"' > confmf
3211 case `$am_make -s -f confmf 2> /dev/null` in #(
3212 *the\ am__doit\ target*)
3213 am__include=.include
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3222 $as_echo "$_am_result" >&6; }
3223 rm -f confinc confmf
3225 # Check whether --enable-dependency-tracking was given.
3226 if test "${enable_dependency_tracking+set}" = set; then :
3227 enableval=$enable_dependency_tracking;
3230 if test "x$enable_dependency_tracking" != xno; then
3231 am_depcomp="$ac_aux_dir/depcomp"
3235 if test "x$enable_dependency_tracking" != xno; then
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_CC+:} false; then :
3255 $as_echo_n "(cached) " >&6
3257 if test -n "$CC"; then
3258 ac_cv_prog_CC="$CC" # Let the user override the test.
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test -n "$CC"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3280 $as_echo "$CC" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3288 if test -z "$ac_cv_prog_CC"; then
3290 # Extract the first word of "gcc", so it can be a program name with args.
3291 set dummy gcc; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3295 $as_echo_n "(cached) " >&6
3297 if test -n "$ac_ct_CC"; then
3298 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_ac_ct_CC="gcc"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3318 if test -n "$ac_ct_CC"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3320 $as_echo "$ac_ct_CC" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3326 if test "x$ac_ct_CC" = x; then
3329 case $cross_compiling:$ac_tool_warned in
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3341 if test -z "$CC"; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cc; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_CC+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$CC"; then
3351 ac_cv_prog_CC="$CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_CC="${ac_tool_prefix}cc"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 if test -n "$CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3373 $as_echo "$CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3382 if test -z "$CC"; then
3383 # Extract the first word of "cc", so it can be a program name with args.
3384 set dummy cc; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if ${ac_cv_prog_CC+:} false; then :
3388 $as_echo_n "(cached) " >&6
3390 if test -n "$CC"; then
3391 ac_cv_prog_CC="$CC" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3402 ac_prog_rejected=yes
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 if test $ac_prog_rejected = yes; then
3414 # We found a bogon in the path, so make sure we never use it.
3415 set dummy $ac_cv_prog_CC
3417 if test $# != 0; then
3418 # We chose a different compiler from the bogus one.
3419 # However, it has the same basename, so the bogon will be chosen
3420 # first if we set CC to just the basename; use the full file name.
3422 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3428 if test -n "$CC"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3430 $as_echo "$CC" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3438 if test -z "$CC"; then
3439 if test -n "$ac_tool_prefix"; then
3440 for ac_prog in cl.exe
3442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_CC+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$CC"; then
3450 ac_cv_prog_CC="$CC" # Let the user override the test.
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 if test -n "$CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3472 $as_echo "$CC" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3479 test -n "$CC" && break
3482 if test -z "$CC"; then
3484 for ac_prog in cl.exe
3486 # Extract the first word of "$ac_prog", so it can be a program name with args.
3487 set dummy $ac_prog; ac_word=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$ac_ct_CC"; then
3494 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_ac_ct_CC="$ac_prog"
3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3514 if test -n "$ac_ct_CC"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3516 $as_echo "$ac_ct_CC" >&6; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3523 test -n "$ac_ct_CC" && break
3526 if test "x$ac_ct_CC" = x; then
3529 case $cross_compiling:$ac_tool_warned in
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3533 ac_tool_warned=yes ;;
3542 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3544 as_fn_error $? "no acceptable C compiler found in \$PATH
3545 See \`config.log' for more details" "$LINENO" 5; }
3547 # Provide some information about the compiler.
3548 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3551 for ac_option in --version -v -V -qversion; do
3552 { { ac_try="$ac_compiler $ac_option >&5"
3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555 *) ac_try_echo=$ac_try;;
3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3558 $as_echo "$ac_try_echo"; } >&5
3559 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3561 if test -s conftest.err; then
3563 ... rest of stderr output deleted ...
3564 10q' conftest.err >conftest.er1
3565 cat conftest.er1 >&5
3567 rm -f conftest.er1 conftest.err
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 ac_clean_files_save=$ac_clean_files
3584 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3585 # Try to create an executable without -o first, disregard a.out.
3586 # It will help us diagnose broken compilers, and finding out an intuition
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3589 $as_echo_n "checking whether the C compiler works... " >&6; }
3590 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3592 # The possible output files:
3593 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3596 for ac_file in $ac_files
3599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3600 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3605 if { { ac_try="$ac_link_default"
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 $as_echo "$ac_try_echo"; } >&5
3612 (eval "$ac_link_default") 2>&5
3614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615 test $ac_status = 0; }; then :
3616 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3617 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3618 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3619 # so that the user can short-circuit this test for compilers unknown to
3621 for ac_file in $ac_files ''
3623 test -f "$ac_file" || continue
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3628 # We found the default executable, but exeext='' is most
3632 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3634 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3636 # We set ac_cv_exeext here because the later test for it is not
3637 # safe: cross compilers may not add the suffix if given an `-o'
3638 # argument, so we may need to know it at that point already.
3639 # Even if this section looks crufty: it has the advantage of
3646 test "$ac_cv_exeext" = no && ac_cv_exeext=
3651 if test -z "$ac_file"; then :
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3654 $as_echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659 as_fn_error 77 "C compiler cannot create executables
3660 See \`config.log' for more details" "$LINENO" 5; }
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3663 $as_echo "yes" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3666 $as_echo_n "checking for C compiler default output file name... " >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3668 $as_echo "$ac_file" >&6; }
3669 ac_exeext=$ac_cv_exeext
3671 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3672 ac_clean_files=$ac_clean_files_save
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3674 $as_echo_n "checking for suffix of executables... " >&6; }
3675 if { { ac_try="$ac_link"
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_link") 2>&5
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; }; then :
3686 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3687 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3688 # work properly (i.e., refer to `conftest.exe'), while it won't with
3690 for ac_file in conftest.exe conftest conftest.*; do
3691 test -f "$ac_file" || continue
3693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3694 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3703 See \`config.log' for more details" "$LINENO" 5; }
3705 rm -f conftest conftest$ac_cv_exeext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3707 $as_echo "$ac_cv_exeext" >&6; }
3709 rm -f conftest.$ac_ext
3710 EXEEXT=$ac_cv_exeext
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3718 FILE *f = fopen ("conftest.out", "w");
3719 return ferror (f) || fclose (f) != 0;
3725 ac_clean_files="$ac_clean_files conftest.out"
3726 # Check that the compiler produces executables we can run. If not, either
3727 # the compiler is broken, or we cross compile.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3729 $as_echo_n "checking whether we are cross compiling... " >&6; }
3730 if test "$cross_compiling" != yes; then
3731 { { ac_try="$ac_link"
3733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734 *) ac_try_echo=$ac_try;;
3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737 $as_echo "$ac_try_echo"; } >&5
3738 (eval "$ac_link") 2>&5
3740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741 test $ac_status = 0; }
3742 if { ac_try='./conftest$ac_cv_exeext'
3743 { { case "(($ac_try" in
3744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_try") 2>&5
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; }; then
3755 if test "$cross_compiling" = maybe; then
3758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error $? "cannot run C compiled programs.
3761 If you meant to cross compile, use \`--host'.
3762 See \`config.log' for more details" "$LINENO" 5; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3767 $as_echo "$cross_compiling" >&6; }
3769 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3770 ac_clean_files=$ac_clean_files_save
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3772 $as_echo_n "checking for suffix of object files... " >&6; }
3773 if ${ac_cv_objext+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 rm -f conftest.o conftest.obj
3788 if { { ac_try="$ac_compile"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794 $as_echo "$ac_try_echo"; } >&5
3795 (eval "$ac_compile") 2>&5
3797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798 test $ac_status = 0; }; then :
3799 for ac_file in conftest.o conftest.obj conftest.*; do
3800 test -f "$ac_file" || continue;
3802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3803 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3808 $as_echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error $? "cannot compute suffix of object files: cannot compile
3814 See \`config.log' for more details" "$LINENO" 5; }
3816 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3819 $as_echo "$ac_cv_objext" >&6; }
3820 OBJEXT=$ac_cv_objext
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3823 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3824 if ${ac_cv_c_compiler_gnu+:} false; then :
3825 $as_echo_n "(cached) " >&6
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3841 if ac_fn_c_try_compile "$LINENO"; then :
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3851 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3852 if test $ac_compiler_gnu = yes; then
3857 ac_test_CFLAGS=${CFLAGS+set}
3858 ac_save_CFLAGS=$CFLAGS
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3860 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3861 if ${ac_cv_prog_cc_g+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 ac_save_c_werror_flag=$ac_c_werror_flag
3865 ac_c_werror_flag=yes
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_c_try_compile "$LINENO"; then :
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_c_try_compile "$LINENO"; then :
3897 ac_c_werror_flag=$ac_save_c_werror_flag
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 if ac_fn_c_try_compile "$LINENO"; then :
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 ac_c_werror_flag=$ac_save_c_werror_flag
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3921 $as_echo "$ac_cv_prog_cc_g" >&6; }
3922 if test "$ac_test_CFLAGS" = set; then
3923 CFLAGS=$ac_save_CFLAGS
3924 elif test $ac_cv_prog_cc_g = yes; then
3925 if test "$GCC" = yes; then
3931 if test "$GCC" = yes; then
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3938 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3939 if ${ac_cv_prog_cc_c89+:} false; then :
3940 $as_echo_n "(cached) " >&6
3942 ac_cv_prog_cc_c89=no
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3950 struct buf { int x; };
3951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3952 static char *e (p, i)
3958 static char *f (char * (*g) (char **, int), char **p, ...)
3963 s = g (p, va_arg (v,int));
3968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3969 function prototypes and stuff, but not '\xHH' hex character constants.
3970 These don't provoke an error unfortunately, instead are silently treated
3971 as 'x'. The following induces an error, until -std is added to get
3972 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3973 array size at least. It's necessary to write '\x00'==0 to get something
3974 that's true only with -std. */
3975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3978 inside strings and character constants. */
3980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3982 int test (int i, double x);
3983 struct s1 {int (*f) (int a);};
3984 struct s2 {int (*f) (double a);};
3985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3991 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3997 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3999 CC="$ac_save_CC $ac_arg"
4000 if ac_fn_c_try_compile "$LINENO"; then :
4001 ac_cv_prog_cc_c89=$ac_arg
4003 rm -f core conftest.err conftest.$ac_objext
4004 test "x$ac_cv_prog_cc_c89" != "xno" && break
4006 rm -f conftest.$ac_ext
4011 case "x$ac_cv_prog_cc_c89" in
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4014 $as_echo "none needed" >&6; } ;;
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4017 $as_echo "unsupported" >&6; } ;;
4019 CC="$CC $ac_cv_prog_cc_c89"
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4023 if test "x$ac_cv_prog_cc_c89" != xno; then :
4028 ac_cpp='$CPP $CPPFLAGS'
4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4034 ac_cpp='$CPP $CPPFLAGS'
4035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4039 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4040 if ${am_cv_prog_cc_c_o+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4054 # Make sure it works both with $CC and with simple cc.
4055 # Following AC_PROG_CC_C_O, we do the test twice because some
4056 # compilers refuse to overwrite an existing .o file with -o,
4057 # though they will create one.
4058 am_cv_prog_cc_c_o=yes
4060 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4061 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); } \
4065 && test -f conftest2.$ac_objext; then
4068 am_cv_prog_cc_c_o=no
4072 rm -f core conftest*
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4076 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4077 if test "$am_cv_prog_cc_c_o" != yes; then
4078 # Losing compiler, so override with the script.
4079 # FIXME: It is wrong to rewrite CC.
4080 # But if we don't then we get into trouble of one sort or another.
4081 # A longer-term fix would be to have automake use am__CC in this case,
4082 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4083 CC="$am_aux_dir/compile $CC"
4086 ac_cpp='$CPP $CPPFLAGS'
4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 depcc="$CC" am_compiler_list=
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4095 $as_echo_n "checking dependency style of $depcc... " >&6; }
4096 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4100 # We make a subdir and do the tests there. Otherwise we can end up
4101 # making bogus files that we don't know about and never remove. For
4102 # instance it was reported that on HP-UX the gcc test will end up
4103 # making a dummy file named 'D' -- because '-MD' means "put the output
4107 # Copy depcomp to subdir because otherwise we won't find it if we're
4108 # using a relative directory.
4109 cp "$am_depcomp" conftest.dir
4111 # We will build objects and dependencies in a subdirectory because
4112 # it helps to detect inapplicable dependency modes. For instance
4113 # both Tru64's cc and ICC support -MD to output dependencies as a
4114 # side effect of compilation, but ICC will put the dependencies in
4115 # the current directory while Tru64 will put them in the object
4119 am_cv_CC_dependencies_compiler_type=none
4120 if test "$am_compiler_list" = ""; then
4121 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4124 case " $depcc " in #(
4125 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4128 for depmode in $am_compiler_list; do
4129 # Setup a source with many dependencies, because some compilers
4130 # like to wrap large dependency lists on column 80 (with \), and
4131 # we should not choose a depcomp mode which is confused by this.
4133 # We need to recreate these files for each test, as the compiler may
4134 # overwrite some of them when testing with obscure command lines.
4135 # This happens at least with the AIX C compiler.
4137 for i in 1 2 3 4 5 6; do
4138 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4139 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4140 # Solaris 10 /bin/sh.
4141 echo '/* dummy */' > sub/conftst$i.h
4143 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4145 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4146 # mode. It turns out that the SunPro C++ compiler does not properly
4147 # handle '-M -o', and we need to detect this. Also, some Intel
4148 # versions had trouble with output in subdirs.
4149 am__obj=sub/conftest.${OBJEXT-o}
4150 am__minus_obj="-o $am__obj"
4153 # This depmode causes a compiler race in universal mode.
4154 test "$am__universal" = false || continue
4157 # After this tag, mechanisms are not by side-effect, so they'll
4158 # only be used when explicitly requested.
4159 if test "x$enable_dependency_tracking" = xyes; then
4165 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4166 # This compiler won't grok '-c -o', but also, the minuso test has
4167 # not run yet. These depmodes are late enough in the game, and
4168 # so weak that their functioning should not be impacted.
4169 am__obj=conftest.${OBJEXT-o}
4174 if depmode=$depmode \
4175 source=sub/conftest.c object=$am__obj \
4176 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4177 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4178 >/dev/null 2>conftest.err &&
4179 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4180 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4181 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4182 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4183 # icc doesn't choke on unknown options, it will just issue warnings
4184 # or remarks (even with -Werror). So we grep stderr for any message
4185 # that says an option was ignored or not supported.
4186 # When given -MP, icc 7.0 and 7.1 complain thusly:
4187 # icc: Command line warning: ignoring option '-M'; no argument required
4188 # The diagnosis changed in icc 8.0:
4189 # icc: Command line remark: option '-MP' not supported
4190 if (grep 'ignoring option' conftest.err ||
4191 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4192 am_cv_CC_dependencies_compiler_type=$depmode
4201 am_cv_CC_dependencies_compiler_type=none
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4206 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4207 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4210 test "x$enable_dependency_tracking" != xno \
4211 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4213 am__fastdepCC_FALSE='#'
4215 am__fastdepCC_TRUE='#'
4216 am__fastdepCC_FALSE=
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4221 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4222 if ${ac_cv_path_SED+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4226 for ac_i in 1 2 3 4 5 6 7; do
4227 ac_script="$ac_script$as_nl$ac_script"
4229 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4230 { ac_script=; unset ac_script;}
4231 if test -z "$SED"; then
4232 ac_path_SED_found=false
4233 # Loop through the user's path and test for each of PROGNAME-LIST
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir=.
4239 for ac_prog in sed gsed; do
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4242 as_fn_executable_p "$ac_path_SED" || continue
4243 # Check for GNU ac_path_SED and select it if it is found.
4244 # Check for GNU $ac_path_SED
4245 case `"$ac_path_SED" --version 2>&1` in
4247 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4250 $as_echo_n 0123456789 >"conftest.in"
4253 cat "conftest.in" "conftest.in" >"conftest.tmp"
4254 mv "conftest.tmp" "conftest.in"
4255 cp "conftest.in" "conftest.nl"
4256 $as_echo '' >> "conftest.nl"
4257 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4259 as_fn_arith $ac_count + 1 && ac_count=$as_val
4260 if test $ac_count -gt ${ac_path_SED_max-0}; then
4261 # Best one so far, save it but keep looking for a better one
4262 ac_cv_path_SED="$ac_path_SED"
4263 ac_path_SED_max=$ac_count
4265 # 10*(2^10) chars as input seems more than enough
4266 test $ac_count -gt 10 && break
4268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4271 $ac_path_SED_found && break 3
4276 if test -z "$ac_cv_path_SED"; then
4277 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4285 $as_echo "$ac_cv_path_SED" >&6; }
4286 SED="$ac_cv_path_SED"
4289 test -z "$SED" && SED=sed
4290 Xsed="$SED -e 1s/^X//"
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4304 if ${ac_cv_path_GREP+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -z "$GREP"; then
4308 ac_path_GREP_found=false
4309 # Loop through the user's path and test for each of PROGNAME-LIST
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4314 test -z "$as_dir" && as_dir=.
4315 for ac_prog in grep ggrep; do
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4318 as_fn_executable_p "$ac_path_GREP" || continue
4319 # Check for GNU ac_path_GREP and select it if it is found.
4320 # Check for GNU $ac_path_GREP
4321 case `"$ac_path_GREP" --version 2>&1` in
4323 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4326 $as_echo_n 0123456789 >"conftest.in"
4329 cat "conftest.in" "conftest.in" >"conftest.tmp"
4330 mv "conftest.tmp" "conftest.in"
4331 cp "conftest.in" "conftest.nl"
4332 $as_echo 'GREP' >> "conftest.nl"
4333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4335 as_fn_arith $ac_count + 1 && ac_count=$as_val
4336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4337 # Best one so far, save it but keep looking for a better one
4338 ac_cv_path_GREP="$ac_path_GREP"
4339 ac_path_GREP_max=$ac_count
4341 # 10*(2^10) chars as input seems more than enough
4342 test $ac_count -gt 10 && break
4344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347 $ac_path_GREP_found && break 3
4352 if test -z "$ac_cv_path_GREP"; then
4353 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356 ac_cv_path_GREP=$GREP
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4361 $as_echo "$ac_cv_path_GREP" >&6; }
4362 GREP="$ac_cv_path_GREP"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4366 $as_echo_n "checking for egrep... " >&6; }
4367 if ${ac_cv_path_EGREP+:} false; then :
4368 $as_echo_n "(cached) " >&6
4370 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4371 then ac_cv_path_EGREP="$GREP -E"
4373 if test -z "$EGREP"; then
4374 ac_path_EGREP_found=false
4375 # Loop through the user's path and test for each of PROGNAME-LIST
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380 test -z "$as_dir" && as_dir=.
4381 for ac_prog in egrep; do
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4384 as_fn_executable_p "$ac_path_EGREP" || continue
4385 # Check for GNU ac_path_EGREP and select it if it is found.
4386 # Check for GNU $ac_path_EGREP
4387 case `"$ac_path_EGREP" --version 2>&1` in
4389 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4392 $as_echo_n 0123456789 >"conftest.in"
4395 cat "conftest.in" "conftest.in" >"conftest.tmp"
4396 mv "conftest.tmp" "conftest.in"
4397 cp "conftest.in" "conftest.nl"
4398 $as_echo 'EGREP' >> "conftest.nl"
4399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401 as_fn_arith $ac_count + 1 && ac_count=$as_val
4402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4403 # Best one so far, save it but keep looking for a better one
4404 ac_cv_path_EGREP="$ac_path_EGREP"
4405 ac_path_EGREP_max=$ac_count
4407 # 10*(2^10) chars as input seems more than enough
4408 test $ac_count -gt 10 && break
4410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413 $ac_path_EGREP_found && break 3
4418 if test -z "$ac_cv_path_EGREP"; then
4419 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422 ac_cv_path_EGREP=$EGREP
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4428 $as_echo "$ac_cv_path_EGREP" >&6; }
4429 EGREP="$ac_cv_path_EGREP"
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4433 $as_echo_n "checking for fgrep... " >&6; }
4434 if ${ac_cv_path_FGREP+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4438 then ac_cv_path_FGREP="$GREP -F"
4440 if test -z "$FGREP"; then
4441 ac_path_FGREP_found=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4447 test -z "$as_dir" && as_dir=.
4448 for ac_prog in fgrep; do
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4451 as_fn_executable_p "$ac_path_FGREP" || continue
4452 # Check for GNU ac_path_FGREP and select it if it is found.
4453 # Check for GNU $ac_path_FGREP
4454 case `"$ac_path_FGREP" --version 2>&1` in
4456 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4459 $as_echo_n 0123456789 >"conftest.in"
4462 cat "conftest.in" "conftest.in" >"conftest.tmp"
4463 mv "conftest.tmp" "conftest.in"
4464 cp "conftest.in" "conftest.nl"
4465 $as_echo 'FGREP' >> "conftest.nl"
4466 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468 as_fn_arith $ac_count + 1 && ac_count=$as_val
4469 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4470 # Best one so far, save it but keep looking for a better one
4471 ac_cv_path_FGREP="$ac_path_FGREP"
4472 ac_path_FGREP_max=$ac_count
4474 # 10*(2^10) chars as input seems more than enough
4475 test $ac_count -gt 10 && break
4477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480 $ac_path_FGREP_found && break 3
4485 if test -z "$ac_cv_path_FGREP"; then
4486 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4489 ac_cv_path_FGREP=$FGREP
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4495 $as_echo "$ac_cv_path_FGREP" >&6; }
4496 FGREP="$ac_cv_path_FGREP"
4499 test -z "$GREP" && GREP=grep
4519 # Check whether --with-gnu-ld was given.
4520 if test "${with_gnu_ld+set}" = set; then :
4521 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4527 if test "$GCC" = yes; then
4528 # Check if gcc -print-prog-name=ld gives a path.
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4530 $as_echo_n "checking for ld used by $CC... " >&6; }
4533 # gcc leaves a trailing carriage return which upsets mingw
4534 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4536 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4539 # Accept absolute paths.
4541 re_direlt='/[^/][^/]*/\.\./'
4542 # Canonicalize the pathname of ld
4543 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4544 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4545 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4547 test -z "$LD" && LD="$ac_prog"
4550 # If it fails, then pretend we aren't using GCC.
4554 # If it is relative, then search for the first ld in PATH.
4558 elif test "$with_gnu_ld" = yes; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4560 $as_echo_n "checking for GNU ld... " >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4563 $as_echo_n "checking for non-GNU ld... " >&6; }
4565 if ${lt_cv_path_LD+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -z "$LD"; then
4569 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4570 for ac_dir in $PATH; do
4572 test -z "$ac_dir" && ac_dir=.
4573 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4574 lt_cv_path_LD="$ac_dir/$ac_prog"
4575 # Check to see if the program is GNU ld. I'd rather use --version,
4576 # but apparently some variants of GNU ld only accept -v.
4577 # Break only if it was the GNU/non-GNU ld that we prefer.
4578 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4579 *GNU* | *'with BFD'*)
4580 test "$with_gnu_ld" != no && break
4583 test "$with_gnu_ld" != yes && break
4590 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4595 if test -n "$LD"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4597 $as_echo "$LD" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4602 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4604 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4605 if ${lt_cv_prog_gnu_ld+:} false; then :
4606 $as_echo_n "(cached) " >&6
4608 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4609 case `$LD -v 2>&1 </dev/null` in
4610 *GNU* | *'with BFD'*)
4611 lt_cv_prog_gnu_ld=yes
4614 lt_cv_prog_gnu_ld=no
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4619 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4620 with_gnu_ld=$lt_cv_prog_gnu_ld
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4631 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4632 if ${lt_cv_path_NM+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$NM"; then
4636 # Let the user override the test.
4639 lt_nm_to_check="${ac_tool_prefix}nm"
4640 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4641 lt_nm_to_check="$lt_nm_to_check nm"
4643 for lt_tmp_nm in $lt_nm_to_check; do
4644 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4645 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4647 test -z "$ac_dir" && ac_dir=.
4648 tmp_nm="$ac_dir/$lt_tmp_nm"
4649 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4650 # Check to see if the nm accepts a BSD-compat flag.
4651 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4652 # nm: unknown option "B" ignored
4653 # Tru64's nm complains that /dev/null is an invalid object file
4654 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4655 */dev/null* | *'Invalid file or object type'*)
4656 lt_cv_path_NM="$tmp_nm -B"
4660 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4662 lt_cv_path_NM="$tmp_nm -p"
4666 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4667 continue # so that we can try to find one that supports BSD flags
4676 : ${lt_cv_path_NM=no}
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4680 $as_echo "$lt_cv_path_NM" >&6; }
4681 if test "$lt_cv_path_NM" != "no"; then
4684 # Didn't find any BSD compatible name lister, look for dumpbin.
4685 if test -n "$DUMPBIN"; then :
4686 # Let the user override the test.
4688 if test -n "$ac_tool_prefix"; then
4689 for ac_prog in dumpbin "link -dump"
4691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_prog_DUMPBIN+:} false; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$DUMPBIN"; then
4699 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir=.
4706 for ac_exec_ext in '' $ac_executable_extensions; do
4707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4708 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 DUMPBIN=$ac_cv_prog_DUMPBIN
4719 if test -n "$DUMPBIN"; then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4721 $as_echo "$DUMPBIN" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4728 test -n "$DUMPBIN" && break
4731 if test -z "$DUMPBIN"; then
4732 ac_ct_DUMPBIN=$DUMPBIN
4733 for ac_prog in dumpbin "link -dump"
4735 # Extract the first word of "$ac_prog", so it can be a program name with args.
4736 set dummy $ac_prog; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$ac_ct_DUMPBIN"; then
4743 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4763 if test -n "$ac_ct_DUMPBIN"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4765 $as_echo "$ac_ct_DUMPBIN" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 test -n "$ac_ct_DUMPBIN" && break
4775 if test "x$ac_ct_DUMPBIN" = x; then
4778 case $cross_compiling:$ac_tool_warned in
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4782 ac_tool_warned=yes ;;
4784 DUMPBIN=$ac_ct_DUMPBIN
4788 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4790 DUMPBIN="$DUMPBIN -symbols"
4798 if test "$DUMPBIN" != ":"; then
4802 test -z "$NM" && NM=nm
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4810 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4811 if ${lt_cv_nm_interface+:} false; then :
4812 $as_echo_n "(cached) " >&6
4814 lt_cv_nm_interface="BSD nm"
4815 echo "int some_variable = 0;" > conftest.$ac_ext
4816 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4817 (eval "$ac_compile" 2>conftest.err)
4818 cat conftest.err >&5
4819 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4820 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4821 cat conftest.err >&5
4822 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4823 cat conftest.out >&5
4824 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4825 lt_cv_nm_interface="MS dumpbin"
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4830 $as_echo "$lt_cv_nm_interface" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4833 $as_echo_n "checking whether ln -s works... " >&6; }
4835 if test "$LN_S" = "ln -s"; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4840 $as_echo "no, using $LN_S" >&6; }
4843 # find the maximum length of command line arguments
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4845 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4846 if ${lt_cv_sys_max_cmd_len+:} false; then :
4847 $as_echo_n "(cached) " >&6
4854 # On DJGPP, this test can blow up pretty badly due to problems in libc
4855 # (any single argument exceeding 2000 bytes causes a buffer overrun
4856 # during glob expansion). Even if it were fixed, the result of this
4857 # check would be larger than it should be.
4858 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4862 # Under GNU Hurd, this test is not required because there is
4863 # no limit to the length of command line arguments.
4864 # Libtool will interpret -1 as no limit whatsoever
4865 lt_cv_sys_max_cmd_len=-1;
4868 cygwin* | mingw* | cegcc*)
4869 # On Win9x/ME, this test blows up -- it succeeds, but takes
4870 # about 5 minutes as the teststring grows exponentially.
4871 # Worse, since 9x/ME are not pre-emptively multitasking,
4872 # you end up with a "frozen" computer, even though with patience
4873 # the test eventually succeeds (with a max line length of 256k).
4874 # Instead, let's just punt: use the minimum linelength reported by
4875 # all of the supported platforms: 8192 (on NT/2K/XP).
4876 lt_cv_sys_max_cmd_len=8192;
4880 # On MiNT this can take a long time and run out of memory.
4881 lt_cv_sys_max_cmd_len=8192;
4885 # On AmigaOS with pdksh, this test takes hours, literally.
4886 # So we just punt and use a minimum line length of 8192.
4887 lt_cv_sys_max_cmd_len=8192;
4890 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4891 # This has been around since 386BSD, at least. Likely further.
4892 if test -x /sbin/sysctl; then
4893 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4894 elif test -x /usr/sbin/sysctl; then
4895 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4897 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4899 # And add a safety zone
4900 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4901 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4905 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4906 lt_cv_sys_max_cmd_len=196608
4910 # The test takes a long time on OS/2.
4911 lt_cv_sys_max_cmd_len=8192
4915 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4916 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4917 # nice to cause kernel panics so lets avoid the loop below.
4918 # First set a reasonable default.
4919 lt_cv_sys_max_cmd_len=16384
4921 if test -x /sbin/sysconfig; then
4922 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4923 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4928 lt_cv_sys_max_cmd_len=102400
4930 sysv5* | sco5v6* | sysv4.2uw2*)
4931 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4932 if test -n "$kargmax"; then
4933 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4935 lt_cv_sys_max_cmd_len=32768
4939 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4940 if test -n "$lt_cv_sys_max_cmd_len" && \
4941 test undefined != "$lt_cv_sys_max_cmd_len"; then
4942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4945 # Make teststring a little bigger before we do anything with it.
4946 # a 1K string should be a reasonable start.
4947 for i in 1 2 3 4 5 6 7 8 ; do
4948 teststring=$teststring$teststring
4950 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4951 # If test is not a shell built-in, we'll probably end up computing a
4952 # maximum length that is only half of the actual maximum length, but
4954 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4955 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4956 test $i != 17 # 1/2 MB should be enough
4959 teststring=$teststring$teststring
4961 # Only check the string length outside the loop.
4962 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4964 # Add a significant safety factor because C++ compilers can tack on
4965 # massive amounts of additional arguments before passing them to the
4966 # linker. It appears as though 1/2 is a usable value.
4967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4974 if test -n $lt_cv_sys_max_cmd_len ; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4976 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4979 $as_echo "none" >&6; }
4981 max_cmd_len=$lt_cv_sys_max_cmd_len
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4993 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4994 # Try some XSI features
4997 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4999 && eval 'test $(( 1 + 1 )) -eq 2 \
5000 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5003 $as_echo "$xsi_shell" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5007 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5009 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5011 && lt_shell_append=yes
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5013 $as_echo "$lt_shell_append" >&6; }
5016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5026 # test EBCDIC or ASCII
5027 case `echo X|tr X '\101'` in
5028 A) # ASCII based system
5029 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5030 lt_SP2NL='tr \040 \012'
5031 lt_NL2SP='tr \015\012 \040\040'
5033 *) # EBCDIC based system
5034 lt_SP2NL='tr \100 \n'
5035 lt_NL2SP='tr \r\n \100\100'
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5048 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5049 if ${lt_cv_to_host_file_cmd+:} false; then :
5050 $as_echo_n "(cached) " >&6
5055 *-*-mingw* ) # actually msys
5056 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5059 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5061 * ) # otherwise, assume *nix
5062 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5068 *-*-mingw* ) # actually msys
5069 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5072 lt_cv_to_host_file_cmd=func_convert_file_noop
5074 * ) # otherwise, assume *nix
5075 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5079 * ) # unhandled hosts (and "normal" native builds)
5080 lt_cv_to_host_file_cmd=func_convert_file_noop
5086 to_host_file_cmd=$lt_cv_to_host_file_cmd
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5088 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5095 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5096 if ${lt_cv_to_tool_file_cmd+:} false; then :
5097 $as_echo_n "(cached) " >&6
5099 #assume ordinary cross tools, or native build.
5100 lt_cv_to_tool_file_cmd=func_convert_file_noop
5104 *-*-mingw* ) # actually msys
5105 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5113 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5115 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5122 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5123 if ${lt_cv_ld_reload_flag+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 lt_cv_ld_reload_flag='-r'
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5129 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5130 reload_flag=$lt_cv_ld_reload_flag
5131 case $reload_flag in
5133 *) reload_flag=" $reload_flag" ;;
5135 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5137 cygwin* | mingw* | pw32* | cegcc*)
5138 if test "$GCC" != yes; then
5143 if test "$GCC" = yes; then
5144 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5146 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5159 if test -n "$ac_tool_prefix"; then
5160 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5161 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if ${ac_cv_prog_OBJDUMP+:} false; then :
5165 $as_echo_n "(cached) " >&6
5167 if test -n "$OBJDUMP"; then
5168 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 OBJDUMP=$ac_cv_prog_OBJDUMP
5188 if test -n "$OBJDUMP"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5190 $as_echo "$OBJDUMP" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5198 if test -z "$ac_cv_prog_OBJDUMP"; then
5199 ac_ct_OBJDUMP=$OBJDUMP
5200 # Extract the first word of "objdump", so it can be a program name with args.
5201 set dummy objdump; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$ac_ct_OBJDUMP"; then
5208 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5228 if test -n "$ac_ct_OBJDUMP"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5230 $as_echo "$ac_ct_OBJDUMP" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5236 if test "x$ac_ct_OBJDUMP" = x; then
5239 case $cross_compiling:$ac_tool_warned in
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5245 OBJDUMP=$ac_ct_OBJDUMP
5248 OBJDUMP="$ac_cv_prog_OBJDUMP"
5251 test -z "$OBJDUMP" && OBJDUMP=objdump
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5262 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5263 if ${lt_cv_deplibs_check_method+:} false; then :
5264 $as_echo_n "(cached) " >&6
5266 lt_cv_file_magic_cmd='$MAGIC_CMD'
5267 lt_cv_file_magic_test_file=
5268 lt_cv_deplibs_check_method='unknown'
5269 # Need to set the preceding variable on all platforms that support
5270 # interlibrary dependencies.
5271 # 'none' -- dependencies not supported.
5272 # `unknown' -- same as none, but documents that we really don't know.
5273 # 'pass_all' -- all dependencies passed with no checks.
5274 # 'test_compile' -- check by making test program.
5275 # 'file_magic [[regex]]' -- check by looking for files in library path
5276 # which responds to the $file_magic_cmd with a given extended regex.
5277 # If you have `file' or equivalent on your system and you're not sure
5278 # whether `pass_all' will *always* work, you probably want this one.
5282 lt_cv_deplibs_check_method=pass_all
5286 lt_cv_deplibs_check_method=pass_all
5290 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5291 lt_cv_file_magic_cmd='/usr/bin/file -L'
5292 lt_cv_file_magic_test_file=/shlib/libc.so
5296 # func_win32_libid is a shell function defined in ltmain.sh
5297 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5298 lt_cv_file_magic_cmd='func_win32_libid'
5302 # Base MSYS/MinGW do not provide the 'file' command needed by
5303 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5304 # unless we find 'file', for example because we are cross-compiling.
5305 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5306 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5307 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5308 lt_cv_file_magic_cmd='func_win32_libid'
5310 # Keep this pattern in sync with the one in func_win32_libid.
5311 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5312 lt_cv_file_magic_cmd='$OBJDUMP -f'
5317 # use the weaker test based on 'objdump'. See mingw*.
5318 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5319 lt_cv_file_magic_cmd='$OBJDUMP -f'
5322 darwin* | rhapsody*)
5323 lt_cv_deplibs_check_method=pass_all
5326 freebsd* | dragonfly*)
5327 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5330 # Not sure whether the presence of OpenBSD here was a mistake.
5331 # Let's accept both of them until this is cleared up.
5332 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5333 lt_cv_file_magic_cmd=/usr/bin/file
5334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5338 lt_cv_deplibs_check_method=pass_all
5343 lt_cv_deplibs_check_method=pass_all
5346 hpux10.20* | hpux11*)
5347 lt_cv_file_magic_cmd=/usr/bin/file
5350 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5351 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5354 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]'
5355 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5358 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5359 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5365 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5369 irix5* | irix6* | nonstopux*)
5371 *-32|*"-32 ") libmagic=32-bit;;
5372 *-n32|*"-n32 ") libmagic=N32;;
5373 *-64|*"-64 ") libmagic=64-bit;;
5374 *) libmagic=never-match;;
5376 lt_cv_deplibs_check_method=pass_all
5379 # This must be glibc/ELF.
5380 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5381 lt_cv_deplibs_check_method=pass_all
5384 netbsd* | netbsdelf*-gnu)
5385 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5386 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5388 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5393 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5394 lt_cv_file_magic_cmd=/usr/bin/file
5395 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5399 lt_cv_deplibs_check_method=pass_all
5403 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5410 osf3* | osf4* | osf5*)
5411 lt_cv_deplibs_check_method=pass_all
5415 lt_cv_deplibs_check_method=pass_all
5419 lt_cv_deplibs_check_method=pass_all
5422 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5423 lt_cv_deplibs_check_method=pass_all
5427 case $host_vendor in
5429 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]'
5430 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5433 lt_cv_deplibs_check_method=pass_all
5436 lt_cv_file_magic_cmd='/bin/file'
5437 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5440 lt_cv_file_magic_cmd='/bin/file'
5441 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5442 lt_cv_file_magic_test_file=/lib/libc.so
5445 lt_cv_deplibs_check_method=pass_all
5448 lt_cv_deplibs_check_method=pass_all
5454 lt_cv_deplibs_check_method=pass_all
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5460 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5464 if test "$build" = "$host"; then
5467 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5470 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5476 file_magic_cmd=$lt_cv_file_magic_cmd
5477 deplibs_check_method=$lt_cv_deplibs_check_method
5478 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_DLLTOOL+:} false; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -n "$DLLTOOL"; then
5510 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 DLLTOOL=$ac_cv_prog_DLLTOOL
5530 if test -n "$DLLTOOL"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5532 $as_echo "$DLLTOOL" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if test -z "$ac_cv_prog_DLLTOOL"; then
5541 ac_ct_DLLTOOL=$DLLTOOL
5542 # Extract the first word of "dlltool", so it can be a program name with args.
5543 set dummy dlltool; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$ac_ct_DLLTOOL"; then
5550 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5570 if test -n "$ac_ct_DLLTOOL"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5572 $as_echo "$ac_ct_DLLTOOL" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5578 if test "x$ac_ct_DLLTOOL" = x; then
5581 case $cross_compiling:$ac_tool_warned in
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned=yes ;;
5587 DLLTOOL=$ac_ct_DLLTOOL
5590 DLLTOOL="$ac_cv_prog_DLLTOOL"
5593 test -z "$DLLTOOL" && DLLTOOL=dlltool
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5605 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5606 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5607 $as_echo_n "(cached) " >&6
5609 lt_cv_sharedlib_from_linklib_cmd='unknown'
5612 cygwin* | mingw* | pw32* | cegcc*)
5613 # two different shell functions defined in ltmain.sh
5614 # decide which to use based on capabilities of $DLLTOOL
5615 case `$DLLTOOL --help 2>&1` in
5616 *--identify-strict*)
5617 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5620 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5625 # fallback: assume linklib IS sharedlib
5626 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5632 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5633 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5634 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5643 if test -n "$ac_tool_prefix"; then
5646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_AR+:} false; then :
5651 $as_echo_n "(cached) " >&6
5653 if test -n "$AR"; then
5654 ac_cv_prog_AR="$AR" # Let the user override the test.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 if test -n "$AR"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5676 $as_echo "$AR" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5683 test -n "$AR" && break
5686 if test -z "$AR"; then
5690 # Extract the first word of "$ac_prog", so it can be a program name with args.
5691 set dummy $ac_prog; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5695 $as_echo_n "(cached) " >&6
5697 if test -n "$ac_ct_AR"; then
5698 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_ac_ct_AR="$ac_prog"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5718 if test -n "$ac_ct_AR"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5720 $as_echo "$ac_ct_AR" >&6; }
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 test -n "$ac_ct_AR" && break
5730 if test "x$ac_ct_AR" = x; then
5733 case $cross_compiling:$ac_tool_warned in
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5737 ac_tool_warned=yes ;;
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5757 $as_echo_n "checking for archiver @FILE support... " >&6; }
5758 if ${lt_cv_ar_at_file+:} false; then :
5759 $as_echo_n "(cached) " >&6
5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h. */
5773 if ac_fn_c_try_compile "$LINENO"; then :
5774 echo conftest.$ac_objext > conftest.lst
5775 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5777 (eval $lt_ar_try) 2>&5
5779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780 test $ac_status = 0; }
5781 if test "$ac_status" -eq 0; then
5782 # Ensure the archiver fails upon bogus file names.
5783 rm -f conftest.$ac_objext libconftest.a
5784 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5785 (eval $lt_ar_try) 2>&5
5787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5788 test $ac_status = 0; }
5789 if test "$ac_status" -ne 0; then
5793 rm -f conftest.* libconftest.a
5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5800 $as_echo "$lt_cv_ar_at_file" >&6; }
5802 if test "x$lt_cv_ar_at_file" = xno; then
5805 archiver_list_spec=$lt_cv_ar_at_file
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}strip; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_STRIP+:} false; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$STRIP"; then
5823 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 STRIP=$ac_cv_prog_STRIP
5843 if test -n "$STRIP"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5845 $as_echo "$STRIP" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test -z "$ac_cv_prog_STRIP"; then
5855 # Extract the first word of "strip", so it can be a program name with args.
5856 set dummy strip; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_STRIP"; then
5863 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_ac_ct_STRIP="strip"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5883 if test -n "$ac_ct_STRIP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5885 $as_echo "$ac_ct_STRIP" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5891 if test "x$ac_ct_STRIP" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5903 STRIP="$ac_cv_prog_STRIP"
5906 test -z "$STRIP" && STRIP=:
5913 if test -n "$ac_tool_prefix"; then
5914 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5915 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_RANLIB+:} false; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$RANLIB"; then
5922 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 RANLIB=$ac_cv_prog_RANLIB
5942 if test -n "$RANLIB"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5944 $as_echo "$RANLIB" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5952 if test -z "$ac_cv_prog_RANLIB"; then
5953 ac_ct_RANLIB=$RANLIB
5954 # Extract the first word of "ranlib", so it can be a program name with args.
5955 set dummy ranlib; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5959 $as_echo_n "(cached) " >&6
5961 if test -n "$ac_ct_RANLIB"; then
5962 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_ac_ct_RANLIB="ranlib"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5982 if test -n "$ac_ct_RANLIB"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5984 $as_echo "$ac_ct_RANLIB" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5990 if test "x$ac_ct_RANLIB" = x; then
5993 case $cross_compiling:$ac_tool_warned in
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997 ac_tool_warned=yes ;;
5999 RANLIB=$ac_ct_RANLIB
6002 RANLIB="$ac_cv_prog_RANLIB"
6005 test -z "$RANLIB" && RANLIB=:
6012 # Determine commands to create old-style static archives.
6013 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6014 old_postinstall_cmds='chmod 644 $oldlib'
6015 old_postuninstall_cmds=
6017 if test -n "$RANLIB"; then
6020 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6023 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6026 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6031 lock_old_archive_extraction=yes ;;
6033 lock_old_archive_extraction=no ;;
6074 # If no C compiler was specified, use CC.
6077 # If no C compiler flags were specified, use CFLAGS.
6078 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6080 # Allow CC to be a program name with arguments.
6084 # Check for command to grab the raw symbol name followed by C symbol from nm.
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6086 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6087 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6088 $as_echo_n "(cached) " >&6
6091 # These are sane defaults that work on at least a few old systems.
6092 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6094 # Character class describing NM global symbol codes.
6095 symcode='[BCDEGRST]'
6097 # Regexp to match symbols that can be accessed directly from C.
6098 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6100 # Define system-specific variables.
6105 cygwin* | mingw* | pw32* | cegcc*)
6106 symcode='[ABCDGISTW]'
6109 if test "$host_cpu" = ia64; then
6110 symcode='[ABCDEGRST]'
6114 symcode='[BCDEGRST]'
6117 symcode='[BCDEGQRST]'
6128 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6136 # If we're using GNU nm, then use its standard symbol codes.
6137 case `$NM -V 2>&1` in
6138 *GNU* | *'with BFD'*)
6139 symcode='[ABCDGIRSTW]' ;;
6142 # Transform an extracted symbol line into a proper C declaration.
6143 # Some systems (esp. on ia64) link data and code symbols differently,
6144 # so use this general approach.
6145 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6147 # Transform an extracted symbol line into symbol name and symbol address
6148 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6149 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'"
6151 # Handle CRLF in mingw tool chain
6155 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6159 # Try without a prefix underscore, then with it.
6160 for ac_symprfx in "" "_"; do
6162 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6163 symxfrm="\\1 $ac_symprfx\\2 \\2"
6165 # Write the raw and C identifiers.
6166 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6167 # Fake it for dumpbin and say T for any non-static function
6168 # and D for any global variable.
6169 # Also find C++ and __fastcall symbols from MSVC++,
6170 # which start with @ or ?.
6171 lt_cv_sys_global_symbol_pipe="$AWK '"\
6172 " {last_section=section; section=\$ 3};"\
6173 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6174 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6175 " \$ 0!~/External *\|/{next};"\
6176 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6177 " {if(hide[section]) next};"\
6178 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6179 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6180 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6181 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6182 " ' prfx=^$ac_symprfx"
6184 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6186 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6188 # Check to see that the pipe works correctly.
6192 cat > conftest.$ac_ext <<_LT_EOF
6197 void nm_test_func(void);
6198 void nm_test_func(void){}
6202 int main(){nm_test_var='a';nm_test_func();return(0);}
6205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6206 (eval $ac_compile) 2>&5
6208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209 test $ac_status = 0; }; then
6210 # Now try to grab the symbols.
6212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6213 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6216 test $ac_status = 0; } && test -s "$nlist"; then
6217 # Try sorting and uniquifying the output.
6218 if sort "$nlist" | uniq > "$nlist"T; then
6219 mv -f "$nlist"T "$nlist"
6224 # Make sure that we snagged all the symbols we need.
6225 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6226 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6227 cat <<_LT_EOF > conftest.$ac_ext
6228 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6229 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6230 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6231 relocations are performed -- see ld's documentation on pseudo-relocs. */
6232 # define LT_DLSYM_CONST
6233 #elif defined(__osf__)
6234 /* This system does not cope well with relocations in const data. */
6235 # define LT_DLSYM_CONST
6237 # define LT_DLSYM_CONST const
6245 # Now generate the symbol file.
6246 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6248 cat <<_LT_EOF >> conftest.$ac_ext
6250 /* The mapping between symbol names and symbols. */
6251 LT_DLSYM_CONST struct {
6255 lt__PROGRAM__LTX_preloaded_symbols[] =
6257 { "@PROGRAM@", (void *) 0 },
6259 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6260 cat <<\_LT_EOF >> conftest.$ac_ext
6264 /* This works around a problem in FreeBSD linker */
6265 #ifdef FREEBSD_WORKAROUND
6266 static const void *lt_preloaded_setup() {
6267 return lt__PROGRAM__LTX_preloaded_symbols;
6275 # Now try linking the two files.
6276 mv conftest.$ac_objext conftstm.$ac_objext
6277 lt_globsym_save_LIBS=$LIBS
6278 lt_globsym_save_CFLAGS=$CFLAGS
6279 LIBS="conftstm.$ac_objext"
6280 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6282 (eval $ac_link) 2>&5
6284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6288 LIBS=$lt_globsym_save_LIBS
6289 CFLAGS=$lt_globsym_save_CFLAGS
6291 echo "cannot find nm_test_func in $nlist" >&5
6294 echo "cannot find nm_test_var in $nlist" >&5
6297 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6300 echo "$progname: failed program was:" >&5
6301 cat conftest.$ac_ext >&5
6303 rm -rf conftest* conftst*
6305 # Do not use the global_symbol_pipe unless it works.
6306 if test "$pipe_works" = yes; then
6309 lt_cv_sys_global_symbol_pipe=
6315 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6316 lt_cv_sys_global_symbol_to_cdecl=
6318 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6320 $as_echo "failed" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6323 $as_echo "ok" >&6; }
6326 # Response file support.
6327 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6328 nm_file_list_spec='@'
6329 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6330 nm_file_list_spec='@'
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6360 $as_echo_n "checking for sysroot... " >&6; }
6362 # Check whether --with-sysroot was given.
6363 if test "${with_sysroot+set}" = set; then :
6364 withval=$with_sysroot;
6371 case ${with_sysroot} in #(
6373 if test "$GCC" = yes; then
6374 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6378 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6384 $as_echo "${with_sysroot}" >&6; }
6385 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6390 $as_echo "${lt_sysroot:-no}" >&6; }
6396 # Check whether --enable-libtool-lock was given.
6397 if test "${enable_libtool_lock+set}" = set; then :
6398 enableval=$enable_libtool_lock;
6401 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6403 # Some flags need to be propagated to the compiler or linker for good
6407 # Find out which ABI we are using.
6408 echo 'int i;' > conftest.$ac_ext
6409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6410 (eval $ac_compile) 2>&5
6412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6413 test $ac_status = 0; }; then
6414 case `/usr/bin/file conftest.$ac_objext` in
6426 # Find out which ABI we are using.
6427 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6429 (eval $ac_compile) 2>&5
6431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6432 test $ac_status = 0; }; then
6433 if test "$lt_cv_prog_gnu_ld" = yes; then
6434 case `/usr/bin/file conftest.$ac_objext` in
6436 LD="${LD-ld} -melf32bsmip"
6439 LD="${LD-ld} -melf32bmipn32"
6442 LD="${LD-ld} -melf64bmip"
6446 case `/usr/bin/file conftest.$ac_objext` in
6462 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6463 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6464 # Find out which ABI we are using.
6465 echo 'int i;' > conftest.$ac_ext
6466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467 (eval $ac_compile) 2>&5
6469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470 test $ac_status = 0; }; then
6471 case `/usr/bin/file conftest.o` in
6474 x86_64-*kfreebsd*-gnu)
6475 LD="${LD-ld} -m elf_i386_fbsd"
6478 case `/usr/bin/file conftest.o` in
6480 LD="${LD-ld} -m elf32_x86_64"
6483 LD="${LD-ld} -m elf_i386"
6488 LD="${LD-ld} -m elf32lppclinux"
6491 LD="${LD-ld} -m elf32ppclinux"
6494 LD="${LD-ld} -m elf_s390"
6497 LD="${LD-ld} -m elf32_sparc"
6503 x86_64-*kfreebsd*-gnu)
6504 LD="${LD-ld} -m elf_x86_64_fbsd"
6507 LD="${LD-ld} -m elf_x86_64"
6510 LD="${LD-ld} -m elf64lppc"
6513 LD="${LD-ld} -m elf64ppc"
6515 s390*-*linux*|s390*-*tpf*)
6516 LD="${LD-ld} -m elf64_s390"
6519 LD="${LD-ld} -m elf64_sparc"
6529 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6530 SAVE_CFLAGS="$CFLAGS"
6531 CFLAGS="$CFLAGS -belf"
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6533 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6534 if ${lt_cv_cc_needs_belf+:} false; then :
6535 $as_echo_n "(cached) " >&6
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6554 if ac_fn_c_try_link "$LINENO"; then :
6555 lt_cv_cc_needs_belf=yes
6557 lt_cv_cc_needs_belf=no
6559 rm -f core conftest.err conftest.$ac_objext \
6560 conftest$ac_exeext conftest.$ac_ext
6562 ac_cpp='$CPP $CPPFLAGS'
6563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6569 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6570 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6571 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6572 CFLAGS="$SAVE_CFLAGS"
6576 # Find out which ABI we are using.
6577 echo 'int i;' > conftest.$ac_ext
6578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6579 (eval $ac_compile) 2>&5
6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582 test $ac_status = 0; }; then
6583 case `/usr/bin/file conftest.o` in
6585 case $lt_cv_prog_gnu_ld in
6589 LD="${LD-ld} -m elf_x86_64"
6592 LD="${LD-ld} -m elf64_sparc"
6595 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6596 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6601 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6613 need_locks="$enable_libtool_lock"
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}mt; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$MANIFEST_TOOL"; then
6624 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6644 if test -n "$MANIFEST_TOOL"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6646 $as_echo "$MANIFEST_TOOL" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6655 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6656 # Extract the first word of "mt", so it can be a program name with args.
6657 set dummy mt; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$ac_ct_MANIFEST_TOOL"; then
6664 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6684 if test -n "$ac_ct_MANIFEST_TOOL"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6686 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6701 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6704 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6707 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6709 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6710 if ${lt_cv_path_mainfest_tool+:} false; then :
6711 $as_echo_n "(cached) " >&6
6713 lt_cv_path_mainfest_tool=no
6714 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6715 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6716 cat conftest.err >&5
6717 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6718 lt_cv_path_mainfest_tool=yes
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6723 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6724 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6734 rhapsody* | darwin*)
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6741 $as_echo_n "(cached) " >&6
6743 if test -n "$DSYMUTIL"; then
6744 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6764 if test -n "$DSYMUTIL"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6766 $as_echo "$DSYMUTIL" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6774 if test -z "$ac_cv_prog_DSYMUTIL"; then
6775 ac_ct_DSYMUTIL=$DSYMUTIL
6776 # Extract the first word of "dsymutil", so it can be a program name with args.
6777 set dummy dsymutil; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6781 $as_echo_n "(cached) " >&6
6783 if test -n "$ac_ct_DSYMUTIL"; then
6784 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6804 if test -n "$ac_ct_DSYMUTIL"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6806 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6812 if test "x$ac_ct_DSYMUTIL" = x; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6821 DSYMUTIL=$ac_ct_DSYMUTIL
6824 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_NMEDIT+:} false; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$NMEDIT"; then
6836 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 NMEDIT=$ac_cv_prog_NMEDIT
6856 if test -n "$NMEDIT"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6858 $as_echo "$NMEDIT" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 if test -z "$ac_cv_prog_NMEDIT"; then
6867 ac_ct_NMEDIT=$NMEDIT
6868 # Extract the first word of "nmedit", so it can be a program name with args.
6869 set dummy nmedit; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$ac_ct_NMEDIT"; then
6876 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6896 if test -n "$ac_ct_NMEDIT"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6898 $as_echo "$ac_ct_NMEDIT" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6904 if test "x$ac_ct_NMEDIT" = x; then
6907 case $cross_compiling:$ac_tool_warned in
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6913 NMEDIT=$ac_ct_NMEDIT
6916 NMEDIT="$ac_cv_prog_NMEDIT"
6919 if test -n "$ac_tool_prefix"; then
6920 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_LIPO+:} false; then :
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$LIPO"; then
6928 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 LIPO=$ac_cv_prog_LIPO
6948 if test -n "$LIPO"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6950 $as_echo "$LIPO" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6958 if test -z "$ac_cv_prog_LIPO"; then
6960 # Extract the first word of "lipo", so it can be a program name with args.
6961 set dummy lipo; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$ac_ct_LIPO"; then
6968 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_prog_ac_ct_LIPO="lipo"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6988 if test -n "$ac_ct_LIPO"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6990 $as_echo "$ac_ct_LIPO" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6996 if test "x$ac_ct_LIPO" = x; then
6999 case $cross_compiling:$ac_tool_warned in
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7008 LIPO="$ac_cv_prog_LIPO"
7011 if test -n "$ac_tool_prefix"; then
7012 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}otool; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_OTOOL+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 if test -n "$OTOOL"; then
7020 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 OTOOL=$ac_cv_prog_OTOOL
7040 if test -n "$OTOOL"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7042 $as_echo "$OTOOL" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7050 if test -z "$ac_cv_prog_OTOOL"; then
7052 # Extract the first word of "otool", so it can be a program name with args.
7053 set dummy otool; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7057 $as_echo_n "(cached) " >&6
7059 if test -n "$ac_ct_OTOOL"; then
7060 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_prog_ac_ct_OTOOL="otool"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7080 if test -n "$ac_ct_OTOOL"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7082 $as_echo "$ac_ct_OTOOL" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7088 if test "x$ac_ct_OTOOL" = x; then
7091 case $cross_compiling:$ac_tool_warned in
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7095 ac_tool_warned=yes ;;
7100 OTOOL="$ac_cv_prog_OTOOL"
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_OTOOL64+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$OTOOL64"; then
7112 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 OTOOL64=$ac_cv_prog_OTOOL64
7132 if test -n "$OTOOL64"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7134 $as_echo "$OTOOL64" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_OTOOL64"; then
7143 ac_ct_OTOOL64=$OTOOL64
7144 # Extract the first word of "otool64", so it can be a program name with args.
7145 set dummy otool64; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$ac_ct_OTOOL64"; then
7152 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_OTOOL64="otool64"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7172 if test -n "$ac_ct_OTOOL64"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7174 $as_echo "$ac_ct_OTOOL64" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_OTOOL64" = x; then
7183 case $cross_compiling:$ac_tool_warned in
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7189 OTOOL64=$ac_ct_OTOOL64
7192 OTOOL64="$ac_cv_prog_OTOOL64"
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7222 $as_echo_n "checking for -single_module linker flag... " >&6; }
7223 if ${lt_cv_apple_cc_single_mod+:} false; then :
7224 $as_echo_n "(cached) " >&6
7226 lt_cv_apple_cc_single_mod=no
7227 if test -z "${LT_MULTI_MODULE}"; then
7228 # By default we will add the -single_module flag. You can override
7229 # by either setting the environment variable LT_MULTI_MODULE
7230 # non-empty at configure time, or by adding -multi_module to the
7232 rm -rf libconftest.dylib*
7233 echo "int foo(void){return 1;}" > conftest.c
7234 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7235 -dynamiclib -Wl,-single_module conftest.c" >&5
7236 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7237 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7239 # If there is a non-empty error log, and "single_module"
7240 # appears in it, assume the flag caused a linker warning
7241 if test -s conftest.err && $GREP single_module conftest.err; then
7242 cat conftest.err >&5
7243 # Otherwise, if the output was created with a 0 exit code from
7244 # the compiler, it worked.
7245 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7246 lt_cv_apple_cc_single_mod=yes
7248 cat conftest.err >&5
7250 rm -rf libconftest.dylib*
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7255 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7258 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7259 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7260 $as_echo_n "(cached) " >&6
7262 lt_cv_ld_exported_symbols_list=no
7263 save_LDFLAGS=$LDFLAGS
7264 echo "_main" > conftest.sym
7265 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h. */
7277 if ac_fn_c_try_link "$LINENO"; then :
7278 lt_cv_ld_exported_symbols_list=yes
7280 lt_cv_ld_exported_symbols_list=no
7282 rm -f core conftest.err conftest.$ac_objext \
7283 conftest$ac_exeext conftest.$ac_ext
7284 LDFLAGS="$save_LDFLAGS"
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7288 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7291 $as_echo_n "checking for -force_load linker flag... " >&6; }
7292 if ${lt_cv_ld_force_load+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 lt_cv_ld_force_load=no
7296 cat > conftest.c << _LT_EOF
7297 int forced_loaded() { return 2;}
7299 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7300 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7301 echo "$AR cru libconftest.a conftest.o" >&5
7302 $AR cru libconftest.a conftest.o 2>&5
7303 echo "$RANLIB libconftest.a" >&5
7304 $RANLIB libconftest.a 2>&5
7305 cat > conftest.c << _LT_EOF
7306 int main() { return 0;}
7308 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7309 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7311 if test -s conftest.err && $GREP force_load conftest.err; then
7312 cat conftest.err >&5
7313 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7314 lt_cv_ld_force_load=yes
7316 cat conftest.err >&5
7318 rm -f conftest.err libconftest.a conftest conftest.c
7319 rm -rf conftest.dSYM
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7323 $as_echo "$lt_cv_ld_force_load" >&6; }
7325 rhapsody* | darwin1.[012])
7326 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7328 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7329 darwin*) # darwin 5.x on
7330 # if running on 10.5 or later, the deployment target defaults
7331 # to the OS version, if on x86, and 10.4, the deployment
7332 # target defaults to 10.4. Don't you love it?
7333 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7334 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7335 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7337 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7339 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7343 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7344 _lt_dar_single_mod='$single_module'
7346 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7347 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7349 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7351 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7352 _lt_dsymutil='~$DSYMUTIL $lib || :'
7360 ac_cpp='$CPP $CPPFLAGS'
7361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7365 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7366 # On Suns, sometimes $CPP names a directory.
7367 if test -n "$CPP" && test -d "$CPP"; then
7370 if test -z "$CPP"; then
7371 if ${ac_cv_prog_CPP+:} false; then :
7372 $as_echo_n "(cached) " >&6
7374 # Double quotes because CPP needs to be expanded
7375 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7378 for ac_c_preproc_warn_flag in '' yes
7380 # Use a header file that comes with gcc, so configuring glibc
7381 # with a fresh cross-compiler works.
7382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7383 # <limits.h> exists even on freestanding compilers.
7384 # On the NeXT, cc -E runs the code through the compiler's parser,
7385 # not just through cpp. "Syntax error" is here to catch this case.
7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h. */
7389 # include <limits.h>
7391 # include <assert.h>
7395 if ac_fn_c_try_cpp "$LINENO"; then :
7398 # Broken: fails on valid input.
7401 rm -f conftest.err conftest.i conftest.$ac_ext
7403 # OK, works on sane cases. Now check whether nonexistent headers
7404 # can be detected and how.
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7407 #include <ac_nonexistent.h>
7409 if ac_fn_c_try_cpp "$LINENO"; then :
7410 # Broken: success on invalid input.
7413 # Passes both tests.
7417 rm -f conftest.err conftest.i conftest.$ac_ext
7420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7421 rm -f conftest.i conftest.err conftest.$ac_ext
7422 if $ac_preproc_ok; then :
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7435 $as_echo "$CPP" >&6; }
7437 for ac_c_preproc_warn_flag in '' yes
7439 # Use a header file that comes with gcc, so configuring glibc
7440 # with a fresh cross-compiler works.
7441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7442 # <limits.h> exists even on freestanding compilers.
7443 # On the NeXT, cc -E runs the code through the compiler's parser,
7444 # not just through cpp. "Syntax error" is here to catch this case.
7445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446 /* end confdefs.h. */
7448 # include <limits.h>
7450 # include <assert.h>
7454 if ac_fn_c_try_cpp "$LINENO"; then :
7457 # Broken: fails on valid input.
7460 rm -f conftest.err conftest.i conftest.$ac_ext
7462 # OK, works on sane cases. Now check whether nonexistent headers
7463 # can be detected and how.
7464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7466 #include <ac_nonexistent.h>
7468 if ac_fn_c_try_cpp "$LINENO"; then :
7469 # Broken: success on invalid input.
7472 # Passes both tests.
7476 rm -f conftest.err conftest.i conftest.$ac_ext
7479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7480 rm -f conftest.i conftest.err conftest.$ac_ext
7481 if $ac_preproc_ok; then :
7484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7486 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7487 See \`config.log' for more details" "$LINENO" 5; }
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7498 $as_echo_n "checking for ANSI C header files... " >&6; }
7499 if ${ac_cv_header_stdc+:} false; then :
7500 $as_echo_n "(cached) " >&6
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7517 if ac_fn_c_try_compile "$LINENO"; then :
7518 ac_cv_header_stdc=yes
7520 ac_cv_header_stdc=no
7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7524 if test $ac_cv_header_stdc = yes; then
7525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7527 /* end confdefs.h. */
7531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7532 $EGREP "memchr" >/dev/null 2>&1; then :
7535 ac_cv_header_stdc=no
7541 if test $ac_cv_header_stdc = yes; then
7542 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7549 $EGREP "free" >/dev/null 2>&1; then :
7552 ac_cv_header_stdc=no
7558 if test $ac_cv_header_stdc = yes; then
7559 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7560 if test "$cross_compiling" = yes; then :
7563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7567 #if ((' ' & 0x0FF) == 0x020)
7568 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7569 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7571 # define ISLOWER(c) \
7572 (('a' <= (c) && (c) <= 'i') \
7573 || ('j' <= (c) && (c) <= 'r') \
7574 || ('s' <= (c) && (c) <= 'z'))
7575 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7583 for (i = 0; i < 256; i++)
7584 if (XOR (islower (i), ISLOWER (i))
7585 || toupper (i) != TOUPPER (i))
7590 if ac_fn_c_try_run "$LINENO"; then :
7593 ac_cv_header_stdc=no
7595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7596 conftest.$ac_objext conftest.beam conftest.$ac_ext
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7602 $as_echo "$ac_cv_header_stdc" >&6; }
7603 if test $ac_cv_header_stdc = yes; then
7605 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7610 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7611 inttypes.h stdint.h unistd.h
7613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7617 cat >>confdefs.h <<_ACEOF
7618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 for ac_header in dlfcn.h
7628 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7630 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7631 cat >>confdefs.h <<_ACEOF
7632 #define HAVE_DLFCN_H 1
7644 # Check whether --enable-static was given.
7645 if test "${enable_static+set}" = set; then :
7646 enableval=$enable_static; p=${PACKAGE-default}
7648 yes) enable_static=yes ;;
7649 no) enable_static=no ;;
7652 # Look at the argument we got. We use all the common list separators.
7653 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7654 for pkg in $enableval; do
7656 if test "X$pkg" = "X$p"; then
7682 # Check whether --enable-shared was given.
7683 if test "${enable_shared+set}" = set; then :
7684 enableval=$enable_shared; p=${PACKAGE-default}
7686 yes) enable_shared=yes ;;
7687 no) enable_shared=no ;;
7690 # Look at the argument we got. We use all the common list separators.
7691 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7692 for pkg in $enableval; do
7694 if test "X$pkg" = "X$p"; then
7715 # Check whether --with-pic was given.
7716 if test "${with_pic+set}" = set; then :
7717 withval=$with_pic; lt_p=${PACKAGE-default}
7719 yes|no) pic_mode=$withval ;;
7722 # Look at the argument we got. We use all the common list separators.
7723 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7724 for lt_pkg in $withval; do
7726 if test "X$lt_pkg" = "X$lt_p"; then
7738 test -z "$pic_mode" && pic_mode=default
7746 # Check whether --enable-fast-install was given.
7747 if test "${enable_fast_install+set}" = set; then :
7748 enableval=$enable_fast_install; p=${PACKAGE-default}
7750 yes) enable_fast_install=yes ;;
7751 no) enable_fast_install=no ;;
7753 enable_fast_install=no
7754 # Look at the argument we got. We use all the common list separators.
7755 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7756 for pkg in $enableval; do
7758 if test "X$pkg" = "X$p"; then
7759 enable_fast_install=yes
7766 enable_fast_install=yes
7779 # This can be used to rebuild libtool when needed
7780 LIBTOOL_DEPS="$ltmain"
7782 # Always use our own libtool.
7783 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7814 test -z "$LN_S" && LN_S="ln -s"
7829 if test -n "${ZSH_VERSION+set}" ; then
7830 setopt NO_GLOB_SUBST
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7834 $as_echo_n "checking for objdir... " >&6; }
7835 if ${lt_cv_objdir+:} false; then :
7836 $as_echo_n "(cached) " >&6
7838 rm -f .libs 2>/dev/null
7839 mkdir .libs 2>/dev/null
7840 if test -d .libs; then
7843 # MS-DOS does not allow filenames that begin with a dot.
7846 rmdir .libs 2>/dev/null
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7849 $as_echo "$lt_cv_objdir" >&6; }
7850 objdir=$lt_cv_objdir
7856 cat >>confdefs.h <<_ACEOF
7857 #define LT_OBJDIR "$lt_cv_objdir/"
7865 # AIX sometimes has problems with the GCC collect2 program. For some
7866 # reason, if we set the COLLECT_NAMES environment variable, the problems
7867 # vanish in a puff of smoke.
7868 if test "X${COLLECT_NAMES+set}" != Xset; then
7870 export COLLECT_NAMES
7877 can_build_shared=yes
7879 # All known linkers require a `.a' archive for static linking (except MSVC,
7880 # which needs '.lib').
7883 with_gnu_ld="$lt_cv_prog_gnu_ld"
7886 old_CFLAGS="$CFLAGS"
7888 # Set sane defaults for various variables
7889 test -z "$CC" && CC=cc
7890 test -z "$LTCC" && LTCC=$CC
7891 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7892 test -z "$LD" && LD=ld
7893 test -z "$ac_objext" && ac_objext=o
7895 for cc_temp in $compiler""; do
7897 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7898 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7903 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7906 # Only perform the check for file, if the check method requires it
7907 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7908 case $deplibs_check_method in
7910 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7912 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7913 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7914 $as_echo_n "(cached) " >&6
7918 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7921 lt_save_MAGIC_CMD="$MAGIC_CMD"
7922 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7923 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7924 for ac_dir in $ac_dummy; do
7926 test -z "$ac_dir" && ac_dir=.
7927 if test -f $ac_dir/${ac_tool_prefix}file; then
7928 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7929 if test -n "$file_magic_test_file"; then
7930 case $deplibs_check_method in
7932 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7933 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7934 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7935 $EGREP "$file_magic_regex" > /dev/null; then
7940 *** Warning: the command libtool uses to detect shared libraries,
7941 *** $file_magic_cmd, produces output that libtool cannot recognize.
7942 *** The result is that libtool may fail to recognize shared libraries
7943 *** as such. This will affect the creation of libtool libraries that
7944 *** depend on shared libraries, but programs linked with such libtool
7945 *** libraries will work regardless of this problem. Nevertheless, you
7946 *** may want to report the problem to your system manager and/or to
7947 *** bug-libtool@gnu.org
7957 MAGIC_CMD="$lt_save_MAGIC_CMD"
7962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7963 if test -n "$MAGIC_CMD"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7965 $as_echo "$MAGIC_CMD" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7975 if test -z "$lt_cv_path_MAGIC_CMD"; then
7976 if test -n "$ac_tool_prefix"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7978 $as_echo_n "checking for file... " >&6; }
7979 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7980 $as_echo_n "(cached) " >&6
7984 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7987 lt_save_MAGIC_CMD="$MAGIC_CMD"
7988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7989 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7990 for ac_dir in $ac_dummy; do
7992 test -z "$ac_dir" && ac_dir=.
7993 if test -f $ac_dir/file; then
7994 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7995 if test -n "$file_magic_test_file"; then
7996 case $deplibs_check_method in
7998 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8001 $EGREP "$file_magic_regex" > /dev/null; then
8006 *** Warning: the command libtool uses to detect shared libraries,
8007 *** $file_magic_cmd, produces output that libtool cannot recognize.
8008 *** The result is that libtool may fail to recognize shared libraries
8009 *** as such. This will affect the creation of libtool libraries that
8010 *** depend on shared libraries, but programs linked with such libtool
8011 *** libraries will work regardless of this problem. Nevertheless, you
8012 *** may want to report the problem to your system manager and/or to
8013 *** bug-libtool@gnu.org
8023 MAGIC_CMD="$lt_save_MAGIC_CMD"
8028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8029 if test -n "$MAGIC_CMD"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8031 $as_echo "$MAGIC_CMD" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8047 # Use C for the default configuration in the libtool script
8051 ac_cpp='$CPP $CPPFLAGS'
8052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8057 # Source file extension for C test sources.
8060 # Object file extension for compiled C test sources.
8064 # Code to be used in simple compile tests
8065 lt_simple_compile_test_code="int some_variable = 0;"
8067 # Code to be used in simple link tests
8068 lt_simple_link_test_code='int main(){return(0);}'
8076 # If no C compiler was specified, use CC.
8079 # If no C compiler flags were specified, use CFLAGS.
8080 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8082 # Allow CC to be a program name with arguments.
8085 # Save the default compiler, since it gets overwritten when the other
8086 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8087 compiler_DEFAULT=$CC
8089 # save warnings/boilerplate of simple test code
8090 ac_outfile=conftest.$ac_objext
8091 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8092 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8093 _lt_compiler_boilerplate=`cat conftest.err`
8096 ac_outfile=conftest.$ac_objext
8097 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8098 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8099 _lt_linker_boilerplate=`cat conftest.err`
8104 ## There is no encapsulation within the following macros, do not change
8105 ## the running order or otherwise move them around unless you know exactly
8106 ## what you are doing...
8107 if test -n "$compiler"; then
8109 lt_prog_compiler_no_builtin_flag=
8111 if test "$GCC" = yes; then
8112 case $cc_basename in
8114 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8116 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8120 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8121 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8122 $as_echo_n "(cached) " >&6
8124 lt_cv_prog_compiler_rtti_exceptions=no
8125 ac_outfile=conftest.$ac_objext
8126 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8127 lt_compiler_flag="-fno-rtti -fno-exceptions"
8128 # Insert the option either (1) after the last *FLAGS variable, or
8129 # (2) before a word containing "conftest.", or (3) at the end.
8130 # Note that $ac_compile itself does not contain backslashes and begins
8131 # with a dollar sign (not a hyphen), so the echo should work correctly.
8132 # The option is referenced via a variable to avoid confusing sed.
8133 lt_compile=`echo "$ac_compile" | $SED \
8134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8136 -e 's:$: $lt_compiler_flag:'`
8137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8138 (eval "$lt_compile" 2>conftest.err)
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 if (exit $ac_status) && test -s "$ac_outfile"; then
8143 # The compiler can only warn and ignore the option if not recognized
8144 # So say no if there are warnings other than the usual output.
8145 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8147 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8148 lt_cv_prog_compiler_rtti_exceptions=yes
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8155 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8157 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8158 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8170 lt_prog_compiler_wl=
8171 lt_prog_compiler_pic=
8172 lt_prog_compiler_static=
8175 if test "$GCC" = yes; then
8176 lt_prog_compiler_wl='-Wl,'
8177 lt_prog_compiler_static='-static'
8181 # All AIX code is PIC.
8182 if test "$host_cpu" = ia64; then
8183 # AIX 5 now supports IA64 processor
8184 lt_prog_compiler_static='-Bstatic'
8191 # see comment about AmigaOS4 .so support
8192 lt_prog_compiler_pic='-fPIC'
8195 # FIXME: we need at least 68020 code to build shared libraries, but
8196 # adding the `-m68020' flag to GCC prevents building anything better,
8198 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8203 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8204 # PIC is the default for these OSes.
8207 mingw* | cygwin* | pw32* | os2* | cegcc*)
8208 # This hack is so that the source file can tell whether it is being
8209 # built for inclusion in a dll (and should export symbols for example).
8210 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8211 # (--disable-auto-import) libraries
8212 lt_prog_compiler_pic='-DDLL_EXPORT'
8215 darwin* | rhapsody*)
8216 # PIC is the default on this platform
8217 # Common symbols not allowed in MH_DYLIB files
8218 lt_prog_compiler_pic='-fno-common'
8222 # PIC is the default for Haiku.
8223 # The "-static" flag exists, but is broken.
8224 lt_prog_compiler_static=
8228 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8229 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8230 # sets the default TLS model and affects inlining.
8236 lt_prog_compiler_pic='-fPIC'
8242 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8243 # Instead, we relocate shared libraries at runtime.
8247 # Just because we use GCC doesn't mean we suddenly get shared libraries
8248 # on systems that don't support them.
8249 lt_prog_compiler_can_build_shared=no
8254 # QNX uses GNU C++, but need to define -shared option too, otherwise
8256 lt_prog_compiler_pic='-fPIC -shared'
8260 if test -d /usr/nec; then
8261 lt_prog_compiler_pic=-Kconform_pic
8266 lt_prog_compiler_pic='-fPIC'
8270 case $cc_basename in
8271 nvcc*) # Cuda Compiler Driver 2.2
8272 lt_prog_compiler_wl='-Xlinker '
8273 if test -n "$lt_prog_compiler_pic"; then
8274 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8279 # PORTME Check for flag to pass linker flags through the system compiler.
8282 lt_prog_compiler_wl='-Wl,'
8283 if test "$host_cpu" = ia64; then
8284 # AIX 5 now supports IA64 processor
8285 lt_prog_compiler_static='-Bstatic'
8287 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8291 mingw* | cygwin* | pw32* | os2* | cegcc*)
8292 # This hack is so that the source file can tell whether it is being
8293 # built for inclusion in a dll (and should export symbols for example).
8294 lt_prog_compiler_pic='-DDLL_EXPORT'
8297 hpux9* | hpux10* | hpux11*)
8298 lt_prog_compiler_wl='-Wl,'
8299 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8306 lt_prog_compiler_pic='+Z'
8309 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8310 lt_prog_compiler_static='${wl}-a ${wl}archive'
8313 irix5* | irix6* | nonstopux*)
8314 lt_prog_compiler_wl='-Wl,'
8315 # PIC (with -KPIC) is the default.
8316 lt_prog_compiler_static='-non_shared'
8319 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8320 case $cc_basename in
8321 # old Intel for x86_64 which still supported -KPIC.
8323 lt_prog_compiler_wl='-Wl,'
8324 lt_prog_compiler_pic='-KPIC'
8325 lt_prog_compiler_static='-static'
8327 # icc used to be incompatible with GCC.
8328 # ICC 10 doesn't accept -KPIC any more.
8330 lt_prog_compiler_wl='-Wl,'
8331 lt_prog_compiler_pic='-fPIC'
8332 lt_prog_compiler_static='-static'
8334 # Lahey Fortran 8.1.
8336 lt_prog_compiler_wl='-Wl,'
8337 lt_prog_compiler_pic='--shared'
8338 lt_prog_compiler_static='--static'
8341 # NAG Fortran compiler
8342 lt_prog_compiler_wl='-Wl,-Wl,,'
8343 lt_prog_compiler_pic='-PIC'
8344 lt_prog_compiler_static='-Bstatic'
8346 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8347 # Portland Group compilers (*not* the Pentium gcc compiler,
8348 # which looks to be a dead project)
8349 lt_prog_compiler_wl='-Wl,'
8350 lt_prog_compiler_pic='-fpic'
8351 lt_prog_compiler_static='-Bstatic'
8354 lt_prog_compiler_wl='-Wl,'
8355 # All Alpha code is PIC.
8356 lt_prog_compiler_static='-non_shared'
8358 xl* | bgxl* | bgf* | mpixl*)
8359 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8360 lt_prog_compiler_wl='-Wl,'
8361 lt_prog_compiler_pic='-qpic'
8362 lt_prog_compiler_static='-qstaticlink'
8365 case `$CC -V 2>&1 | sed 5q` in
8366 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8367 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8368 lt_prog_compiler_pic='-KPIC'
8369 lt_prog_compiler_static='-Bstatic'
8370 lt_prog_compiler_wl=''
8372 *Sun\ F* | *Sun*Fortran*)
8373 lt_prog_compiler_pic='-KPIC'
8374 lt_prog_compiler_static='-Bstatic'
8375 lt_prog_compiler_wl='-Qoption ld '
8379 lt_prog_compiler_pic='-KPIC'
8380 lt_prog_compiler_static='-Bstatic'
8381 lt_prog_compiler_wl='-Wl,'
8383 *Intel*\ [CF]*Compiler*)
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_pic='-fPIC'
8386 lt_prog_compiler_static='-static'
8389 lt_prog_compiler_wl='-Wl,'
8390 lt_prog_compiler_pic='-fpic'
8391 lt_prog_compiler_static='-Bstatic'
8399 lt_prog_compiler_pic='-KPIC'
8400 lt_prog_compiler_static='-Bstatic'
8404 # QNX uses GNU C++, but need to define -shared option too, otherwise
8406 lt_prog_compiler_pic='-fPIC -shared'
8409 osf3* | osf4* | osf5*)
8410 lt_prog_compiler_wl='-Wl,'
8411 # All OSF/1 code is PIC.
8412 lt_prog_compiler_static='-non_shared'
8416 lt_prog_compiler_static='-non_shared'
8420 lt_prog_compiler_pic='-KPIC'
8421 lt_prog_compiler_static='-Bstatic'
8422 case $cc_basename in
8423 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8424 lt_prog_compiler_wl='-Qoption ld ';;
8426 lt_prog_compiler_wl='-Wl,';;
8431 lt_prog_compiler_wl='-Qoption ld '
8432 lt_prog_compiler_pic='-PIC'
8433 lt_prog_compiler_static='-Bstatic'
8436 sysv4 | sysv4.2uw2* | sysv4.3*)
8437 lt_prog_compiler_wl='-Wl,'
8438 lt_prog_compiler_pic='-KPIC'
8439 lt_prog_compiler_static='-Bstatic'
8443 if test -d /usr/nec ;then
8444 lt_prog_compiler_pic='-Kconform_pic'
8445 lt_prog_compiler_static='-Bstatic'
8449 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8450 lt_prog_compiler_wl='-Wl,'
8451 lt_prog_compiler_pic='-KPIC'
8452 lt_prog_compiler_static='-Bstatic'
8456 lt_prog_compiler_wl='-Wl,'
8457 lt_prog_compiler_can_build_shared=no
8461 lt_prog_compiler_pic='-pic'
8462 lt_prog_compiler_static='-Bstatic'
8466 lt_prog_compiler_can_build_shared=no
8472 # For platforms which do not support PIC, -DPIC is meaningless:
8474 lt_prog_compiler_pic=
8477 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8482 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8483 if ${lt_cv_prog_compiler_pic+:} false; then :
8484 $as_echo_n "(cached) " >&6
8486 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8489 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8490 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8493 # Check to make sure the PIC flag actually works.
8495 if test -n "$lt_prog_compiler_pic"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8497 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8498 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8499 $as_echo_n "(cached) " >&6
8501 lt_cv_prog_compiler_pic_works=no
8502 ac_outfile=conftest.$ac_objext
8503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8504 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8505 # Insert the option either (1) after the last *FLAGS variable, or
8506 # (2) before a word containing "conftest.", or (3) at the end.
8507 # Note that $ac_compile itself does not contain backslashes and begins
8508 # with a dollar sign (not a hyphen), so the echo should work correctly.
8509 # The option is referenced via a variable to avoid confusing sed.
8510 lt_compile=`echo "$ac_compile" | $SED \
8511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8513 -e 's:$: $lt_compiler_flag:'`
8514 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8515 (eval "$lt_compile" 2>conftest.err)
8517 cat conftest.err >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 if (exit $ac_status) && test -s "$ac_outfile"; then
8520 # The compiler can only warn and ignore the option if not recognized
8521 # So say no if there are warnings other than the usual output.
8522 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8524 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8525 lt_cv_prog_compiler_pic_works=yes
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8532 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8534 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8535 case $lt_prog_compiler_pic in
8537 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8540 lt_prog_compiler_pic=
8541 lt_prog_compiler_can_build_shared=no
8557 # Check to make sure the static flag actually works.
8559 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8561 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8562 if ${lt_cv_prog_compiler_static_works+:} false; then :
8563 $as_echo_n "(cached) " >&6
8565 lt_cv_prog_compiler_static_works=no
8566 save_LDFLAGS="$LDFLAGS"
8567 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8568 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8569 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8570 # The linker can only warn and ignore the option if not recognized
8571 # So say no if there are warnings
8572 if test -s conftest.err; then
8573 # Append any errors to the config.log.
8574 cat conftest.err 1>&5
8575 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8576 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8577 if diff conftest.exp conftest.er2 >/dev/null; then
8578 lt_cv_prog_compiler_static_works=yes
8581 lt_cv_prog_compiler_static_works=yes
8585 LDFLAGS="$save_LDFLAGS"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8589 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8591 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8594 lt_prog_compiler_static=
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8604 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8605 if ${lt_cv_prog_compiler_c_o+:} false; then :
8606 $as_echo_n "(cached) " >&6
8608 lt_cv_prog_compiler_c_o=no
8609 $RM -r conftest 2>/dev/null
8613 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8615 lt_compiler_flag="-o out/conftest2.$ac_objext"
8616 # Insert the option either (1) after the last *FLAGS variable, or
8617 # (2) before a word containing "conftest.", or (3) at the end.
8618 # Note that $ac_compile itself does not contain backslashes and begins
8619 # with a dollar sign (not a hyphen), so the echo should work correctly.
8620 lt_compile=`echo "$ac_compile" | $SED \
8621 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8622 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8623 -e 's:$: $lt_compiler_flag:'`
8624 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8625 (eval "$lt_compile" 2>out/conftest.err)
8627 cat out/conftest.err >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8631 # The compiler can only warn and ignore the option if not recognized
8632 # So say no if there are warnings
8633 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8634 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8635 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8636 lt_cv_prog_compiler_c_o=yes
8641 # SGI C++ compiler will create directory out/ii_files/ for
8642 # template instantiation
8643 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8644 $RM out/* && rmdir out
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8651 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8659 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8660 if ${lt_cv_prog_compiler_c_o+:} false; then :
8661 $as_echo_n "(cached) " >&6
8663 lt_cv_prog_compiler_c_o=no
8664 $RM -r conftest 2>/dev/null
8668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8670 lt_compiler_flag="-o out/conftest2.$ac_objext"
8671 # Insert the option either (1) after the last *FLAGS variable, or
8672 # (2) before a word containing "conftest.", or (3) at the end.
8673 # Note that $ac_compile itself does not contain backslashes and begins
8674 # with a dollar sign (not a hyphen), so the echo should work correctly.
8675 lt_compile=`echo "$ac_compile" | $SED \
8676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678 -e 's:$: $lt_compiler_flag:'`
8679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8680 (eval "$lt_compile" 2>out/conftest.err)
8682 cat out/conftest.err >&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8686 # The compiler can only warn and ignore the option if not recognized
8687 # So say no if there are warnings
8688 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8689 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8690 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8691 lt_cv_prog_compiler_c_o=yes
8696 # SGI C++ compiler will create directory out/ii_files/ for
8697 # template instantiation
8698 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8699 $RM out/* && rmdir out
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8706 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8711 hard_links="nottested"
8712 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8713 # do not overwrite the value of need_locks provided by the user
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8715 $as_echo_n "checking if we can lock with hard links... " >&6; }
8718 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8720 ln conftest.a conftest.b 2>&5 || hard_links=no
8721 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8723 $as_echo "$hard_links" >&6; }
8724 if test "$hard_links" = no; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8726 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8742 allow_undefined_flag=
8743 always_export_symbols=no
8745 archive_expsym_cmds=
8746 compiler_needs_object=no
8747 enable_shared_with_static_runtimes=no
8748 export_dynamic_flag_spec=
8749 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8750 hardcode_automatic=no
8752 hardcode_direct_absolute=no
8753 hardcode_libdir_flag_spec=
8754 hardcode_libdir_separator=
8756 hardcode_shlibpath_var=unsupported
8758 link_all_deplibs=unknown
8761 old_archive_from_new_cmds=
8762 old_archive_from_expsyms_cmds=
8763 thread_safe_flag_spec=
8764 whole_archive_flag_spec=
8765 # include_expsyms should be a list of space-separated symbols to be *always*
8766 # included in the symbol list
8768 # exclude_expsyms can be an extended regexp of symbols to exclude
8769 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8770 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8771 # as well as any symbol that contains `d'.
8772 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8773 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8774 # platforms (ab)use it in PIC code, but their linkers get confused if
8775 # the symbol is explicitly referenced. Since portable code cannot
8776 # rely on this symbol name, it's probably fine to never include it in
8777 # preloaded symbol tables.
8778 # Exclude shared library initialization/finalization symbols.
8779 extract_expsyms_cmds=
8782 cygwin* | mingw* | pw32* | cegcc*)
8783 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8784 # When not using gcc, we currently assume that we are using
8785 # Microsoft Visual C++.
8786 if test "$GCC" != yes; then
8791 # we just hope/assume this is gcc and not c89 (= MSVC++)
8797 linux* | k*bsd*-gnu | gnu*)
8804 # On some targets, GNU ld is compatible enough with the native linker
8805 # that we're better off using the native interface for both.
8806 lt_use_gnu_ld_interface=no
8807 if test "$with_gnu_ld" = yes; then
8810 # The AIX port of GNU ld has always aspired to compatibility
8811 # with the native linker. However, as the warning in the GNU ld
8812 # block says, versions before 2.19.5* couldn't really create working
8813 # shared libraries, regardless of the interface used.
8814 case `$LD -v 2>&1` in
8815 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8816 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8817 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8819 lt_use_gnu_ld_interface=yes
8824 lt_use_gnu_ld_interface=yes
8829 if test "$lt_use_gnu_ld_interface" = yes; then
8830 # If archive_cmds runs LD, not CC, wlarc should be empty
8833 # Set some defaults for GNU ld with shared library support. These
8834 # are reset later if shared libraries are not supported. Putting them
8835 # here allows them to be overridden if necessary.
8836 runpath_var=LD_RUN_PATH
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 export_dynamic_flag_spec='${wl}--export-dynamic'
8839 # ancient GNU ld didn't support --whole-archive et. al.
8840 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8841 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8843 whole_archive_flag_spec=
8845 supports_anon_versioning=no
8846 case `$LD -v 2>&1` in
8847 *GNU\ gold*) supports_anon_versioning=yes ;;
8848 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8849 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8850 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8851 *\ 2.11.*) ;; # other 2.11 versions
8852 *) supports_anon_versioning=yes ;;
8855 # See if GNU ld supports shared libraries.
8858 # On AIX/PPC, the GNU linker is very broken
8859 if test "$host_cpu" != ia64; then
8863 *** Warning: the GNU linker, at least up to release 2.19, is reported
8864 *** to be unable to reliably create shared libraries on AIX.
8865 *** Therefore, libtool is disabling shared libraries support. If you
8866 *** really care for shared libraries, you may want to install binutils
8867 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8868 *** You will then need to restart the configuration process.
8877 # see comment about AmigaOS4 .so support
8878 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879 archive_expsym_cmds=''
8882 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)'
8883 hardcode_libdir_flag_spec='-L$libdir'
8884 hardcode_minus_L=yes
8890 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8891 allow_undefined_flag=unsupported
8892 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8893 # support --undefined. This deserves some investigation. FIXME
8894 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8900 cygwin* | mingw* | pw32* | cegcc*)
8901 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8902 # as there is no search path for DLLs.
8903 hardcode_libdir_flag_spec='-L$libdir'
8904 export_dynamic_flag_spec='${wl}--export-all-symbols'
8905 allow_undefined_flag=unsupported
8906 always_export_symbols=no
8907 enable_shared_with_static_runtimes=yes
8908 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'
8909 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8911 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8912 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8913 # If the export-symbols file already is a .def file (1st line
8914 # is EXPORTS), use it as is; otherwise, prepend...
8915 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8916 cp $export_symbols $output_objdir/$soname.def;
8918 echo EXPORTS > $output_objdir/$soname.def;
8919 cat $export_symbols >> $output_objdir/$soname.def;
8921 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929 link_all_deplibs=yes
8934 hardcode_shlibpath_var=no
8935 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8936 export_dynamic_flag_spec='${wl}-E'
8937 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8938 # Instead, shared libraries are loaded at an image base (0x10000000 by
8939 # default) and relocated if they conflict, which is a slow very memory
8940 # consuming and fragmenting process. To avoid this, we pick a random,
8941 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8942 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8943 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8944 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'
8947 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8949 if test "$host_os" = linux-dietlibc; then
8950 case $cc_basename in
8951 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8954 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8955 && test "$tmp_diet" = no
8957 tmp_addflag=' $pic_flag'
8958 tmp_sharedflag='-shared'
8959 case $cc_basename,$host_cpu in
8960 pgcc*) # Portland Group C compiler
8961 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'
8962 tmp_addflag=' $pic_flag'
8964 pgf77* | pgf90* | pgf95* | pgfortran*)
8965 # Portland Group f77 and f90 compilers
8966 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'
8967 tmp_addflag=' $pic_flag -Mnomain' ;;
8968 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8969 tmp_addflag=' -i_dynamic' ;;
8970 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8971 tmp_addflag=' -i_dynamic -nofor_main' ;;
8972 ifc* | ifort*) # Intel Fortran compiler
8973 tmp_addflag=' -nofor_main' ;;
8974 lf95*) # Lahey Fortran 8.1
8975 whole_archive_flag_spec=
8976 tmp_sharedflag='--shared' ;;
8977 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8978 tmp_sharedflag='-qmkshrobj'
8980 nvcc*) # Cuda Compiler Driver 2.2
8981 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'
8982 compiler_needs_object=yes
8985 case `$CC -V 2>&1 | sed 5q` in
8986 *Sun\ C*) # Sun C 5.9
8987 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'
8988 compiler_needs_object=yes
8989 tmp_sharedflag='-G' ;;
8990 *Sun\ F*) # Sun Fortran 8.3
8991 tmp_sharedflag='-G' ;;
8993 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8995 if test "x$supports_anon_versioning" = xyes; then
8996 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8998 echo "local: *; };" >> $output_objdir/$libname.ver~
8999 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9002 case $cc_basename in
9003 xlf* | bgf* | bgxlf* | mpixlf*)
9004 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9005 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9006 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9007 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9008 if test "x$supports_anon_versioning" = xyes; then
9009 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9011 echo "local: *; };" >> $output_objdir/$libname.ver~
9012 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9021 netbsd* | netbsdelf*-gnu)
9022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9023 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9026 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9032 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9036 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9037 *** create shared libraries on Solaris systems. Therefore, libtool
9038 *** is disabling shared libraries support. We urge you to upgrade GNU
9039 *** binutils to release 2.9.1 or newer. Another option is to modify
9040 *** your PATH or compiler configuration so that the native linker is
9041 *** used, and then restart.
9044 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9052 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9053 case `$LD -v 2>&1` in
9054 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9058 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9059 *** reliably create shared libraries on SCO systems. Therefore, libtool
9060 *** is disabling shared libraries support. We urge you to upgrade GNU
9061 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9062 *** your PATH or compiler configuration so that the native linker is
9063 *** used, and then restart.
9068 # For security reasons, it is highly recommended that you always
9069 # use absolute paths for naming shared libraries, and exclude the
9070 # DT_RUNPATH tag from executables and libraries. But doing so
9071 # requires that you compile everything twice, which is a pain.
9072 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9073 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9084 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9087 hardcode_shlibpath_var=no
9091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9092 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9100 if test "$ld_shlibs" = no; then
9102 hardcode_libdir_flag_spec=
9103 export_dynamic_flag_spec=
9104 whole_archive_flag_spec=
9107 # PORTME fill in a description of your system's linker (not GNU ld)
9110 allow_undefined_flag=unsupported
9111 always_export_symbols=yes
9112 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'
9113 # Note: this linker hardcodes the directories in LIBPATH if there
9114 # are no directories specified by -L.
9115 hardcode_minus_L=yes
9116 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9117 # Neither direct hardcoding nor static linking is supported with a
9119 hardcode_direct=unsupported
9124 if test "$host_cpu" = ia64; then
9125 # On IA64, the linker does run time linking by default, so we don't
9126 # have to do anything special.
9127 aix_use_runtimelinking=no
9128 exp_sym_flag='-Bexport'
9131 # If we're using GNU nm, then we don't want the "-C" option.
9132 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9133 # Also, AIX nm treats weak defined symbols like other global
9134 # defined symbols, whereas GNU nm marks them as "W".
9135 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9136 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'
9138 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'
9140 aix_use_runtimelinking=no
9142 # Test if we are trying to use run time linking or normal
9143 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9144 # need to do runtime linking.
9145 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9146 for ld_flag in $LDFLAGS; do
9147 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9148 aix_use_runtimelinking=yes
9155 exp_sym_flag='-bexport'
9156 no_entry_flag='-bnoentry'
9159 # When large executables or shared objects are built, AIX ld can
9160 # have problems creating the table of contents. If linking a library
9161 # or program results in "error TOC overflow" add -mminimal-toc to
9162 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9163 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9167 hardcode_direct_absolute=yes
9168 hardcode_libdir_separator=':'
9169 link_all_deplibs=yes
9170 file_list_spec='${wl}-f,'
9172 if test "$GCC" = yes; then
9173 case $host_os in aix4.[012]|aix4.[012].*)
9174 # We only want to do this on AIX 4.2 and lower, the check
9175 # below for broken collect2 doesn't work under 4.3+
9176 collect2name=`${CC} -print-prog-name=collect2`
9177 if test -f "$collect2name" &&
9178 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9180 # We have reworked collect2
9183 # We have old collect2
9184 hardcode_direct=unsupported
9185 # It fails to find uninstalled libraries when the uninstalled
9186 # path is not listed in the libpath. Setting hardcode_minus_L
9187 # to unsupported forces relinking
9188 hardcode_minus_L=yes
9189 hardcode_libdir_flag_spec='-L$libdir'
9190 hardcode_libdir_separator=
9194 shared_flag='-shared'
9195 if test "$aix_use_runtimelinking" = yes; then
9196 shared_flag="$shared_flag "'${wl}-G'
9201 if test "$host_cpu" = ia64; then
9202 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9203 # chokes on -Wl,-G. The following line is correct:
9206 if test "$aix_use_runtimelinking" = yes; then
9207 shared_flag='${wl}-G'
9209 shared_flag='${wl}-bM:SRE'
9214 export_dynamic_flag_spec='${wl}-bexpall'
9215 # It seems that -bexpall does not export symbols beginning with
9216 # underscore (_), so it is better to generate a list of symbols to export.
9217 always_export_symbols=yes
9218 if test "$aix_use_runtimelinking" = yes; then
9219 # Warning - without using the other runtime loading flags (-brtl),
9220 # -berok will link without error, but may produce a broken library.
9221 allow_undefined_flag='-berok'
9222 # Determine the default libpath from the value encoded in an
9224 if test "${lt_cv_aix_libpath+set}" = set; then
9225 aix_libpath=$lt_cv_aix_libpath
9227 if ${lt_cv_aix_libpath_+:} false; then :
9228 $as_echo_n "(cached) " >&6
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9241 if ac_fn_c_try_link "$LINENO"; then :
9243 lt_aix_libpath_sed='
9244 /Import File Strings/,/^$/ {
9246 s/^0 *\([^ ]*\) *$/\1/
9250 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9251 # Check for a 64-bit object if we didn't find anything.
9252 if test -z "$lt_cv_aix_libpath_"; then
9253 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 if test -z "$lt_cv_aix_libpath_"; then
9259 lt_cv_aix_libpath_="/usr/lib:/lib"
9264 aix_libpath=$lt_cv_aix_libpath_
9267 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9268 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"
9270 if test "$host_cpu" = ia64; then
9271 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9272 allow_undefined_flag="-z nodefs"
9273 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"
9275 # Determine the default libpath from the value encoded in an
9277 if test "${lt_cv_aix_libpath+set}" = set; then
9278 aix_libpath=$lt_cv_aix_libpath
9280 if ${lt_cv_aix_libpath_+:} false; then :
9281 $as_echo_n "(cached) " >&6
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9294 if ac_fn_c_try_link "$LINENO"; then :
9296 lt_aix_libpath_sed='
9297 /Import File Strings/,/^$/ {
9299 s/^0 *\([^ ]*\) *$/\1/
9303 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9304 # Check for a 64-bit object if we didn't find anything.
9305 if test -z "$lt_cv_aix_libpath_"; then
9306 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 if test -z "$lt_cv_aix_libpath_"; then
9312 lt_cv_aix_libpath_="/usr/lib:/lib"
9317 aix_libpath=$lt_cv_aix_libpath_
9320 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9321 # Warning - without using the other run time loading flags,
9322 # -berok will link without error, but may produce a broken library.
9323 no_undefined_flag=' ${wl}-bernotok'
9324 allow_undefined_flag=' ${wl}-berok'
9325 if test "$with_gnu_ld" = yes; then
9326 # We only use this code for GNU lds that support --whole-archive.
9327 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9329 # Exported symbols can be pulled into shared objects from archives
9330 whole_archive_flag_spec='$convenience'
9332 archive_cmds_need_lc=yes
9333 # This is similar to how AIX traditionally builds its shared libraries.
9334 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'
9342 # see comment about AmigaOS4 .so support
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds=''
9347 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)'
9348 hardcode_libdir_flag_spec='-L$libdir'
9349 hardcode_minus_L=yes
9355 export_dynamic_flag_spec=-rdynamic
9358 cygwin* | mingw* | pw32* | cegcc*)
9359 # When not using gcc, we currently assume that we are using
9360 # Microsoft Visual C++.
9361 # hardcode_libdir_flag_spec is actually meaningless, as there is
9362 # no search path for DLLs.
9363 case $cc_basename in
9366 hardcode_libdir_flag_spec=' '
9367 allow_undefined_flag=unsupported
9368 always_export_symbols=yes
9370 # Tell ltmain to make .lib files, not .a files.
9372 # Tell ltmain to make .dll files, not .so files.
9374 # FIXME: Setting linknames here is a bad hack.
9375 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9376 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9377 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9379 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9381 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9383 # The linker will not automatically build a static lib if we build a DLL.
9384 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9385 enable_shared_with_static_runtimes=yes
9386 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9387 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9389 old_postinstall_cmds='chmod 644 $oldlib'
9390 postlink_cmds='lt_outputfile="@OUTPUT@"~
9391 lt_tool_outputfile="@TOOL_OUTPUT@"~
9392 case $lt_outputfile in
9395 lt_outputfile="$lt_outputfile.exe"
9396 lt_tool_outputfile="$lt_tool_outputfile.exe"
9399 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9400 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9401 $RM "$lt_outputfile.manifest";
9405 # Assume MSVC wrapper
9406 hardcode_libdir_flag_spec=' '
9407 allow_undefined_flag=unsupported
9408 # Tell ltmain to make .lib files, not .a files.
9410 # Tell ltmain to make .dll files, not .so files.
9412 # FIXME: Setting linknames here is a bad hack.
9413 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9414 # The linker will automatically build a .lib file if we build a DLL.
9415 old_archive_from_new_cmds='true'
9416 # FIXME: Should let the user specify the lib program.
9417 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9418 enable_shared_with_static_runtimes=yes
9423 darwin* | rhapsody*)
9426 archive_cmds_need_lc=no
9428 hardcode_automatic=yes
9429 hardcode_shlibpath_var=unsupported
9430 if test "$lt_cv_ld_force_load" = "yes"; then
9431 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\"`'
9434 whole_archive_flag_spec=''
9436 link_all_deplibs=yes
9437 allow_undefined_flag="$_lt_dar_allow_undefined"
9438 case $cc_basename in
9439 ifort*) _lt_dar_can_shared=yes ;;
9440 *) _lt_dar_can_shared=$GCC ;;
9442 if test "$_lt_dar_can_shared" = "yes"; then
9443 output_verbose_link_cmd=func_echo_all
9444 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9445 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9446 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}"
9447 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}"
9456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9457 hardcode_libdir_flag_spec='-L$libdir'
9458 hardcode_shlibpath_var=no
9461 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9462 # support. Future versions do this automatically, but an explicit c++rt0.o
9463 # does not break anything, and helps significantly (at the cost of a little
9466 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9467 hardcode_libdir_flag_spec='-R$libdir'
9469 hardcode_shlibpath_var=no
9472 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9474 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9476 hardcode_minus_L=yes
9477 hardcode_shlibpath_var=no
9480 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9481 freebsd* | dragonfly*)
9482 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9483 hardcode_libdir_flag_spec='-R$libdir'
9485 hardcode_shlibpath_var=no
9489 if test "$GCC" = yes; then
9490 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'
9492 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'
9494 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9495 hardcode_libdir_separator=:
9498 # hardcode_minus_L: Not really in the search PATH,
9499 # but as the default location of the library.
9500 hardcode_minus_L=yes
9501 export_dynamic_flag_spec='${wl}-E'
9505 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9506 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9508 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9510 if test "$with_gnu_ld" = no; then
9511 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9512 hardcode_libdir_separator=:
9514 hardcode_direct_absolute=yes
9515 export_dynamic_flag_spec='${wl}-E'
9516 # hardcode_minus_L: Not really in the search PATH,
9517 # but as the default location of the library.
9518 hardcode_minus_L=yes
9523 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9526 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9538 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9545 # Older versions of the 11.00 compiler do not understand -b yet
9546 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9548 $as_echo_n "checking if $CC understands -b... " >&6; }
9549 if ${lt_cv_prog_compiler__b+:} false; then :
9550 $as_echo_n "(cached) " >&6
9552 lt_cv_prog_compiler__b=no
9553 save_LDFLAGS="$LDFLAGS"
9554 LDFLAGS="$LDFLAGS -b"
9555 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9556 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9557 # The linker can only warn and ignore the option if not recognized
9558 # So say no if there are warnings
9559 if test -s conftest.err; then
9560 # Append any errors to the config.log.
9561 cat conftest.err 1>&5
9562 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9563 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9564 if diff conftest.exp conftest.er2 >/dev/null; then
9565 lt_cv_prog_compiler__b=yes
9568 lt_cv_prog_compiler__b=yes
9572 LDFLAGS="$save_LDFLAGS"
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9576 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9578 if test x"$lt_cv_prog_compiler__b" = xyes; then
9579 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9587 if test "$with_gnu_ld" = no; then
9588 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9589 hardcode_libdir_separator=:
9594 hardcode_shlibpath_var=no
9598 hardcode_direct_absolute=yes
9599 export_dynamic_flag_spec='${wl}-E'
9601 # hardcode_minus_L: Not really in the search PATH,
9602 # but as the default location of the library.
9603 hardcode_minus_L=yes
9609 irix5* | irix6* | nonstopux*)
9610 if test "$GCC" = yes; then
9611 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'
9612 # Try to use the -exported_symbol ld option, if it does not
9613 # work, assume that -exports_file does not work either and
9614 # implicitly export all symbols.
9615 # This should be the same for all languages, so no per-tag cache variable.
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9617 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9618 if ${lt_cv_irix_exported_symbol+:} false; then :
9619 $as_echo_n "(cached) " >&6
9621 save_LDFLAGS="$LDFLAGS"
9622 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9625 int foo (void) { return 0; }
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 lt_cv_irix_exported_symbol=yes
9630 lt_cv_irix_exported_symbol=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LDFLAGS="$save_LDFLAGS"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9637 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9638 if test "$lt_cv_irix_exported_symbol" = yes; then
9639 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'
9642 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'
9643 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'
9645 archive_cmds_need_lc='no'
9646 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9647 hardcode_libdir_separator=:
9649 link_all_deplibs=yes
9652 netbsd* | netbsdelf*-gnu)
9653 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9654 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9656 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9658 hardcode_libdir_flag_spec='-R$libdir'
9660 hardcode_shlibpath_var=no
9664 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9667 hardcode_libdir_separator=:
9668 hardcode_shlibpath_var=no
9675 if test -f /usr/libexec/ld.so; then
9677 hardcode_shlibpath_var=no
9678 hardcode_direct_absolute=yes
9679 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9680 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9682 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9683 export_dynamic_flag_spec='${wl}-E'
9686 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9687 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_libdir_flag_spec='-R$libdir'
9691 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9692 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9702 hardcode_libdir_flag_spec='-L$libdir'
9703 hardcode_minus_L=yes
9704 allow_undefined_flag=unsupported
9705 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'
9706 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9710 if test "$GCC" = yes; then
9711 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9712 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'
9714 allow_undefined_flag=' -expect_unresolved \*'
9715 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'
9717 archive_cmds_need_lc='no'
9718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9719 hardcode_libdir_separator=:
9722 osf4* | osf5*) # as osf3* with the addition of -msym flag
9723 if test "$GCC" = yes; then
9724 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9725 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'
9726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728 allow_undefined_flag=' -expect_unresolved \*'
9729 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'
9730 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~
9731 $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'
9733 # Both c and cxx compiler support -rpath directly
9734 hardcode_libdir_flag_spec='-rpath $libdir'
9736 archive_cmds_need_lc='no'
9737 hardcode_libdir_separator=:
9741 no_undefined_flag=' -z defs'
9742 if test "$GCC" = yes; then
9744 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9746 $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'
9748 case `$CC -V 2>&1` in
9751 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9752 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9757 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9759 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9763 hardcode_libdir_flag_spec='-R$libdir'
9764 hardcode_shlibpath_var=no
9766 solaris2.[0-5] | solaris2.[0-5].*) ;;
9768 # The compiler driver will combine and reorder linker options,
9769 # but understands `-z linker_flag'. GCC discards it without `$wl',
9770 # but is careful enough not to reorder.
9771 # Supported since Solaris 2.6 (maybe 2.5.1?)
9772 if test "$GCC" = yes; then
9773 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9775 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9779 link_all_deplibs=yes
9783 if test "x$host_vendor" = xsequent; then
9784 # Use $CC to link under sequent, because it throws in some extra .o
9785 # files that make .init and .fini sections work.
9786 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9788 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_libdir_flag_spec='-L$libdir'
9792 hardcode_minus_L=yes
9793 hardcode_shlibpath_var=no
9797 case $host_vendor in
9799 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_direct=yes # is this really true???
9803 ## LD is ld it makes a PLAMLIB
9804 ## CC just makes a GrossModule.
9805 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9806 reload_cmds='$CC -r -o $output$reload_objs'
9810 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9811 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9814 runpath_var='LD_RUN_PATH'
9815 hardcode_shlibpath_var=no
9819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_shlibpath_var=no
9821 export_dynamic_flag_spec='-Bexport'
9825 if test -d /usr/nec; then
9826 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_shlibpath_var=no
9828 runpath_var=LD_RUN_PATH
9829 hardcode_runpath_var=yes
9834 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9835 no_undefined_flag='${wl}-z,text'
9836 archive_cmds_need_lc=no
9837 hardcode_shlibpath_var=no
9838 runpath_var='LD_RUN_PATH'
9840 if test "$GCC" = yes; then
9841 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9849 sysv5* | sco3.2v5* | sco5v6*)
9850 # Note: We can NOT use -z defs as we might desire, because we do not
9851 # link with -lc, and that would cause any symbols used from libc to
9852 # always be unresolved, which means just about no library would
9853 # ever link correctly. If we're not using GNU ld we use -z text
9854 # though, which does catch some bad symbols but isn't as heavy-handed
9856 no_undefined_flag='${wl}-z,text'
9857 allow_undefined_flag='${wl}-z,nodefs'
9858 archive_cmds_need_lc=no
9859 hardcode_shlibpath_var=no
9860 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9861 hardcode_libdir_separator=':'
9862 link_all_deplibs=yes
9863 export_dynamic_flag_spec='${wl}-Bexport'
9864 runpath_var='LD_RUN_PATH'
9866 if test "$GCC" = yes; then
9867 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_libdir_flag_spec='-L$libdir'
9878 hardcode_shlibpath_var=no
9886 if test x$host_vendor = xsni; then
9888 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9889 export_dynamic_flag_spec='${wl}-Blargedynsym'
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9896 $as_echo "$ld_shlibs" >&6; }
9897 test "$ld_shlibs" = no && can_build_shared=no
9899 with_gnu_ld=$with_gnu_ld
9916 # Do we need to explicitly link libc?
9918 case "x$archive_cmds_need_lc" in
9920 # Assume -lc should be added
9921 archive_cmds_need_lc=yes
9923 if test "$enable_shared" = yes && test "$GCC" = yes; then
9924 case $archive_cmds in
9926 # FIXME: we may have to deal with multi-command sequences.
9929 # Test whether the compiler implicitly links with -lc since on some
9930 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9931 # to ld, don't add -lc before -lgcc.
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9933 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9934 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9935 $as_echo_n "(cached) " >&6
9938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9941 (eval $ac_compile) 2>&5
9943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9944 test $ac_status = 0; } 2>conftest.err; then
9947 libobjs=conftest.$ac_objext
9949 wl=$lt_prog_compiler_wl
9950 pic_flag=$lt_prog_compiler_pic
9956 lt_save_allow_undefined_flag=$allow_undefined_flag
9957 allow_undefined_flag=
9958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9959 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9962 test $ac_status = 0; }
9964 lt_cv_archive_cmds_need_lc=no
9966 lt_cv_archive_cmds_need_lc=yes
9968 allow_undefined_flag=$lt_save_allow_undefined_flag
9970 cat conftest.err 1>&5
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9976 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9977 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10136 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10138 if test "$GCC" = yes; then
10140 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10141 *) lt_awk_arg="/^libraries:/" ;;
10144 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10145 *) lt_sed_strip_eq="s,=/,/,g" ;;
10147 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10148 case $lt_search_path_spec in
10150 # if the path contains ";" then we assume it to be the separator
10151 # otherwise default to the standard path separator (i.e. ":") - it is
10152 # assumed that no part of a normal pathname contains ";" but that should
10153 # okay in the real world where ";" in dirpaths is itself problematic.
10154 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10157 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10160 # Ok, now we have the path, separated by spaces, we can step through it
10161 # and add multilib dir if necessary.
10162 lt_tmp_lt_search_path_spec=
10163 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10164 for lt_sys_path in $lt_search_path_spec; do
10165 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10166 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10168 test -d "$lt_sys_path" && \
10169 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10172 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10173 BEGIN {RS=" "; FS="/|\n";} {
10176 for (lt_i = NF; lt_i > 0; lt_i--) {
10177 if ($lt_i != "" && $lt_i != ".") {
10178 if ($lt_i == "..") {
10181 if (lt_count == 0) {
10182 lt_foo="/" $lt_i lt_foo;
10189 if (lt_foo != "") { lt_freq[lt_foo]++; }
10190 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10192 # AWK program above erroneously prepends '/' to C:/dos/paths
10195 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10196 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10198 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10200 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10202 library_names_spec=
10203 libname_spec='lib$name'
10207 postuninstall_cmds=
10211 shlibpath_overrides_runpath=unknown
10213 dynamic_linker="$host_os ld.so"
10214 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10215 need_lib_prefix=unknown
10216 hardcode_into_libs=no
10218 # when you set need_version to no, make sure it does not cause -set_version
10219 # flags to be left without arguments
10220 need_version=unknown
10224 version_type=linux # correct to gnu/linux during the next big refactor
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10226 shlibpath_var=LIBPATH
10228 # AIX 3 has no versioning support, so we append a major version to the name.
10229 soname_spec='${libname}${release}${shared_ext}$major'
10233 version_type=linux # correct to gnu/linux during the next big refactor
10236 hardcode_into_libs=yes
10237 if test "$host_cpu" = ia64; then
10238 # AIX 5 supports IA64
10239 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10240 shlibpath_var=LD_LIBRARY_PATH
10242 # With GCC up to 2.95.x, collect2 would create an import file
10243 # for dependence libraries. The import file would start with
10244 # the line `#! .'. This would cause the generated library to
10245 # depend on `.', always an invalid library. This was fixed in
10246 # development snapshots of GCC prior to 3.0.
10248 aix4 | aix4.[01] | aix4.[01].*)
10249 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10251 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10254 can_build_shared=no
10258 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10259 # soname into executable. Probably we can add versioning support to
10260 # collect2, so additional links can be useful in future.
10261 if test "$aix_use_runtimelinking" = yes; then
10262 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10263 # instead of lib<name>.a to let people know that these are not
10264 # typical AIX shared libraries.
10265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267 # We preserve .a as extension for shared libraries through AIX4.2
10268 # and later when we are not doing run time linking.
10269 library_names_spec='${libname}${release}.a $libname.a'
10270 soname_spec='${libname}${release}${shared_ext}$major'
10272 shlibpath_var=LIBPATH
10279 # Since July 2007 AmigaOS4 officially supports .so libraries.
10280 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10284 library_names_spec='$libname.ixlibrary $libname.a'
10285 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10286 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'
10292 library_names_spec='${libname}${shared_ext}'
10293 dynamic_linker="$host_os ld.so"
10294 shlibpath_var=LIBRARY_PATH
10298 version_type=linux # correct to gnu/linux during the next big refactor
10300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301 soname_spec='${libname}${release}${shared_ext}$major'
10302 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10305 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10306 # the default ld.so.conf also contains /usr/contrib/lib and
10307 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10308 # libtool to hard-code these into programs
10311 cygwin* | mingw* | pw32* | cegcc*)
10312 version_type=windows
10317 case $GCC,$cc_basename in
10320 library_names_spec='$libname.dll.a'
10321 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10322 postinstall_cmds='base_file=`basename \${file}`~
10323 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10324 dldir=$destdir/`dirname \$dlpath`~
10325 test -d \$dldir || mkdir -p \$dldir~
10326 $install_prog $dir/$dlname \$dldir/$dlname~
10327 chmod a+x \$dldir/$dlname~
10328 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10329 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10331 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10332 dlpath=$dir/\$dldll~
10334 shlibpath_overrides_runpath=yes
10338 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10339 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10341 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10344 # MinGW DLLs use traditional 'lib' prefix
10345 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10348 # pw32 DLLs use 'pw' prefix rather than 'lib'
10349 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10352 dynamic_linker='Win32 ld.exe'
10357 libname_spec='$name'
10358 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10359 library_names_spec='${libname}.dll.lib'
10363 sys_lib_search_path_spec=
10366 for lt_path in $LIB
10369 # Let DOS variable expansion print the short 8.3 style file name.
10370 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10371 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10374 # Convert to MSYS style.
10375 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10378 # Convert to unix form, then to dos form, then back to unix form
10379 # but this time dos style (no spaces!) so that the unix form looks
10380 # like /cygdrive/c/PROGRA~1:/cygdr...
10381 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10382 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10383 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10386 sys_lib_search_path_spec="$LIB"
10387 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10388 # It is most probably a Windows format PATH.
10389 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10391 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10393 # FIXME: find the short name or the path components, as spaces are
10394 # common. (e.g. "Program Files" -> "PROGRA~1")
10398 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10399 postinstall_cmds='base_file=`basename \${file}`~
10400 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10401 dldir=$destdir/`dirname \$dlpath`~
10402 test -d \$dldir || mkdir -p \$dldir~
10403 $install_prog $dir/$dlname \$dldir/$dlname'
10404 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10405 dlpath=$dir/\$dldll~
10407 shlibpath_overrides_runpath=yes
10408 dynamic_linker='Win32 link.exe'
10412 # Assume MSVC wrapper
10413 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10414 dynamic_linker='Win32 ld.exe'
10417 # FIXME: first we should search . and the directory the executable is in
10421 darwin* | rhapsody*)
10422 dynamic_linker="$host_os dyld"
10423 version_type=darwin
10426 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10427 soname_spec='${libname}${release}${major}$shared_ext'
10428 shlibpath_overrides_runpath=yes
10429 shlibpath_var=DYLD_LIBRARY_PATH
10430 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10432 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10433 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10437 version_type=linux # correct to gnu/linux during the next big refactor
10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10441 soname_spec='${libname}${release}${shared_ext}$major'
10442 shlibpath_var=LD_LIBRARY_PATH
10445 freebsd* | dragonfly*)
10446 # DragonFly does not have aout. When/if they implement a new
10447 # versioning mechanism, adjust this.
10448 if test -x /usr/bin/objformat; then
10449 objformat=`/usr/bin/objformat`
10452 freebsd[23].*) objformat=aout ;;
10453 *) objformat=elf ;;
10456 version_type=freebsd-$objformat
10457 case $version_type in
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10464 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10468 shlibpath_var=LD_LIBRARY_PATH
10471 shlibpath_overrides_runpath=yes
10473 freebsd3.[01]* | freebsdelf3.[01]*)
10474 shlibpath_overrides_runpath=yes
10475 hardcode_into_libs=yes
10477 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10478 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10479 shlibpath_overrides_runpath=no
10480 hardcode_into_libs=yes
10482 *) # from 4.6 on, and DragonFly
10483 shlibpath_overrides_runpath=yes
10484 hardcode_into_libs=yes
10490 version_type=linux # correct to gnu/linux during the next big refactor
10493 dynamic_linker="$host_os runtime_loader"
10494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10495 soname_spec='${libname}${release}${shared_ext}$major'
10496 shlibpath_var=LIBRARY_PATH
10497 shlibpath_overrides_runpath=yes
10498 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10499 hardcode_into_libs=yes
10502 hpux9* | hpux10* | hpux11*)
10503 # Give a soname corresponding to the major version so that dld.sl refuses to
10504 # link against other versions.
10511 hardcode_into_libs=yes
10512 dynamic_linker="$host_os dld.so"
10513 shlibpath_var=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516 soname_spec='${libname}${release}${shared_ext}$major'
10517 if test "X$HPUX_IA64_MODE" = X32; then
10518 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10520 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10526 hardcode_into_libs=yes
10527 dynamic_linker="$host_os dld.sl"
10528 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10529 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec='${libname}${release}${shared_ext}$major'
10532 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10537 dynamic_linker="$host_os dld.sl"
10538 shlibpath_var=SHLIB_PATH
10539 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10544 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10545 postinstall_cmds='chmod 555 $lib'
10546 # or fails outright, so override atomically:
10547 install_override_mode=555
10551 version_type=linux # correct to gnu/linux during the next big refactor
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10555 soname_spec='${libname}${release}${shared_ext}$major'
10556 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10557 shlibpath_var=LD_LIBRARY_PATH
10558 shlibpath_overrides_runpath=no
10559 hardcode_into_libs=yes
10562 irix5* | irix6* | nonstopux*)
10564 nonstopux*) version_type=nonstopux ;;
10566 if test "$lt_cv_prog_gnu_ld" = yes; then
10567 version_type=linux # correct to gnu/linux during the next big refactor
10574 soname_spec='${libname}${release}${shared_ext}$major'
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10577 irix5* | nonstopux*)
10578 libsuff= shlibsuff=
10581 case $LD in # libtool.m4 will add one of these switches to LD
10582 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10583 libsuff= shlibsuff= libmagic=32-bit;;
10584 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10585 libsuff=32 shlibsuff=N32 libmagic=N32;;
10586 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10587 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10588 *) libsuff= shlibsuff= libmagic=never-match;;
10592 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10593 shlibpath_overrides_runpath=no
10594 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10595 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10596 hardcode_into_libs=yes
10599 # No shared lib support for Linux oldld, aout, or coff.
10600 linux*oldld* | linux*aout* | linux*coff*)
10604 # This must be glibc/ELF.
10605 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10606 version_type=linux # correct to gnu/linux during the next big refactor
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 shlibpath_overrides_runpath=no
10615 # Some binutils ld are patched to set DT_RUNPATH
10616 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10617 $as_echo_n "(cached) " >&6
10619 lt_cv_shlibpath_overrides_runpath=no
10620 save_LDFLAGS=$LDFLAGS
10621 save_libdir=$libdir
10622 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10623 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10637 lt_cv_shlibpath_overrides_runpath=yes
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LDFLAGS=$save_LDFLAGS
10643 libdir=$save_libdir
10647 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10649 # This implies no fast_install, which is unacceptable.
10650 # Some rework will be needed to allow for fast_install
10651 # before this can be enabled.
10652 hardcode_into_libs=yes
10654 # Append ld.so.conf contents to the search path
10655 if test -f /etc/ld.so.conf; then
10656 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' ' '`
10657 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10660 # We used to test for /lib/ld.so.1 and disable shared libraries on
10661 # powerpc, because MkLinux only supported shared libraries with the
10662 # GNU dynamic linker. Since this was broken with cross compilers,
10663 # most powerpc-linux boxes support dynamic linking these days and
10664 # people can always --disable-shared, the test was removed, and we
10665 # assume the GNU/Linux dynamic linker is in use.
10666 dynamic_linker='GNU/Linux ld.so'
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath=no
10677 hardcode_into_libs=yes
10678 dynamic_linker='NetBSD ld.elf_so'
10685 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10687 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10688 dynamic_linker='NetBSD (a.out) ld.so'
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10691 soname_spec='${libname}${release}${shared_ext}$major'
10692 dynamic_linker='NetBSD ld.elf_so'
10694 shlibpath_var=LD_LIBRARY_PATH
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10700 version_type=linux # correct to gnu/linux during the next big refactor
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath=yes
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 shlibpath_var=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath=no
10714 hardcode_into_libs=yes
10715 dynamic_linker='ldqnx.so'
10720 sys_lib_dlsearch_path_spec="/usr/lib"
10722 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10724 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10725 *) need_version=no ;;
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10728 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10729 shlibpath_var=LD_LIBRARY_PATH
10730 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10732 openbsd2.[89] | openbsd2.[89].*)
10733 shlibpath_overrides_runpath=no
10736 shlibpath_overrides_runpath=yes
10740 shlibpath_overrides_runpath=yes
10745 libname_spec='$name'
10748 library_names_spec='$libname${shared_ext} $libname.a'
10749 dynamic_linker='OS/2 ld.exe'
10750 shlibpath_var=LIBPATH
10753 osf3* | osf4* | osf5*)
10757 soname_spec='${libname}${release}${shared_ext}$major'
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 shlibpath_var=LD_LIBRARY_PATH
10760 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10761 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10769 version_type=linux # correct to gnu/linux during the next big refactor
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773 soname_spec='${libname}${release}${shared_ext}$major'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=yes
10776 hardcode_into_libs=yes
10777 # ldd complains unless libraries are executable
10778 postinstall_cmds='chmod +x $lib'
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10784 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=yes
10787 if test "$with_gnu_ld" = yes; then
10794 version_type=linux # correct to gnu/linux during the next big refactor
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 case $host_vendor in
10800 shlibpath_overrides_runpath=no
10802 runpath_var=LD_RUN_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10817 if test -d /usr/nec ;then
10818 version_type=linux # correct to gnu/linux during the next big refactor
10819 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10820 soname_spec='$libname${shared_ext}.$major'
10821 shlibpath_var=LD_LIBRARY_PATH
10825 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10826 version_type=freebsd-elf
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 shlibpath_overrides_runpath=yes
10833 hardcode_into_libs=yes
10834 if test "$with_gnu_ld" = yes; then
10835 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10837 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10840 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10844 sys_lib_dlsearch_path_spec='/usr/lib'
10848 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10849 version_type=linux # correct to gnu/linux during the next big refactor
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath=no
10855 hardcode_into_libs=yes
10859 version_type=linux # correct to gnu/linux during the next big refactor
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 shlibpath_var=LD_LIBRARY_PATH
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10870 $as_echo "$dynamic_linker" >&6; }
10871 test "$dynamic_linker" = no && can_build_shared=no
10873 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10874 if test "$GCC" = yes; then
10875 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10878 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10879 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10881 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10882 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10977 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10979 if test -n "$hardcode_libdir_flag_spec" ||
10980 test -n "$runpath_var" ||
10981 test "X$hardcode_automatic" = "Xyes" ; then
10983 # We can hardcode non-existent directories.
10984 if test "$hardcode_direct" != no &&
10985 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10986 # have to relink, otherwise we might link with an installed library
10987 # when we should be linking with a yet-to-be-installed one
10988 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10989 test "$hardcode_minus_L" != no; then
10990 # Linking always hardcodes the temporary library directory.
10991 hardcode_action=relink
10993 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10994 hardcode_action=immediate
10997 # We cannot hardcode anything, or else we can only hardcode existing
10999 hardcode_action=unsupported
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11002 $as_echo "$hardcode_action" >&6; }
11004 if test "$hardcode_action" = relink ||
11005 test "$inherit_rpath" = yes; then
11006 # Fast installation is not supported
11007 enable_fast_install=no
11008 elif test "$shlibpath_overrides_runpath" = yes ||
11009 test "$enable_shared" = no; then
11010 # Fast installation is not necessary
11011 enable_fast_install=needless
11019 if test "x$enable_dlopen" != xyes; then
11020 enable_dlopen=unknown
11021 enable_dlopen_self=unknown
11022 enable_dlopen_self_static=unknown
11029 lt_cv_dlopen="load_add_on"
11031 lt_cv_dlopen_self=yes
11034 mingw* | pw32* | cegcc*)
11035 lt_cv_dlopen="LoadLibrary"
11040 lt_cv_dlopen="dlopen"
11045 # if libdl is installed we need to link against it
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11047 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11048 if ${ac_cv_lib_dl_dlopen+:} false; then :
11049 $as_echo_n "(cached) " >&6
11051 ac_check_lib_save_LIBS=$LIBS
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11071 if ac_fn_c_try_link "$LINENO"; then :
11072 ac_cv_lib_dl_dlopen=yes
11074 ac_cv_lib_dl_dlopen=no
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11081 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11082 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11083 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11086 lt_cv_dlopen="dyld"
11088 lt_cv_dlopen_self=yes
11095 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11096 if test "x$ac_cv_func_shl_load" = xyes; then :
11097 lt_cv_dlopen="shl_load"
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11100 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11101 if ${ac_cv_lib_dld_shl_load+:} false; then :
11102 $as_echo_n "(cached) " >&6
11104 ac_check_lib_save_LIBS=$LIBS
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11119 return shl_load ();
11124 if ac_fn_c_try_link "$LINENO"; then :
11125 ac_cv_lib_dld_shl_load=yes
11127 ac_cv_lib_dld_shl_load=no
11129 rm -f core conftest.err conftest.$ac_objext \
11130 conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11134 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11135 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11136 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11138 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11139 if test "x$ac_cv_func_dlopen" = xyes; then :
11140 lt_cv_dlopen="dlopen"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11143 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11144 if ${ac_cv_lib_dl_dlopen+:} false; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_lib_save_LIBS=$LIBS
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_dl_dlopen=yes
11170 ac_cv_lib_dl_dlopen=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11177 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11178 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11179 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11182 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11183 if ${ac_cv_lib_svld_dlopen+:} false; then :
11184 $as_echo_n "(cached) " >&6
11186 ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lsvld $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_svld_dlopen=yes
11209 ac_cv_lib_svld_dlopen=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11216 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11217 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11218 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11221 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11222 if ${ac_cv_lib_dld_dld_link+:} false; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS=$LIBS
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11240 return dld_link ();
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_dld_dld_link=yes
11248 ac_cv_lib_dld_dld_link=no
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11255 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11256 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11257 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11278 if test "x$lt_cv_dlopen" != xno; then
11284 case $lt_cv_dlopen in
11286 save_CPPFLAGS="$CPPFLAGS"
11287 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11289 save_LDFLAGS="$LDFLAGS"
11290 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11293 LIBS="$lt_cv_dlopen_libs $LIBS"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11296 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11297 if ${lt_cv_dlopen_self+:} false; then :
11298 $as_echo_n "(cached) " >&6
11300 if test "$cross_compiling" = yes; then :
11301 lt_cv_dlopen_self=cross
11303 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11304 lt_status=$lt_dlunknown
11305 cat > conftest.$ac_ext <<_LT_EOF
11306 #line $LINENO "configure"
11307 #include "confdefs.h"
11316 # define LT_DLGLOBAL RTLD_GLOBAL
11319 # define LT_DLGLOBAL DL_GLOBAL
11321 # define LT_DLGLOBAL 0
11325 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11326 find out it does not work in some platform. */
11327 #ifndef LT_DLLAZY_OR_NOW
11329 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11332 # define LT_DLLAZY_OR_NOW DL_LAZY
11335 # define LT_DLLAZY_OR_NOW RTLD_NOW
11338 # define LT_DLLAZY_OR_NOW DL_NOW
11340 # define LT_DLLAZY_OR_NOW 0
11347 /* When -fvisbility=hidden is used, assume the code has been annotated
11348 correspondingly for the symbols needed. */
11349 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11350 int fnord () __attribute__((visibility("default")));
11353 int fnord () { return 42; }
11356 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11357 int status = $lt_dlunknown;
11361 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11364 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11365 else puts (dlerror ());
11367 /* dlclose (self); */
11375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11376 (eval $ac_link) 2>&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11380 (./conftest; exit; ) >&5 2>/dev/null
11382 case x$lt_status in
11383 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11384 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11385 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11388 # compilation failed
11389 lt_cv_dlopen_self=no
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11397 $as_echo "$lt_cv_dlopen_self" >&6; }
11399 if test "x$lt_cv_dlopen_self" = xyes; then
11400 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11402 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11403 if ${lt_cv_dlopen_self_static+:} false; then :
11404 $as_echo_n "(cached) " >&6
11406 if test "$cross_compiling" = yes; then :
11407 lt_cv_dlopen_self_static=cross
11409 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11410 lt_status=$lt_dlunknown
11411 cat > conftest.$ac_ext <<_LT_EOF
11412 #line $LINENO "configure"
11413 #include "confdefs.h"
11422 # define LT_DLGLOBAL RTLD_GLOBAL
11425 # define LT_DLGLOBAL DL_GLOBAL
11427 # define LT_DLGLOBAL 0
11431 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11432 find out it does not work in some platform. */
11433 #ifndef LT_DLLAZY_OR_NOW
11435 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11438 # define LT_DLLAZY_OR_NOW DL_LAZY
11441 # define LT_DLLAZY_OR_NOW RTLD_NOW
11444 # define LT_DLLAZY_OR_NOW DL_NOW
11446 # define LT_DLLAZY_OR_NOW 0
11453 /* When -fvisbility=hidden is used, assume the code has been annotated
11454 correspondingly for the symbols needed. */
11455 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11456 int fnord () __attribute__((visibility("default")));
11459 int fnord () { return 42; }
11462 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11463 int status = $lt_dlunknown;
11467 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11470 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11471 else puts (dlerror ());
11473 /* dlclose (self); */
11481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11482 (eval $ac_link) 2>&5
11484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11485 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11486 (./conftest; exit; ) >&5 2>/dev/null
11488 case x$lt_status in
11489 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11490 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11491 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11494 # compilation failed
11495 lt_cv_dlopen_self_static=no
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11503 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11506 CPPFLAGS="$save_CPPFLAGS"
11507 LDFLAGS="$save_LDFLAGS"
11512 case $lt_cv_dlopen_self in
11513 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11514 *) enable_dlopen_self=unknown ;;
11517 case $lt_cv_dlopen_self_static in
11518 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11519 *) enable_dlopen_self_static=unknown ;;
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11542 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11543 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11544 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11545 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11547 $as_echo "yes" >&6; }
11549 # FIXME - insert some real tests, host_os isn't really good enough
11552 if test -n "$STRIP" ; then
11553 striplib="$STRIP -x"
11554 old_striplib="$STRIP -S"
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11556 $as_echo "yes" >&6; }
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11559 $as_echo "no" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11580 # Report which library types will actually be built
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11582 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11584 $as_echo "$can_build_shared" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11587 $as_echo_n "checking whether to build shared libraries... " >&6; }
11588 test "$can_build_shared" = "no" && enable_shared=no
11590 # On AIX, shared libraries and static libraries use the same namespace, and
11591 # are all built from PIC.
11594 test "$enable_shared" = yes && enable_static=no
11595 if test -n "$RANLIB"; then
11596 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11597 postinstall_cmds='$RANLIB $lib'
11602 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11603 test "$enable_shared" = yes && enable_static=no
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11608 $as_echo "$enable_shared" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11611 $as_echo_n "checking whether to build static libraries... " >&6; }
11612 # Make sure either enable_shared or enable_static is yes.
11613 test "$enable_shared" = yes || enable_static=yes
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11615 $as_echo "$enable_static" >&6; }
11622 ac_cpp='$CPP $CPPFLAGS'
11623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11643 ac_config_commands="$ac_config_commands libtool"
11648 # Only expand once:
11660 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11661 if test -n "$ac_tool_prefix"; then
11662 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665 $as_echo_n "checking for $ac_word... " >&6; }
11666 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11667 $as_echo_n "(cached) " >&6
11669 case $PKG_CONFIG in
11671 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $PATH
11678 test -z "$as_dir" && as_dir=.
11679 for ac_exec_ext in '' $ac_executable_extensions; do
11680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11681 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11693 if test -n "$PKG_CONFIG"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11695 $as_echo "$PKG_CONFIG" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11703 if test -z "$ac_cv_path_PKG_CONFIG"; then
11704 ac_pt_PKG_CONFIG=$PKG_CONFIG
11705 # Extract the first word of "pkg-config", so it can be a program name with args.
11706 set dummy pkg-config; ac_word=$2
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11708 $as_echo_n "checking for $ac_word... " >&6; }
11709 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11710 $as_echo_n "(cached) " >&6
11712 case $ac_pt_PKG_CONFIG in
11714 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11718 for as_dir in $PATH
11721 test -z "$as_dir" && as_dir=.
11722 for ac_exec_ext in '' $ac_executable_extensions; do
11723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11724 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11735 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11736 if test -n "$ac_pt_PKG_CONFIG"; then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11738 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11744 if test "x$ac_pt_PKG_CONFIG" = x; then
11747 case $cross_compiling:$ac_tool_warned in
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11751 ac_tool_warned=yes ;;
11753 PKG_CONFIG=$ac_pt_PKG_CONFIG
11756 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11760 if test -n "$PKG_CONFIG"; then
11761 _pkg_min_version=0.9.0
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11763 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11764 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11776 gtk_doc_requires="gtk-doc >= 1.18"
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11778 $as_echo_n "checking for gtk-doc... " >&6; }
11779 if test -n "$PKG_CONFIG" && \
11780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11781 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11784 test $ac_status = 0; }; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11790 $as_echo "$have_gtk_doc" >&6; }
11792 if test "$have_gtk_doc" = "no"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11794 You will not be able to create source packages with 'make dist'
11795 because $gtk_doc_requires is not found." >&5
11796 $as_echo "$as_me: WARNING:
11797 You will not be able to create source packages with 'make dist'
11798 because $gtk_doc_requires is not found." >&2;}
11801 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11802 set dummy gtkdoc-check; ac_word=$2
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 $as_echo_n "checking for $ac_word... " >&6; }
11805 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11806 $as_echo_n "(cached) " >&6
11808 if test -n "$GTKDOC_CHECK"; then
11809 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11815 test -z "$as_dir" && as_dir=.
11816 for ac_exec_ext in '' $ac_executable_extensions; do
11817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11829 if test -n "$GTKDOC_CHECK"; then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11831 $as_echo "$GTKDOC_CHECK" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834 $as_echo "no" >&6; }
11838 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11839 set dummy gtkdoc-check; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11843 $as_echo_n "(cached) " >&6
11845 case $GTKDOC_CHECK_PATH in
11847 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11854 test -z "$as_dir" && as_dir=.
11855 for ac_exec_ext in '' $ac_executable_extensions; do
11856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11869 if test -n "$GTKDOC_CHECK_PATH"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11871 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11878 for ac_prog in gtkdoc-rebase
11880 # Extract the first word of "$ac_prog", so it can be a program name with args.
11881 set dummy $ac_prog; ac_word=$2
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11883 $as_echo_n "checking for $ac_word... " >&6; }
11884 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11885 $as_echo_n "(cached) " >&6
11887 case $GTKDOC_REBASE in
11889 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893 for as_dir in $PATH
11896 test -z "$as_dir" && as_dir=.
11897 for ac_exec_ext in '' $ac_executable_extensions; do
11898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11899 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11910 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11911 if test -n "$GTKDOC_REBASE"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11913 $as_echo "$GTKDOC_REBASE" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11920 test -n "$GTKDOC_REBASE" && break
11922 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11924 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11925 set dummy gtkdoc-mkpdf; ac_word=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11929 $as_echo_n "(cached) " >&6
11931 case $GTKDOC_MKPDF in
11933 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11954 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11955 if test -n "$GTKDOC_MKPDF"; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11957 $as_echo "$GTKDOC_MKPDF" >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11966 # Check whether --with-html-dir was given.
11967 if test "${with_html_dir+set}" = set; then :
11968 withval=$with_html_dir;
11970 with_html_dir='${datadir}/gtk-doc/html'
11973 HTML_DIR="$with_html_dir"
11976 # Check whether --enable-gtk-doc was given.
11977 if test "${enable_gtk_doc+set}" = set; then :
11978 enableval=$enable_gtk_doc;
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11985 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11987 $as_echo "$enable_gtk_doc" >&6; }
11989 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11991 You must have $gtk_doc_requires installed to build documentation for
11992 $PACKAGE_NAME. Please install gtk-doc or disable building the
11993 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11996 if test "x$PACKAGE_NAME" != "xglib"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12000 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12002 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12003 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12004 elif test -n "$PKG_CONFIG"; then
12005 if test -n "$PKG_CONFIG" && \
12006 { { $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
12007 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010 test $ac_status = 0; }; then
12011 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12012 test "x$?" != "x0" && pkg_failed=yes
12019 if test -n "$GTKDOC_DEPS_LIBS"; then
12020 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12021 elif test -n "$PKG_CONFIG"; then
12022 if test -n "$PKG_CONFIG" && \
12023 { { $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
12024 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; }; then
12028 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12029 test "x$?" != "x0" && pkg_failed=yes
12039 if test $pkg_failed = yes; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044 _pkg_short_errors_supported=yes
12046 _pkg_short_errors_supported=no
12048 if test $_pkg_short_errors_supported = yes; then
12049 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`
12051 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12053 # Put the nasty error message in config.log where it belongs
12054 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12057 elif test $pkg_failed = untried; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12059 $as_echo "no" >&6; }
12062 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12063 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12065 $as_echo "yes" >&6; }
12070 # Check whether --enable-gtk-doc-html was given.
12071 if test "${enable_gtk_doc_html+set}" = set; then :
12072 enableval=$enable_gtk_doc_html;
12074 enable_gtk_doc_html=yes
12077 # Check whether --enable-gtk-doc-pdf was given.
12078 if test "${enable_gtk_doc_pdf+set}" = set; then :
12079 enableval=$enable_gtk_doc_pdf;
12081 enable_gtk_doc_pdf=no
12085 if test -z "$GTKDOC_MKPDF"; then
12086 enable_gtk_doc_pdf=no
12089 if test -z "$AM_DEFAULT_VERBOSITY"; then
12090 AM_DEFAULT_VERBOSITY=1
12094 if test x$have_gtk_doc = xyes; then
12096 HAVE_GTK_DOC_FALSE='#'
12098 HAVE_GTK_DOC_TRUE='#'
12099 HAVE_GTK_DOC_FALSE=
12102 if test x$enable_gtk_doc = xyes; then
12103 ENABLE_GTK_DOC_TRUE=
12104 ENABLE_GTK_DOC_FALSE='#'
12106 ENABLE_GTK_DOC_TRUE='#'
12107 ENABLE_GTK_DOC_FALSE=
12110 if test x$enable_gtk_doc_html = xyes; then
12111 GTK_DOC_BUILD_HTML_TRUE=
12112 GTK_DOC_BUILD_HTML_FALSE='#'
12114 GTK_DOC_BUILD_HTML_TRUE='#'
12115 GTK_DOC_BUILD_HTML_FALSE=
12118 if test x$enable_gtk_doc_pdf = xyes; then
12119 GTK_DOC_BUILD_PDF_TRUE=
12120 GTK_DOC_BUILD_PDF_FALSE='#'
12122 GTK_DOC_BUILD_PDF_TRUE='#'
12123 GTK_DOC_BUILD_PDF_FALSE=
12126 if test -n "$LIBTOOL"; then
12127 GTK_DOC_USE_LIBTOOL_TRUE=
12128 GTK_DOC_USE_LIBTOOL_FALSE='#'
12130 GTK_DOC_USE_LIBTOOL_TRUE='#'
12131 GTK_DOC_USE_LIBTOOL_FALSE=
12134 if test -n "$GTKDOC_REBASE"; then
12135 GTK_DOC_USE_REBASE_TRUE=
12136 GTK_DOC_USE_REBASE_FALSE='#'
12138 GTK_DOC_USE_REBASE_TRUE='#'
12139 GTK_DOC_USE_REBASE_FALSE=
12144 # Checks for programs.
12146 ac_cpp='$CPP $CPPFLAGS'
12147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12150 if test -n "$ac_tool_prefix"; then
12151 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12152 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12154 $as_echo_n "checking for $ac_word... " >&6; }
12155 if ${ac_cv_prog_CC+:} false; then :
12156 $as_echo_n "(cached) " >&6
12158 if test -n "$CC"; then
12159 ac_cv_prog_CC="$CC" # Let the user override the test.
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162 for as_dir in $PATH
12165 test -z "$as_dir" && as_dir=.
12166 for ac_exec_ext in '' $ac_executable_extensions; do
12167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12168 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 if test -n "$CC"; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12181 $as_echo "$CC" >&6; }
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12184 $as_echo "no" >&6; }
12189 if test -z "$ac_cv_prog_CC"; then
12191 # Extract the first word of "gcc", so it can be a program name with args.
12192 set dummy gcc; ac_word=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12196 $as_echo_n "(cached) " >&6
12198 if test -n "$ac_ct_CC"; then
12199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12205 test -z "$as_dir" && as_dir=.
12206 for ac_exec_ext in '' $ac_executable_extensions; do
12207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 ac_cv_prog_ac_ct_CC="gcc"
12209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12219 if test -n "$ac_ct_CC"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12221 $as_echo "$ac_ct_CC" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12227 if test "x$ac_ct_CC" = x; then
12230 case $cross_compiling:$ac_tool_warned in
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12234 ac_tool_warned=yes ;;
12239 CC="$ac_cv_prog_CC"
12242 if test -z "$CC"; then
12243 if test -n "$ac_tool_prefix"; then
12244 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12245 set dummy ${ac_tool_prefix}cc; ac_word=$2
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12247 $as_echo_n "checking for $ac_word... " >&6; }
12248 if ${ac_cv_prog_CC+:} false; then :
12249 $as_echo_n "(cached) " >&6
12251 if test -n "$CC"; then
12252 ac_cv_prog_CC="$CC" # Let the user override the test.
12254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12255 for as_dir in $PATH
12258 test -z "$as_dir" && as_dir=.
12259 for ac_exec_ext in '' $ac_executable_extensions; do
12260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12261 ac_cv_prog_CC="${ac_tool_prefix}cc"
12262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 if test -n "$CC"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12274 $as_echo "$CC" >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277 $as_echo "no" >&6; }
12283 if test -z "$CC"; then
12284 # Extract the first word of "cc", so it can be a program name with args.
12285 set dummy cc; ac_word=$2
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12287 $as_echo_n "checking for $ac_word... " >&6; }
12288 if ${ac_cv_prog_CC+:} false; then :
12289 $as_echo_n "(cached) " >&6
12291 if test -n "$CC"; then
12292 ac_cv_prog_CC="$CC" # Let the user override the test.
12294 ac_prog_rejected=no
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12303 ac_prog_rejected=yes
12307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12314 if test $ac_prog_rejected = yes; then
12315 # We found a bogon in the path, so make sure we never use it.
12316 set dummy $ac_cv_prog_CC
12318 if test $# != 0; then
12319 # We chose a different compiler from the bogus one.
12320 # However, it has the same basename, so the bogon will be chosen
12321 # first if we set CC to just the basename; use the full file name.
12323 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12329 if test -n "$CC"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12331 $as_echo "$CC" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12339 if test -z "$CC"; then
12340 if test -n "$ac_tool_prefix"; then
12341 for ac_prog in cl.exe
12343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12346 $as_echo_n "checking for $ac_word... " >&6; }
12347 if ${ac_cv_prog_CC+:} false; then :
12348 $as_echo_n "(cached) " >&6
12350 if test -n "$CC"; then
12351 ac_cv_prog_CC="$CC" # Let the user override the test.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 if test -n "$CC"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12373 $as_echo "$CC" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12380 test -n "$CC" && break
12383 if test -z "$CC"; then
12385 for ac_prog in cl.exe
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy $ac_prog; ac_word=$2
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12390 $as_echo_n "checking for $ac_word... " >&6; }
12391 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12392 $as_echo_n "(cached) " >&6
12394 if test -n "$ac_ct_CC"; then
12395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12401 test -z "$as_dir" && as_dir=.
12402 for ac_exec_ext in '' $ac_executable_extensions; do
12403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CC="$ac_prog"
12405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12414 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12415 if test -n "$ac_ct_CC"; then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12417 $as_echo "$ac_ct_CC" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12424 test -n "$ac_ct_CC" && break
12427 if test "x$ac_ct_CC" = x; then
12430 case $cross_compiling:$ac_tool_warned in
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12434 ac_tool_warned=yes ;;
12443 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12445 as_fn_error $? "no acceptable C compiler found in \$PATH
12446 See \`config.log' for more details" "$LINENO" 5; }
12448 # Provide some information about the compiler.
12449 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12452 for ac_option in --version -v -V -qversion; do
12453 { { ac_try="$ac_compiler $ac_option >&5"
12454 case "(($ac_try" in
12455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12456 *) ac_try_echo=$ac_try;;
12458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12459 $as_echo "$ac_try_echo"; } >&5
12460 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12462 if test -s conftest.err; then
12464 ... rest of stderr output deleted ...
12465 10q' conftest.err >conftest.er1
12466 cat conftest.er1 >&5
12468 rm -f conftest.er1 conftest.err
12469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12470 test $ac_status = 0; }
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12475 if ${ac_cv_c_compiler_gnu+:} false; then :
12476 $as_echo_n "(cached) " >&6
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12492 if ac_fn_c_try_compile "$LINENO"; then :
12493 ac_compiler_gnu=yes
12497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12503 if test $ac_compiler_gnu = yes; then
12508 ac_test_CFLAGS=${CFLAGS+set}
12509 ac_save_CFLAGS=$CFLAGS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12512 if ${ac_cv_prog_cc_g+:} false; then :
12513 $as_echo_n "(cached) " >&6
12515 ac_save_c_werror_flag=$ac_c_werror_flag
12516 ac_c_werror_flag=yes
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12530 if ac_fn_c_try_compile "$LINENO"; then :
12531 ac_cv_prog_cc_g=yes
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12545 if ac_fn_c_try_compile "$LINENO"; then :
12548 ac_c_werror_flag=$ac_save_c_werror_flag
12550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12561 if ac_fn_c_try_compile "$LINENO"; then :
12562 ac_cv_prog_cc_g=yes
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12569 ac_c_werror_flag=$ac_save_c_werror_flag
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12572 $as_echo "$ac_cv_prog_cc_g" >&6; }
12573 if test "$ac_test_CFLAGS" = set; then
12574 CFLAGS=$ac_save_CFLAGS
12575 elif test $ac_cv_prog_cc_g = yes; then
12576 if test "$GCC" = yes; then
12582 if test "$GCC" = yes; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12590 if ${ac_cv_prog_cc_c89+:} false; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_cv_prog_cc_c89=no
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 #include <stdarg.h>
12600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12601 struct buf { int x; };
12602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12603 static char *e (p, i)
12609 static char *f (char * (*g) (char **, int), char **p, ...)
12614 s = g (p, va_arg (v,int));
12619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12620 function prototypes and stuff, but not '\xHH' hex character constants.
12621 These don't provoke an error unfortunately, instead are silently treated
12622 as 'x'. The following induces an error, until -std is added to get
12623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12624 array size at least. It's necessary to write '\x00'==0 to get something
12625 that's true only with -std. */
12626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12629 inside strings and character constants. */
12631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12633 int test (int i, double x);
12634 struct s1 {int (*f) (int a);};
12635 struct s2 {int (*f) (double a);};
12636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12642 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12648 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12650 CC="$ac_save_CC $ac_arg"
12651 if ac_fn_c_try_compile "$LINENO"; then :
12652 ac_cv_prog_cc_c89=$ac_arg
12654 rm -f core conftest.err conftest.$ac_objext
12655 test "x$ac_cv_prog_cc_c89" != "xno" && break
12657 rm -f conftest.$ac_ext
12662 case "x$ac_cv_prog_cc_c89" in
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12665 $as_echo "none needed" >&6; } ;;
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12668 $as_echo "unsupported" >&6; } ;;
12670 CC="$CC $ac_cv_prog_cc_c89"
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12674 if test "x$ac_cv_prog_cc_c89" != xno; then :
12679 ac_cpp='$CPP $CPPFLAGS'
12680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12690 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12691 if ${am_cv_prog_cc_c_o+:} false; then :
12692 $as_echo_n "(cached) " >&6
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12705 # Make sure it works both with $CC and with simple cc.
12706 # Following AC_PROG_CC_C_O, we do the test twice because some
12707 # compilers refuse to overwrite an existing .o file with -o,
12708 # though they will create one.
12709 am_cv_prog_cc_c_o=yes
12710 for am_i in 1 2; do
12711 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12712 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } \
12716 && test -f conftest2.$ac_objext; then
12719 am_cv_prog_cc_c_o=no
12723 rm -f core conftest*
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12727 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12728 if test "$am_cv_prog_cc_c_o" != yes; then
12729 # Losing compiler, so override with the script.
12730 # FIXME: It is wrong to rewrite CC.
12731 # But if we don't then we get into trouble of one sort or another.
12732 # A longer-term fix would be to have automake use am__CC in this case,
12733 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12734 CC="$am_aux_dir/compile $CC"
12737 ac_cpp='$CPP $CPPFLAGS'
12738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12743 depcc="$CC" am_compiler_list=
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12746 $as_echo_n "checking dependency style of $depcc... " >&6; }
12747 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12748 $as_echo_n "(cached) " >&6
12750 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12751 # We make a subdir and do the tests there. Otherwise we can end up
12752 # making bogus files that we don't know about and never remove. For
12753 # instance it was reported that on HP-UX the gcc test will end up
12754 # making a dummy file named 'D' -- because '-MD' means "put the output
12756 rm -rf conftest.dir
12758 # Copy depcomp to subdir because otherwise we won't find it if we're
12759 # using a relative directory.
12760 cp "$am_depcomp" conftest.dir
12762 # We will build objects and dependencies in a subdirectory because
12763 # it helps to detect inapplicable dependency modes. For instance
12764 # both Tru64's cc and ICC support -MD to output dependencies as a
12765 # side effect of compilation, but ICC will put the dependencies in
12766 # the current directory while Tru64 will put them in the object
12770 am_cv_CC_dependencies_compiler_type=none
12771 if test "$am_compiler_list" = ""; then
12772 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12774 am__universal=false
12775 case " $depcc " in #(
12776 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12779 for depmode in $am_compiler_list; do
12780 # Setup a source with many dependencies, because some compilers
12781 # like to wrap large dependency lists on column 80 (with \), and
12782 # we should not choose a depcomp mode which is confused by this.
12784 # We need to recreate these files for each test, as the compiler may
12785 # overwrite some of them when testing with obscure command lines.
12786 # This happens at least with the AIX C compiler.
12788 for i in 1 2 3 4 5 6; do
12789 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12790 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12791 # Solaris 10 /bin/sh.
12792 echo '/* dummy */' > sub/conftst$i.h
12794 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12796 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12797 # mode. It turns out that the SunPro C++ compiler does not properly
12798 # handle '-M -o', and we need to detect this. Also, some Intel
12799 # versions had trouble with output in subdirs.
12800 am__obj=sub/conftest.${OBJEXT-o}
12801 am__minus_obj="-o $am__obj"
12804 # This depmode causes a compiler race in universal mode.
12805 test "$am__universal" = false || continue
12808 # After this tag, mechanisms are not by side-effect, so they'll
12809 # only be used when explicitly requested.
12810 if test "x$enable_dependency_tracking" = xyes; then
12816 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12817 # This compiler won't grok '-c -o', but also, the minuso test has
12818 # not run yet. These depmodes are late enough in the game, and
12819 # so weak that their functioning should not be impacted.
12820 am__obj=conftest.${OBJEXT-o}
12825 if depmode=$depmode \
12826 source=sub/conftest.c object=$am__obj \
12827 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12828 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12829 >/dev/null 2>conftest.err &&
12830 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12831 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12832 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12833 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12834 # icc doesn't choke on unknown options, it will just issue warnings
12835 # or remarks (even with -Werror). So we grep stderr for any message
12836 # that says an option was ignored or not supported.
12837 # When given -MP, icc 7.0 and 7.1 complain thusly:
12838 # icc: Command line warning: ignoring option '-M'; no argument required
12839 # The diagnosis changed in icc 8.0:
12840 # icc: Command line remark: option '-MP' not supported
12841 if (grep 'ignoring option' conftest.err ||
12842 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12843 am_cv_CC_dependencies_compiler_type=$depmode
12850 rm -rf conftest.dir
12852 am_cv_CC_dependencies_compiler_type=none
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12857 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12858 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12861 test "x$enable_dependency_tracking" != xno \
12862 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12863 am__fastdepCC_TRUE=
12864 am__fastdepCC_FALSE='#'
12866 am__fastdepCC_TRUE='#'
12867 am__fastdepCC_FALSE=
12871 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12872 set dummy glib-mkenums; ac_word=$2
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12874 $as_echo_n "checking for $ac_word... " >&6; }
12875 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12876 $as_echo_n "(cached) " >&6
12878 case $GLIB_MKENUMS in
12880 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12887 test -z "$as_dir" && as_dir=.
12888 for ac_exec_ext in '' $ac_executable_extensions; do
12889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12890 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12898 test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12902 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12903 if test -n "$GLIB_MKENUMS"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12905 $as_echo "$GLIB_MKENUMS" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12908 $as_echo "no" >&6; }
12913 # Checks for libraries.
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12917 $as_echo_n "checking for GLIB... " >&6; }
12919 if test -n "$GLIB_CFLAGS"; then
12920 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12921 elif test -n "$PKG_CONFIG"; then
12922 if test -n "$PKG_CONFIG" && \
12923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12924 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927 test $ac_status = 0; }; then
12928 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12929 test "x$?" != "x0" && pkg_failed=yes
12936 if test -n "$GLIB_LIBS"; then
12937 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12938 elif test -n "$PKG_CONFIG"; then
12939 if test -n "$PKG_CONFIG" && \
12940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12941 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12944 test $ac_status = 0; }; then
12945 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12946 test "x$?" != "x0" && pkg_failed=yes
12956 if test $pkg_failed = yes; then
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12961 _pkg_short_errors_supported=yes
12963 _pkg_short_errors_supported=no
12965 if test $_pkg_short_errors_supported = yes; then
12966 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12968 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12970 # Put the nasty error message in config.log where it belongs
12971 echo "$GLIB_PKG_ERRORS" >&5
12973 as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12977 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12978 installed software in a non-standard prefix.
12980 Alternatively, you may set the environment variables GLIB_CFLAGS
12981 and GLIB_LIBS to avoid the need to call pkg-config.
12982 See the pkg-config man page for more details." "$LINENO" 5
12983 elif test $pkg_failed = untried; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12985 $as_echo "no" >&6; }
12986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12988 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12989 is in your PATH or set the PKG_CONFIG environment variable to the full
12990 path to pkg-config.
12992 Alternatively, you may set the environment variables GLIB_CFLAGS
12993 and GLIB_LIBS to avoid the need to call pkg-config.
12994 See the pkg-config man page for more details.
12996 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12997 See \`config.log' for more details" "$LINENO" 5; }
12999 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13000 GLIB_LIBS=$pkg_cv_GLIB_LIBS
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13002 $as_echo "yes" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13011 $as_echo_n "checking for GIO... " >&6; }
13013 if test -n "$GIO_CFLAGS"; then
13014 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13015 elif test -n "$PKG_CONFIG"; then
13016 if test -n "$PKG_CONFIG" && \
13017 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13018 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13021 test $ac_status = 0; }; then
13022 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
13023 test "x$?" != "x0" && pkg_failed=yes
13030 if test -n "$GIO_LIBS"; then
13031 pkg_cv_GIO_LIBS="$GIO_LIBS"
13032 elif test -n "$PKG_CONFIG"; then
13033 if test -n "$PKG_CONFIG" && \
13034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13035 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13038 test $ac_status = 0; }; then
13039 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
13040 test "x$?" != "x0" && pkg_failed=yes
13050 if test $pkg_failed = yes; then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13052 $as_echo "no" >&6; }
13054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13055 _pkg_short_errors_supported=yes
13057 _pkg_short_errors_supported=no
13059 if test $_pkg_short_errors_supported = yes; then
13060 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13062 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13064 # Put the nasty error message in config.log where it belongs
13065 echo "$GIO_PKG_ERRORS" >&5
13067 as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
13071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13072 installed software in a non-standard prefix.
13074 Alternatively, you may set the environment variables GIO_CFLAGS
13075 and GIO_LIBS to avoid the need to call pkg-config.
13076 See the pkg-config man page for more details." "$LINENO" 5
13077 elif test $pkg_failed = untried; then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13079 $as_echo "no" >&6; }
13080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13082 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13083 is in your PATH or set the PKG_CONFIG environment variable to the full
13084 path to pkg-config.
13086 Alternatively, you may set the environment variables GIO_CFLAGS
13087 and GIO_LIBS to avoid the need to call pkg-config.
13088 See the pkg-config man page for more details.
13090 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13091 See \`config.log' for more details" "$LINENO" 5; }
13093 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13094 GIO_LIBS=$pkg_cv_GIO_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13096 $as_echo "yes" >&6; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13105 $as_echo_n "checking for GMODULE... " >&6; }
13107 if test -n "$GMODULE_CFLAGS"; then
13108 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13109 elif test -n "$PKG_CONFIG"; then
13110 if test -n "$PKG_CONFIG" && \
13111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13112 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115 test $ac_status = 0; }; then
13116 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
13117 test "x$?" != "x0" && pkg_failed=yes
13124 if test -n "$GMODULE_LIBS"; then
13125 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13126 elif test -n "$PKG_CONFIG"; then
13127 if test -n "$PKG_CONFIG" && \
13128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13129 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132 test $ac_status = 0; }; then
13133 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
13134 test "x$?" != "x0" && pkg_failed=yes
13144 if test $pkg_failed = yes; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13149 _pkg_short_errors_supported=yes
13151 _pkg_short_errors_supported=no
13153 if test $_pkg_short_errors_supported = yes; then
13154 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13156 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13158 # Put the nasty error message in config.log where it belongs
13159 echo "$GMODULE_PKG_ERRORS" >&5
13161 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
13163 $GMODULE_PKG_ERRORS
13165 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13166 installed software in a non-standard prefix.
13168 Alternatively, you may set the environment variables GMODULE_CFLAGS
13169 and GMODULE_LIBS to avoid the need to call pkg-config.
13170 See the pkg-config man page for more details." "$LINENO" 5
13171 elif test $pkg_failed = untried; then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13176 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13177 is in your PATH or set the PKG_CONFIG environment variable to the full
13178 path to pkg-config.
13180 Alternatively, you may set the environment variables GMODULE_CFLAGS
13181 and GMODULE_LIBS to avoid the need to call pkg-config.
13182 See the pkg-config man page for more details.
13184 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13185 See \`config.log' for more details" "$LINENO" 5; }
13187 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13188 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13190 $as_echo "yes" >&6; }
13196 # Check for libtlm-nfc
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
13200 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
13202 if test -n "$LIBTLM_NFC_CFLAGS"; then
13203 pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
13204 elif test -n "$PKG_CONFIG"; then
13205 if test -n "$PKG_CONFIG" && \
13206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13207 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210 test $ac_status = 0; }; then
13211 pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
13212 test "x$?" != "x0" && pkg_failed=yes
13219 if test -n "$LIBTLM_NFC_LIBS"; then
13220 pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
13221 elif test -n "$PKG_CONFIG"; then
13222 if test -n "$PKG_CONFIG" && \
13223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13224 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13227 test $ac_status = 0; }; then
13228 pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
13229 test "x$?" != "x0" && pkg_failed=yes
13239 if test $pkg_failed = yes; then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13241 $as_echo "no" >&6; }
13243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13244 _pkg_short_errors_supported=yes
13246 _pkg_short_errors_supported=no
13248 if test $_pkg_short_errors_supported = yes; then
13249 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13251 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13253 # Put the nasty error message in config.log where it belongs
13254 echo "$LIBTLM_NFC_PKG_ERRORS" >&5
13257 elif test $pkg_failed = untried; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13259 $as_echo "no" >&6; }
13262 LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
13263 LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13265 $as_echo "yes" >&6; }
13266 have_libtlm_nfc=yes
13270 if test x$have_libtlm_nfc = xyes; then
13271 HAVE_LIBTLM_NFC_TRUE=
13272 HAVE_LIBTLM_NFC_FALSE='#'
13274 HAVE_LIBTLM_NFC_TRUE='#'
13275 HAVE_LIBTLM_NFC_FALSE=
13279 for ac_header in security/pam_appl.h
13281 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13282 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13283 cat >>confdefs.h <<_ACEOF
13284 #define HAVE_SECURITY_PAM_APPL_H 1
13288 as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13294 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13295 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13300 # Check whether --enable-debug was given.
13301 if test "${enable_debug+set}" = set; then :
13302 enableval=$enable_debug; enable_debug=$enable_debug
13307 if test "x$enable_debug" = "xyes" ; then
13309 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13311 # Check whether --enable-tests was given.
13312 if test "${enable_tests+set}" = set; then :
13313 enableval=$enable_tests; enable_tests=$enable_tests
13318 if test "x$enable_tests" = "xyes" ; then
13320 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13325 $as_echo_n "checking for CHECK... " >&6; }
13327 if test -n "$CHECK_CFLAGS"; then
13328 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13329 elif test -n "$PKG_CONFIG"; then
13330 if test -n "$PKG_CONFIG" && \
13331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13332 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335 test $ac_status = 0; }; then
13336 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13337 test "x$?" != "x0" && pkg_failed=yes
13344 if test -n "$CHECK_LIBS"; then
13345 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13346 elif test -n "$PKG_CONFIG"; then
13347 if test -n "$PKG_CONFIG" && \
13348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13349 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352 test $ac_status = 0; }; then
13353 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13354 test "x$?" != "x0" && pkg_failed=yes
13364 if test $pkg_failed = yes; then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13366 $as_echo "no" >&6; }
13368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13369 _pkg_short_errors_supported=yes
13371 _pkg_short_errors_supported=no
13373 if test $_pkg_short_errors_supported = yes; then
13374 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13376 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13378 # Put the nasty error message in config.log where it belongs
13379 echo "$CHECK_PKG_ERRORS" >&5
13381 as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13386 installed software in a non-standard prefix.
13388 Alternatively, you may set the environment variables CHECK_CFLAGS
13389 and CHECK_LIBS to avoid the need to call pkg-config.
13390 See the pkg-config man page for more details." "$LINENO" 5
13391 elif test $pkg_failed = untried; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13396 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13397 is in your PATH or set the PKG_CONFIG environment variable to the full
13398 path to pkg-config.
13400 Alternatively, you may set the environment variables CHECK_CFLAGS
13401 and CHECK_LIBS to avoid the need to call pkg-config.
13402 See the pkg-config man page for more details.
13404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13405 See \`config.log' for more details" "$LINENO" 5; }
13407 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13408 CHECK_LIBS=$pkg_cv_CHECK_LIBS
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13410 $as_echo "yes" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13416 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13421 if test "x$enable_tests" = "xyes"; then
13423 ENABLE_TESTS_FALSE='#'
13425 ENABLE_TESTS_TRUE='#'
13426 ENABLE_TESTS_FALSE=
13431 # Check whether --enable-examples was given.
13432 if test "${enable_examples+set}" = set; then :
13433 enableval=$enable_examples; enable_examples=$enable_examples
13435 enable_examples="no"
13438 if test x$enable_examples = xyes; then
13439 ENABLE_EXAMPLES_TRUE=
13440 ENABLE_EXAMPLES_FALSE='#'
13442 ENABLE_EXAMPLES_TRUE='#'
13443 ENABLE_EXAMPLES_FALSE=
13447 if test "x$enable_examples" = "xyes" ; then
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13451 $as_echo_n "checking for ELEMENTARY... " >&6; }
13453 if test -n "$ELEMENTARY_CFLAGS"; then
13454 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13455 elif test -n "$PKG_CONFIG"; then
13456 if test -n "$PKG_CONFIG" && \
13457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13458 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13461 test $ac_status = 0; }; then
13462 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13463 test "x$?" != "x0" && pkg_failed=yes
13470 if test -n "$ELEMENTARY_LIBS"; then
13471 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13472 elif test -n "$PKG_CONFIG"; then
13473 if test -n "$PKG_CONFIG" && \
13474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13475 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478 test $ac_status = 0; }; then
13479 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13480 test "x$?" != "x0" && pkg_failed=yes
13490 if test $pkg_failed = yes; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13492 $as_echo "no" >&6; }
13494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13495 _pkg_short_errors_supported=yes
13497 _pkg_short_errors_supported=no
13499 if test $_pkg_short_errors_supported = yes; then
13500 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13502 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13504 # Put the nasty error message in config.log where it belongs
13505 echo "$ELEMENTARY_PKG_ERRORS" >&5
13507 as_fn_error $? "Package requirements (elementary) were not met:
13509 $ELEMENTARY_PKG_ERRORS
13511 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13512 installed software in a non-standard prefix.
13514 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13515 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13516 See the pkg-config man page for more details." "$LINENO" 5
13517 elif test $pkg_failed = untried; then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13519 $as_echo "no" >&6; }
13520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13522 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13523 is in your PATH or set the PKG_CONFIG environment variable to the full
13524 path to pkg-config.
13526 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13527 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13528 See the pkg-config man page for more details.
13530 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13531 See \`config.log' for more details" "$LINENO" 5; }
13533 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13534 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13536 $as_echo "yes" >&6; }
13543 # Define socket path
13544 # Check whether --enable-sockets-path was given.
13545 if test "${enable_sockets_path+set}" = set; then :
13546 enableval=$enable_sockets_path; enable_sockets_path=$enableval
13548 enable_sockets_path="/var/run/tlm"
13552 cat >>confdefs.h <<_ACEOF
13553 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13557 cat >>confdefs.h <<_ACEOF
13558 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13566 $as_echo_n "checking for LIBGUM... " >&6; }
13568 if test -n "$LIBGUM_CFLAGS"; then
13569 pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13570 elif test -n "$PKG_CONFIG"; then
13571 if test -n "$PKG_CONFIG" && \
13572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13573 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576 test $ac_status = 0; }; then
13577 pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13578 test "x$?" != "x0" && pkg_failed=yes
13585 if test -n "$LIBGUM_LIBS"; then
13586 pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13587 elif test -n "$PKG_CONFIG"; then
13588 if test -n "$PKG_CONFIG" && \
13589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13590 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13593 test $ac_status = 0; }; then
13594 pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13595 test "x$?" != "x0" && pkg_failed=yes
13605 if test $pkg_failed = yes; then
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13610 _pkg_short_errors_supported=yes
13612 _pkg_short_errors_supported=no
13614 if test $_pkg_short_errors_supported = yes; then
13615 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13617 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13619 # Put the nasty error message in config.log where it belongs
13620 echo "$LIBGUM_PKG_ERRORS" >&5
13623 elif test $pkg_failed = untried; then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13628 LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13629 LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13631 $as_echo "yes" >&6; }
13634 # Check whether --enable-gum was given.
13635 if test "${enable_gum+set}" = set; then :
13636 enableval=$enable_gum;
13638 enable_gum=$have_libgum
13641 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13642 as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13646 if test x$have_libgum = xyes; then
13648 HAVE_LIBGUM_FALSE='#'
13650 HAVE_LIBGUM_TRUE='#'
13655 if test "x$enable_gum" = "xyes" ; then
13656 ACCOUNT_PLUGIN_NAME=gumd
13659 ACCOUNT_PLUGIN_NAME=default
13663 ac_config_files="$ac_config_files Makefile docs/Makefile src/Makefile src/common/Makefile src/common/dbus/Makefile src/daemon/Makefile src/daemon/dbus/Makefile src/daemon/tlm.pc src/plugins/Makefile src/plugins/default/Makefile src/plugins/gumd/Makefile src/plugins/nfc/Makefile data/Makefile data/tlm.conf tests/Makefile tests/config/Makefile tests/daemon/Makefile tests/tlm-test.conf examples/Makefile"
13666 cat >confcache <<\_ACEOF
13667 # This file is a shell script that caches the results of configure
13668 # tests run on this system so they can be shared between configure
13669 # scripts and configure runs, see configure's option --config-cache.
13670 # It is not useful on other systems. If it contains results you don't
13671 # want to keep, you may remove or edit it.
13673 # config.status only pays attention to the cache file if you give it
13674 # the --recheck option to rerun configure.
13676 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13678 # following values.
13682 # The following way of writing the cache mishandles newlines in values,
13683 # but we know of no workaround that is simple, portable, and efficient.
13684 # So, we kill variables containing newlines.
13685 # Ultrix sh set writes to stderr and can't be redirected directly,
13686 # and sets the high bit in the cache file unless we assign to the vars.
13688 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13689 eval ac_val=\$$ac_var
13693 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13697 _ | IFS | as_nl) ;; #(
13698 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13699 *) { eval $ac_var=; unset $ac_var;} ;;
13705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13706 *${as_nl}ac_space=\ *)
13707 # `set' does not quote correctly, so add quotes: double-quote
13708 # substitution turns \\\\ into \\, and sed turns \\ into \.
13711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13714 # `set' quotes correctly as required by POSIX, so do not add quotes.
13715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13729 if test -w "$cache_file"; then
13730 if test "x$cache_file" != "x/dev/null"; then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13732 $as_echo "$as_me: updating cache $cache_file" >&6;}
13733 if test ! -f "$cache_file" || test -h "$cache_file"; then
13734 cat confcache >"$cache_file"
13736 case $cache_file in #(
13738 mv -f confcache "$cache_file"$$ &&
13739 mv -f "$cache_file"$$ "$cache_file" ;; #(
13741 mv -f confcache "$cache_file" ;;
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13752 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13753 # Let make expand exec_prefix.
13754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13756 DEFS=-DHAVE_CONFIG_H
13761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13762 # 1. Remove the extension, and $U if already installed.
13763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13764 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13766 # will be set to the directory where LIBOBJS objects are built.
13767 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13768 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13770 LIBOBJS=$ac_libobjs
13772 LTLIBOBJS=$ac_ltlibobjs
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13776 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13777 if test -n "$am_sleep_pid"; then
13778 # Hide warnings about reused PIDs.
13779 wait $am_sleep_pid 2>/dev/null
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13782 $as_echo "done" >&6; }
13783 if test -n "$EXEEXT"; then
13785 am__EXEEXT_FALSE='#'
13787 am__EXEEXT_TRUE='#'
13791 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13792 as_fn_error $? "conditional \"AMDEP\" was never defined.
13793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13796 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13799 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13800 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13803 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13804 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13807 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13808 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13811 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13812 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13815 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13816 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13819 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13820 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13823 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13824 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13827 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13828 as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13831 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13832 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13835 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13836 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13839 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13840 as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13844 : "${CONFIG_STATUS=./config.status}"
13846 ac_clean_files_save=$ac_clean_files
13847 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13849 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13851 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13853 # Generated by $as_me.
13854 # Run this file to recreate the current configuration.
13855 # Compiler output produced by configure, useful for debugging
13856 # configure, is in config.log if it exists.
13859 ac_cs_recheck=false
13862 SHELL=\${CONFIG_SHELL-$SHELL}
13865 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13866 ## -------------------- ##
13867 ## M4sh Initialization. ##
13868 ## -------------------- ##
13870 # Be more Bourne compatible
13871 DUALCASE=1; export DUALCASE # for MKS sh
13872 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13875 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13876 # is contrary to our usage. Disable this feature.
13877 alias -g '${1+"$@"}'='"$@"'
13878 setopt NO_GLOB_SUBST
13880 case `(set -o) 2>/dev/null` in #(
13892 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13893 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13894 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13895 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13896 # Prefer a ksh shell builtin over an external printf program on Solaris,
13897 # but without wasting forks for bash or zsh.
13898 if test -z "$BASH_VERSION$ZSH_VERSION" \
13899 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13900 as_echo='print -r --'
13901 as_echo_n='print -rn --'
13902 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13903 as_echo='printf %s\n'
13904 as_echo_n='printf %s'
13906 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13907 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13908 as_echo_n='/usr/ucb/echo -n'
13910 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13911 as_echo_n_body='eval
13915 expr "X$arg" : "X\\(.*\\)$as_nl";
13916 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13918 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13920 export as_echo_n_body
13921 as_echo_n='sh -c $as_echo_n_body as_echo'
13923 export as_echo_body
13924 as_echo='sh -c $as_echo_body as_echo'
13927 # The user is always right.
13928 if test "${PATH_SEPARATOR+set}" != set; then
13930 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13931 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13938 # We need space, tab and new line, in precisely that order. Quoting is
13939 # there to prevent editors from complaining about space-tab.
13940 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13941 # splitting by setting IFS to empty value.)
13944 # Find who we are. Look in the path if we contain no directory separator.
13947 *[\\/]* ) as_myself=$0 ;;
13948 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13949 for as_dir in $PATH
13952 test -z "$as_dir" && as_dir=.
13953 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13959 # We did not find ourselves, most probably we were run as `sh COMMAND'
13960 # in which case we are not to be found in the path.
13961 if test "x$as_myself" = x; then
13964 if test ! -f "$as_myself"; then
13965 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13969 # Unset variables that we do not need and which cause bugs (e.g. in
13970 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13971 # suppresses any "Segmentation fault" message there. '((' could
13972 # trigger a bug in pdksh 5.2.14.
13973 for as_var in BASH_ENV ENV MAIL MAILPATH
13974 do eval test x\${$as_var+set} = xset \
13975 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13988 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13991 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13992 # ----------------------------------------
13993 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13994 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13995 # script with STATUS, using 1 if that was 0.
13998 as_status=$1; test $as_status -eq 0 && as_status=1
14000 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14001 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14003 $as_echo "$as_me: error: $2" >&2
14004 as_fn_exit $as_status
14008 # as_fn_set_status STATUS
14009 # -----------------------
14010 # Set $? to STATUS, without forking.
14011 as_fn_set_status ()
14014 } # as_fn_set_status
14016 # as_fn_exit STATUS
14017 # -----------------
14018 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14022 as_fn_set_status $1
14028 # Portably unset VAR.
14031 { eval $1=; unset $1;}
14033 as_unset=as_fn_unset
14034 # as_fn_append VAR VALUE
14035 # ----------------------
14036 # Append the text in VALUE to the end of the definition contained in VAR. Take
14037 # advantage of any shell optimizations that allow amortized linear growth over
14038 # repeated appends, instead of the typical quadratic growth present in naive
14040 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14041 eval 'as_fn_append ()
14052 # as_fn_arith ARG...
14053 # ------------------
14054 # Perform arithmetic evaluation on the ARGs, and store the result in the
14055 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14056 # must be portable across $(()) and expr.
14057 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14058 eval 'as_fn_arith ()
14065 as_val=`expr "$@" || test $? -eq 1`
14070 if expr a : '\(a\)' >/dev/null 2>&1 &&
14071 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14077 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14078 as_basename=basename
14083 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14089 as_me=`$as_basename -- "$0" ||
14090 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14091 X"$0" : 'X\(//\)$' \| \
14092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14094 sed '/^.*\/\([^/][^/]*\)\/*$/{
14108 # Avoid depending upon Character Ranges.
14109 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14110 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14111 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14112 as_cr_digits='0123456789'
14113 as_cr_alnum=$as_cr_Letters$as_cr_digits
14115 ECHO_C= ECHO_N= ECHO_T=
14116 case `echo -n x` in #(((((
14118 case `echo 'xy\c'` in
14119 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14121 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14128 rm -f conf$$ conf$$.exe conf$$.file
14129 if test -d conf$$.dir; then
14130 rm -f conf$$.dir/conf$$.file
14133 mkdir conf$$.dir 2>/dev/null
14135 if (echo >conf$$.file) 2>/dev/null; then
14136 if ln -s conf$$.file conf$$ 2>/dev/null; then
14138 # ... but there are two gotchas:
14139 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14140 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14141 # In both cases, we have to default to `cp -pR'.
14142 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14144 elif ln conf$$.file conf$$ 2>/dev/null; then
14152 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14153 rmdir conf$$.dir 2>/dev/null
14158 # Create "$as_dir" as a directory, including parents if necessary.
14163 -*) as_dir=./$as_dir;;
14165 test -d "$as_dir" || eval $as_mkdir_p || {
14169 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14170 *) as_qdir=$as_dir;;
14172 as_dirs="'$as_qdir' $as_dirs"
14173 as_dir=`$as_dirname -- "$as_dir" ||
14174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14175 X"$as_dir" : 'X\(//\)[^/]' \| \
14176 X"$as_dir" : 'X\(//\)$' \| \
14177 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14178 $as_echo X"$as_dir" |
14179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14183 /^X\(\/\/\)[^/].*/{
14196 test -d "$as_dir" && break
14198 test -z "$as_dirs" || eval "mkdir $as_dirs"
14199 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14203 if mkdir -p . 2>/dev/null; then
14204 as_mkdir_p='mkdir -p "$as_dir"'
14206 test -d ./-p && rmdir ./-p
14211 # as_fn_executable_p FILE
14212 # -----------------------
14213 # Test if FILE is an executable regular file.
14214 as_fn_executable_p ()
14216 test -f "$1" && test -x "$1"
14217 } # as_fn_executable_p
14218 as_test_x='test -x'
14219 as_executable_p=as_fn_executable_p
14221 # Sed expression to map a string onto a valid CPP name.
14222 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14224 # Sed expression to map a string onto a valid variable name.
14225 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14229 ## ----------------------------------- ##
14230 ## Main body of $CONFIG_STATUS script. ##
14231 ## ----------------------------------- ##
14233 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14236 # Save the log message, to keep $0 and so on meaningful, and to
14237 # report actual input values of CONFIG_FILES etc. instead of their
14238 # values after options handling.
14240 This file was extended by tlm $as_me 0.0.2, which was
14241 generated by GNU Autoconf 2.69. Invocation command line was
14243 CONFIG_FILES = $CONFIG_FILES
14244 CONFIG_HEADERS = $CONFIG_HEADERS
14245 CONFIG_LINKS = $CONFIG_LINKS
14246 CONFIG_COMMANDS = $CONFIG_COMMANDS
14249 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14254 case $ac_config_files in *"
14255 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14258 case $ac_config_headers in *"
14259 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14264 # Files that config.status was made for.
14265 config_files="$ac_config_files"
14266 config_headers="$ac_config_headers"
14267 config_commands="$ac_config_commands"
14271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14273 \`$as_me' instantiates files and other configuration actions
14274 from templates according to the current configuration. Unless the files
14275 and actions are specified as TAGs, all are instantiated by default.
14277 Usage: $0 [OPTION]... [TAG]...
14279 -h, --help print this help, then exit
14280 -V, --version print version number and configuration settings, then exit
14281 --config print configuration, then exit
14282 -q, --quiet, --silent
14283 do not print progress messages
14284 -d, --debug don't remove temporary files
14285 --recheck update $as_me by reconfiguring in the same conditions
14286 --file=FILE[:TEMPLATE]
14287 instantiate the configuration file FILE
14288 --header=FILE[:TEMPLATE]
14289 instantiate the configuration header FILE
14291 Configuration files:
14294 Configuration headers:
14297 Configuration commands:
14300 Report bugs to the package provider."
14303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14306 tlm config.status 0.0.2
14307 configured by $0, generated by GNU Autoconf 2.69,
14308 with options \\"\$ac_cs_config\\"
14310 Copyright (C) 2012 Free Software Foundation, Inc.
14311 This config.status script is free software; the Free Software Foundation
14312 gives unlimited permission to copy, distribute and modify it."
14319 test -n "\$AWK" || AWK=awk
14322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14323 # The default lists apply if the user does not specify any file.
14329 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14330 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14334 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14346 # Handling of the options.
14347 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14349 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14350 $as_echo "$ac_cs_version"; exit ;;
14351 --config | --confi | --conf | --con | --co | --c )
14352 $as_echo "$ac_cs_config"; exit ;;
14353 --debug | --debu | --deb | --de | --d | -d )
14355 --file | --fil | --fi | --f )
14358 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14359 '') as_fn_error $? "missing file argument" ;;
14361 as_fn_append CONFIG_FILES " '$ac_optarg'"
14362 ac_need_defaults=false;;
14363 --header | --heade | --head | --hea )
14366 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14368 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14369 ac_need_defaults=false;;
14371 # Conflict between --help and --header
14372 as_fn_error $? "ambiguous option: \`$1'
14373 Try \`$0 --help' for more information.";;
14374 --help | --hel | -h )
14375 $as_echo "$ac_cs_usage"; exit ;;
14376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14377 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14380 # This is an error.
14381 -*) as_fn_error $? "unrecognized option: \`$1'
14382 Try \`$0 --help' for more information." ;;
14384 *) as_fn_append ac_config_targets " $1"
14385 ac_need_defaults=false ;;
14391 ac_configure_extra_args=
14393 if $ac_cs_silent; then
14395 ac_configure_extra_args="$ac_configure_extra_args --silent"
14399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14400 if \$ac_cs_recheck; then
14401 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14403 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14404 CONFIG_SHELL='$SHELL'
14405 export CONFIG_SHELL
14410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14415 ## Running $as_me. ##
14421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14425 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14428 # The HP-UX ksh and POSIX shell print the target directory to stdout
14429 # if CDPATH is set.
14430 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14432 sed_quote_subst='$sed_quote_subst'
14433 double_quote_subst='$double_quote_subst'
14434 delay_variable_subst='$delay_variable_subst'
14435 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14436 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14437 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14438 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14439 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14440 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14441 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14442 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14443 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14444 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14445 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14446 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14447 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14448 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14449 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14450 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14451 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14452 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14453 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14454 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14455 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14456 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14457 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14458 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14459 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14460 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14461 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14462 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14463 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14464 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14465 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14466 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14467 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14468 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14469 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14470 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14471 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14472 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14473 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14474 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14475 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14476 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14477 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14478 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14479 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14480 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14481 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14482 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14483 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14484 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14485 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14486 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14487 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14488 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14489 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14490 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14491 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"`'
14492 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14493 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14494 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14495 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14496 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14497 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14498 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14499 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14500 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14501 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14502 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14503 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14504 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14505 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14506 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14507 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14508 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14509 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14510 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14511 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14512 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14513 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14514 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14515 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14516 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14517 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14518 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14519 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14520 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14521 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14522 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14523 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14524 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14525 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14526 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14527 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14528 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14529 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14530 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14531 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14532 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14533 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14534 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14535 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14536 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14537 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14538 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14539 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14540 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14541 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14542 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14543 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14544 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14545 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14546 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14547 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14548 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14549 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14550 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14551 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14552 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14553 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14554 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14555 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14556 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14557 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14558 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14559 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14560 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14561 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14562 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14563 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14564 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14567 LTCFLAGS='$LTCFLAGS'
14568 compiler='$compiler_DEFAULT'
14570 # A function that is used when there is no print builtin or printf.
14571 func_fallback_echo ()
14573 eval 'cat <<_LTECHO_EOF
14578 # Quote evaled strings.
14593 deplibs_check_method \
14598 sharedlib_from_linklib_cmd \
14601 archiver_list_spec \
14607 lt_cv_sys_global_symbol_pipe \
14608 lt_cv_sys_global_symbol_to_cdecl \
14609 lt_cv_sys_global_symbol_to_c_name_address \
14610 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14611 nm_file_list_spec \
14612 lt_prog_compiler_no_builtin_flag \
14613 lt_prog_compiler_pic \
14614 lt_prog_compiler_wl \
14615 lt_prog_compiler_static \
14616 lt_cv_prog_compiler_c_o \
14625 export_dynamic_flag_spec \
14626 whole_archive_flag_spec \
14627 compiler_needs_object \
14629 allow_undefined_flag \
14630 no_undefined_flag \
14631 hardcode_libdir_flag_spec \
14632 hardcode_libdir_separator \
14636 variables_saved_for_relink \
14638 library_names_spec \
14640 install_override_mode \
14644 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14645 *[\\\\\\\`\\"\\\$]*)
14646 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14649 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14654 # Double-quote double-evaled strings.
14655 for var in reload_cmds \
14656 old_postinstall_cmds \
14657 old_postuninstall_cmds \
14659 extract_expsyms_cmds \
14660 old_archive_from_new_cmds \
14661 old_archive_from_expsyms_cmds \
14663 archive_expsym_cmds \
14665 module_expsym_cmds \
14666 export_symbols_cmds \
14670 postuninstall_cmds \
14672 sys_lib_search_path_spec \
14673 sys_lib_dlsearch_path_spec; do
14674 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14675 *[\\\\\\\`\\"\\\$]*)
14676 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14679 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14684 ac_aux_dir='$ac_aux_dir'
14685 xsi_shell='$xsi_shell'
14686 lt_shell_append='$lt_shell_append'
14688 # See if we are running on zsh, and set the options which allow our
14689 # commands through without removal of \ escapes INIT.
14690 if test -n "\${ZSH_VERSION+set}" ; then
14691 setopt NO_GLOB_SUBST
14697 TIMESTAMP='$TIMESTAMP'
14706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14708 # Handling of arguments.
14709 for ac_config_target in $ac_config_targets
14711 case $ac_config_target in
14712 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14713 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14714 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14715 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14716 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14717 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14718 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14719 "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14720 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14721 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14722 "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14723 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14724 "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14725 "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14726 "src/plugins/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nfc/Makefile" ;;
14727 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14728 "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14729 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14730 "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14731 "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14732 "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14733 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14735 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14740 # If the user did not use the arguments to specify the items to instantiate,
14741 # then the envvar interface is used. Set only those that are not.
14742 # We use the long form for the default assignment because of an extremely
14743 # bizarre bug on SunOS 4.1.3.
14744 if $ac_need_defaults; then
14745 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14746 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14747 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14750 # Have a temporary directory for convenience. Make it in the build tree
14751 # simply because there is no reason against having it here, and in addition,
14752 # creating and moving files from /tmp can sometimes cause problems.
14753 # Hook for its removal unless debugging.
14754 # Note that there is a small window in which the directory will not be cleaned:
14755 # after its creation but before its name has been assigned to `$tmp'.
14759 trap 'exit_status=$?
14760 : "${ac_tmp:=$tmp}"
14761 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14763 trap 'as_fn_exit 1' 1 2 13 15
14765 # Create a (secure) tmp directory for tmp files.
14768 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14772 tmp=./conf$$-$RANDOM
14773 (umask 077 && mkdir "$tmp")
14774 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14777 # Set up the scripts for CONFIG_FILES section.
14778 # No need to generate them if there are no CONFIG_FILES.
14779 # This happens for instance with `./config.status config.h'.
14780 if test -n "$CONFIG_FILES"; then
14783 ac_cr=`echo X | tr X '\015'`
14784 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14785 # But we know of no other shell where ac_cr would be empty at this
14786 # point, so we can use a bashism as a fallback.
14787 if test "x$ac_cr" = x; then
14788 eval ac_cr=\$\'\\r\'
14790 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14791 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14794 ac_cs_awk_cr=$ac_cr
14797 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14802 echo "cat >conf$$subs.awk <<_ACEOF" &&
14803 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14805 } >conf$$subs.sh ||
14806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14807 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14809 for ac_last_try in false false false false false :; do
14810 . ./conf$$subs.sh ||
14811 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14813 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14814 if test $ac_delim_n = $ac_delim_num; then
14816 elif $ac_last_try; then
14817 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14819 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14822 rm -f conf$$subs.sh
14824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14825 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14829 s/^/S["/; s/!.*/"]=/
14839 s/\(.\{148\}\)..*/\1/
14841 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14853 s/\(.\{148\}\)..*/\1/
14855 s/["\\]/\\&/g; s/^/"/; s/$/"/
14859 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14864 ' <conf$$subs.awk | sed '
14869 ' >>$CONFIG_STATUS || ac_write_fail=1
14870 rm -f conf$$subs.awk
14871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14873 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14874 for (key in S) S_is_set[key] = 1
14880 nfields = split(line, field, "@")
14882 len = length(field[1])
14883 for (i = 2; i < nfields; i++) {
14885 keylen = length(key)
14886 if (S_is_set[key]) {
14888 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14889 len += length(value) + length(field[++i])
14900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14901 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14902 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14905 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14906 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14909 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14910 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14911 # trailing colons and then remove the whole line if VPATH becomes empty
14912 # (actually we leave an empty line to preserve line numbers).
14913 if test "x$srcdir" = x.; then
14914 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14933 fi # test -n "$CONFIG_FILES"
14935 # Set up the scripts for CONFIG_HEADERS section.
14936 # No need to generate them if there are no CONFIG_HEADERS.
14937 # This happens for instance with `./config.status Makefile'.
14938 if test -n "$CONFIG_HEADERS"; then
14939 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14943 # Transform confdefs.h into an awk script `defines.awk', embedded as
14944 # here-document in config.status, that substitutes the proper values into
14945 # config.h.in to produce config.h.
14947 # Create a delimiter string that does not exist in confdefs.h, to ease
14948 # handling of long lines.
14950 for ac_last_try in false false :; do
14951 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14952 if test -z "$ac_tt"; then
14954 elif $ac_last_try; then
14955 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14957 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14961 # For the awk script, D is an array of macro values keyed by name,
14962 # likewise P contains macro parameters if any. Preserve backslash
14963 # newline sequences.
14965 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14967 s/.\{148\}/&'"$ac_delim"'/g
14970 s/^[ ]*#[ ]*define[ ][ ]*/ /
14977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14979 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14983 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14984 D["\1"]=" \3\\\\\\n"\\/p
14986 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14991 s/.\{148\}/&'"$ac_delim"'/g
14996 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14999 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15001 ' <confdefs.h | sed '
15002 s/'"$ac_delim"'/"\\\
15003 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15006 for (key in D) D_is_set[key] = 1
15009 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15011 split(line, arg, " ")
15012 if (arg[1] == "#") {
15016 defundef = substr(arg[1], 2)
15019 split(mac1, mac2, "(") #)
15021 prefix = substr(line, 1, index(line, defundef) - 1)
15022 if (D_is_set[macro]) {
15023 # Preserve the white space surrounding the "#".
15024 print prefix "define", macro P[macro] D[macro]
15027 # Replace #undef with comments. This is necessary, for example,
15028 # in the case of _POSIX_SOURCE, which is predefined and required
15029 # on some systems where configure will not decide to define it.
15030 if (defundef == "undef") {
15031 print "/*", prefix defundef, macro, "*/"
15039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15040 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15041 fi # test -n "$CONFIG_HEADERS"
15044 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15049 :[FHLC]) ac_mode=$ac_tag; continue;;
15051 case $ac_mode$ac_tag in
15053 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15054 :[FH]-) ac_tag=-:-;;
15055 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15072 -) ac_f="$ac_tmp/stdin";;
15073 *) # Look for the file first in the build tree, then in the source tree
15074 # (if the path is not absolute). The absolute path cannot be DOS-style,
15075 # because $ac_f cannot contain `:'.
15079 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15081 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15083 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15084 as_fn_append ac_file_inputs " '$ac_f'"
15087 # Let's still pretend it is `configure' which instantiates (i.e., don't
15088 # use $as_me), people would be surprised to read:
15089 # /* config.h. Generated by config.status. */
15090 configure_input='Generated from '`
15091 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15093 if test x"$ac_file" != x-; then
15094 configure_input="$ac_file. $configure_input"
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15096 $as_echo "$as_me: creating $ac_file" >&6;}
15098 # Neutralize special characters interpreted by sed in replacement strings.
15099 case $configure_input in #(
15100 *\&* | *\|* | *\\* )
15101 ac_sed_conf_input=`$as_echo "$configure_input" |
15102 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15103 *) ac_sed_conf_input=$configure_input;;
15107 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15113 ac_dir=`$as_dirname -- "$ac_file" ||
15114 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15115 X"$ac_file" : 'X\(//\)[^/]' \| \
15116 X"$ac_file" : 'X\(//\)$' \| \
15117 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15118 $as_echo X"$ac_file" |
15119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15123 /^X\(\/\/\)[^/].*/{
15136 as_dir="$ac_dir"; as_fn_mkdir_p
15140 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15142 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15143 # A ".." for each directory in $ac_dir_suffix.
15144 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15145 case $ac_top_builddir_sub in
15146 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15147 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15150 ac_abs_top_builddir=$ac_pwd
15151 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15152 # for backward compatibility:
15153 ac_top_builddir=$ac_top_build_prefix
15156 .) # We are building in place.
15158 ac_top_srcdir=$ac_top_builddir_sub
15159 ac_abs_top_srcdir=$ac_pwd ;;
15160 [\\/]* | ?:[\\/]* ) # Absolute name.
15161 ac_srcdir=$srcdir$ac_dir_suffix;
15162 ac_top_srcdir=$srcdir
15163 ac_abs_top_srcdir=$srcdir ;;
15164 *) # Relative name.
15165 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15166 ac_top_srcdir=$ac_top_build_prefix$srcdir
15167 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15169 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15179 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15180 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15182 ac_MKDIR_P=$MKDIR_P
15184 [\\/$]* | ?:[\\/]* ) ;;
15185 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15190 # If the template does not know about datarootdir, expand it.
15191 # FIXME: This hack should be removed a few years after 2.60.
15192 ac_datarootdir_hack=; ac_datarootdir_seen=
15203 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15204 *datarootdir*) ac_datarootdir_seen=yes;;
15205 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15207 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15210 ac_datarootdir_hack='
15211 s&@datadir@&$datadir&g
15212 s&@docdir@&$docdir&g
15213 s&@infodir@&$infodir&g
15214 s&@localedir@&$localedir&g
15215 s&@mandir@&$mandir&g
15216 s&\\\${datarootdir}&$datarootdir&g' ;;
15220 # Neutralize VPATH when `$srcdir' = `.'.
15221 # Shell code in configure.ac might set extrasub.
15222 # FIXME: do we really want to maintain this feature?
15223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15224 ac_sed_extra="$ac_vpsub
15227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15230 s|@configure_input@|$ac_sed_conf_input|;t t
15231 s&@top_builddir@&$ac_top_builddir_sub&;t t
15232 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15233 s&@srcdir@&$ac_srcdir&;t t
15234 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15235 s&@top_srcdir@&$ac_top_srcdir&;t t
15236 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15237 s&@builddir@&$ac_builddir&;t t
15238 s&@abs_builddir@&$ac_abs_builddir&;t t
15239 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15240 s&@INSTALL@&$ac_INSTALL&;t t
15241 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15242 $ac_datarootdir_hack
15244 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15245 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15247 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15248 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15249 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15250 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15252 which seems to be undefined. Please make sure it is defined" >&5
15253 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15254 which seems to be undefined. Please make sure it is defined" >&2;}
15256 rm -f "$ac_tmp/stdin"
15258 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15259 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15261 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15267 if test x"$ac_file" != x-; then
15269 $as_echo "/* $configure_input */" \
15270 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15271 } >"$ac_tmp/config.h" \
15272 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15273 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15275 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15278 mv "$ac_tmp/config.h" "$ac_file" \
15279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15282 $as_echo "/* $configure_input */" \
15283 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15284 || as_fn_error $? "could not create -" "$LINENO" 5
15286 # Compute "$ac_file"'s index in $config_headers.
15289 for _am_header in $config_headers :; do
15290 case $_am_header in
15291 $_am_arg | $_am_arg:* )
15294 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15297 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15298 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15299 X"$_am_arg" : 'X\(//\)[^/]' \| \
15300 X"$_am_arg" : 'X\(//\)$' \| \
15301 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15302 $as_echo X"$_am_arg" |
15303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15307 /^X\(\/\/\)[^/].*/{
15319 s/.*/./; q'`/stamp-h$_am_stamp_count
15322 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15323 $as_echo "$as_me: executing $ac_file commands" >&6;}
15328 case $ac_file$ac_mode in
15329 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15330 # Older Autoconf quotes --file arguments for eval, but not when files
15331 # are listed without --file. Let's play safe and only enable the eval
15332 # if we detect the quoting.
15333 case $CONFIG_FILES in
15334 *\'*) eval set x "$CONFIG_FILES" ;;
15335 *) set x $CONFIG_FILES ;;
15340 # Strip MF so we end up with the name of the file.
15341 mf=`echo "$mf" | sed -e 's/:.*$//'`
15342 # Check whether this is an Automake generated Makefile or not.
15343 # We used to match only the files named 'Makefile.in', but
15344 # some people rename them; so instead we look at the file content.
15345 # Grep'ing the first line is not enough: some people post-process
15346 # each Makefile.in and add a new line on top of each file to say so.
15347 # Grep'ing the whole file is not good either: AIX grep has a line
15348 # limit of 2048, but all sed's we know have understand at least 4000.
15349 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15350 dirpart=`$as_dirname -- "$mf" ||
15351 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15352 X"$mf" : 'X\(//\)[^/]' \| \
15353 X"$mf" : 'X\(//\)$' \| \
15354 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15360 /^X\(\/\/\)[^/].*/{
15376 # Extract the definition of DEPDIR, am__include, and am__quote
15377 # from the Makefile without running 'make'.
15378 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15379 test -z "$DEPDIR" && continue
15380 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15381 test -z "$am__include" && continue
15382 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15383 # Find all dependency output files, they are included files with
15384 # $(DEPDIR) in their names. We invoke sed twice because it is the
15385 # simplest approach to changing $(DEPDIR) to its actual value in the
15387 for file in `sed -n "
15388 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15389 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15390 # Make sure the directory exists.
15391 test -f "$dirpart/$file" && continue
15392 fdir=`$as_dirname -- "$file" ||
15393 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15394 X"$file" : 'X\(//\)[^/]' \| \
15395 X"$file" : 'X\(//\)$' \| \
15396 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15397 $as_echo X"$file" |
15398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15402 /^X\(\/\/\)[^/].*/{
15415 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15416 # echo "creating $dirpart/$file"
15417 echo '# dummy' > "$dirpart/$file"
15424 # See if we are running on zsh, and set the options which allow our
15425 # commands through without removal of \ escapes.
15426 if test -n "${ZSH_VERSION+set}" ; then
15427 setopt NO_GLOB_SUBST
15430 cfgfile="${ofile}T"
15431 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15434 cat <<_LT_EOF >> "$cfgfile"
15437 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15438 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15439 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15440 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15442 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15443 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15445 # Written by Gordon Matzigkeit, 1996
15447 # This file is part of GNU Libtool.
15449 # GNU Libtool is free software; you can redistribute it and/or
15450 # modify it under the terms of the GNU General Public License as
15451 # published by the Free Software Foundation; either version 2 of
15452 # the License, or (at your option) any later version.
15454 # As a special exception to the GNU General Public License,
15455 # if you distribute this file as part of a program or library that
15456 # is built using GNU Libtool, you may include this file under the
15457 # same distribution terms that you use for the rest of that program.
15459 # GNU Libtool is distributed in the hope that it will be useful,
15460 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15461 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15462 # GNU General Public License for more details.
15464 # You should have received a copy of the GNU General Public License
15465 # along with GNU Libtool; see the file COPYING. If not, a copy
15466 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15467 # obtained by writing to the Free Software Foundation, Inc.,
15468 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15471 # The names of the tagged configurations supported by this script.
15474 # ### BEGIN LIBTOOL CONFIG
15476 # Which release of libtool.m4 was used?
15477 macro_version=$macro_version
15478 macro_revision=$macro_revision
15480 # Whether or not to build static libraries.
15481 build_old_libs=$enable_static
15483 # Whether or not to build shared libraries.
15484 build_libtool_libs=$enable_shared
15486 # What type of objects to build.
15489 # Whether or not to optimize for fast installation.
15490 fast_install=$enable_fast_install
15492 # Shell to use when invoking shell scripts.
15495 # An echo program that protects backslashes.
15498 # The PATH separator for the build system.
15499 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15502 host_alias=$host_alias
15506 # The build system.
15507 build_alias=$build_alias
15511 # A sed program that does not truncate output.
15514 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15515 Xsed="\$SED -e 1s/^X//"
15517 # A grep program that handles long lines.
15523 # A literal string matcher.
15526 # A BSD- or MS-compatible name lister.
15529 # Whether we need soft or hard links.
15532 # What is the maximum length of a command?
15533 max_cmd_len=$max_cmd_len
15535 # Object file suffix (normally "o").
15538 # Executable file suffix (normally "").
15541 # whether the shell understands "unset".
15544 # turn spaces into newlines.
15547 # turn newlines into spaces.
15550 # convert \$build file names to \$host format.
15551 to_host_file_cmd=$lt_cv_to_host_file_cmd
15553 # convert \$build files to toolchain format.
15554 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15556 # An object symbol dumper.
15557 OBJDUMP=$lt_OBJDUMP
15559 # Method to check whether dependent libraries are shared objects.
15560 deplibs_check_method=$lt_deplibs_check_method
15562 # Command to use when deplibs_check_method = "file_magic".
15563 file_magic_cmd=$lt_file_magic_cmd
15565 # How to find potential files when deplibs_check_method = "file_magic".
15566 file_magic_glob=$lt_file_magic_glob
15568 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15569 want_nocaseglob=$lt_want_nocaseglob
15571 # DLL creation program.
15572 DLLTOOL=$lt_DLLTOOL
15574 # Command to associate shared and link libraries.
15575 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15580 # Flags to create an archive.
15581 AR_FLAGS=$lt_AR_FLAGS
15583 # How to feed a file listing to the archiver.
15584 archiver_list_spec=$lt_archiver_list_spec
15586 # A symbol stripping program.
15589 # Commands used to install an old-style archive.
15591 old_postinstall_cmds=$lt_old_postinstall_cmds
15592 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15594 # Whether to use a lock for old archive extraction.
15595 lock_old_archive_extraction=$lock_old_archive_extraction
15600 # LTCC compiler flags.
15601 LTCFLAGS=$lt_CFLAGS
15603 # Take the output of nm and produce a listing of raw symbols and C names.
15604 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15606 # Transform the output of nm in a proper C declaration.
15607 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15609 # Transform the output of nm in a C name address pair.
15610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15612 # Transform the output of nm in a C name address pair when lib prefix is needed.
15613 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15615 # Specify filename containing input files for \$NM.
15616 nm_file_list_spec=$lt_nm_file_list_spec
15618 # The root where to search for dependent libraries,and in which our libraries should be installed.
15619 lt_sysroot=$lt_sysroot
15621 # The name of the directory that contains temporary libtool files.
15624 # Used to examine libraries when file_magic_cmd begins with "file".
15625 MAGIC_CMD=$MAGIC_CMD
15627 # Must we lock files when doing compilation?
15628 need_locks=$lt_need_locks
15631 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15633 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15634 DSYMUTIL=$lt_DSYMUTIL
15636 # Tool to change global to local symbols on Mac OS X.
15639 # Tool to manipulate fat objects and archives on Mac OS X.
15642 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15645 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15646 OTOOL64=$lt_OTOOL64
15648 # Old archive suffix (normally "a").
15651 # Shared library suffix (normally ".so").
15652 shrext_cmds=$lt_shrext_cmds
15654 # The commands to extract the exported symbol list from a shared archive.
15655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15657 # Variables whose values should be saved in libtool wrapper scripts and
15658 # restored at link time.
15659 variables_saved_for_relink=$lt_variables_saved_for_relink
15661 # Do we need the "lib" prefix for modules?
15662 need_lib_prefix=$need_lib_prefix
15664 # Do we need a version for libraries?
15665 need_version=$need_version
15667 # Library versioning type.
15668 version_type=$version_type
15670 # Shared library runtime path variable.
15671 runpath_var=$runpath_var
15673 # Shared library path variable.
15674 shlibpath_var=$shlibpath_var
15676 # Is shlibpath searched before the hard-coded library search path?
15677 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15679 # Format of library name prefix.
15680 libname_spec=$lt_libname_spec
15682 # List of archive names. First name is the real one, the rest are links.
15683 # The last name is the one that the linker finds with -lNAME
15684 library_names_spec=$lt_library_names_spec
15686 # The coded name of the library, if different from the real name.
15687 soname_spec=$lt_soname_spec
15689 # Permission mode override for installation of shared libraries.
15690 install_override_mode=$lt_install_override_mode
15692 # Command to use after installation of a shared archive.
15693 postinstall_cmds=$lt_postinstall_cmds
15695 # Command to use after uninstallation of a shared archive.
15696 postuninstall_cmds=$lt_postuninstall_cmds
15698 # Commands used to finish a libtool library installation in a directory.
15699 finish_cmds=$lt_finish_cmds
15701 # As "finish_cmds", except a single script fragment to be evaled but
15703 finish_eval=$lt_finish_eval
15705 # Whether we should hardcode library paths into libraries.
15706 hardcode_into_libs=$hardcode_into_libs
15708 # Compile-time system search path for libraries.
15709 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15711 # Run-time system search path for libraries.
15712 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15714 # Whether dlopen is supported.
15715 dlopen_support=$enable_dlopen
15717 # Whether dlopen of programs is supported.
15718 dlopen_self=$enable_dlopen_self
15720 # Whether dlopen of statically linked programs is supported.
15721 dlopen_self_static=$enable_dlopen_self_static
15723 # Commands to strip libraries.
15724 old_striplib=$lt_old_striplib
15725 striplib=$lt_striplib
15728 # The linker used to build libraries.
15731 # How to create reloadable object files.
15732 reload_flag=$lt_reload_flag
15733 reload_cmds=$lt_reload_cmds
15735 # Commands used to build an old-style archive.
15736 old_archive_cmds=$lt_old_archive_cmds
15738 # A language specific compiler.
15741 # Is the compiler the GNU compiler?
15744 # Compiler flag to turn off builtin functions.
15745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15747 # Additional compiler flags for building library objects.
15748 pic_flag=$lt_lt_prog_compiler_pic
15750 # How to pass a linker flag through the compiler.
15751 wl=$lt_lt_prog_compiler_wl
15753 # Compiler flag to prevent dynamic linking.
15754 link_static_flag=$lt_lt_prog_compiler_static
15756 # Does compiler simultaneously support -c and -o options?
15757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15759 # Whether or not to add -lc for building shared libraries.
15760 build_libtool_need_lc=$archive_cmds_need_lc
15762 # Whether or not to disallow shared libs when runtime libs are static.
15763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15765 # Compiler flag to allow reflexive dlopens.
15766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15768 # Compiler flag to generate shared objects directly from archives.
15769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15771 # Whether the compiler copes with passing no objects directly.
15772 compiler_needs_object=$lt_compiler_needs_object
15774 # Create an old-style archive from a shared archive.
15775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15777 # Create a temporary old-style archive to link instead of a shared archive.
15778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15780 # Commands used to build a shared archive.
15781 archive_cmds=$lt_archive_cmds
15782 archive_expsym_cmds=$lt_archive_expsym_cmds
15784 # Commands used to build a loadable module if different from building
15785 # a shared archive.
15786 module_cmds=$lt_module_cmds
15787 module_expsym_cmds=$lt_module_expsym_cmds
15789 # Whether we are building with GNU ld or not.
15790 with_gnu_ld=$lt_with_gnu_ld
15792 # Flag that allows shared libraries with undefined symbols to be built.
15793 allow_undefined_flag=$lt_allow_undefined_flag
15795 # Flag that enforces no undefined symbols.
15796 no_undefined_flag=$lt_no_undefined_flag
15798 # Flag to hardcode \$libdir into a binary during linking.
15799 # This must work even if \$libdir does not exist
15800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15802 # Whether we need a single "-rpath" flag with a separated argument.
15803 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15805 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15806 # DIR into the resulting binary.
15807 hardcode_direct=$hardcode_direct
15809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15810 # DIR into the resulting binary and the resulting library dependency is
15811 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15812 # library is relocated.
15813 hardcode_direct_absolute=$hardcode_direct_absolute
15815 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15816 # into the resulting binary.
15817 hardcode_minus_L=$hardcode_minus_L
15819 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15820 # into the resulting binary.
15821 hardcode_shlibpath_var=$hardcode_shlibpath_var
15823 # Set to "yes" if building a shared library automatically hardcodes DIR
15824 # into the library and all subsequent libraries and executables linked
15826 hardcode_automatic=$hardcode_automatic
15828 # Set to yes if linker adds runtime paths of dependent libraries
15829 # to runtime path list.
15830 inherit_rpath=$inherit_rpath
15832 # Whether libtool must link a program against all its dependency libraries.
15833 link_all_deplibs=$link_all_deplibs
15835 # Set to "yes" if exported symbols are required.
15836 always_export_symbols=$always_export_symbols
15838 # The commands to list exported symbols.
15839 export_symbols_cmds=$lt_export_symbols_cmds
15841 # Symbols that should not be listed in the preloaded symbols.
15842 exclude_expsyms=$lt_exclude_expsyms
15844 # Symbols that must always be exported.
15845 include_expsyms=$lt_include_expsyms
15847 # Commands necessary for linking programs (against libraries) with templates.
15848 prelink_cmds=$lt_prelink_cmds
15850 # Commands necessary for finishing linking programs.
15851 postlink_cmds=$lt_postlink_cmds
15853 # Specify filename containing input files.
15854 file_list_spec=$lt_file_list_spec
15856 # How to hardcode a shared library path into an executable.
15857 hardcode_action=$hardcode_action
15859 # ### END LIBTOOL CONFIG
15865 cat <<\_LT_EOF >> "$cfgfile"
15866 # AIX sometimes has problems with the GCC collect2 program. For some
15867 # reason, if we set the COLLECT_NAMES environment variable, the problems
15868 # vanish in a puff of smoke.
15869 if test "X${COLLECT_NAMES+set}" != Xset; then
15871 export COLLECT_NAMES
15878 ltmain="$ac_aux_dir/ltmain.sh"
15881 # We use sed instead of cat because bash on DJGPP gets confused if
15882 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15883 # text mode, it properly converts lines to CR/LF. This bash problem
15884 # is reportedly fixed, but why not run on old versions too?
15885 sed '$q' "$ltmain" >> "$cfgfile" \
15886 || (rm -f "$cfgfile"; exit 1)
15888 if test x"$xsi_shell" = xyes; then
15889 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15893 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15894 \ * ) func_dirname_result="${3}" ;;\
15896 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15897 && mv -f "$cfgfile.tmp" "$cfgfile" \
15898 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15899 test 0 -eq $? || _lt_function_replace_fail=:
15902 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15905 \ func_basename_result="${1##*/}"\
15906 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15907 && mv -f "$cfgfile.tmp" "$cfgfile" \
15908 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15909 test 0 -eq $? || _lt_function_replace_fail=:
15912 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15913 func_dirname_and_basename ()\
15916 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15917 \ * ) func_dirname_result="${3}" ;;\
15919 \ func_basename_result="${1##*/}"\
15920 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15921 && mv -f "$cfgfile.tmp" "$cfgfile" \
15922 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15923 test 0 -eq $? || _lt_function_replace_fail=:
15926 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15929 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15930 \ # positional parameters, so assign one to ordinary parameter first.\
15931 \ func_stripname_result=${3}\
15932 \ func_stripname_result=${func_stripname_result#"${1}"}\
15933 \ func_stripname_result=${func_stripname_result%"${2}"}\
15934 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15935 && mv -f "$cfgfile.tmp" "$cfgfile" \
15936 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15937 test 0 -eq $? || _lt_function_replace_fail=:
15940 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15941 func_split_long_opt ()\
15943 \ func_split_long_opt_name=${1%%=*}\
15944 \ func_split_long_opt_arg=${1#*=}\
15945 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15946 && mv -f "$cfgfile.tmp" "$cfgfile" \
15947 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15948 test 0 -eq $? || _lt_function_replace_fail=:
15951 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15952 func_split_short_opt ()\
15954 \ func_split_short_opt_arg=${1#??}\
15955 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15956 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15957 && mv -f "$cfgfile.tmp" "$cfgfile" \
15958 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15959 test 0 -eq $? || _lt_function_replace_fail=:
15962 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15966 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15967 \ *) func_lo2o_result=${1} ;;\
15969 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15970 && mv -f "$cfgfile.tmp" "$cfgfile" \
15971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15972 test 0 -eq $? || _lt_function_replace_fail=:
15975 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15978 func_xform_result=${1%.*}.lo\
15979 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15980 && mv -f "$cfgfile.tmp" "$cfgfile" \
15981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15982 test 0 -eq $? || _lt_function_replace_fail=:
15985 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15988 func_arith_result=$(( $* ))\
15989 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15990 && mv -f "$cfgfile.tmp" "$cfgfile" \
15991 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15992 test 0 -eq $? || _lt_function_replace_fail=:
15995 sed -e '/^func_len ()$/,/^} # func_len /c\
15998 func_len_result=${#1}\
15999 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16000 && mv -f "$cfgfile.tmp" "$cfgfile" \
16001 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16002 test 0 -eq $? || _lt_function_replace_fail=:
16006 if test x"$lt_shell_append" = xyes; then
16007 sed -e '/^func_append ()$/,/^} # func_append /c\
16010 eval "${1}+=\\${2}"\
16011 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16012 && mv -f "$cfgfile.tmp" "$cfgfile" \
16013 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16014 test 0 -eq $? || _lt_function_replace_fail=:
16017 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16018 func_append_quoted ()\
16020 \ func_quote_for_eval "${2}"\
16021 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16022 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16023 && mv -f "$cfgfile.tmp" "$cfgfile" \
16024 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16025 test 0 -eq $? || _lt_function_replace_fail=:
16028 # Save a `func_append' function call where possible by direct use of '+='
16029 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16030 && mv -f "$cfgfile.tmp" "$cfgfile" \
16031 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16032 test 0 -eq $? || _lt_function_replace_fail=:
16034 # Save a `func_append' function call even when '+=' is not available
16035 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16036 && mv -f "$cfgfile.tmp" "$cfgfile" \
16037 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16038 test 0 -eq $? || _lt_function_replace_fail=:
16041 if test x"$_lt_function_replace_fail" = x":"; then
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16043 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16047 mv -f "$cfgfile" "$ofile" ||
16048 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16059 ac_clean_files=$ac_clean_files_save
16061 test $ac_write_fail = 0 ||
16062 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16065 # configure is writing to config.log, and then calls config.status.
16066 # config.status does its own redirection, appending to config.log.
16067 # Unfortunately, on DOS this fails, as config.log is still kept open
16068 # by configure, so config.status won't be able to write to it; its
16069 # output is simply discarded. So we exec the FD to /dev/null,
16070 # effectively closing config.log, so it can be properly (re)opened and
16071 # appended to by config.status. When coming back to configure, we
16072 # need to make the FD available again.
16073 if test "$no_create" != yes; then
16075 ac_config_status_args=
16076 test "$silent" = yes &&
16077 ac_config_status_args="$ac_config_status_args --quiet"
16079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16082 # would make configure fail if this is the last instruction.
16083 $ac_cs_success || as_fn_exit 1
16085 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16087 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16092 echo "Enabled debug features : "$enable_debug
16093 echo "Building tests : "$enable_tests
16094 echo "Enabled Gumd : "$enable_gum $have_libgum
16095 echo "Enabled NFC : "$have_libtlm_nfc
16096 echo "Enabled examples : "$enable_examples